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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e68682ac6ba97f9b172ff277c3a2a87e5c65354c | 1,761 | py | Python | tests/fixtures/defxmlschema/chapter15.py | gramm/xsdata | 082c780757c6d76a5c31a6757276ef6912901ed2 | [
"MIT"
] | null | null | null | tests/fixtures/defxmlschema/chapter15.py | gramm/xsdata | 082c780757c6d76a5c31a6757276ef6912901ed2 | [
"MIT"
] | null | null | null | tests/fixtures/defxmlschema/chapter15.py | gramm/xsdata | 082c780757c6d76a5c31a6757276ef6912901ed2 | [
"MIT"
] | null | null | null | from dataclasses import dataclass, field
from decimal import Decimal
from typing import Optional
from xsdata.models.datatype import XmlDate
@dataclass
class SizeType:
value: Optional[int] = field(
default=None,
metadata={
"required": True,
}
)
system: Optional[str] = fi... | 20.241379 | 42 | 0.473027 | 135 | 1,761 | 6.162963 | 0.296296 | 0.144231 | 0.192308 | 0.288462 | 0.519231 | 0.519231 | 0.419471 | 0.313702 | 0.198317 | 0 | 0 | 0 | 0.398069 | 1,761 | 86 | 43 | 20.476744 | 0.784906 | 0 | 0 | 0.5 | 0 | 0 | 0.109029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.05 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e69afae741859fe05b5f191d930aaa0cc0138694 | 3,204 | py | Python | qiskit/providers/basebackend.py | ismaila-at-za-ibm/qiskit-terra | 08303ec98ac7b33fde55266dc3a74466fbdcae95 | [
"Apache-2.0"
] | 2 | 2021-09-06T19:25:36.000Z | 2021-11-17T10:46:12.000Z | qiskit/providers/basebackend.py | ismaila-at-za-ibm/qiskit-terra | 08303ec98ac7b33fde55266dc3a74466fbdcae95 | [
"Apache-2.0"
] | null | null | null | qiskit/providers/basebackend.py | ismaila-at-za-ibm/qiskit-terra | 08303ec98ac7b33fde55266dc3a74466fbdcae95 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2017, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.
"""This module implements the abstract base class for backend modules.
To create add-on backend modules subclass the Backend... | 30.226415 | 80 | 0.604869 | 336 | 3,204 | 5.639881 | 0.383929 | 0.05277 | 0.033773 | 0.031662 | 0.072296 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00503 | 0.317416 | 3,204 | 105 | 81 | 30.514286 | 0.861454 | 0.526529 | 0 | 0.064516 | 0 | 0 | 0.016584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0.032258 | 0.096774 | 0.032258 | 0.645161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
e6a0dd14d03a3e676bea433343d789bde96e6abd | 666 | py | Python | bbio/platform/beaglebone/api.py | efargas/PyBBIO | b0b15fc52befd56e817dbc5876f738e70ef05541 | [
"MIT"
] | null | null | null | bbio/platform/beaglebone/api.py | efargas/PyBBIO | b0b15fc52befd56e817dbc5876f738e70ef05541 | [
"MIT"
] | null | null | null | bbio/platform/beaglebone/api.py | efargas/PyBBIO | b0b15fc52befd56e817dbc5876f738e70ef05541 | [
"MIT"
] | null | null | null | # api.py
# Part of PyBBIO
# github.com/alexanderhiam/PyBBIO
# MIT License
#
# Beaglebone platform API file.
from bbio.platform.platform import detect_platform
PLATFORM = detect_platform()
if "3.8" in PLATFORM:
from bone_3_8.adc import analog_init, analog_cleanup
from bone_3_8.pwm import pwm_init, pwm_cleanup
... | 21.483871 | 54 | 0.77027 | 103 | 666 | 4.699029 | 0.31068 | 0.066116 | 0.07438 | 0.07438 | 0.491736 | 0.413223 | 0.413223 | 0.413223 | 0.413223 | 0.243802 | 0 | 0.02139 | 0.157658 | 666 | 30 | 55 | 22.2 | 0.841355 | 0.145646 | 0 | 0.117647 | 0 | 0 | 0.010695 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.411765 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
e6b45faace1959ed1daf554b861e2a396b78702b | 222 | py | Python | sanctuary/tag/serializers.py | 20CM/Sanctuary | 14694d9bd6376bdc05248741a91df778400e9f66 | [
"BSD-3-Clause"
] | 1 | 2017-05-29T11:53:06.000Z | 2017-05-29T11:53:06.000Z | sanctuary/tag/serializers.py | 20CM/Sanctuary | 14694d9bd6376bdc05248741a91df778400e9f66 | [
"BSD-3-Clause"
] | null | null | null | sanctuary/tag/serializers.py | 20CM/Sanctuary | 14694d9bd6376bdc05248741a91df778400e9f66 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from rest_framework import serializers
from .models import Tag
class TagSerializer(serializers.ModelSerializer):
class Meta:
model = Tag
read_only_fields = ('topics_count',)
| 18.5 | 49 | 0.689189 | 25 | 222 | 5.96 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.211712 | 222 | 11 | 50 | 20.181818 | 0.845714 | 0.094595 | 0 | 0 | 0 | 0 | 0.060302 | 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 | 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 | 2 |
e6b462f3efa3e6e931f1a4ef9f1a10fd45f8f99c | 571 | py | Python | examples/management_api/aliveness_test.py | cloudamqp/amqpstorm | 35eb8edc5f0c2ea3839e93940bf9d0e5f8f4242e | [
"MIT"
] | null | null | null | examples/management_api/aliveness_test.py | cloudamqp/amqpstorm | 35eb8edc5f0c2ea3839e93940bf9d0e5f8f4242e | [
"MIT"
] | null | null | null | examples/management_api/aliveness_test.py | cloudamqp/amqpstorm | 35eb8edc5f0c2ea3839e93940bf9d0e5f8f4242e | [
"MIT"
] | null | null | null | from amqpstorm.management import ApiConnectionError
from amqpstorm.management import ApiError
from amqpstorm.management import ManagementApi
if __name__ == '__main__':
API = ManagementApi('http://127.0.0.1:15672', 'guest', 'guest')
try:
result = API.aliveness_test('/')
if result['status'] == 'o... | 33.588235 | 67 | 0.635727 | 64 | 571 | 5.53125 | 0.546875 | 0.110169 | 0.194915 | 0.245763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025287 | 0.238179 | 571 | 16 | 68 | 35.6875 | 0.788506 | 0 | 0 | 0 | 0 | 0 | 0.217163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.266667 | 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 | 0 | 0 | 0 | 0 | 2 |
e6ba0ea03b3d3e18b20568efd5fed882e88148ea | 1,834 | py | Python | lib/galaxy/model/migrate/versions/0073_add_ldda_to_implicit_conversion_table.py | blankenberg/galaxy-data-resource | ca32a1aafd64948f489a4e5cf88096f32391b1d9 | [
"CC-BY-3.0"
] | null | null | null | lib/galaxy/model/migrate/versions/0073_add_ldda_to_implicit_conversion_table.py | blankenberg/galaxy-data-resource | ca32a1aafd64948f489a4e5cf88096f32391b1d9 | [
"CC-BY-3.0"
] | 1 | 2015-02-21T18:48:19.000Z | 2015-02-27T15:50:32.000Z | lib/galaxy/model/migrate/versions/0073_add_ldda_to_implicit_conversion_table.py | blankenberg/galaxy-data-resource | ca32a1aafd64948f489a4e5cf88096f32391b1d9 | [
"CC-BY-3.0"
] | 3 | 2015-02-22T13:34:16.000Z | 2020-10-01T01:28:04.000Z | """
Migration script to add 'ldda_parent_id' column to the implicitly_converted_dataset_association table.
"""
from sqlalchemy import *
from sqlalchemy.orm import *
from migrate import *
from migrate.changeset import *
import logging
log = logging.getLogger( __name__ )
metadata = MetaData()
def upgrade(migrate_engi... | 44.731707 | 134 | 0.741003 | 227 | 1,834 | 5.665198 | 0.281938 | 0.192068 | 0.093313 | 0.2014 | 0.640747 | 0.592535 | 0.533437 | 0.426128 | 0.426128 | 0.426128 | 0 | 0 | 0.18048 | 1,834 | 40 | 135 | 45.85 | 0.855622 | 0.019084 | 0 | 0.322581 | 0 | 0 | 0.336493 | 0.195498 | 0 | 0 | 0 | 0 | 0.032258 | 0 | null | null | 0 | 0.16129 | null | null | 0.096774 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e6c3d9a702952ceabdb0472e2fb0bedbc90655bc | 782 | py | Python | inventories/models.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | null | null | null | inventories/models.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | 10 | 2019-12-04T23:52:31.000Z | 2022-02-10T08:34:15.000Z | inventories/models.py | destodasoftware/kately_api | 89e4e80a93ebf8e5d2f2981d108ce5efde75d0dd | [
"MIT"
] | null | null | null | from django.db import models
from products.models import Product
from utils.models import Utility
class Inventory(Utility):
inventory_number = models.CharField(unique=True, max_length=100, blank=True, null=True)
supplier = models.CharField(max_length=100, blank=True, null=True)
user = models.ForeignKey('... | 27.928571 | 91 | 0.751918 | 99 | 782 | 5.767677 | 0.424242 | 0.047285 | 0.068301 | 0.089317 | 0.171629 | 0.101576 | 0.101576 | 0 | 0 | 0 | 0 | 0.010542 | 0.150895 | 782 | 27 | 92 | 28.962963 | 0.849398 | 0 | 0 | 0.125 | 0 | 0 | 0.011568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.1875 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
e6dbab8094c7c2aea35411b5ea545eabb3be8db0 | 273 | py | Python | problem020.py | mazayus/ProjectEuler | 64aebd5d80031fab2f0ef3c44c3a1118212ab613 | [
"MIT"
] | null | null | null | problem020.py | mazayus/ProjectEuler | 64aebd5d80031fab2f0ef3c44c3a1118212ab613 | [
"MIT"
] | null | null | null | problem020.py | mazayus/ProjectEuler | 64aebd5d80031fab2f0ef3c44c3a1118212ab613 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from functools import *
import operator
def factorial(number):
assert number >= 1
return reduce(operator.mul, range(1, number+1))
def digits(number):
yield from (int(digit) for digit in str(number))
print(sum(digits(factorial(100))))
| 19.5 | 52 | 0.70696 | 40 | 273 | 4.825 | 0.675 | 0.072539 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030568 | 0.161172 | 273 | 13 | 53 | 21 | 0.812227 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
e6df360b607f7a2f24c1ab6bf355ca5d23eb73f0 | 856 | py | Python | src/records.py | oth-datapipeline/ingestion-scripts | 48eecf63b0bf06200aa59be63de6839599ec51df | [
"Apache-2.0"
] | null | null | null | src/records.py | oth-datapipeline/ingestion-scripts | 48eecf63b0bf06200aa59be63de6839599ec51df | [
"Apache-2.0"
] | 4 | 2022-03-31T16:41:33.000Z | 2022-03-31T22:58:11.000Z | src/records.py | oth-datapipeline/ingestion-scripts | 48eecf63b0bf06200aa59be63de6839599ec51df | [
"Apache-2.0"
] | null | null | null | from faust import Record
class RssFeed(Record, serializer='json'):
feed_source: str
title: str
link: str
published: str = None
author: str = None
summary: str = None
published_parsed: list = None
authors: list = None
tags: list = None
comments: str = None
content: list = No... | 18.608696 | 46 | 0.627336 | 107 | 856 | 4.971963 | 0.420561 | 0.092105 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286215 | 856 | 45 | 47 | 19.022222 | 0.870704 | 0 | 0 | 0.108108 | 0 | 0 | 0.018692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.027027 | 0.027027 | 0 | 0.972973 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
e6dfce648d291a8622a4863d4137f07d19b0910a | 320 | py | Python | setup.py | shirayu/fitbit-dumper | 21cee614e294d84204ad06d81dae9adf9853a135 | [
"Apache-2.0"
] | null | null | null | setup.py | shirayu/fitbit-dumper | 21cee614e294d84204ad06d81dae9adf9853a135 | [
"Apache-2.0"
] | null | null | null | setup.py | shirayu/fitbit-dumper | 21cee614e294d84204ad06d81dae9adf9853a135 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name="",
version="0.01",
packages=find_packages(),
install_requires=[
"fitbit"
],
dependency_links=[
],
extras_require={
"tests": [
"flake8",
"autopep8",
]
}
)
| 15.238095 | 43 | 0.515625 | 28 | 320 | 5.714286 | 0.857143 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.34375 | 320 | 20 | 44 | 16 | 0.733333 | 0.065625 | 0 | 0.117647 | 0 | 0 | 0.097315 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.058824 | 0 | 0.058824 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e6ea40233a3bb49f837e23e4f39a0fd85da9fe09 | 489 | py | Python | vendor/migrations/0003_store_password.py | rayhu-osu/vcube | ff1af048adb8a9f1007368150a78b309b4d821af | [
"MIT"
] | 1 | 2019-02-20T18:47:04.000Z | 2019-02-20T18:47:04.000Z | vendor/migrations/0003_store_password.py | rayhu-osu/vcube | ff1af048adb8a9f1007368150a78b309b4d821af | [
"MIT"
] | null | null | null | vendor/migrations/0003_store_password.py | rayhu-osu/vcube | ff1af048adb8a9f1007368150a78b309b4d821af | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-07-24 19:36
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('vendor', '0002_store_image'),
]
operations = [
migrations.AddField(
... | 22.227273 | 61 | 0.609407 | 54 | 489 | 5.333333 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067606 | 0.274029 | 489 | 21 | 62 | 23.285714 | 0.743662 | 0.139059 | 0 | 0 | 1 | 0 | 0.083732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.142857 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
e6ee404e9353e9098c1662d7447e96af2b5999cf | 164 | py | Python | main.py | seton-develops/PDF-Camelot-Folder-Executable | 168b5c24afe8884cf121a4207d7d3cb3ee7cc626 | [
"MIT"
] | null | null | null | main.py | seton-develops/PDF-Camelot-Folder-Executable | 168b5c24afe8884cf121a4207d7d3cb3ee7cc626 | [
"MIT"
] | null | null | null | main.py | seton-develops/PDF-Camelot-Folder-Executable | 168b5c24afe8884cf121a4207d7d3cb3ee7cc626 | [
"MIT"
] | null | null | null | '''
Created on Jun 17, 2021
@author: Sean
'''
import PDF2CSV_GUI
def main():
j = PDF2CSV_GUI.Convert_GUI()
if __name__ == "__main__":
main() | 12.615385 | 34 | 0.591463 | 21 | 164 | 4.095238 | 0.761905 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.268293 | 164 | 13 | 35 | 12.615385 | 0.65 | 0.231707 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
e6eeea99216e21aebde0241d03385a480d8c6df4 | 649 | py | Python | src/terrafort/main.py | silvercar/terrafort | bdf9cb5d7f58d10a0c295c01b3a5620fdcc2876c | [
"MIT"
] | 1 | 2019-06-18T00:40:40.000Z | 2019-06-18T00:40:40.000Z | src/terrafort/main.py | silvercar/terrafort | bdf9cb5d7f58d10a0c295c01b3a5620fdcc2876c | [
"MIT"
] | null | null | null | src/terrafort/main.py | silvercar/terrafort | bdf9cb5d7f58d10a0c295c01b3a5620fdcc2876c | [
"MIT"
] | 1 | 2021-08-25T02:15:28.000Z | 2021-08-25T02:15:28.000Z | """
Terrafort
Generate terraform templates for specific resources
"""
import click
from .providers.aws import Aws
@click.group()
@click.option('--commands',
is_flag=True,
help="Output import commands instead of a terraform template")
@click.version_option()
@click.pass_context
def cli(ct... | 22.37931 | 76 | 0.731895 | 88 | 649 | 5.136364 | 0.568182 | 0.053097 | 0.115044 | 0.141593 | 0.20354 | 0.119469 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146379 | 649 | 28 | 77 | 23.178571 | 0.815884 | 0.191063 | 0 | 0 | 1 | 0 | 0.154739 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0.1875 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
fc17f33a601367758a32e2d5faa7f26cd43a27dc | 1,938 | py | Python | bootstrap/p1.5.0/src/common/const.py | apurwaj2/df-on-k8s | 1aecb0bc293d008c5a2384df32ad434bfcc51caa | [
"Apache-2.0"
] | null | null | null | bootstrap/p1.5.0/src/common/const.py | apurwaj2/df-on-k8s | 1aecb0bc293d008c5a2384df32ad434bfcc51caa | [
"Apache-2.0"
] | null | null | null | bootstrap/p1.5.0/src/common/const.py | apurwaj2/df-on-k8s | 1aecb0bc293d008c5a2384df32ad434bfcc51caa | [
"Apache-2.0"
] | null | null | null |
class Constants(object):
LOGGER_CONF = "common/mapr_conf/logger.yml"
USERNAME = "mapr"
GROUPNAME = "mapr"
USERID = 5000
GROUPID = 5000
ADMIN_USERNAME = "custadmin"
ADMIN_GROUPNAME = "custadmin"
ADMIN_USERID = 7000
ADMIN_GROUPID = 7000
ADMIN_PASS = "mapr"
MYSQL_USER = "admin"... | 29.363636 | 108 | 0.639835 | 238 | 1,938 | 4.978992 | 0.57563 | 0.027004 | 0.01519 | 0.021941 | 0.032068 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032832 | 0.245614 | 1,938 | 65 | 109 | 29.815385 | 0.777702 | 0.055728 | 0 | 0 | 0 | 0 | 0.493151 | 0.098082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017241 | false | 0.068966 | 0 | 0.017241 | 0.637931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
fc1d23d6b61a9e5c408d579ed37655541819b9f0 | 23,402 | py | Python | callback_handlers.py | andrey18106/vocabulary_bot | 68a5835fb69e255df1766c2ed5c5228daaa4f06f | [
"MIT"
] | null | null | null | callback_handlers.py | andrey18106/vocabulary_bot | 68a5835fb69e255df1766c2ed5c5228daaa4f06f | [
"MIT"
] | null | null | null | callback_handlers.py | andrey18106/vocabulary_bot | 68a5835fb69e255df1766c2ed5c5228daaa4f06f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# ===== Default imports =====
import asyncio
import logging
# ===== External libs imports =====
from aiogram import Bot, Dispatcher, types
from aiogram.dispatcher import FSMContext
# ===== Local imports =====
from analytics import BotAnalytics
from db_manager import DbManager
from lang_man... | 61.746702 | 119 | 0.563499 | 2,437 | 23,402 | 5.135412 | 0.076734 | 0.048582 | 0.029005 | 0.027567 | 0.76684 | 0.752697 | 0.71674 | 0.676468 | 0.632761 | 0.590811 | 0 | 0.002748 | 0.331425 | 23,402 | 378 | 120 | 61.910053 | 0.797137 | 0.009529 | 0 | 0.523669 | 0 | 0 | 0.084704 | 0.006529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.005917 | false | 0 | 0.038462 | 0 | 0.047337 | 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 | 0 | 0 | 0 | 0 | 2 |
fc267d60ba151acc5fd2bfd47790174a62234e97 | 1,043 | py | Python | tests/news_test.py | mucciz/News | 2484d91edaef181d9a6d4b86d6bee822781f931d | [
"MIT"
] | null | null | null | tests/news_test.py | mucciz/News | 2484d91edaef181d9a6d4b86d6bee822781f931d | [
"MIT"
] | null | null | null | tests/news_test.py | mucciz/News | 2484d91edaef181d9a6d4b86d6bee822781f931d | [
"MIT"
] | 1 | 2019-07-29T12:45:00.000Z | 2019-07-29T12:45:00.000Z | import unittest
from app.models import News
# News = news.News
class NewsTest(unittest.TestCase):
'''
Test Class to test the behaviour of the Movie class
'''
def setUp(self):
'''
Set up method that will run before every Test
'''
self.new_news = News('abc-news','ABC NEWS... | 35.965517 | 207 | 0.67977 | 143 | 1,043 | 4.839161 | 0.412587 | 0.070809 | 0.111272 | 0.15896 | 0.520231 | 0.445087 | 0.352601 | 0.257225 | 0.257225 | 0.257225 | 0 | 0 | 0.190796 | 1,043 | 28 | 208 | 37.25 | 0.819905 | 0.155321 | 0 | 0 | 0 | 0.153846 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.230769 | false | 0 | 0.153846 | 0 | 0.461538 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
fc2698b4b0dd35425a260f9ab84e959ae7a54a73 | 365 | py | Python | test/get-gh-comment-info.py | MQasimSarfraz/cilium | 89b622cf4e0a960e27e5b1bf9f139abee25dfea0 | [
"Apache-2.0"
] | 1 | 2020-06-12T19:43:52.000Z | 2020-06-12T19:43:52.000Z | test/get-gh-comment-info.py | MQasimSarfraz/cilium | 89b622cf4e0a960e27e5b1bf9f139abee25dfea0 | [
"Apache-2.0"
] | null | null | null | test/get-gh-comment-info.py | MQasimSarfraz/cilium | 89b622cf4e0a960e27e5b1bf9f139abee25dfea0 | [
"Apache-2.0"
] | 1 | 2020-06-17T07:06:27.000Z | 2020-06-17T07:06:27.000Z | import argparse
parser = argparse.ArgumentParser()
parser.add_argument('ghcomment', type=str) # this is for test-me-please phrases
parser.add_argument('--focus', type=str, default="")
parser.add_argument('--version', type=str, default="")
parser.add_argument('--retrieve', type=str, default="focus")
args = parser.pars... | 30.416667 | 79 | 0.750685 | 49 | 365 | 5.408163 | 0.489796 | 0.135849 | 0.256604 | 0.150943 | 0.233962 | 0.233962 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 365 | 11 | 80 | 33.181818 | 0.791045 | 0.093151 | 0 | 0 | 0 | 0 | 0.121581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
fc371494e70184822be6d1e222d5e8799a784228 | 973 | py | Python | neorl/rl/baselines/readme.py | evdcush/neorl | a1af069072e752ab79e7279a88ad95d195a81821 | [
"MIT"
] | 20 | 2021-04-20T19:15:33.000Z | 2022-03-19T17:00:12.000Z | neorl/rl/baselines/readme.py | evdcush/neorl | a1af069072e752ab79e7279a88ad95d195a81821 | [
"MIT"
] | 17 | 2021-04-07T21:52:41.000Z | 2022-03-06T16:05:31.000Z | neorl/rl/baselines/readme.py | evdcush/neorl | a1af069072e752ab79e7279a88ad95d195a81821 | [
"MIT"
] | 8 | 2021-05-07T03:36:30.000Z | 2021-12-15T03:41:41.000Z | # This file is part of NEORL.
# Copyright (c) 2021 Exelon Corporation and MIT Nuclear Science and Engineering
# NEORL is free software: you can redistribute it and/or modify
# it under the terms of the MIT LICENSE
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# ... | 54.055556 | 94 | 0.74409 | 149 | 973 | 4.85906 | 0.651007 | 0.04558 | 0.027624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.210689 | 973 | 18 | 95 | 54.055556 | 0.9375 | 0.946557 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
fc3d8c49e88cab357d3bb76422dab0b50f4b1b22 | 702 | py | Python | pynotes/note/models.py | wallaceleonel/Flash-Cards | fd563455d437f77e42ddf96133214cf752b62bb6 | [
"MIT"
] | 2 | 2020-08-06T15:03:31.000Z | 2020-10-18T14:40:19.000Z | pynotes/note/models.py | wallaceleonel/Flash-Cards | fd563455d437f77e42ddf96133214cf752b62bb6 | [
"MIT"
] | 1 | 2020-08-06T16:15:12.000Z | 2020-08-06T16:15:12.000Z | pynotes/note/models.py | wallaceleonel/Flash-Cards | fd563455d437f77e42ddf96133214cf752b62bb6 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from django.db import models
from django.urls import reverse
# Create your models here.
class Post(models.Model):
title = models.CharField(max_length=255)
slug = models.SlugField(max_length=255,unique=True)
#meusite.com/blog;introducao-ao-django
author = mo... | 27 | 65 | 0.710826 | 92 | 702 | 5.293478 | 0.597826 | 0.061602 | 0.049281 | 0.106776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010399 | 0.178063 | 702 | 25 | 66 | 28.08 | 0.833622 | 0.086895 | 0 | 0 | 0 | 0 | 0.03605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.1875 | 0.125 | 0.9375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
fc44182959538bc560fdd3758022cac4683b26ba | 737 | py | Python | api/views/todo_views.py | felipe-menelau/todo-list-web | 9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5 | [
"MIT"
] | null | null | null | api/views/todo_views.py | felipe-menelau/todo-list-web | 9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5 | [
"MIT"
] | null | null | null | api/views/todo_views.py | felipe-menelau/todo-list-web | 9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5 | [
"MIT"
] | null | null | null | from django.contrib.auth.models import User
from rest_framework import viewsets, status
from rest_framework.response import Response
from rest_framework.permissions import IsAuthenticated, IsAdminUser
from api.serializers import TODOListSerializer
from api.models import TODOList
class TODOListViewSet(viewsets.ModelVi... | 33.5 | 86 | 0.766621 | 87 | 737 | 6.356322 | 0.505747 | 0.0434 | 0.092224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14654 | 737 | 21 | 87 | 35.095238 | 0.879173 | 0 | 0 | 0 | 0 | 0 | 0.02038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.133333 | false | 0 | 0.4 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
fc4c938deecee815416606c1468c7d127f759b88 | 364 | py | Python | tests/test_langs_fr.py | honzajavorek/tipi | cbe51192725608b6fba1244a48610ae231b13e08 | [
"MIT"
] | 3 | 2016-04-13T17:49:09.000Z | 2017-11-10T22:26:17.000Z | tests/test_langs_fr.py | honzajavorek/tipi | cbe51192725608b6fba1244a48610ae231b13e08 | [
"MIT"
] | null | null | null | tests/test_langs_fr.py | honzajavorek/tipi | cbe51192725608b6fba1244a48610ae231b13e08 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from tipi import tipi as _tipi
tipi = lambda s: _tipi(s, lang='fr')
def test_double_quotes():
assert tipi('''"brutal" "quote's"''') == (
'''«brutal» «quote's»'''
)
def test_single_quotes():
assert tipi("""'brutal' 'quote's'""") ... | 17.333333 | 46 | 0.56044 | 53 | 364 | 3.792453 | 0.490566 | 0.119403 | 0.159204 | 0.218905 | 0.278607 | 0.278607 | 0 | 0 | 0 | 0 | 0 | 0.003534 | 0.222527 | 364 | 20 | 47 | 18.2 | 0.678445 | 0.057692 | 0 | 0 | 0 | 0 | 0.129693 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
fc534b79cb83ef68a1a71a69fd50a17561f7b0a3 | 5,894 | py | Python | src/_main_/settings.py | gregory-chekler/api | 11ecbea945e7eb6fa677a0c0bb32bda51ba15f28 | [
"MIT"
] | null | null | null | src/_main_/settings.py | gregory-chekler/api | 11ecbea945e7eb6fa677a0c0bb32bda51ba15f28 | [
"MIT"
] | null | null | null | src/_main_/settings.py | gregory-chekler/api | 11ecbea945e7eb6fa677a0c0bb32bda51ba15f28 | [
"MIT"
] | null | null | null | """
Django settings for massenergize_portal_backend project.
Generated by 'django-admin startproject' using Django 2.1.4.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/setting... | 29.918782 | 165 | 0.69172 | 653 | 5,894 | 6.027565 | 0.335375 | 0.036585 | 0.045732 | 0.035569 | 0.198679 | 0.146341 | 0.092226 | 0.071646 | 0.030488 | 0 | 0 | 0.011708 | 0.159484 | 5,894 | 196 | 166 | 30.071429 | 0.782802 | 0.199864 | 0 | 0.015504 | 1 | 0 | 0.455575 | 0.338531 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.062016 | 0.031008 | 0 | 0.031008 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
fc63dea630bc5c4125015a5d1d443364d31e7cfa | 1,853 | py | Python | trace_analysis/trace_analysis/architecture/interface.py | hsgwa/trace_analysis | 16169f84e838af5202e2be8f4883dfca5bc7f592 | [
"Apache-2.0"
] | null | null | null | trace_analysis/trace_analysis/architecture/interface.py | hsgwa/trace_analysis | 16169f84e838af5202e2be8f4883dfca5bc7f592 | [
"Apache-2.0"
] | null | null | null | trace_analysis/trace_analysis/architecture/interface.py | hsgwa/trace_analysis | 16169f84e838af5202e2be8f4883dfca5bc7f592 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Research Institute of Systems Planning, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 26.471429 | 81 | 0.72531 | 220 | 1,853 | 6.022727 | 0.490909 | 0.089811 | 0.075472 | 0.06566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005394 | 0.199676 | 1,853 | 69 | 82 | 26.855072 | 0.888065 | 0.313546 | 0 | 0.473684 | 0 | 0 | 0.007154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0.236842 | 0.157895 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
fc719b76ab94dd3be6cc776d78a4aa8bbc400d47 | 8,761 | py | Python | docusign_esign/models/conditional_recipient_rule_filter.py | joekohlsdorf/docusign-esign-python-client | 40407544f79c88716d36fabf36f65c3ef1a5c3ba | [
"MIT"
] | 58 | 2017-10-18T23:06:57.000Z | 2021-04-15T23:14:58.000Z | docusign_esign/models/conditional_recipient_rule_filter.py | joekohlsdorf/docusign-esign-python-client | 40407544f79c88716d36fabf36f65c3ef1a5c3ba | [
"MIT"
] | 49 | 2017-10-27T05:54:09.000Z | 2021-04-29T22:06:17.000Z | docusign_esign/models/conditional_recipient_rule_filter.py | joekohlsdorf/docusign-esign-python-client | 40407544f79c88716d36fabf36f65c3ef1a5c3ba | [
"MIT"
] | 49 | 2017-09-16T07:23:41.000Z | 2021-05-07T20:21:20.000Z | # coding: utf-8
"""
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.gi... | 30.526132 | 140 | 0.604155 | 980 | 8,761 | 5.260204 | 0.154082 | 0.058972 | 0.195538 | 0.186227 | 0.543356 | 0.492338 | 0.459748 | 0.381765 | 0.264016 | 0.130941 | 0 | 0.020029 | 0.299053 | 8,761 | 286 | 141 | 30.632867 | 0.819411 | 0.415934 | 0 | 0.092437 | 0 | 0 | 0.076325 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168067 | false | 0 | 0.033613 | 0 | 0.344538 | 0.016807 | 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 | 0 | 0 | 0 | 0 | 2 |
fc72be3f56a4f14c061f7d67ae504148f309762b | 407 | py | Python | conman/routes/apps.py | meshy/django-conman | c739d09250d02d99068358e925ed8298a2a37a75 | [
"BSD-2-Clause"
] | null | null | null | conman/routes/apps.py | meshy/django-conman | c739d09250d02d99068358e925ed8298a2a37a75 | [
"BSD-2-Clause"
] | 81 | 2015-07-27T23:21:49.000Z | 2018-05-21T22:06:09.000Z | conman/routes/apps.py | meshy/django-conman | c739d09250d02d99068358e925ed8298a2a37a75 | [
"BSD-2-Clause"
] | 2 | 2015-10-06T09:18:06.000Z | 2017-03-17T08:51:56.000Z | from django.apps import AppConfig
from django.core.checks import register
from . import checks
class RouteConfig(AppConfig):
"""The AppConfig for conman routes."""
name = 'conman.routes'
def ready(self):
"""Register checks for conman routes."""
register(checks.polymorphic_installed)
... | 25.4375 | 48 | 0.712531 | 46 | 407 | 6.217391 | 0.521739 | 0.195804 | 0.104895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19656 | 407 | 15 | 49 | 27.133333 | 0.874618 | 0.164619 | 0 | 0 | 0 | 0 | 0.039514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
fc8204c97c600cb469a44cb790b0f13a27763c8c | 115 | py | Python | venv/Scripts/ex049.py | SamuelNunesDev/starting_point_in_python | 9a9e39cabb5f3526ee0037012e3943898c1d9dfa | [
"MIT"
] | null | null | null | venv/Scripts/ex049.py | SamuelNunesDev/starting_point_in_python | 9a9e39cabb5f3526ee0037012e3943898c1d9dfa | [
"MIT"
] | null | null | null | venv/Scripts/ex049.py | SamuelNunesDev/starting_point_in_python | 9a9e39cabb5f3526ee0037012e3943898c1d9dfa | [
"MIT"
] | null | null | null | n = int(input('Digite um número para ver sua tabuada: '))
for c in range(0, 11):
print(f'{n} * {c} = {n * c}')
| 28.75 | 57 | 0.556522 | 22 | 115 | 2.909091 | 0.818182 | 0.0625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033708 | 0.226087 | 115 | 3 | 58 | 38.333333 | 0.685393 | 0 | 0 | 0 | 0 | 0 | 0.504348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
fc8877ba165d31590d2a4b69afb04a74049c312a | 2,374 | py | Python | doepy/case_studies/discrete_time/MSFB2014.py | scwolof/doepy | acb2cad95428de2c14b28563cff1aa30679e1f39 | [
"MIT"
] | 1 | 2020-04-23T13:43:35.000Z | 2020-04-23T13:43:35.000Z | doepy/case_studies/discrete_time/MSFB2014.py | scwolof/doepy | acb2cad95428de2c14b28563cff1aa30679e1f39 | [
"MIT"
] | null | null | null | doepy/case_studies/discrete_time/MSFB2014.py | scwolof/doepy | acb2cad95428de2c14b28563cff1aa30679e1f39 | [
"MIT"
] | 1 | 2021-06-13T14:38:32.000Z | 2021-06-13T14:38:32.000Z | """
MIT License
Copyright (c) 2019 Simon Olofsson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | 27.287356 | 79 | 0.717776 | 366 | 2,374 | 4.467213 | 0.461749 | 0.053823 | 0.047095 | 0.039144 | 0.108869 | 0.044037 | 0.044037 | 0 | 0 | 0 | 0 | 0.038442 | 0.17818 | 2,374 | 87 | 80 | 27.287356 | 0.79959 | 0.490312 | 0 | 0.205882 | 0 | 0 | 0.00603 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.088235 | 0.058824 | 0.558824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
fc9e61eaa32db4519807b4a581c10259cbb744fa | 342 | py | Python | src/framed/bioreactor/__init__.py | cdanielmachado/framed | 36d56437685cbf5c7c3c8ee4f6d85b8f05f4d345 | [
"Apache-2.0"
] | 25 | 2015-01-07T16:17:03.000Z | 2022-01-24T09:11:50.000Z | src/framed/bioreactor/__init__.py | cdanielmachado/framed | 36d56437685cbf5c7c3c8ee4f6d85b8f05f4d345 | [
"Apache-2.0"
] | 12 | 2016-02-18T12:50:09.000Z | 2020-12-18T08:56:44.000Z | src/framed/bioreactor/__init__.py | cdanielmachado/framed | 36d56437685cbf5c7c3c8ee4f6d85b8f05f4d345 | [
"Apache-2.0"
] | 14 | 2015-02-17T14:55:27.000Z | 2021-08-09T17:57:57.000Z | from __future__ import absolute_import
__author__ = 'kaizhuang'
"""
Package implementing features for simulating bioreactor operation.
"""
from .base import Organism, Bioreactor
from .bioreactors import ANAEROBIC, AEROBIC, MICROAEROBIC
from .bioreactors import Bioreactor_ox, IdealBatch, IdealFedbatch
from framed.biore... | 26.307692 | 66 | 0.821637 | 37 | 342 | 7.324324 | 0.648649 | 0.110701 | 0.154982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116959 | 342 | 12 | 67 | 28.5 | 0.897351 | 0 | 0 | 0 | 0 | 0 | 0.033835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
fca090b48edd697b40f1657878d06ed9d6efca81 | 909 | py | Python | keras_en_parser_and_analyzer/library/tests/test_detect_date.py | Sultan91/keras-english-resume-parser-and-analyzer | 221407cb0231e4c21f8edc61a2b19b74f9585d6a | [
"MIT"
] | null | null | null | keras_en_parser_and_analyzer/library/tests/test_detect_date.py | Sultan91/keras-english-resume-parser-and-analyzer | 221407cb0231e4c21f8edc61a2b19b74f9585d6a | [
"MIT"
] | null | null | null | keras_en_parser_and_analyzer/library/tests/test_detect_date.py | Sultan91/keras-english-resume-parser-and-analyzer | 221407cb0231e4c21f8edc61a2b19b74f9585d6a | [
"MIT"
] | null | null | null | from unittest import TestCase
from datetime import date
from keras_en_parser_and_analyzer.library.pipmp_my_cv_classify import detect_date
class DetectDate(TestCase):
def test_detect_date(self):
dates_to_test = ['10-1990', '09/12/2020', 'jan 1990', 'feb 2012', '9-12-2020']
res = detect_date(dates_t... | 36.36 | 86 | 0.669967 | 130 | 909 | 4.476923 | 0.323077 | 0.257732 | 0.113402 | 0.154639 | 0.506873 | 0.506873 | 0.465636 | 0.465636 | 0.371134 | 0.371134 | 0 | 0.084034 | 0.214521 | 909 | 24 | 87 | 37.875 | 0.731092 | 0 | 0 | 0.285714 | 0 | 0 | 0.046256 | 0 | 0 | 0 | 0 | 0 | 0.47619 | 1 | 0.047619 | false | 0 | 0.142857 | 0 | 0.238095 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5d8b272fb8d2699d2cf3ea1fd7de71c67f398d16 | 1,130 | py | Python | Code/DataHandlers/__init__.py | aricsanders/pyMez3 | 13e2b9900af2287db0cc42a0190d31da165ce174 | [
"Unlicense"
] | 2 | 2017-01-29T00:46:01.000Z | 2017-07-25T17:23:04.000Z | Code/DataHandlers/__init__.py | aricsanders/pyMez3 | 13e2b9900af2287db0cc42a0190d31da165ce174 | [
"Unlicense"
] | 1 | 2019-08-02T03:59:41.000Z | 2019-08-02T03:59:41.000Z | Code/DataHandlers/__init__.py | aricsanders/pyMez3 | 13e2b9900af2287db0cc42a0190d31da165ce174 | [
"Unlicense"
] | null | null | null | """
The DataHandlers subpackage is designed to manipulate data, by allowing different data types to be opened,
created, saved and updated. The subpackage is further divided into modules grouped by a common theme. Classes for data
that are already on disk normally follows the following pattern:
`instance=ClassName(file_... | 25.681818 | 118 | 0.70531 | 162 | 1,130 | 4.851852 | 0.54321 | 0.038168 | 0.022901 | 0.035623 | 0.058524 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00202 | 0.123894 | 1,130 | 43 | 119 | 26.27907 | 0.791919 | 0.986726 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5d922c20991f9207f7464898983a068c11cac2a8 | 1,625 | py | Python | lcls_orbit/__init__.py | slaclab/lcls-orbit | e2b8738c4af2dfed40fce4b898bf9b2a820d5f56 | [
"BSD-3-Clause-LBNL"
] | null | null | null | lcls_orbit/__init__.py | slaclab/lcls-orbit | e2b8738c4af2dfed40fce4b898bf9b2a820d5f56 | [
"BSD-3-Clause-LBNL"
] | null | null | null | lcls_orbit/__init__.py | slaclab/lcls-orbit | e2b8738c4af2dfed40fce4b898bf9b2a820d5f56 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-11-16T01:03:53.000Z | 2021-11-16T01:03:53.000Z | import numpy as np
from . import _version
__version__ = _version.get_versions()['version']
HXR_COLORS = ("#000000", "#02004a", "#030069", "#04008f", "#0500b3", "#0700ff")
SXR_COLORS = ("#000000", "#330000", "#520000", "#850000", "#ad0000", "#ff0000")
HXR_AREAS = {
"GUN" : [2017.911, 2018.712],
"L0" : [2018.... | 30.660377 | 79 | 0.563077 | 248 | 1,625 | 3.568548 | 0.370968 | 0.047458 | 0.027119 | 0.033898 | 0.494915 | 0.461017 | 0.461017 | 0.461017 | 0.461017 | 0.388701 | 0 | 0.443432 | 0.189538 | 1,625 | 53 | 80 | 30.660377 | 0.22855 | 0 | 0 | 0.434783 | 0 | 0 | 0.144526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5d9653a594b04879fa4c04919b21be2e555546ba | 1,033 | py | Python | webcrawler/crawler/spiders/baselensspider.py | HansZimmer5000/LensComparison | e4d9b68211604c4569c4ca9b1e1b4fce2a8c1ea8 | [
"Apache-2.0"
] | null | null | null | webcrawler/crawler/spiders/baselensspider.py | HansZimmer5000/LensComparison | e4d9b68211604c4569c4ca9b1e1b4fce2a8c1ea8 | [
"Apache-2.0"
] | null | null | null | webcrawler/crawler/spiders/baselensspider.py | HansZimmer5000/LensComparison | e4d9b68211604c4569c4ca9b1e1b4fce2a8c1ea8 | [
"Apache-2.0"
] | null | null | null | # This module is about my webcrawler with the use of scrapy.
# Its a generell web crawler, but the import and use of GhAdapter makes it usefull for geizhals.de sites.
from abc import ABC, abstractmethod
import scrapy
class BaseLensSpider(scrapy.Spider, ABC):
@property
@abstractmethod
def adapter(self):
raise No... | 27.184211 | 105 | 0.804453 | 140 | 1,033 | 5.735714 | 0.428571 | 0.089664 | 0.094645 | 0.134496 | 0.204234 | 0.146949 | 0.146949 | 0 | 0 | 0 | 0 | 0 | 0.135528 | 1,033 | 37 | 106 | 27.918919 | 0.899216 | 0.242014 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0.043478 | 0.434783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5d9ff4014ab10b4aacbc6a629a0aa9ded18d3d4a | 895 | py | Python | setup.py | philippWassibauer/django-activity-stream | 766a372aea4803ef5fe051a5de16dde5b5efcc72 | [
"BSD-3-Clause"
] | 4 | 2015-05-21T04:28:43.000Z | 2019-04-27T15:12:32.000Z | setup.py | philippWassibauer/django-activity-stream | 766a372aea4803ef5fe051a5de16dde5b5efcc72 | [
"BSD-3-Clause"
] | null | null | null | setup.py | philippWassibauer/django-activity-stream | 766a372aea4803ef5fe051a5de16dde5b5efcc72 | [
"BSD-3-Clause"
] | 2 | 2018-02-10T22:31:07.000Z | 2021-02-14T07:43:35.000Z |
from distutils.core import setup
""" django-activity-stream instalation script """
setup(
name = 'activity_stream',
description = 'generic activity feed system for users',
author = 'Philipp Wassibauer',
author_email = 'phil@maptales.com',
url='http://github.com/philippWassibauer/django-activity-st... | 33.148148 | 93 | 0.660335 | 86 | 895 | 6.732558 | 0.662791 | 0.120898 | 0.103627 | 0.055268 | 0.183074 | 0.183074 | 0.183074 | 0.183074 | 0 | 0 | 0 | 0.001412 | 0.208939 | 895 | 26 | 94 | 34.423077 | 0.816384 | 0 | 0 | 0 | 0 | 0 | 0.604982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.095238 | 0 | 0.095238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5da53bca28edc1a3193db977a15e4f5897d0d909 | 2,569 | py | Python | xl_auth/settings.py | libris/xl_auth | 33d705c287d2ecd81920d37c3751d947cd52588c | [
"Apache-2.0"
] | 7 | 2017-09-04T10:24:02.000Z | 2019-12-02T13:12:30.000Z | xl_auth/settings.py | libris/xl_auth | 33d705c287d2ecd81920d37c3751d947cd52588c | [
"Apache-2.0"
] | 140 | 2017-09-06T07:02:18.000Z | 2022-02-26T01:26:25.000Z | xl_auth/settings.py | libris/xl_auth | 33d705c287d2ecd81920d37c3751d947cd52588c | [
"Apache-2.0"
] | 2 | 2017-09-13T16:42:57.000Z | 2018-02-15T15:32:40.000Z | # -*- coding: utf-8 -*-
"""Application configuration."""
from __future__ import absolute_import, division, print_function, unicode_literals
import os
from . import __author__, __name__, __version__
class Config(object):
"""Base configuration."""
SERVER_NAME = os.environ.get('SERVER_NAME', None)
PREFER... | 34.716216 | 82 | 0.696769 | 329 | 2,569 | 5.069909 | 0.465046 | 0.048561 | 0.064748 | 0.040767 | 0.136691 | 0.089928 | 0.089928 | 0.044365 | 0 | 0 | 0 | 0.010091 | 0.189957 | 2,569 | 73 | 83 | 35.191781 | 0.791446 | 0.161541 | 0 | 0.12 | 0 | 0 | 0.149127 | 0.050967 | 0 | 0 | 0 | 0.013699 | 0 | 1 | 0 | false | 0.02 | 0.06 | 0 | 0.98 | 0.02 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
5dcb43dbc68228752388169be1e8b17fd1bf9290 | 112 | py | Python | recsys/__init__.py | shenghuiliuu/recsys | d706d1ae2558816c1e11ca790baeb7748200b404 | [
"MIT"
] | 50 | 2016-10-27T07:28:35.000Z | 2022-03-30T01:32:32.000Z | recsys/__init__.py | shenghuiliuu/recsys | d706d1ae2558816c1e11ca790baeb7748200b404 | [
"MIT"
] | 5 | 2016-11-10T16:22:37.000Z | 2020-09-16T10:26:59.000Z | recsys/__init__.py | shenghuiliuu/recsys | d706d1ae2558816c1e11ca790baeb7748200b404 | [
"MIT"
] | 22 | 2016-11-19T08:56:22.000Z | 2021-06-23T16:13:10.000Z |
__all__ = ['cross_validation',
'metrics',
'datasets',
'recommender']
| 14 | 31 | 0.4375 | 6 | 112 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 112 | 7 | 32 | 16 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5dd208f2225a11d0691db8c3c2975ede5f79f7f1 | 3,470 | py | Python | util/dataset.py | MTI830PyTraders/pytrade | 33ea3e756019c999e9c3d78fca89cd72addf6ab2 | [
"BSD-3-Clause"
] | 3 | 2017-03-08T15:42:26.000Z | 2021-03-10T23:47:15.000Z | util/dataset.py | fraka6/pytrade | 8a94b6e1b3922dcba95067c03abbf45975878b33 | [
"BSD-3-Clause"
] | 15 | 2015-05-20T03:11:58.000Z | 2018-03-30T23:42:18.000Z | util/dataset.py | MTI830PyTraders/pytrade | 33ea3e756019c999e9c3d78fca89cd72addf6ab2 | [
"BSD-3-Clause"
] | 7 | 2016-04-12T09:49:22.000Z | 2021-03-10T23:47:19.000Z | #!/usr/bin/python
''' generate dataset '''
import csv
import argparse
import numpy as np
import sklearn.metrics
import theanets
from sklearn.metrics import accuracy_score
import logging
from trendStrategy import OptTrendStrategy, TrendStrategy
from util import visu
def compare(stock, field='orders', strategy="TrendSt... | 35.408163 | 103 | 0.653602 | 453 | 3,470 | 4.834437 | 0.262693 | 0.031963 | 0.025571 | 0.027397 | 0.147945 | 0.147945 | 0.147945 | 0.127854 | 0.127854 | 0.127854 | 0 | 0.019244 | 0.191354 | 3,470 | 97 | 104 | 35.773196 | 0.761226 | 0.004611 | 0 | 0.216867 | 1 | 0 | 0.10424 | 0.014429 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.108434 | null | null | 0.096386 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5dde83861306805019c9d0827dc8148db30e9997 | 373 | py | Python | fizzbuzz.py | vagnes/fizzbuzzgame | de72ffc5a21fbb3b1cfd930ef632b75697fa830f | [
"WTFPL"
] | null | null | null | fizzbuzz.py | vagnes/fizzbuzzgame | de72ffc5a21fbb3b1cfd930ef632b75697fa830f | [
"WTFPL"
] | null | null | null | fizzbuzz.py | vagnes/fizzbuzzgame | de72ffc5a21fbb3b1cfd930ef632b75697fa830f | [
"WTFPL"
] | null | null | null | print("Press q to quit")
quit = False
while quit is False:
in_val = input("Please enter a positive integer.\n > ")
if in_val is 'q':
quit = True
elif int(in_val) % 3 == 0 and int(in_val) % 5 == 0:
print("FizzBuzz")
elif int(in_val) % 5 == 0:
print("Buzz")
elif int(in_val) % ... | 23.3125 | 59 | 0.530831 | 59 | 373 | 3.254237 | 0.508475 | 0.15625 | 0.166667 | 0.1875 | 0.302083 | 0.302083 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.324397 | 373 | 15 | 60 | 24.866667 | 0.730159 | 0 | 0 | 0 | 0 | 0 | 0.184987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
5de7879bccf37dcddacbf558d1addbcf9aa0f808 | 1,366 | py | Python | rhoci/test/routes.py | ahmedmagdyawaad/redhat-ci-dashboard | a9c0445add4e99bb44a8075752a62176968278df | [
"Apache-2.0"
] | 8 | 2017-06-29T19:38:40.000Z | 2021-07-25T18:55:37.000Z | rhoci/test/routes.py | ahmedmagdyawaad/redhat-ci-dashboard | a9c0445add4e99bb44a8075752a62176968278df | [
"Apache-2.0"
] | 39 | 2017-06-21T07:35:02.000Z | 2018-02-26T11:25:03.000Z | rhoci/test/routes.py | ahmedmagdyawaad/redhat-ci-dashboard | a9c0445add4e99bb44a8075752a62176968278df | [
"Apache-2.0"
] | 7 | 2018-01-24T10:31:00.000Z | 2021-09-18T12:27:46.000Z | # Copyright 2019 Arie Bregman
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 32.52381 | 78 | 0.694729 | 197 | 1,366 | 4.670051 | 0.48731 | 0.065217 | 0.048913 | 0.034783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007346 | 0.202782 | 1,366 | 41 | 79 | 33.317073 | 0.837466 | 0.451684 | 0 | 0 | 0 | 0 | 0.168276 | 0.074483 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.315789 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
5dfd3f4f20e57ebcb5265eb99e3913785aac266b | 517 | py | Python | objectModel/Python/cdm/persistence/cdmfolder/types/purpose_reference.py | wheatdog/CDM | 8b6698f4a8b4f44132b12d97f9f261afcfeb798c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | objectModel/Python/cdm/persistence/cdmfolder/types/purpose_reference.py | wheatdog/CDM | 8b6698f4a8b4f44132b12d97f9f261afcfeb798c | [
"CC-BY-4.0",
"MIT"
] | 3 | 2021-05-11T22:31:59.000Z | 2021-08-04T04:04:18.000Z | objectModel/Python/cdm/persistence/cdmfolder/types/purpose_reference.py | wheatdog/CDM | 8b6698f4a8b4f44132b12d97f9f261afcfeb798c | [
"CC-BY-4.0",
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
from typing import Union, List
from .purpose import *
from .trait_reference import TraitReference
from cdm.utilities import JObject
class PurposeReference(JObje... | 30.411765 | 94 | 0.733075 | 63 | 517 | 5.888889 | 0.666667 | 0.043127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 517 | 16 | 95 | 32.3125 | 0.874704 | 0.415861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.444444 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
5dffed5f88346db8858c1e4167f535bc237800cb | 349 | py | Python | local/utils/validate_label_locale.py | DewiBrynJones/docker-deepspeech-cy | 99159a746651bd848a8309da7f676045913f3d25 | [
"MIT"
] | 3 | 2018-10-11T20:11:28.000Z | 2019-02-01T02:46:46.000Z | local/utils/validate_label_locale.py | DewiBrynJones/docker-deepspeech-cy | 99159a746651bd848a8309da7f676045913f3d25 | [
"MIT"
] | 1 | 2021-01-23T12:56:31.000Z | 2021-01-27T15:32:38.000Z | local/utils/validate_label_locale.py | techiaith/docker-deepspeech-cy | 99159a746651bd848a8309da7f676045913f3d25 | [
"MIT"
] | 6 | 2018-09-24T13:59:53.000Z | 2018-10-23T09:29:46.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from clean_transcript import clean_transcript
ALPHABET_FILE_PATH = "/DeepSpeech/bin/bangor_welsh/alphabet.txt"
def validate_label(label):
clean = clean_transcript(ALPHABET_FILE_PATH)
cleaned, transcript = clean.clean(label)
if cleaned:
return transc... | 23.266667 | 64 | 0.730659 | 44 | 349 | 5.590909 | 0.590909 | 0.182927 | 0.186992 | 0.219512 | 0.252033 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.163324 | 349 | 14 | 65 | 24.928571 | 0.835616 | 0.123209 | 0 | 0 | 0 | 0 | 0.134868 | 0.134868 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
b90426c42855fd2a5119f138e577d0e9dbffc737 | 297 | py | Python | setup.py | def-mycroft/rapid-plotly | 87ba5d9e6894e2c3288435aae9a377647b006e79 | [
"MIT"
] | 1 | 2018-11-19T16:23:31.000Z | 2018-11-19T16:23:31.000Z | setup.py | def-mycroft/rapid-plotly | 87ba5d9e6894e2c3288435aae9a377647b006e79 | [
"MIT"
] | 10 | 2018-11-26T17:20:12.000Z | 2019-05-06T14:29:54.000Z | setup.py | def-mycroft/rapid-plotly | 87ba5d9e6894e2c3288435aae9a377647b006e79 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='rapid_plotly',
version='0.1',
description='Convenience functions to rapidly create beautiful Plotly graphs',
author='Joseph Dasenbrock',
author_email='dasenbrockjw@gmail.com',
packages=['rapid_plotly'],
zip_safe=False)
| 29.7 | 84 | 0.703704 | 34 | 297 | 6.029412 | 0.852941 | 0.107317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008299 | 0.188552 | 297 | 9 | 85 | 33 | 0.842324 | 0 | 0 | 0 | 0 | 0 | 0.434343 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 2 |
b904eadc54bfc2aeedb89068e48092d072692ffd | 620 | py | Python | learn/hard-way/EmptyFileError.py | hustbill/Python-auto | 9f43bc2613a64a373927047ac52d8e90ffe644f8 | [
"Apache-2.0"
] | null | null | null | learn/hard-way/EmptyFileError.py | hustbill/Python-auto | 9f43bc2613a64a373927047ac52d8e90ffe644f8 | [
"Apache-2.0"
] | null | null | null | learn/hard-way/EmptyFileError.py | hustbill/Python-auto | 9f43bc2613a64a373927047ac52d8e90ffe644f8 | [
"Apache-2.0"
] | null | null | null | class EmptyFileError(Exception):
pass
filenames = ["myfile1", "nonExistent", "emptyFile", "myfile2"]
for file in filenames:
try:
f = open(file, 'r')
line = f.readline()
if line == "":
f.close()
raise EmptyFileError("%s: is empty" % file)
# except IO... | 31 | 73 | 0.504839 | 63 | 620 | 4.968254 | 0.603175 | 0.031949 | 0.076677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004963 | 0.35 | 620 | 19 | 74 | 32.631579 | 0.771712 | 0.469355 | 0 | 0 | 0 | 0 | 0.148265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.1 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
b905bf0f95f0e168b31539b1c4fa3ef57493a4f1 | 1,220 | py | Python | test/integration/languages/test_mixed.py | thomasrockhu/bfg9000 | 1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a | [
"BSD-3-Clause"
] | 72 | 2015-06-23T02:35:13.000Z | 2021-12-08T01:47:40.000Z | test/integration/languages/test_mixed.py | thomasrockhu/bfg9000 | 1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a | [
"BSD-3-Clause"
] | 139 | 2015-03-01T18:48:17.000Z | 2021-06-18T15:45:14.000Z | test/integration/languages/test_mixed.py | thomasrockhu/bfg9000 | 1cd1226eab9bed2fc2ec6acccf7864fdcf2ed31a | [
"BSD-3-Clause"
] | 19 | 2015-12-23T21:24:33.000Z | 2022-01-06T04:04:41.000Z | import os.path
from .. import *
class TestMixed(IntegrationTest):
def __init__(self, *args, **kwargs):
super().__init__(os.path.join('languages', 'mixed'), *args, **kwargs)
def test_build(self):
self.build(executable('program'))
self.assertOutput([executable('program')], 'hello from ... | 33.888889 | 77 | 0.644262 | 140 | 1,220 | 5.378571 | 0.4 | 0.079681 | 0.087649 | 0.103586 | 0.64409 | 0.64409 | 0.64409 | 0.64409 | 0.64409 | 0.64409 | 0 | 0.002043 | 0.197541 | 1,220 | 35 | 78 | 34.857143 | 0.767109 | 0.061475 | 0 | 0.458333 | 0 | 0 | 0.183727 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.458333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
f8d7e5ead057431bae183bbe4b52bcbc1bde7f4d | 962 | py | Python | var/spack/repos/builtin/packages/r-xts/package.py | kehw/spack | 4f49b1a9301447a8cf880c99820cad65e5c2d7e3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2020-09-10T22:50:08.000Z | 2021-01-12T22:18:54.000Z | var/spack/repos/builtin/packages/r-xts/package.py | kehw/spack | 4f49b1a9301447a8cf880c99820cad65e5c2d7e3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 14 | 2021-07-20T01:04:53.000Z | 2022-03-02T01:08:36.000Z | var/spack/repos/builtin/packages/r-xts/package.py | kehw/spack | 4f49b1a9301447a8cf880c99820cad65e5c2d7e3 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-05-06T00:17:46.000Z | 2021-05-06T00:17:46.000Z | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RXts(RPackage):
"""Provide for uniform handling of R's different time-based data classes b... | 41.826087 | 96 | 0.748441 | 124 | 962 | 5.782258 | 0.717742 | 0.033473 | 0.046025 | 0.039052 | 0.09484 | 0.09484 | 0.09484 | 0.09484 | 0 | 0 | 0 | 0.143029 | 0.135135 | 962 | 22 | 97 | 43.727273 | 0.71875 | 0.449064 | 0 | 0 | 0 | 0.125 | 0.609037 | 0.251473 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
f8dde6ce7a9ea138ac9fe3fc5e28f791075d3425 | 454 | py | Python | src/site/config.py | ninaamorim/sentiment-analysis-2018-president-election | a5c12f1b659186edbc2dfa916bc82a2cfa2dd67f | [
"MIT"
] | 39 | 2018-09-05T14:42:05.000Z | 2021-09-24T20:21:56.000Z | src/site/config.py | ninaamorim/sentiment-analysis-2018-president-election | a5c12f1b659186edbc2dfa916bc82a2cfa2dd67f | [
"MIT"
] | null | null | null | src/site/config.py | ninaamorim/sentiment-analysis-2018-president-election | a5c12f1b659186edbc2dfa916bc82a2cfa2dd67f | [
"MIT"
] | 11 | 2018-12-07T19:43:44.000Z | 2021-05-21T21:54:43.000Z | from starlette.applications import Starlette
from starlette.middleware.gzip import GZipMiddleware
from starlette.middleware.cors import CORSMiddleware
from starlette.staticfiles import StaticFiles
app = Starlette(debug=False, template_directory='src/site/templates')
app.add_middleware(GZipMiddleware, minimum_size=500)... | 45.4 | 76 | 0.830396 | 54 | 454 | 6.888889 | 0.518519 | 0.139785 | 0.123656 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.061674 | 454 | 9 | 77 | 50.444444 | 0.866197 | 0 | 0 | 0 | 0 | 0 | 0.101322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
f8f72bfabd477794319287090180fb8cb1c3008e | 2,059 | py | Python | Sec_10_expr_lambdas_fun_integradas/a_lambdas.py | PauloAlexSilva/Python | 690913cdcfd8bde52d9ddd15e3c838e6aef27730 | [
"MIT"
] | null | null | null | Sec_10_expr_lambdas_fun_integradas/a_lambdas.py | PauloAlexSilva/Python | 690913cdcfd8bde52d9ddd15e3c838e6aef27730 | [
"MIT"
] | null | null | null | Sec_10_expr_lambdas_fun_integradas/a_lambdas.py | PauloAlexSilva/Python | 690913cdcfd8bde52d9ddd15e3c838e6aef27730 | [
"MIT"
] | null | null | null | """
Utilizando Lambdas
Conhecidas por Expressões Lambdas, ou simplesmente Lambdas, são funções sem nome, ou seja,
funções anónimas.
# Função em Python
def funcao(x):
return 3 * x + 1
print(funcao(4))
print(funcao(7))
# Expressão Lambda
lambda x: 3 * x + 1
# Como utlizar a expressão lambda?
calc = lambda x... | 20.79798 | 94 | 0.641088 | 303 | 2,059 | 4.326733 | 0.349835 | 0.032037 | 0.009153 | 0.020595 | 0.230359 | 0.18688 | 0.18688 | 0.181541 | 0.169336 | 0.169336 | 0 | 0.024848 | 0.19864 | 2,059 | 98 | 95 | 21.010204 | 0.769697 | 0.86984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
5d0c13bd9ead504a51ba033deca97415ff355734 | 17,858 | py | Python | Titanic/class_create_model_of_logistic_regression.py | ysh329/Titanic-Machine-Learning-from-Disaster | d2ba330625e40b648b2946a8ca221198af148368 | [
"MIT"
] | 1 | 2018-07-23T08:41:02.000Z | 2018-07-23T08:41:02.000Z | Titanic/class_create_model_of_logistic_regression.py | ysh329/Titanic-Machine-Learning-from-Disaster | d2ba330625e40b648b2946a8ca221198af148368 | [
"MIT"
] | null | null | null | Titanic/class_create_model_of_logistic_regression.py | ysh329/Titanic-Machine-Learning-from-Disaster | d2ba330625e40b648b2946a8ca221198af148368 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# !/usr/bin/python
################################### PART0 DESCRIPTION #################################
# Filename: class_create_model_of_logistic_regression.py
# Description:
#
# Author: Shuai Yuan
# E-mail: ysh329@sina.com
# Create: 2016-01-23 23:32:49
# Last:
__author__ = 'yuens'
######... | 48.005376 | 177 | 0.57302 | 1,986 | 17,858 | 4.8429 | 0.12286 | 0.049179 | 0.048243 | 0.045852 | 0.633604 | 0.524849 | 0.496985 | 0.470576 | 0.400395 | 0.337804 | 0 | 0.020973 | 0.297794 | 17,858 | 372 | 178 | 48.005376 | 0.746013 | 0.051294 | 0 | 0.345679 | 0 | 0.016461 | 0.130502 | 0.053253 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.090535 | 0.032922 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
5d147935a791e2ef09a425d200ac60697365562a | 7,380 | py | Python | sdk/python/pulumi_azure/containerservice/get_registry.py | aangelisc/pulumi-azure | 71dd9c75403146e16f7480e5a60b08bc0329660e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/containerservice/get_registry.py | aangelisc/pulumi-azure | 71dd9c75403146e16f7480e5a60b08bc0329660e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/containerservice/get_registry.py | aangelisc/pulumi-azure | 71dd9c75403146e16f7480e5a60b08bc0329660e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import... | 36.716418 | 215 | 0.65813 | 879 | 7,380 | 5.255973 | 0.175199 | 0.047836 | 0.058874 | 0.071429 | 0.220346 | 0.172511 | 0.1171 | 0.073593 | 0.041558 | 0.041558 | 0 | 0.00018 | 0.246206 | 7,380 | 200 | 216 | 36.9 | 0.830307 | 0.186585 | 0 | 0.124031 | 1 | 0 | 0.155715 | 0.016253 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108527 | false | 0.069767 | 0.03876 | 0.015504 | 0.263566 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
5d3f6e4da89be36858bff2a63bb4de2ff240849a | 244 | py | Python | config.py | ggiaquin16/GroupProject19 | f491abc4e8f127552dc7384f3378e14029da8008 | [
"CC-BY-3.0"
] | null | null | null | config.py | ggiaquin16/GroupProject19 | f491abc4e8f127552dc7384f3378e14029da8008 | [
"CC-BY-3.0"
] | null | null | null | config.py | ggiaquin16/GroupProject19 | f491abc4e8f127552dc7384f3378e14029da8008 | [
"CC-BY-3.0"
] | null | null | null | api_key = "9N7hvPP9yFrjBnELpBdthluBjiOWzJZw"
mongo_url = 'mongodb://localhost:27017'
mongo_db = 'CarPopularity'
mongo_collections = ['CarSalesByYear', 'PopularCarsByRegion']
years_data = ['2019', '2018', '2017', '2016', '2015']
test_mode = True | 40.666667 | 61 | 0.75 | 25 | 244 | 7.08 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 0.090164 | 244 | 6 | 62 | 40.666667 | 0.671171 | 0 | 0 | 0 | 0 | 0 | 0.502041 | 0.232653 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5d42291558faa9e742ab82a57f0f93c0ba5ed168 | 66 | py | Python | birdy/__init__.py | tkiapril/birdy | cf6a8f8d31c9363dbf7398ae3d78fe3069a5a936 | [
"MIT"
] | 1 | 2015-01-07T17:47:54.000Z | 2015-01-07T17:47:54.000Z | birdy/__init__.py | tkiapril/birdy | cf6a8f8d31c9363dbf7398ae3d78fe3069a5a936 | [
"MIT"
] | null | null | null | birdy/__init__.py | tkiapril/birdy | cf6a8f8d31c9363dbf7398ae3d78fe3069a5a936 | [
"MIT"
] | null | null | null | __author__ = 'Mitja Pagon <mitja@inueni.com>'
__version__ = '0.2'
| 22 | 45 | 0.712121 | 9 | 66 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.121212 | 66 | 2 | 46 | 33 | 0.637931 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
5d6066cbcb225097d2a844447d53060bd3350b74 | 1,969 | py | Python | demo/other_demo.py | Heartfilia/lite_tools | b3432ba7cb60502ac64d45e23022e20555fb1588 | [
"MIT"
] | 5 | 2021-05-10T07:35:47.000Z | 2022-03-07T01:31:12.000Z | demo/other_demo.py | Heartfilia/lite_tools | b3432ba7cb60502ac64d45e23022e20555fb1588 | [
"MIT"
] | null | null | null | demo/other_demo.py | Heartfilia/lite_tools | b3432ba7cb60502ac64d45e23022e20555fb1588 | [
"MIT"
] | 1 | 2022-03-03T03:23:26.000Z | 2022-03-03T03:23:26.000Z | # -*- coding: utf-8 -*-
from lite_tools import get_md5, get_sha, get_sha3, get_b64e, get_b64d
# about hashlib ==> get_md5, get_sha, get_sha3 || default mode=256
s = "test_information" # 这里只能丢字符串
print(get_md5(s)) # 5414ffd88fcb58417e64ecec51bb3a6b
print(get_md5(s, upper=True)) # 5414FFD88FCB5841... | 57.911765 | 176 | 0.718639 | 278 | 1,969 | 4.870504 | 0.374101 | 0.059084 | 0.017725 | 0.029542 | 0.259232 | 0.127031 | 0.098966 | 0.098966 | 0.062038 | 0.062038 | 0 | 0.247123 | 0.161503 | 1,969 | 33 | 177 | 59.666667 | 0.572986 | 0.565262 | 0 | 0 | 0 | 0 | 0.019254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0.681818 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
5d72ba13d02bd291e6fb1bfd1e3d024e5c0779f3 | 316 | py | Python | workalendar/usa/colorado.py | vanadium23/workalendar | 4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7 | [
"MIT"
] | null | null | null | workalendar/usa/colorado.py | vanadium23/workalendar | 4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7 | [
"MIT"
] | null | null | null | workalendar/usa/colorado.py | vanadium23/workalendar | 4c67b5a7900fa56d7a93b767c6cbd8f1cc6b70a7 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from .core import UnitedStates
class Colorado(UnitedStates):
"""Colorado"""
# Colorado has only federal state holidays.
# NOTE: Cesar Chavez Day is an optional holiday
| 26.333333 | 66 | 0.677215 | 35 | 316 | 5.914286 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004132 | 0.234177 | 316 | 11 | 67 | 28.727273 | 0.85124 | 0.376582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
5d72e502922a05a806cd65843fb08ea2947b5e7b | 3,358 | py | Python | dataloaders/augmentation.py | thierrypin/gei-pool | 0a9e79b01148735f0e975c50d2476e41ba20af4f | [
"MIT"
] | null | null | null | dataloaders/augmentation.py | thierrypin/gei-pool | 0a9e79b01148735f0e975c50d2476e41ba20af4f | [
"MIT"
] | null | null | null | dataloaders/augmentation.py | thierrypin/gei-pool | 0a9e79b01148735f0e975c50d2476e41ba20af4f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import random
import numpy as np
# Generic data augmentation
class Augmenter:
""" Generic data augmentation class with chained operations
"""
def __init__(self, ops=[]):
if not isinstance(ops, list):
print("Error: ops must be a list of fu... | 25.24812 | 158 | 0.549136 | 450 | 3,358 | 4.011111 | 0.193333 | 0.079778 | 0.016621 | 0.066482 | 0.658172 | 0.578947 | 0.550139 | 0.51856 | 0.47867 | 0.47867 | 0 | 0.024117 | 0.308517 | 3,358 | 132 | 159 | 25.439394 | 0.75323 | 0.139666 | 0 | 0.482759 | 0 | 0 | 0.024032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.252874 | false | 0 | 0.022989 | 0.011494 | 0.609195 | 0.022989 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
5d7393f1d5071cf9d02bab3da993f038421d4d57 | 1,175 | py | Python | robosuite/models/grippers/__init__.py | kyungjaelee/robosuite | 0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1 | [
"MIT"
] | 397 | 2020-09-28T02:49:58.000Z | 2022-03-30T18:08:19.000Z | robosuite/models/grippers/__init__.py | kyungjaelee/robosuite | 0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1 | [
"MIT"
] | 169 | 2020-09-28T02:17:59.000Z | 2022-03-29T13:32:43.000Z | robosuite/models/grippers/__init__.py | kyungjaelee/robosuite | 0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1 | [
"MIT"
] | 131 | 2020-09-28T14:50:35.000Z | 2022-03-31T02:27:33.000Z | from .gripper_model import GripperModel
from .gripper_factory import gripper_factory
from .gripper_tester import GripperTester
from .panda_gripper import PandaGripper
from .rethink_gripper import RethinkGripper
from .robotiq_85_gripper import Robotiq85Gripper
from .robotiq_three_finger_gripper import RobotiqThreeFinge... | 39.166667 | 103 | 0.846809 | 96 | 1,175 | 10.135417 | 0.34375 | 0.120247 | 0.032888 | 0.045221 | 0.078109 | 0.078109 | 0 | 0 | 0 | 0 | 0 | 0.018975 | 0.102979 | 1,175 | 29 | 104 | 40.517241 | 0.904175 | 0 | 0 | 0.08 | 0 | 0 | 0.156596 | 0.095319 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.48 | 0 | 0.48 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
538362192f9fc22f5fcaa82bb61990dd548e6c63 | 3,947 | py | Python | utils.py | bianan/cfl | e09043d213c7330d5410e27ba90c943d4323dbe8 | [
"Apache-2.0"
] | 4 | 2020-07-29T10:18:59.000Z | 2021-06-27T22:57:37.000Z | utils.py | bianan/cfl | e09043d213c7330d5410e27ba90c943d4323dbe8 | [
"Apache-2.0"
] | null | null | null | utils.py | bianan/cfl | e09043d213c7330d5410e27ba90c943d4323dbe8 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | 28.395683 | 80 | 0.727135 | 612 | 3,947 | 4.405229 | 0.285948 | 0.038576 | 0.032641 | 0.031528 | 0.180267 | 0.128709 | 0.107196 | 0.08865 | 0 | 0 | 0 | 0.003984 | 0.173296 | 3,947 | 138 | 81 | 28.601449 | 0.822249 | 0.35698 | 0 | 0.060606 | 0 | 0 | 0.043689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.060606 | 0.106061 | 0.5 | 0.060606 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
53901ad02fc361ceba4528f28baf2995acc82248 | 1,422 | py | Python | leetcode/medium/best-time-to-buy-and-sell-stock-ii.py | rainzhop/cumulus-tank | 09ebc7858ea53630e30606945adfea856a80faa3 | [
"MIT"
] | null | null | null | leetcode/medium/best-time-to-buy-and-sell-stock-ii.py | rainzhop/cumulus-tank | 09ebc7858ea53630e30606945adfea856a80faa3 | [
"MIT"
] | null | null | null | leetcode/medium/best-time-to-buy-and-sell-stock-ii.py | rainzhop/cumulus-tank | 09ebc7858ea53630e30606945adfea856a80faa3 | [
"MIT"
] | null | null | null | # https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/
#
# Say you have an array for which the ith element is the price of a given stock on day i.
#
# Design an algorithm to find the maximum profit.
# You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple ti... | 32.318182 | 123 | 0.524613 | 196 | 1,422 | 3.709184 | 0.459184 | 0.0674 | 0.044017 | 0.041265 | 0.05227 | 0.05227 | 0.05227 | 0 | 0 | 0 | 0 | 0.022573 | 0.376934 | 1,422 | 43 | 124 | 33.069767 | 0.797968 | 0.324895 | 0 | 0.222222 | 0 | 0 | 0.00907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.074074 | 0 | null | null | 0.037037 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
53a26f62743c91c61bf312038531a22cbbef6701 | 151 | py | Python | r2c_isg/functions/__init__.py | returntocorp/inputset-generator | c33952cc5683e9e70b24f76936c42ec8e354d121 | [
"MIT"
] | 3 | 2019-11-02T20:14:34.000Z | 2020-01-23T21:47:20.000Z | r2c_isg/functions/__init__.py | returntocorp/inputset-generator | c33952cc5683e9e70b24f76936c42ec8e354d121 | [
"MIT"
] | 19 | 2019-09-18T01:48:07.000Z | 2021-11-04T11:20:48.000Z | r2c_isg/functions/__init__.py | returntocorp/inputset-generator | c33952cc5683e9e70b24f76936c42ec8e354d121 | [
"MIT"
] | 3 | 2019-11-15T22:31:13.000Z | 2020-03-10T10:19:39.000Z | from .trim import trim
from .sample import sample
from .sort import sort
function_map = {
'trim': trim,
'sample': sample,
'sort': sort
}
| 13.727273 | 26 | 0.649007 | 20 | 151 | 4.85 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238411 | 151 | 10 | 27 | 15.1 | 0.843478 | 0 | 0 | 0 | 0 | 0 | 0.092715 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
53a74fabccfed340e02d074e5c163a36783d5463 | 1,102 | py | Python | custom_components/purrsong/__init__.py | RobertD502/home-assistant-lavviebot | 5c69f474786f043773cba42b7806fb77d4f89672 | [
"MIT"
] | 3 | 2021-04-15T21:23:26.000Z | 2021-12-18T07:45:40.000Z | custom_components/purrsong/__init__.py | RobertD502/home-assistant-lavviebot | 5c69f474786f043773cba42b7806fb77d4f89672 | [
"MIT"
] | 2 | 2021-10-21T12:08:32.000Z | 2021-11-12T19:13:11.000Z | custom_components/purrsong/__init__.py | RobertD502/home-assistant-lavviebot | 5c69f474786f043773cba42b7806fb77d4f89672 | [
"MIT"
] | null | null | null | """Support for Purrsong LavvieBot S"""
import asyncio
import logging
import voluptuous as vol
from lavviebot import LavvieBotApi
import homeassistant.helpers.config_validation as cv
from homeassistant import config_entries
from homeassistant.const import EVENT_HOMEASSISTANT_STOP
from homeassistant.exceptions import Co... | 26.238095 | 83 | 0.772232 | 138 | 1,102 | 5.949275 | 0.42029 | 0.066991 | 0.053593 | 0.06821 | 0.053593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 1,102 | 41 | 84 | 26.878049 | 0.881847 | 0.049909 | 0 | 0.074074 | 0 | 0 | 0.053007 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0.111111 | 0.37037 | 0 | 0.481481 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
53b911e92af8c5251a19a68b93418217d94e2790 | 310 | py | Python | cogdl/modules/conv/__init__.py | awesome-archive/cogdl | 0a354eaaaf851e7218197508e7e85a81d3fb5753 | [
"MIT"
] | 8 | 2020-06-03T00:55:09.000Z | 2022-01-23T16:06:56.000Z | cogdl/modules/conv/__init__.py | awesome-archive/cogdl | 0a354eaaaf851e7218197508e7e85a81d3fb5753 | [
"MIT"
] | null | null | null | cogdl/modules/conv/__init__.py | awesome-archive/cogdl | 0a354eaaaf851e7218197508e7e85a81d3fb5753 | [
"MIT"
] | 6 | 2020-06-03T00:55:11.000Z | 2022-03-16T01:14:36.000Z | from .message_passing import MessagePassing
from .gcn_conv import GCNConv
from .gat_conv import GATConv
from .se_layer import SELayer
from .aggregator import Meanaggregator
from .maggregator import meanaggr
__all__ = [
'MessagePassing',
'GCNConv',
'GATConv',
'SELayer',
'Meanaggregator'
]
| 20.666667 | 43 | 0.751613 | 34 | 310 | 6.617647 | 0.529412 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174194 | 310 | 14 | 44 | 22.142857 | 0.878906 | 0 | 0 | 0 | 0 | 0 | 0.158065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.461538 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 |
53cba4400da1d1c4d684c06ae9715e48948281c2 | 568 | py | Python | polls/models.py | mmeooo/test_django | 0364f43549d4082df7100d11c67dd42dc2a82b32 | [
"Apache-2.0"
] | null | null | null | polls/models.py | mmeooo/test_django | 0364f43549d4082df7100d11c67dd42dc2a82b32 | [
"Apache-2.0"
] | null | null | null | polls/models.py | mmeooo/test_django | 0364f43549d4082df7100d11c67dd42dc2a82b32 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
# 클래스의 기능: 상속
class Question(models.Model): # Table
question_text= models.CharField(max_length= 100) # column, datatype
public_date= models.CharField(max_length= 100)
votes= models.DecimalField(max_digits= 20, decimal_places= 10)
# 위의 2개 타입으로 클래스 만들면 ... | 33.411765 | 71 | 0.746479 | 81 | 568 | 5.098765 | 0.567901 | 0.130751 | 0.217918 | 0.290557 | 0.346247 | 0.150121 | 0 | 0 | 0 | 0 | 0 | 0.047718 | 0.151408 | 568 | 16 | 72 | 35.5 | 0.809129 | 0.264085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
53d57360a984bc0c7e7afecf352b5a5635dc9a06 | 3,303 | py | Python | cms/test_utils/project/placeholderapp/models.py | stefanw/django-cms | 048ec9e7a529549d51f4805fdfbcd50ea1e624b0 | [
"BSD-3-Clause"
] | null | null | null | cms/test_utils/project/placeholderapp/models.py | stefanw/django-cms | 048ec9e7a529549d51f4805fdfbcd50ea1e624b0 | [
"BSD-3-Clause"
] | null | null | null | cms/test_utils/project/placeholderapp/models.py | stefanw/django-cms | 048ec9e7a529549d51f4805fdfbcd50ea1e624b0 | [
"BSD-3-Clause"
] | null | null | null | from django.core.urlresolvers import reverse
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
from cms.models.fields import PlaceholderField
from cms.utils import get_language_from_request
from cms.utils.urlutils import admin_reverse
from hvad.models import TranslatableModel,... | 33.363636 | 113 | 0.737511 | 445 | 3,303 | 5.14382 | 0.191011 | 0.03495 | 0.073395 | 0.113587 | 0.512014 | 0.493228 | 0.459152 | 0.432066 | 0.409786 | 0.365225 | 0 | 0.03705 | 0.158341 | 3,303 | 98 | 114 | 33.704082 | 0.786331 | 0 | 0 | 0.342857 | 0 | 0 | 0.090221 | 0.020587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.185714 | false | 0 | 0.1 | 0.142857 | 0.842857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
53e0d34e58ad9e0686dc6ee3e5a7f6fc0076f469 | 55 | py | Python | django_reporter_pro/config/model_configs.py | shamilison/django-reporter-pro | 0c6f60bbae939d318e7aafaec83613d2768a4f63 | [
"Apache-2.0"
] | null | null | null | django_reporter_pro/config/model_configs.py | shamilison/django-reporter-pro | 0c6f60bbae939d318e7aafaec83613d2768a4f63 | [
"Apache-2.0"
] | null | null | null | django_reporter_pro/config/model_configs.py | shamilison/django-reporter-pro | 0c6f60bbae939d318e7aafaec83613d2768a4f63 | [
"Apache-2.0"
] | null | null | null | # Created by shamilsakib at 04/10/20
BASE_MODEL = None | 18.333333 | 36 | 0.763636 | 10 | 55 | 4.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.163636 | 55 | 3 | 37 | 18.333333 | 0.76087 | 0.618182 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
9900a4818a6a2131c9358bacda678af44a4371c0 | 4,056 | py | Python | testcases/cloud_admin/services_up_test.py | tbeckham/eutester | 1440187150ce284bd87147e71ac7f0fda194b4d9 | [
"BSD-2-Clause"
] | null | null | null | testcases/cloud_admin/services_up_test.py | tbeckham/eutester | 1440187150ce284bd87147e71ac7f0fda194b4d9 | [
"BSD-2-Clause"
] | null | null | null | testcases/cloud_admin/services_up_test.py | tbeckham/eutester | 1440187150ce284bd87147e71ac7f0fda194b4d9 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/python
# Software License Agreement (BSD License)
#
# Copyright (c) 2009-2011, Eucalyptus Systems, Inc.
# All rights reserved.
#
# Redistribution and use of this software in source and binary forms, with or
# without modification, are permitted provided that the following conditions
# are met:
#
# Redistri... | 42.25 | 115 | 0.704389 | 535 | 4,056 | 5.246729 | 0.431776 | 0.021375 | 0.006413 | 0.012113 | 0.091201 | 0.0741 | 0.04845 | 0.04845 | 0.04845 | 0.04845 | 0 | 0.003796 | 0.220661 | 4,056 | 95 | 116 | 42.694737 | 0.884214 | 0.43146 | 0 | 0 | 0 | 0 | 0.139523 | 0.014713 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.071429 | 0.071429 | null | null | 0.047619 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
54c99a336aaeb2a2bf8fbb1530f743b492eca07a | 2,019 | py | Python | data/analyzer/linux/lib/common/abstracts.py | iswenhao/Panda-Sandbox | a04069d404cb4326ff459e703f14625dc45759ed | [
"MIT"
] | 2 | 2021-01-12T15:42:05.000Z | 2021-01-13T04:59:39.000Z | data/analyzer/linux/lib/common/abstracts.py | iswenhao/Panda-Sandbox | a04069d404cb4326ff459e703f14625dc45759ed | [
"MIT"
] | null | null | null | data/analyzer/linux/lib/common/abstracts.py | iswenhao/Panda-Sandbox | a04069d404cb4326ff459e703f14625dc45759ed | [
"MIT"
] | null | null | null | # Copyright (C) 2014-2016 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
from lib.api.process import Process
from lib.exceptions.exceptions import CuckooPackageError
class Package(object):
"""Base abstract analysis pack... | 27.657534 | 102 | 0.583952 | 237 | 2,019 | 4.92827 | 0.434599 | 0.027397 | 0.020548 | 0.023973 | 0.034247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006569 | 0.321446 | 2,019 | 72 | 103 | 28.041667 | 0.845985 | 0.393759 | 0 | 0.181818 | 0 | 0 | 0.06297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.060606 | 0.060606 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
54d0e7ae83bd72293871a6d51b4fbe8e0a0e701d | 142 | py | Python | examples/ingenerator.py | quynhanh-ngx/pytago | de976ad8d85702ae665e97978bc4a75d282c857f | [
"MIT"
] | 206 | 2021-06-24T16:16:13.000Z | 2022-03-31T07:44:17.000Z | examples/ingenerator.py | quynhanh-ngx/pytago | de976ad8d85702ae665e97978bc4a75d282c857f | [
"MIT"
] | 13 | 2021-06-24T17:51:36.000Z | 2022-02-23T10:07:17.000Z | examples/ingenerator.py | quynhanh-ngx/pytago | de976ad8d85702ae665e97978bc4a75d282c857f | [
"MIT"
] | 14 | 2021-06-26T02:19:45.000Z | 2022-03-30T03:02:49.000Z | def main():
n = 111
gen = (n * 7 for x in range(10))
if 777 in gen:
print("Yes!")
if __name__ == '__main__':
main()
| 14.2 | 36 | 0.485915 | 22 | 142 | 2.772727 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0.352113 | 142 | 9 | 37 | 15.777778 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
54d95a6a219b638ddca6d85bef7b830f95b22592 | 2,426 | py | Python | pharmrep/forum/models.py | boyombo/pharmrep | 2293ceb235dec949c58fa40d1ee43fce172e0ceb | [
"MIT"
] | null | null | null | pharmrep/forum/models.py | boyombo/pharmrep | 2293ceb235dec949c58fa40d1ee43fce172e0ceb | [
"MIT"
] | null | null | null | pharmrep/forum/models.py | boyombo/pharmrep | 2293ceb235dec949c58fa40d1ee43fce172e0ceb | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
class Forum(models.Model):
title = models.CharField(max_length=60)
description = models.TextField(blank=True, default='')
updated = models.DateTi... | 32.783784 | 100 | 0.659934 | 323 | 2,426 | 4.80805 | 0.256966 | 0.051513 | 0.08886 | 0.100451 | 0.533162 | 0.412106 | 0.361236 | 0.334192 | 0.270444 | 0.270444 | 0 | 0.011129 | 0.222176 | 2,426 | 73 | 101 | 33.232877 | 0.811871 | 0 | 0 | 0.333333 | 0 | 0 | 0.019786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.175439 | false | 0 | 0.070175 | 0.140351 | 0.842105 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
54db89c835de6895b4c1b46df78297a288ccdb1f | 3,254 | py | Python | dev/unittest/update.py | PowerDNS/exabgp | bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2 | [
"BSD-3-Clause"
] | 8 | 2015-01-11T09:57:26.000Z | 2019-07-05T05:57:02.000Z | dev/unittest/update.py | Acidburn0zzz/exabgp | bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2 | [
"BSD-3-Clause"
] | 1 | 2018-11-15T22:10:09.000Z | 2018-11-15T22:20:31.000Z | dev/unittest/update.py | Acidburn0zzz/exabgp | bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2 | [
"BSD-3-Clause"
] | 6 | 2015-09-11T01:51:06.000Z | 2020-03-10T19:16:18.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
update.py
Created by Thomas Mangin on 2009-09-06.
Copyright (c) 2009-2013 Exa Networks. All rights reserved.
"""
import unittest
from exabgp.configuration.environment import environment
env = environment.setup('')
from exabgp.bgp.message.update.update import *
from exabgp... | 38.282353 | 313 | 0.667486 | 555 | 3,254 | 3.814414 | 0.228829 | 0.113368 | 0.158715 | 0.196504 | 0.508739 | 0.489844 | 0.425602 | 0.364667 | 0.273028 | 0.273028 | 0 | 0.155025 | 0.137677 | 3,254 | 84 | 314 | 38.738095 | 0.59943 | 0.103258 | 0 | 0.039216 | 0 | 0 | 0.050823 | 0 | 0 | 0 | 0.147817 | 0 | 0.235294 | 0 | null | null | 0 | 0.098039 | null | null | 0.058824 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
54e0e5e26d187af365758e0bf02412dfcafdb712 | 1,028 | py | Python | hkube_python_wrapper/storage/base_storage_manager.py | kube-HPC/python-wrapper.hkube | 74713d9fea6689c116ade7d67b7ab67373a79d3b | [
"MIT"
] | 1 | 2021-03-20T06:18:57.000Z | 2021-03-20T06:18:57.000Z | hkube_python_wrapper/storage/base_storage_manager.py | kube-HPC/python-wrapper.hkube | 74713d9fea6689c116ade7d67b7ab67373a79d3b | [
"MIT"
] | 10 | 2020-04-24T06:58:59.000Z | 2022-03-30T14:42:55.000Z | hkube_python_wrapper/storage/base_storage_manager.py | kube-HPC/python-wrapper.hkube | 74713d9fea6689c116ade7d67b7ab67373a79d3b | [
"MIT"
] | null | null | null |
class BaseStorageManager(object):
def __init__(self, adpter):
self.adapter = adpter
def put(self, options):
try:
return self.adapter.put(options)
except Exception:
raise Exception('Failed to write data to storage')
def get(self, options):
try:
... | 27.783784 | 72 | 0.59144 | 112 | 1,028 | 5.392857 | 0.258929 | 0.109272 | 0.115894 | 0.182119 | 0.445364 | 0.445364 | 0.291391 | 0 | 0 | 0 | 0 | 0 | 0.327821 | 1,028 | 36 | 73 | 28.555556 | 0.874096 | 0 | 0 | 0.310345 | 0 | 0 | 0.148004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
54e0f7ad3e850fa6d21aab5200a2493a26332352 | 3,324 | py | Python | cle/cle/backends/relocations/generic.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | null | null | null | cle/cle/backends/relocations/generic.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | null | null | null | cle/cle/backends/relocations/generic.py | Ruide/angr-dev | 964dc80c758e25c698c2cbcc454ef5954c5fa0a0 | [
"BSD-2-Clause"
] | null | null | null | from ...address_translator import AT
from ...errors import CLEOperationError
from . import Relocation
import struct
import logging
l = logging.getLogger('cle.relocations.generic')
class GenericAbsoluteReloc(Relocation):
@property
def value(self):
return self.resolvedby.rebased_addr
class GenericAbsol... | 36.130435 | 117 | 0.666968 | 410 | 3,324 | 5.256098 | 0.331707 | 0.037123 | 0.050116 | 0.07239 | 0.472854 | 0.411601 | 0.296984 | 0.233411 | 0.210209 | 0.210209 | 0 | 0.014412 | 0.248496 | 3,324 | 91 | 118 | 36.527473 | 0.848279 | 0.134176 | 0 | 0.382353 | 0 | 0 | 0.05007 | 0.008053 | 0 | 0 | 0 | 0 | 0.014706 | 1 | 0.132353 | false | 0.058824 | 0.073529 | 0.073529 | 0.544118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 |
54e3b8446107d9bccd2d0bc314395d7a3117387b | 7,069 | py | Python | src/resources/clients/python_client/visitstate.py | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 226 | 2018-12-29T01:13:49.000Z | 2022-03-30T19:16:31.000Z | src/resources/clients/python_client/visitstate.py | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 5,100 | 2019-01-14T18:19:25.000Z | 2022-03-31T23:08:36.000Z | src/resources/clients/python_client/visitstate.py | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 84 | 2019-01-24T17:41:50.000Z | 2022-03-10T10:01:46.000Z | import sys
class RPCType(object):
CloseRPC = 0
DetachRPC = 1
AddWindowRPC = 2
DeleteWindowRPC = 3
SetWindowLayoutRPC = 4
SetActiveWindowRPC = 5
ClearWindowRPC = 6
ClearAllWindowsRPC = 7
OpenDatabaseRPC = 8
CloseDatabaseRPC = 9
Acti... | 34.651961 | 54 | 0.660914 | 403 | 7,069 | 11.593052 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100328 | 0.310511 | 7,069 | 203 | 55 | 34.82266 | 0.858227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014925 | 0 | 1.00995 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
54ec18e7d2fb320aa765697469037a76c03cbf50 | 535 | py | Python | resources/migrations/0126_add_field_disallow_overlapping_reservations_per_user.py | codepointtku/respa | bb9cd8459d5562569f976dbc609ec41ceecc8023 | [
"MIT"
] | 1 | 2019-12-17T10:02:17.000Z | 2019-12-17T10:02:17.000Z | resources/migrations/0126_add_field_disallow_overlapping_reservations_per_user.py | codepointtku/respa | bb9cd8459d5562569f976dbc609ec41ceecc8023 | [
"MIT"
] | 38 | 2020-01-24T11:30:53.000Z | 2022-01-28T12:42:47.000Z | resources/migrations/0126_add_field_disallow_overlapping_reservations_per_user.py | digipointtku/respa | a529e0df4d3f072df7801adb5bf97a5f4abd1243 | [
"MIT"
] | 14 | 2020-02-26T08:17:34.000Z | 2021-09-14T07:57:21.000Z | # Generated by Django 2.2.21 on 2021-06-23 12:43
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('resources', '0125_add_timmi_payload_model'),
]
operations = [
migrations.AddField(
model_name=... | 26.75 | 126 | 0.676636 | 61 | 535 | 5.770492 | 0.688525 | 0.045455 | 0.130682 | 0.198864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048309 | 0.226168 | 535 | 19 | 127 | 28.157895 | 0.801932 | 0.085981 | 0 | 0 | 1 | 0 | 0.285421 | 0.143737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.153846 | 0 | 0.384615 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
54f79d31af30b3622247fe2c6abad64bc05814e8 | 231 | py | Python | Python_Exercicios/calcula_terreno.py | thalles-dreissig20/Quebra_Cabeca | eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79 | [
"MIT"
] | null | null | null | Python_Exercicios/calcula_terreno.py | thalles-dreissig20/Quebra_Cabeca | eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79 | [
"MIT"
] | 1 | 2021-11-29T18:37:14.000Z | 2021-11-29T18:37:14.000Z | Python_Exercicios/calcula_terreno.py | thalles-dreissig20/Quebra_Cabeca | eeb9458dbabac72d9867e5ec5d7f1aa9b5993d79 | [
"MIT"
] | null | null | null | def area(larg, comp):
a = larg * comp
print(f'A dimensão é {a}')
print('Controle de terrenos')
print('-' * 20)
l = float(input('qual a largura do terreno: '))
c = float(input('qual o comprimento do terreno: '))
area(l , c) | 25.666667 | 51 | 0.627706 | 38 | 231 | 3.815789 | 0.605263 | 0.110345 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.194805 | 231 | 9 | 52 | 25.666667 | 0.768817 | 0 | 0 | 0 | 0 | 0 | 0.409483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.375 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
0704c30e12f5e2ffe2ea17cf59fe41a9fd37e4af | 565 | py | Python | speech_to_text/views.py | zace3d/video_analysis | 9001486ae64160ca497f6b9a99df5d9a5c5422cc | [
"Apache-2.0"
] | null | null | null | speech_to_text/views.py | zace3d/video_analysis | 9001486ae64160ca497f6b9a99df5d9a5c5422cc | [
"Apache-2.0"
] | 9 | 2019-12-04T22:38:16.000Z | 2021-06-10T17:51:32.000Z | speech_to_text/views.py | zace3d/video_analysis | 9001486ae64160ca497f6b9a99df5d9a5c5422cc | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from django.http import JsonResponse
from django.views.decorators.csrf import csrf_exempt
from . import helpers
# Create your views here.
@csrf_exempt
def convert_video(request, version):
# Get video
video = reques... | 25.681818 | 70 | 0.766372 | 72 | 565 | 5.930556 | 0.569444 | 0.093677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002101 | 0.157522 | 565 | 22 | 71 | 25.681818 | 0.894958 | 0.235398 | 0 | 0 | 0 | 0 | 0.011682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.454545 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 2 |
0708b3e7b515fbe0913b6b5bb88c0fbd4c828abe | 501 | py | Python | app/main/form.py | hussein18149/PITCHBOARD | 9aa515f8dd18464830bdf80488a317e8e791bd1b | [
"MIT"
] | null | null | null | app/main/form.py | hussein18149/PITCHBOARD | 9aa515f8dd18464830bdf80488a317e8e791bd1b | [
"MIT"
] | null | null | null | app/main/form.py | hussein18149/PITCHBOARD | 9aa515f8dd18464830bdf80488a317e8e791bd1b | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField,TextAreaField,SubmitField
from wtforms.validators import Required
class UpdateProfile(FlaskForm):
about = TextAreaField('Tell us about you.',validators = [Required()])
submit = SubmitField('Submit')
class PitchForm(FlaskForm):
pitch = TextAre... | 31.3125 | 73 | 0.754491 | 53 | 501 | 7.113208 | 0.509434 | 0.135279 | 0.183024 | 0.148541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147705 | 501 | 15 | 74 | 33.4 | 0.882904 | 0 | 0 | 0.25 | 0 | 0 | 0.141717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
070c8541550d5f85dceb7ec0adf8c900bec0c786 | 303 | py | Python | Desafio Python/Aula 22 des109.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | Desafio Python/Aula 22 des109.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | Desafio Python/Aula 22 des109.py | ayresmajor/Curso-python | 006229cec38ea365bf43b19e3ce93fbd32e1dca6 | [
"MIT"
] | null | null | null | from des109 import moeda
preco = float(input('Digite o preço pretendido: €'))
print(f'''A metade do preço é {(moeda.metade(preco))}
O dobro do preço é {(moeda.dobra(preco))}
Aumentando o preço 10% temos {(moeda.aumentar(preco, 10))}
Diminuindo o preço 13% temos {(moeda.aumentar(preco, 13))}''')
| 37.875 | 64 | 0.693069 | 48 | 303 | 4.395833 | 0.541667 | 0.085308 | 0.075829 | 0.123223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042471 | 0.145215 | 303 | 7 | 65 | 43.285714 | 0.76834 | 0 | 0 | 0 | 0 | 0 | 0.782178 | 0.30033 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
070fb86171845062c7fc24a28acd90660006212e | 521 | py | Python | ufdl-core-app/src/ufdl/core_app/models/mixins/_UserRestrictedQuerySet.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-core-app/src/ufdl/core_app/models/mixins/_UserRestrictedQuerySet.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-core-app/src/ufdl/core_app/models/mixins/_UserRestrictedQuerySet.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class UserRestrictedQuerySet(models.QuerySet):
"""
Query-set base class for models which apply per-instance permissions
based on the user accessing them.
"""
def for_user(self, user):
"""
Filters the query-set to those instances that the
given u... | 28.944444 | 79 | 0.658349 | 61 | 521 | 5.52459 | 0.655738 | 0.071217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270633 | 521 | 17 | 80 | 30.647059 | 0.886842 | 0.483685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
0711bae755946fd50e5034659184b298bbe243f6 | 1,786 | py | Python | src/scs_core/osio/data/abstract_topic.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/osio/data/abstract_topic.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/osio/data/abstract_topic.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 2 Apr 2017
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
from collections import OrderedDict
from scs_core.data.json import JSONable
# --------------------------------------------------------------------------------------------------------------------
class AbstractTopic(JSONable):... | 23.194805 | 118 | 0.403135 | 132 | 1,786 | 5.212121 | 0.325758 | 0.069767 | 0.101744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003867 | 0.276036 | 1,786 | 76 | 119 | 23.5 | 0.528229 | 0.333707 | 0 | 0.151515 | 0 | 0 | 0.03169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0.060606 | 0.151515 | 0.484848 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
072b5dc94ce99e8f35df268838491f8bfa5d061f | 239 | py | Python | app/src/server/hoge/hoge_api.py | jacob327/docker-flask-nginx-uwsgi-mysql | 4b0731f746d6fda7bfecd082ddef53a9c5ec8f75 | [
"MIT"
] | null | null | null | app/src/server/hoge/hoge_api.py | jacob327/docker-flask-nginx-uwsgi-mysql | 4b0731f746d6fda7bfecd082ddef53a9c5ec8f75 | [
"MIT"
] | null | null | null | app/src/server/hoge/hoge_api.py | jacob327/docker-flask-nginx-uwsgi-mysql | 4b0731f746d6fda7bfecd082ddef53a9c5ec8f75 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# [Import start]
from flask import Blueprint, jsonify
# [Import end]
app = Blueprint(
'hoge',
__name__,
url_prefix='/hoge'
)
@app.route('/test')
def hoge():
return "\nhogehoge"
| 13.277778 | 36 | 0.606695 | 29 | 239 | 4.827586 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005263 | 0.205021 | 239 | 17 | 37 | 14.058824 | 0.731579 | 0.276151 | 0 | 0 | 0 | 0 | 0.142012 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 0.333333 | 0.222222 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 |
072eb9a21b6f104ebeda43ae8b0c58030a13066f | 18,159 | py | Python | corehq/apps/app_manager/tests/test_form_workflow.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | corehq/apps/app_manager/tests/test_form_workflow.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | corehq/apps/app_manager/tests/test_form_workflow.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
from django.test import SimpleTestCase
from corehq.apps.app_manager.const import (
AUTO_SELECT_RAW,
AUTO_SELECT_CASE,
WORKFLOW_FORM,
WORKFLOW_MODULE,
WORKFLOW_PREVIOUS,
WORKFLOW_ROOT,
WORKFLOW_PARENT_MODULE,
)
fr... | 43.546763 | 151 | 0.654937 | 2,267 | 18,159 | 4.937362 | 0.094398 | 0.057983 | 0.069597 | 0.084249 | 0.791477 | 0.736978 | 0.713839 | 0.671402 | 0.625838 | 0.578219 | 0 | 0.031453 | 0.220882 | 18,159 | 416 | 152 | 43.651442 | 0.759683 | 0.061402 | 0 | 0.517572 | 0 | 0 | 0.180579 | 0.064501 | 0 | 0 | 0 | 0 | 0.060703 | 1 | 0.057508 | false | 0 | 0.031949 | 0 | 0.102236 | 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 | 0 | 0 | 0 | 0 | 2 |
0734fb5dd4a56bdb2ef242b87aea0bcbb002a5dc | 142,160 | py | Python | models_SHOT_convex/syn30m03hfsg.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_SHOT_convex/syn30m03hfsg.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | models_SHOT_convex/syn30m03hfsg.py | grossmann-group/pyomo-MINLP-benchmarking | 714f0a0dffd61675649a805683c0627af6b4929e | [
"MIT"
] | null | null | null | # MINLP written by GAMS Convert at 01/15/21 11:37:33
#
# Equation counts
# Total E G L N X C B
# 1486 571 111 804 0 0 0 0
#
# Variable counts
# x b i s1s s2s sc ... | 36.090378 | 120 | 0.639913 | 25,143 | 142,160 | 3.618104 | 0.098676 | 0.043377 | 0.226393 | 0.150379 | 0.581895 | 0.475662 | 0.450731 | 0.412883 | 0.354578 | 0.004485 | 0 | 0.24113 | 0.156218 | 142,160 | 3,938 | 121 | 36.099543 | 0.517257 | 0.004783 | 0 | 0.008642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000412 | 0 | 0.000412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 2 |
0737281036977c90f04b5a6cdebc502ad5e24b6d | 293 | py | Python | slogviz/config.py | mariusfrinken/slogviz | 0557eda336c257245eefe75699eb2479eb672ca1 | [
"MIT"
] | 1 | 2021-05-11T06:54:28.000Z | 2021-05-11T06:54:28.000Z | slogviz/config.py | mariusfrinken/slogviz | 0557eda336c257245eefe75699eb2479eb672ca1 | [
"MIT"
] | null | null | null | slogviz/config.py | mariusfrinken/slogviz | 0557eda336c257245eefe75699eb2479eb672ca1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""This sub module provides a global variable to check for checking if the non-interactive argument was set
Exported variable:
interactive -- False, if the main the non-interactive argument was set, True, if it was not set
"""
global interactive
interactive = True; | 29.3 | 107 | 0.744027 | 44 | 293 | 4.954545 | 0.613636 | 0.045872 | 0.155963 | 0.229358 | 0.284404 | 0.284404 | 0 | 0 | 0 | 0 | 0 | 0.004115 | 0.170648 | 293 | 10 | 108 | 29.3 | 0.893004 | 0.829352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
073abd8b8de49a73d08e10cf329cea3aaaac91fa | 491 | py | Python | tests/integration/agenda/test_models.py | rolandgeider/OpenSlides | 331141c17cb23da26e377d4285efdb4a50753a59 | [
"MIT"
] | null | null | null | tests/integration/agenda/test_models.py | rolandgeider/OpenSlides | 331141c17cb23da26e377d4285efdb4a50753a59 | [
"MIT"
] | null | null | null | tests/integration/agenda/test_models.py | rolandgeider/OpenSlides | 331141c17cb23da26e377d4285efdb4a50753a59 | [
"MIT"
] | null | null | null | from openslides.agenda.models import Item
from openslides.core.models import CustomSlide
from openslides.utils.test import TestCase
class TestItemManager(TestCase):
def test_get_root_and_children_db_queries(self):
"""
Test that get_root_and_children needs only one db query.
"""
for... | 30.6875 | 64 | 0.700611 | 63 | 491 | 5.269841 | 0.603175 | 0.126506 | 0.090361 | 0.162651 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007772 | 0.213849 | 491 | 15 | 65 | 32.733333 | 0.852332 | 0.114053 | 0 | 0 | 0 | 0 | 0.014599 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
07571f5303eed07dcbb7a47a5145eef3cd7c884f | 536 | py | Python | medium/151.py | pisskidney/leetcode | 08c19cbf3d7afc897908ea05db4ad11a5487f523 | [
"MIT"
] | null | null | null | medium/151.py | pisskidney/leetcode | 08c19cbf3d7afc897908ea05db4ad11a5487f523 | [
"MIT"
] | null | null | null | medium/151.py | pisskidney/leetcode | 08c19cbf3d7afc897908ea05db4ad11a5487f523 | [
"MIT"
] | null | null | null | #!/usr/bin/python
class Solution(object):
def reverseWords(self, s):
if s == '':
return s
res = []
i = len(s) - 2
while i >= -1:
if s[i] == ' ' or i == -1:
word = ''
j = i + 1
while j < len(s) and s[j] != ' ':
... | 20.615385 | 49 | 0.33209 | 61 | 536 | 2.918033 | 0.442623 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023438 | 0.522388 | 536 | 25 | 50 | 21.44 | 0.671875 | 0.029851 | 0 | 0 | 0 | 0 | 0.011583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
075a282b1afd93e2cc9af2acd58c24b3702f7904 | 93 | py | Python | CAMPODETIRO/test.py | Arguel/old-projects | 2e5f594a6303b2e137acf555569eca98aab08054 | [
"Apache-2.0"
] | null | null | null | CAMPODETIRO/test.py | Arguel/old-projects | 2e5f594a6303b2e137acf555569eca98aab08054 | [
"Apache-2.0"
] | null | null | null | CAMPODETIRO/test.py | Arguel/old-projects | 2e5f594a6303b2e137acf555569eca98aab08054 | [
"Apache-2.0"
] | null | null | null | entrada = input("palabra")
listaDeLetras = []
for i in entrada:
listaDeLetras.append(i)
| 15.5 | 27 | 0.698925 | 11 | 93 | 5.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 5 | 28 | 18.6 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
075ee89278e2e099ce3c9cbc108dfe159e2012f2 | 3,284 | py | Python | ppcls/data/preprocess/__init__.py | zhusonghe/PaddleClas-1 | e2e492f9c78ed5084cc50d7c45eef4cc41e1eeaf | [
"Apache-2.0"
] | 3,763 | 2020-04-10T04:48:11.000Z | 2022-03-31T13:24:37.000Z | ppcls/data/preprocess/__init__.py | zhusonghe/PaddleClas-1 | e2e492f9c78ed5084cc50d7c45eef4cc41e1eeaf | [
"Apache-2.0"
] | 633 | 2020-04-08T18:27:31.000Z | 2022-03-31T01:09:43.000Z | ppcls/data/preprocess/__init__.py | zhusonghe/PaddleClas-1 | e2e492f9c78ed5084cc50d7c45eef4cc41e1eeaf | [
"Apache-2.0"
] | 846 | 2020-04-08T08:13:18.000Z | 2022-03-31T12:28:37.000Z | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 32.514851 | 114 | 0.715286 | 416 | 3,284 | 5.516827 | 0.314904 | 0.062745 | 0.090632 | 0.160349 | 0.517211 | 0.437909 | 0.425708 | 0.282789 | 0.282789 | 0.282789 | 0 | 0.00302 | 0.193362 | 3,284 | 100 | 115 | 32.84 | 0.863345 | 0.232034 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.127273 | false | 0 | 0.327273 | 0 | 0.581818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
076975f577d6632b0b1b26b10892f5123c387c67 | 1,286 | py | Python | 010-round.py | richardvecsey/python-basics | b66abef77bce2ddd6f2f39b631e1dd97a9aa2fac | [
"MIT"
] | 3 | 2019-12-29T18:52:21.000Z | 2020-02-20T09:18:08.000Z | 010-round.py | richardvecsey/python-basics | b66abef77bce2ddd6f2f39b631e1dd97a9aa2fac | [
"MIT"
] | null | null | null | 010-round.py | richardvecsey/python-basics | b66abef77bce2ddd6f2f39b631e1dd97a9aa2fac | [
"MIT"
] | 2 | 2020-02-20T09:18:13.000Z | 2020-06-04T04:51:44.000Z | """
Round a number
--------------
Input (float) A floating point number
(int) Number of decimals
Default value is: 0
Output (float) Rounded number
(int) Whether using the default decimals value, the return number
will be the nearest ... | 33.842105 | 80 | 0.64619 | 152 | 1,286 | 5.388158 | 0.230263 | 0.253968 | 0.166056 | 0.117216 | 0.630037 | 0.590965 | 0.590965 | 0.590965 | 0.590965 | 0.590965 | 0 | 0.018072 | 0.225505 | 1,286 | 37 | 81 | 34.756757 | 0.804217 | 0.342924 | 0 | 0.470588 | 0 | 0 | 0.39196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.470588 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
4aca7d77d6d130f3025fa754e718e7148f830e41 | 3,558 | py | Python | skcriteria/preprocessing/push_negatives.py | elcolie/scikit-criteria | 216674d699b60d68fefa98d44afd619943f3bb00 | [
"BSD-3-Clause"
] | null | null | null | skcriteria/preprocessing/push_negatives.py | elcolie/scikit-criteria | 216674d699b60d68fefa98d44afd619943f3bb00 | [
"BSD-3-Clause"
] | null | null | null | skcriteria/preprocessing/push_negatives.py | elcolie/scikit-criteria | 216674d699b60d68fefa98d44afd619943f3bb00 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# License: BSD-3 (https://tldrlegal.com/license/bsd-3-clause-license-(revised))
# Copyright (c) 2016-2021, Cabral, Juan; Luczywo, Nadia
# All rights reserved.
# =============================================================================
# DOCS
# =========================... | 30.93913 | 79 | 0.522766 | 388 | 3,558 | 4.703608 | 0.368557 | 0.016438 | 0.043836 | 0.006575 | 0.263014 | 0.263014 | 0.263014 | 0.263014 | 0.233425 | 0.233425 | 0 | 0.018162 | 0.241709 | 3,558 | 114 | 80 | 31.210526 | 0.658265 | 0.744238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.176471 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
4acbbae7f94e1d806015de62ee5a96d02c3544d7 | 301 | py | Python | inserter.py | pirate/macOS-global-autocomplete | 4ba8c3efdd34e7b4c0044c50f47d21a1bafd9aac | [
"MIT"
] | 23 | 2018-12-28T17:33:33.000Z | 2022-03-07T21:25:31.000Z | inserter.py | pirate/osx-global-autocomplete | 4ba8c3efdd34e7b4c0044c50f47d21a1bafd9aac | [
"MIT"
] | null | null | null | inserter.py | pirate/osx-global-autocomplete | 4ba8c3efdd34e7b4c0044c50f47d21a1bafd9aac | [
"MIT"
] | 2 | 2017-02-27T18:08:12.000Z | 2018-08-27T00:40:10.000Z | import time
import pykeyboard
# TODO: Replace following two lines with the code that activate the application.
print('Activate the application 3 seconds.')
time.sleep(3)
k = pykeyboard.PyKeyboard()
k.press_key(k.left_key)
time.sleep(1) # Hold down left key for 1 second.
k.release_key(k.left_key)
| 21.5 | 80 | 0.770764 | 50 | 301 | 4.56 | 0.56 | 0.092105 | 0.192982 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.136213 | 301 | 13 | 81 | 23.153846 | 0.861538 | 0.368771 | 0 | 0 | 0 | 0 | 0.187166 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.125 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4acdd598615906ddfbcd01ae7441ccbc9e89653b | 899 | py | Python | payabbhi/error.py | ppm-avinder/payabbhi-python | 0f84f01349e365753f4b83eee584618e1a855567 | [
"MIT"
] | 1 | 2018-03-06T08:30:38.000Z | 2018-03-06T08:30:38.000Z | payabbhi/error.py | ppm-avinder/payabbhi-python | 0f84f01349e365753f4b83eee584618e1a855567 | [
"MIT"
] | null | null | null | payabbhi/error.py | ppm-avinder/payabbhi-python | 0f84f01349e365753f4b83eee584618e1a855567 | [
"MIT"
] | 5 | 2018-10-08T05:56:44.000Z | 2020-05-22T11:31:07.000Z | class PayabbhiError(Exception):
def __init__(self, description=None, http_status=None,
field=None):
self.description = description
self.http_status = http_status
self.field = field
self._message = self.error_message()
super(PayabbhiError, self).__init__(self... | 22.475 | 90 | 0.669633 | 94 | 899 | 6.212766 | 0.297872 | 0.174658 | 0.188356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235818 | 899 | 39 | 91 | 23.051282 | 0.850073 | 0 | 0 | 0.24 | 0 | 0 | 0.036707 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0.24 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
4ace0f44b44658df4422d4f5661978d41ce06350 | 1,923 | py | Python | src/mpu/__init__.py | TsinghuaAI/CPM-2-Pretrain | 33003865239e7ba13a12aabf9ec2735cef66bf3b | [
"MIT"
] | 54 | 2021-06-17T09:05:11.000Z | 2022-03-18T09:12:14.000Z | src/mpu/__init__.py | TsinghuaAI/CPM-2-Pretrain | 33003865239e7ba13a12aabf9ec2735cef66bf3b | [
"MIT"
] | 25 | 2021-06-29T02:58:28.000Z | 2022-03-30T04:45:06.000Z | src/mpu/__init__.py | TsinghuaAI/CPM-2-Pretrain | 33003865239e7ba13a12aabf9ec2735cef66bf3b | [
"MIT"
] | 11 | 2021-06-22T08:00:25.000Z | 2022-03-04T05:41:50.000Z | # coding=utf-8
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless re... | 36.980769 | 74 | 0.841914 | 272 | 1,923 | 5.709559 | 0.433824 | 0.108822 | 0.128783 | 0.10367 | 0.322601 | 0.275596 | 0.104314 | 0 | 0 | 0 | 0 | 0.0053 | 0.117005 | 1,923 | 51 | 75 | 37.705882 | 0.909305 | 0.328133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
4acfc9cbd59d86d35555e057b3b06babb6b17219 | 1,091 | py | Python | python/test/test_tree_dp.py | EQt/treelas | 24a5cebf101180822198806c0a4131b0efb7a36d | [
"MIT"
] | 3 | 2020-06-18T13:31:26.000Z | 2021-04-05T17:42:56.000Z | python/test/test_tree_dp.py | EQt/treelas | 24a5cebf101180822198806c0a4131b0efb7a36d | [
"MIT"
] | null | null | null | python/test/test_tree_dp.py | EQt/treelas | 24a5cebf101180822198806c0a4131b0efb7a36d | [
"MIT"
] | null | null | null | import numpy as np
from treelas import post_order, TreeInstance
def test_demo_3x7_postord():
parent = np.array([0, 4, 5, 0, 3, 4, 7, 8, 5, 6, 7, 8,
9, 14, 17, 12, 15, 16, 19, 16, 17])
po = post_order(parent, include_root=True)
expect = np.array([12, 11, 19, 20, 21, 14, 15, 18, 17, 1... | 37.62069 | 70 | 0.508708 | 207 | 1,091 | 2.642512 | 0.357488 | 0.018282 | 0.016453 | 0.051188 | 0.219378 | 0.153565 | 0.153565 | 0.153565 | 0.153565 | 0.153565 | 0 | 0.227815 | 0.307974 | 1,091 | 28 | 71 | 38.964286 | 0.496689 | 0 | 0 | 0.166667 | 0 | 0.083333 | 0.095325 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
4aef5ae78252c6d6372a39f824e9c27cc8e4b322 | 2,764 | py | Python | lib/common/app.py | auho/python-ETL | 761589814b04e076ba6fa1c0e64b83ce62ce8556 | [
"Apache-2.0"
] | null | null | null | lib/common/app.py | auho/python-ETL | 761589814b04e076ba6fa1c0e64b83ce62ce8556 | [
"Apache-2.0"
] | null | null | null | lib/common/app.py | auho/python-ETL | 761589814b04e076ba6fa1c0e64b83ce62ce8556 | [
"Apache-2.0"
] | null | null | null | import argparse
import yaml
import sys
from .conf import MysqlConf
from lib.db import mysql
parser = argparse.ArgumentParser()
parser.add_argument("--config", help="config file name", type=str, required=False, default='office')
input_args = parser.parse_args()
class PartConfig:
def __init__(self):
self._... | 28.791667 | 100 | 0.624096 | 353 | 2,764 | 4.66289 | 0.220963 | 0.053463 | 0.042527 | 0.032807 | 0.080194 | 0.037667 | 0.037667 | 0.037667 | 0 | 0 | 0 | 0.003354 | 0.244935 | 2,764 | 95 | 101 | 29.094737 | 0.785338 | 0.017366 | 0 | 0.027397 | 0 | 0 | 0.10767 | 0.034292 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191781 | false | 0 | 0.123288 | 0.109589 | 0.575342 | 0.123288 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 2 |
ab106d29ef2283cbdeaf70023cd678e7c5de8158 | 842 | py | Python | cf_step/metrics.py | dpoulopoulos/cf_step | c0ed1d0fbdedb863a630e90a7c7b6f95141a3e30 | [
"Apache-2.0"
] | 25 | 2020-02-16T10:14:17.000Z | 2022-03-08T07:15:55.000Z | cf_step/metrics.py | dpoulopoulos/cf_step | c0ed1d0fbdedb863a630e90a7c7b6f95141a3e30 | [
"Apache-2.0"
] | 2 | 2020-05-19T15:42:58.000Z | 2021-10-02T23:36:23.000Z | cf_step/metrics.py | dpoulopoulos/cf_step | c0ed1d0fbdedb863a630e90a7c7b6f95141a3e30 | [
"Apache-2.0"
] | 7 | 2020-02-24T04:35:00.000Z | 2022-01-20T03:26:51.000Z | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/metrics.ipynb (unless otherwise specified).
__all__ = ['recall_at_k', 'precision_at_k']
# Cell
from typing import List
# Cell
def recall_at_k(predictions: List[int], targets: List[int], k: int = 10) -> float:
"""Computes `Recall@k` from the given predictions and ta... | 38.272727 | 91 | 0.709026 | 117 | 842 | 4.91453 | 0.316239 | 0.121739 | 0.067826 | 0.062609 | 0.633043 | 0.633043 | 0.633043 | 0.633043 | 0.633043 | 0.633043 | 0 | 0.00569 | 0.165083 | 842 | 22 | 92 | 38.272727 | 0.812233 | 0.28266 | 0 | 0.5 | 1 | 0 | 0.042301 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ab124c9df35a8bbc9dcccb03c7e6c3a2b66cccd5 | 277 | py | Python | celery-getting-started/celeryconfig.py | hustbeta/python-examples | 9052a080cb27b1c8c2bc36222ece409e236ba076 | [
"MIT"
] | null | null | null | celery-getting-started/celeryconfig.py | hustbeta/python-examples | 9052a080cb27b1c8c2bc36222ece409e236ba076 | [
"MIT"
] | null | null | null | celery-getting-started/celeryconfig.py | hustbeta/python-examples | 9052a080cb27b1c8c2bc36222ece409e236ba076 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
BROKER_URL = 'amqp://guest@localhost//'
CELERY_ACCEPT_CONTENT = ['json'],
CELERY_RESULT_BACKEND = 'amqp://guest@localhost//'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TASK_SERIALIZER = 'json'
CELERY_TIMEZONE = 'Asia/Shanghai'
CELERY_ENABLE_UTC = False
| 25.181818 | 50 | 0.740072 | 34 | 277 | 5.676471 | 0.647059 | 0.15544 | 0.186529 | 0.248705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004016 | 0.101083 | 277 | 10 | 51 | 27.7 | 0.771084 | 0.075812 | 0 | 0 | 0 | 0 | 0.287402 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 2 |
ab12e147b947ecb1407493bd0e3516505005e115 | 476 | py | Python | smartnlp/utils/basic_log.py | msgi/nlp-tour | ffed8c32da69c2427c92a7043f47bfc91e7feb64 | [
"Apache-2.0"
] | 1,559 | 2019-05-27T03:43:29.000Z | 2022-03-31T05:35:04.000Z | smartnlp/utils/basic_log.py | msgi/nlp-tour | ffed8c32da69c2427c92a7043f47bfc91e7feb64 | [
"Apache-2.0"
] | 5 | 2019-07-10T11:55:05.000Z | 2020-05-08T12:01:31.000Z | smartnlp/utils/basic_log.py | msgi/nlp-tour | ffed8c32da69c2427c92a7043f47bfc91e7feb64 | [
"Apache-2.0"
] | 403 | 2019-06-14T03:36:17.000Z | 2022-03-30T08:09:08.000Z | import logging as log
class Log:
def __init__(self, level):
self.level = level
log.basicConfig(format='%(asctime)s - %(pathname)s[line:%(lineno)d] - %(levelname)s: %(message)s',
level=level)
self.log = log
def info(self, msg):
self.log.info(msg)
de... | 21.636364 | 106 | 0.55042 | 64 | 476 | 4.03125 | 0.375 | 0.135659 | 0.170543 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302521 | 476 | 21 | 107 | 22.666667 | 0.777108 | 0 | 0 | 0 | 0 | 0.066667 | 0.151261 | 0.060924 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.066667 | 0 | 0.466667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
ab191577acbffa7ecc550d7138ce7e0984e85baf | 2,380 | py | Python | virt/ansible-latest/lib/python2.7/site-packages/ansible/plugins/become/runas.py | lakhlaifi/RedHat-Ansible | 27c5077cced9d416081fcd5d69ea44bca0317fa4 | [
"Apache-2.0"
] | 1 | 2020-03-29T18:41:01.000Z | 2020-03-29T18:41:01.000Z | ansible/ansible/plugins/become/runas.py | SergeyCherepanov/ansible | 875711cd2fd6b783c812241c2ed7a954bf6f670f | [
"MIT"
] | 7 | 2020-09-07T17:27:56.000Z | 2022-03-02T06:25:46.000Z | ansible/ansible/plugins/become/runas.py | SergeyCherepanov/ansible | 875711cd2fd6b783c812241c2ed7a954bf6f670f | [
"MIT"
] | 1 | 2020-03-22T01:04:48.000Z | 2020-03-22T01:04:48.000Z | # -*- coding: utf-8 -*-
# Copyright: (c) 2018, Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = """
become: runas
short_description: Run As user
... | 34 | 127 | 0.589496 | 260 | 2,380 | 5.188462 | 0.476923 | 0.106004 | 0.088213 | 0.053373 | 0.295775 | 0.23573 | 0.179392 | 0.124537 | 0 | 0 | 0 | 0.007124 | 0.351261 | 2,380 | 69 | 128 | 34.492754 | 0.86658 | 0.086134 | 0 | 0.237288 | 0 | 0.033898 | 0.867281 | 0.010599 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016949 | false | 0.135593 | 0.033898 | 0.016949 | 0.101695 | 0.016949 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 |
ab1bca899ba1f440651e92b900de789b742e59bc | 7,742 | py | Python | bytecode2ast/parsers/bases.py | Cologler/bytecode2ast-python | 407b261a493e018bc86388040ddfb6fb0e4b96d9 | [
"MIT"
] | null | null | null | bytecode2ast/parsers/bases.py | Cologler/bytecode2ast-python | 407b261a493e018bc86388040ddfb6fb0e4b96d9 | [
"MIT"
] | null | null | null | bytecode2ast/parsers/bases.py | Cologler/bytecode2ast-python | 407b261a493e018bc86388040ddfb6fb0e4b96d9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright (c) 2019~2999 - Cologler <skyoflw@gmail.com>
# ----------
# some object for parser
# ----------
from typing import List
import enum
import dis
from collections import defaultdict
class ID:
def __init__(self, name):
self._name = name # a name use to debug
def __r... | 28.050725 | 82 | 0.597778 | 962 | 7,742 | 4.608108 | 0.170478 | 0.040605 | 0.043988 | 0.028423 | 0.198737 | 0.158132 | 0.135123 | 0.135123 | 0.116625 | 0.096774 | 0 | 0.003804 | 0.287006 | 7,742 | 275 | 83 | 28.152727 | 0.799275 | 0.167269 | 0 | 0.113772 | 0 | 0 | 0.012302 | 0.003675 | 0 | 0 | 0 | 0 | 0.05988 | 1 | 0.287425 | false | 0 | 0.023952 | 0.05988 | 0.60479 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 |
ab2add18b201d727e235b13fba3fa52b34c35680 | 404 | py | Python | TreeModelLib/BelowgroundCompetition/__init__.py | jvollhueter/pyMANGA-1 | 414204a394d44405225b4b8224b19464c1006f1d | [
"MIT"
] | null | null | null | TreeModelLib/BelowgroundCompetition/__init__.py | jvollhueter/pyMANGA-1 | 414204a394d44405225b4b8224b19464c1006f1d | [
"MIT"
] | null | null | null | TreeModelLib/BelowgroundCompetition/__init__.py | jvollhueter/pyMANGA-1 | 414204a394d44405225b4b8224b19464c1006f1d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Nov 8 15:25:03 2018
@author: bathmann
"""
from .BelowgroundCompetition import BelowgroundCompetition
from .SimpleTest import SimpleTest
from .FON import FON
from .OGSWithoutFeedback import OGSWithoutFeedback
from .OGSLargeScale3D import OGSLargeScale3... | 25.25 | 58 | 0.799505 | 47 | 404 | 6.87234 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.121287 | 404 | 15 | 59 | 26.933333 | 0.867606 | 0.242574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
ab36d85f43aaa15a75066ac03e9bf9c7135fde35 | 893 | py | Python | eve/workers/pykmip/bin/run_server.py | mmg-3/cloudserver | 9ff6364b2ed4f33a5135d86311a72de4caff51c1 | [
"Apache-2.0"
] | 762 | 2016-06-08T19:51:51.000Z | 2018-08-02T09:05:38.000Z | eve/workers/pykmip/bin/run_server.py | mmg-3/cloudserver | 9ff6364b2ed4f33a5135d86311a72de4caff51c1 | [
"Apache-2.0"
] | 1,252 | 2018-08-03T18:27:31.000Z | 2022-03-31T20:22:55.000Z | eve/workers/pykmip/bin/run_server.py | mmg-3/cloudserver | 9ff6364b2ed4f33a5135d86311a72de4caff51c1 | [
"Apache-2.0"
] | 170 | 2016-06-14T17:09:39.000Z | 2018-06-30T12:48:19.000Z | #!/usr/bin/env python
# Copyright (c) 2016 The Johns Hopkins University/Applied Physics Laboratory
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.ap... | 33.074074 | 76 | 0.75252 | 135 | 893 | 4.918519 | 0.688889 | 0.090361 | 0.039157 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029491 | 0.164614 | 893 | 26 | 77 | 34.346154 | 0.86059 | 0.737962 | 0 | 0 | 0 | 0 | 0.211982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
ab386b22c54d5affe44957aab20ea4dc3913a866 | 1,159 | py | Python | tensorflow_quantum/python/differentiators/__init__.py | PyJedi/quantum | 3f4a3c320e048b8a8faf3a10339975d2d5366fb6 | [
"Apache-2.0"
] | 1,501 | 2020-03-09T00:40:31.000Z | 2022-03-28T19:59:57.000Z | tensorflow_quantum/python/differentiators/__init__.py | tappinganalytics/quantum | ef3a34341d997d485a7e43335a8ed61a8e7c6ea6 | [
"Apache-2.0"
] | 381 | 2020-03-09T18:31:04.000Z | 2022-03-28T18:47:32.000Z | tensorflow_quantum/python/differentiators/__init__.py | tappinganalytics/quantum | ef3a34341d997d485a7e43335a8ed61a8e7c6ea6 | [
"Apache-2.0"
] | 410 | 2020-03-09T03:05:48.000Z | 2022-03-31T12:08:14.000Z | # Copyright 2020 The TensorFlow Quantum Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | 37.387097 | 80 | 0.729077 | 136 | 1,159 | 6.169118 | 0.617647 | 0.071514 | 0.100119 | 0.128725 | 0.200238 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008016 | 0.138913 | 1,159 | 30 | 81 | 38.633333 | 0.832665 | 0.614323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.363636 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.