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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ac5cd47cca1b514c3b5da188af96b168021afe44 | 5,414 | py | Python | server/src/controllers/user_case_controllers/user_food_controller.py | minhman727/miao-nutrition-assistant | c0f999756ae1a03371975be03ec7b7470f4b39e2 | [
"MIT"
] | null | null | null | server/src/controllers/user_case_controllers/user_food_controller.py | minhman727/miao-nutrition-assistant | c0f999756ae1a03371975be03ec7b7470f4b39e2 | [
"MIT"
] | null | null | null | server/src/controllers/user_case_controllers/user_food_controller.py | minhman727/miao-nutrition-assistant | c0f999756ae1a03371975be03ec7b7470f4b39e2 | [
"MIT"
] | null | null | null | from flask_restful import Resource
from mongoengine import DoesNotExist, ValidationError
from werkzeug import exceptions
from mongoengine.queryset.visitor import Q
from src.controllers.abstract_controllers.food_controller import food_args_parser
from src.models.implement_models.general_case_models.user_model import Use... | 35.155844 | 430 | 0.60362 | 537 | 5,414 | 6.024209 | 0.173184 | 0.011128 | 0.033385 | 0.059351 | 0.776816 | 0.747141 | 0.697682 | 0.681917 | 0.681917 | 0.681917 | 0 | 0.012127 | 0.268932 | 5,414 | 154 | 431 | 35.155844 | 0.805205 | 0.022165 | 0 | 0.754545 | 0 | 0 | 0.083559 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.036364 | false | 0 | 0.063636 | 0 | 0.263636 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac616c705f6d07f58537e640b060bd44f44a74ac | 1,838 | py | Python | fee_calculator/apps/calculator/migrations/0021_auto_20171103_1129.py | ministryofjustice/laa-fee-calcualtor | 361bdd724997c4355b8045acb0abcaa77076eb90 | [
"MIT"
] | 1 | 2019-06-03T11:30:33.000Z | 2019-06-03T11:30:33.000Z | fee_calculator/apps/calculator/migrations/0021_auto_20171103_1129.py | ministryofjustice/laa-fee-calcualtor | 361bdd724997c4355b8045acb0abcaa77076eb90 | [
"MIT"
] | 120 | 2016-10-28T11:51:40.000Z | 2022-03-29T17:09:46.000Z | fee_calculator/apps/calculator/migrations/0021_auto_20171103_1129.py | ministryofjustice/laa-fee-calcualtor | 361bdd724997c4355b8045acb0abcaa77076eb90 | [
"MIT"
] | 4 | 2018-06-19T11:37:21.000Z | 2021-04-11T06:18:40.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-11-03 11:29
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('calculator', '0020_feetype_aggregation'),
]
operations = [
migrations.Alter... | 30.131148 | 85 | 0.568009 | 175 | 1,838 | 5.777143 | 0.354286 | 0.178042 | 0.222552 | 0.25816 | 0.663699 | 0.663699 | 0.566766 | 0.566766 | 0.566766 | 0.566766 | 0 | 0.035857 | 0.317193 | 1,838 | 60 | 86 | 30.633333 | 0.769721 | 0.036997 | 0 | 0.660377 | 1 | 0 | 0.096208 | 0.013582 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.09434 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac78096e7c608a4cbb47865614f9dd68109d292b | 90 | py | Python | kamistudio/exceptions.py | Kappa-Dev/KAMIStudio | 9d3cd46da91b2fba2a69acd4d41ddaad328b8f28 | [
"MIT"
] | 4 | 2018-09-28T03:47:49.000Z | 2021-01-02T03:41:25.000Z | kamistudio/exceptions.py | Kappa-Dev/KAMIStudio | 9d3cd46da91b2fba2a69acd4d41ddaad328b8f28 | [
"MIT"
] | 1 | 2020-05-01T09:08:15.000Z | 2020-05-01T09:08:15.000Z | kamistudio/exceptions.py | Kappa-Dev/KAMIStudio | 9d3cd46da91b2fba2a69acd4d41ddaad328b8f28 | [
"MIT"
] | 1 | 2018-11-15T09:12:51.000Z | 2018-11-15T09:12:51.000Z | class KAMIStudioException(Exception):
"""Base class for all KamiStudio exceptions."""
| 30 | 51 | 0.755556 | 9 | 90 | 7.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 2 | 52 | 45 | 0.871795 | 0.455556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac8c2accc57c8aa08ef1741e08934e3d64f18c86 | 447 | py | Python | tests/fixtures/user.py | veeqtor/Airtech-API | dd11a96be4328bda550421b303e4b340354d6174 | [
"MIT"
] | 2 | 2019-07-18T16:48:28.000Z | 2020-07-21T08:30:48.000Z | tests/fixtures/user.py | veeqtor/Airtech-API | dd11a96be4328bda550421b303e4b340354d6174 | [
"MIT"
] | null | null | null | tests/fixtures/user.py | veeqtor/Airtech-API | dd11a96be4328bda550421b303e4b340354d6174 | [
"MIT"
] | null | null | null | """Module for user fixtures"""
USER = {
'email': 'test_user@example.com',
'password': 'Password@1234',
}
USER_INVALID = {'email': '', 'password': ''}
SUPERUSER = {
'email': 'test_userII@example.com',
'password': 'password1234',
}
UNREGISTERED_USER = {
'email': 'unregistered@example1.com',
'p... | 18.625 | 44 | 0.621924 | 46 | 447 | 5.869565 | 0.391304 | 0.162963 | 0.2 | 0.162963 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048913 | 0.176734 | 447 | 23 | 45 | 19.434783 | 0.684783 | 0.053691 | 0 | 0 | 0 | 0 | 0.508393 | 0.227818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.294118 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3bb7d63deffb673ada61681024c4a6e4017ae5ac | 527 | py | Python | slixmpp/stanza/nick.py | isabella232/slixmpp | e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a | [
"BSD-3-Clause"
] | null | null | null | slixmpp/stanza/nick.py | isabella232/slixmpp | e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a | [
"BSD-3-Clause"
] | 1 | 2021-02-24T07:58:40.000Z | 2021-02-24T07:58:40.000Z | slixmpp/stanza/nick.py | isabella232/slixmpp | e15e6735f1dbfc66a5d43efe9fa9e7f5c9d1610a | [
"BSD-3-Clause"
] | null | null | null | """
Slixmpp: The Slick XMPP Library
Copyright (C) 2010 Nathanael C. Fritz
This file is part of Slixmpp.
See the file LICENSE for copying permission.
"""
# The nickname stanza has been moved to its own plugin, but the existing
# references are kept for backwards compatibility.
from slixmpp.stanza imp... | 29.277778 | 72 | 0.783681 | 75 | 527 | 5.413333 | 0.64 | 0.081281 | 0.147783 | 0.118227 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.165085 | 527 | 17 | 73 | 31 | 0.904545 | 0.506641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3bc7515d4bfcc655a4f35f11722d131b642c5255 | 990 | py | Python | tremendous/client.py | tremendous-rewards/tremendous-python | 61d0c42a496474af8b380bf3e731666a4c4ebe9c | [
"MIT"
] | null | null | null | tremendous/client.py | tremendous-rewards/tremendous-python | 61d0c42a496474af8b380bf3e731666a4c4ebe9c | [
"MIT"
] | 1 | 2021-04-05T21:49:37.000Z | 2021-04-06T19:16:50.000Z | tremendous/client.py | tremendous-rewards/tremendous-python | 61d0c42a496474af8b380bf3e731666a4c4ebe9c | [
"MIT"
] | 2 | 2021-08-02T00:10:23.000Z | 2021-10-14T15:34:18.000Z | from tremendous.campaign import Campaign
from tremendous.funding_source import FundingSource
from tremendous.member import Member
from tremendous.order import Order
from tremendous.organization import Organization
from tremendous.product import Product
from tremendous.reward import Reward
from tremendous.webhook import... | 41.25 | 81 | 0.757576 | 115 | 990 | 6.382609 | 0.33913 | 0.16485 | 0.208447 | 0.200272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 990 | 23 | 82 | 43.043478 | 0.896215 | 0 | 0 | 0 | 0 | 0 | 0.073737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
3bd68c14c44a87e05e1ef244194c638a24ac5adf | 1,015 | py | Python | tests/thrift_parser_test.py | vtatai/ptcdt | 6fa0451773b49be298b5a71e56963338a6c94f8e | [
"Apache-2.0"
] | 2 | 2018-10-17T15:58:05.000Z | 2018-10-17T20:21:32.000Z | tests/thrift_parser_test.py | vtatai/ptcdt | 6fa0451773b49be298b5a71e56963338a6c94f8e | [
"Apache-2.0"
] | 7 | 2018-10-14T05:56:46.000Z | 2018-10-22T09:03:57.000Z | tests/thrift_parser_test.py | vtatai/ptcdt | 6fa0451773b49be298b5a71e56963338a6c94f8e | [
"Apache-2.0"
] | null | null | null | from ptcdt.thrift_parser import MappedAST
import utils
def test_parse():
mapped = MappedAST.from_file(utils.test_resource_path("thrifts/thrift_test.thrift"))
assert len(mapped.namespaces) == 17
assert len(mapped.structs) == 23
assert len(mapped.services) == 2
assert len(mapped.enums) == 1
asser... | 39.038462 | 97 | 0.729064 | 135 | 1,015 | 5.303704 | 0.274074 | 0.150838 | 0.251397 | 0.160615 | 0.662011 | 0.615922 | 0.615922 | 0.615922 | 0.615922 | 0.544693 | 0 | 0.016148 | 0.145813 | 1,015 | 25 | 98 | 40.6 | 0.809689 | 0 | 0 | 0.363636 | 0 | 0 | 0.125123 | 0.093596 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.136364 | false | 0 | 0.090909 | 0 | 0.227273 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3bf78599fff230aee39fa0c873e69d711259491c | 219 | py | Python | python/setup.py | tachyonsoftware/algorithms | 29149a55de173b42dfa461838877fa66d018629f | [
"MIT"
] | 17 | 2016-06-29T08:41:51.000Z | 2022-02-04T13:39:13.000Z | python/setup.py | tachyonsoftware/algorithms | 29149a55de173b42dfa461838877fa66d018629f | [
"MIT"
] | null | null | null | python/setup.py | tachyonsoftware/algorithms | 29149a55de173b42dfa461838877fa66d018629f | [
"MIT"
] | 4 | 2016-05-09T19:02:47.000Z | 2021-02-22T02:05:41.000Z | from distutils.core import setup
setup(name='algorithms',
version='0.98',
description='Algorithm and data structure implmentations',
author='Jae Wie',
author_email='wiejaehy@gmail.com',
)
| 24.333333 | 64 | 0.671233 | 25 | 219 | 5.84 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017341 | 0.210046 | 219 | 8 | 65 | 27.375 | 0.82659 | 0 | 0 | 0 | 0 | 0 | 0.374429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ce130f620d19bb680ee68ba9e6f5bcc1def461e5 | 260 | py | Python | http_requestor/core/apps.py | mscam/http_requestor | 53ee1728ca4b89db8b65cc5c44cb946437109f98 | [
"MIT"
] | null | null | null | http_requestor/core/apps.py | mscam/http_requestor | 53ee1728ca4b89db8b65cc5c44cb946437109f98 | [
"MIT"
] | null | null | null | http_requestor/core/apps.py | mscam/http_requestor | 53ee1728ca4b89db8b65cc5c44cb946437109f98 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class CoreConfig(AppConfig):
name = 'http_requestor.core'
verbose_name = _('Core')
def ready(self):
import http_requestor.core.signals # noqa F401
| 23.636364 | 55 | 0.730769 | 33 | 260 | 5.575758 | 0.69697 | 0.108696 | 0.184783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014218 | 0.188462 | 260 | 10 | 56 | 26 | 0.85782 | 0.034615 | 0 | 0 | 0 | 0 | 0.092369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
cbed1f2c113c9612a143d019b7afc0f855d9a8d8 | 83 | py | Python | file.py | aliveevie/ivy | d616ccc005fd88aebfaf7f52663b281ae99604ee | [
"Apache-2.0"
] | null | null | null | file.py | aliveevie/ivy | d616ccc005fd88aebfaf7f52663b281ae99604ee | [
"Apache-2.0"
] | null | null | null | file.py | aliveevie/ivy | d616ccc005fd88aebfaf7f52663b281ae99604ee | [
"Apache-2.0"
] | null | null | null | import numpy as np
def my_function(x):
5 += 10
5 +/ 6
5 += 6
return asarray(x)
| 11.857143 | 19 | 0.614458 | 17 | 83 | 2.941176 | 0.764706 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 0.253012 | 83 | 6 | 20 | 13.833333 | 0.693548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
02046c3bc5a0cd4351f59e6d281123b5cf3a1639 | 355 | py | Python | 3-Python-Advanced (May 2021)/04-Comprehensions/02_Exercises/02-Words-Lengths.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | 3-Python-Advanced (May 2021)/04-Comprehensions/02_Exercises/02-Words-Lengths.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | 3-Python-Advanced (May 2021)/04-Comprehensions/02_Exercises/02-Words-Lengths.py | karolinanikolova/SoftUni-Software-Engineering | 7891924956598b11a1e30e2c220457c85c40f064 | [
"MIT"
] | null | null | null | # 2. Words Lengths
# Using a list comprehension, write a program that receives some text, separated by comma and space ", ",
# and prints on the console each string with its length in the following format:
# "{first_str} -> {first_str_len}, {second_str} -> {second_str_len},…"
print(', '.join([f"{word} -> {len(word)}" ... | 50.714286 | 105 | 0.684507 | 55 | 355 | 4.363636 | 0.763636 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003333 | 0.15493 | 355 | 6 | 106 | 59.166667 | 0.786667 | 0.75493 | 0 | 0 | 0 | 0 | 0.304878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0218062dd8a9e1268fc061e53a57cb713ec09290 | 156 | py | Python | funt.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | funt.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | funt.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | def table(x):
i=1
for i in range(1,11):
print ('{}*{}={}'.format(x,i,x*i))
return ''
y=table(5)
print y
| 17.333333 | 50 | 0.378205 | 23 | 156 | 2.565217 | 0.608696 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.423077 | 156 | 8 | 51 | 19.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0220586bdd4194b0c1212e4ae2b58c11b2d20505 | 1,919 | py | Python | mo/events.py | thomasleese/mo | b757f52b42e51ad19c14724ceb7c5db5d52abaea | [
"MIT"
] | 9 | 2016-02-17T14:32:24.000Z | 2021-12-28T16:35:23.000Z | mo/events.py | thomasleese/mo | b757f52b42e51ad19c14724ceb7c5db5d52abaea | [
"MIT"
] | 12 | 2016-02-17T14:46:44.000Z | 2021-06-01T21:24:02.000Z | mo/events.py | thomasleese/mo | b757f52b42e51ad19c14724ceb7c5db5d52abaea | [
"MIT"
] | 2 | 2016-02-17T14:33:40.000Z | 2017-05-28T05:31:22.000Z | """Contains all the events that may come from steps."""
from collections import namedtuple
from enum import Enum
class EventKind(Enum):
other = 'other'
error = 'error'
output = 'output'
Event = namedtuple('Event', ['name', 'kind', 'args'])
def invalid_mofile(filename):
return Event('InvalidMofile... | 22.845238 | 73 | 0.682126 | 211 | 1,919 | 6.127962 | 0.298578 | 0.12761 | 0.032483 | 0.044084 | 0.096674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170922 | 1,919 | 83 | 74 | 23.120482 | 0.812696 | 0.025534 | 0 | 0.106383 | 0 | 0 | 0.173283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.319149 | false | 0 | 0.042553 | 0.319149 | 0.765957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
02266dce7ce1a2fbe0c87321a5cb5a74a64aff28 | 2,957 | py | Python | vendor/packages/GitPython/lib/git/tree.py | DESHRAJ/fjord | 8899b6286b23347c9b024334e61c33fe133e836d | [
"BSD-3-Clause"
] | 16 | 2015-02-06T14:35:57.000Z | 2021-07-10T11:14:00.000Z | vendor/packages/GitPython/lib/git/tree.py | DESHRAJ/fjord | 8899b6286b23347c9b024334e61c33fe133e836d | [
"BSD-3-Clause"
] | 310 | 2015-01-07T14:39:35.000Z | 2016-05-02T17:41:30.000Z | vendor/packages/GitPython/lib/git/tree.py | DESHRAJ/fjord | 8899b6286b23347c9b024334e61c33fe133e836d | [
"BSD-3-Clause"
] | 22 | 2015-01-15T13:46:03.000Z | 2020-07-24T10:08:51.000Z | # tree.py
# Copyright (C) 2008-2010 Michael Trier (mtrier@gmail.com) and contributors
#
# This module is part of GitPython and is released under
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
import os
from lazy import LazyMixin
import blob
class Tree(LazyMixin):
def __init__(self, repo, id... | 27.12844 | 80 | 0.576936 | 359 | 2,957 | 4.607242 | 0.362117 | 0.079807 | 0.054414 | 0.039903 | 0.123337 | 0.093108 | 0.037485 | 0.037485 | 0.037485 | 0 | 0 | 0.028893 | 0.309435 | 2,957 | 108 | 81 | 27.37963 | 0.781097 | 0.309435 | 0 | 0.035088 | 0 | 0 | 0.025491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.245614 | false | 0 | 0.052632 | 0.157895 | 0.561404 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
024aa4afb2776629d4e128c83d894035fed9900a | 209 | py | Python | yantragene/notifications/models.py | brijeshgzp05/techfest-yantragene | 98efdaefede9ea0e4fb7241e97272f0079673863 | [
"MIT"
] | 5 | 2018-08-04T19:07:46.000Z | 2020-02-28T16:33:43.000Z | yantragene/notifications/models.py | brijeshgzp05/techfest-yantragene | 98efdaefede9ea0e4fb7241e97272f0079673863 | [
"MIT"
] | null | null | null | yantragene/notifications/models.py | brijeshgzp05/techfest-yantragene | 98efdaefede9ea0e4fb7241e97272f0079673863 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Notifications(models.Model):
nid = models.IntegerField()
ndetail = models.CharField(max_length=200)
def __str__(self):
return self.ndetail
| 19 | 43 | 0.76555 | 28 | 209 | 5.535714 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.138756 | 209 | 10 | 44 | 20.9 | 0.844444 | 0.114833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
02516de93a8a5198a770a6839243d0a74ea82ddc | 326 | py | Python | tests/basics/bytes_compare2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 303 | 2015-07-11T17:12:55.000Z | 2018-01-08T03:02:37.000Z | tests/basics/bytes_compare2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 27 | 2015-01-02T16:17:37.000Z | 2015-09-07T19:21:26.000Z | tests/basics/bytes_compare2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 26 | 2018-01-18T09:15:33.000Z | 2022-02-07T13:09:14.000Z | print(b"1" == 1)
print(b"123" == bytearray(b"123"))
print(b"123" == "123")
print(b'123' < bytearray(b"124"))
print(b'123' > bytearray(b"122"))
print(bytearray(b"23") in b"1234")
import array
print(array.array('b', [1, 2]) in b'\x01\x02\x03')
# CPython gives False here
#print(b"\x01\x02\x03" == array.array("B", [1, 2,... | 25.076923 | 54 | 0.616564 | 61 | 326 | 3.295082 | 0.344262 | 0.179104 | 0.179104 | 0.268657 | 0.412935 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170139 | 0.116564 | 326 | 12 | 55 | 27.166667 | 0.527778 | 0.236196 | 0 | 0 | 0 | 0 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.875 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
0257f25fc0e6ae8eaa826edde9865d98f0f905e0 | 580 | py | Python | videoflow/processors/basic.py | cclauss/videoflow | 49f2de87dd1f3fffb236c7158717edb661557acc | [
"MIT"
] | 2 | 2019-05-28T21:36:16.000Z | 2019-05-29T02:11:40.000Z | videoflow/processors/basic.py | cclauss/videoflow | 49f2de87dd1f3fffb236c7158717edb661557acc | [
"MIT"
] | null | null | null | videoflow/processors/basic.py | cclauss/videoflow | 49f2de87dd1f3fffb236c7158717edb661557acc | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from ..core.node import ProcessorNode
class IdentityProcessor(ProcessorNode):
'''
IdentityProcessor implements the identity
function: it returns the same value that it received
as input.
''... | 25.217391 | 63 | 0.712069 | 69 | 580 | 5.782609 | 0.594203 | 0.075188 | 0.120301 | 0.085213 | 0.115288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22069 | 580 | 22 | 64 | 26.363636 | 0.882743 | 0.339655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 1 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
0259cdeaabd1a672a9ada924d02f88e1a507b0e0 | 835 | py | Python | tests/components/profiler/test_base_profiler.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 257 | 2015-01-13T16:01:21.000Z | 2022-03-29T22:37:43.000Z | tests/components/profiler/test_base_profiler.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 1,222 | 2015-02-05T21:36:53.000Z | 2022-03-31T17:53:49.000Z | tests/components/profiler/test_base_profiler.py | amanaster2/landlab | ea17f8314eb12e3fc76df66c9b6ff32078caa75c | [
"MIT"
] | 274 | 2015-02-11T19:56:08.000Z | 2022-03-28T23:31:07.000Z | import pytest
from landlab.components.profiler.base_profiler import _BaseProfiler
@pytest.fixture()
def EmptyBaseProfiler():
class EmptyBaseProfiler(_BaseProfiler):
def __init__(self):
pass
def _create_profile_structure(self):
pass
@property
def distance_... | 20.875 | 67 | 0.675449 | 86 | 835 | 6.232558 | 0.395349 | 0.083955 | 0.08209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006441 | 0.256287 | 835 | 39 | 68 | 21.410256 | 0.856683 | 0 | 0 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.259259 | false | 0.111111 | 0.074074 | 0.074074 | 0.518519 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5a08bef246eab3205240aa02b3aeeedb12a6dcaa | 717 | py | Python | erinn/python/models/FCN.py | swcjack6931677/ERINN | a4f3d0ad213515bc86e2a18575537d6affd472ac | [
"MIT"
] | null | null | null | erinn/python/models/FCN.py | swcjack6931677/ERINN | a4f3d0ad213515bc86e2a18575537d6affd472ac | [
"MIT"
] | null | null | null | erinn/python/models/FCN.py | swcjack6931677/ERINN | a4f3d0ad213515bc86e2a18575537d6affd472ac | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.python.keras.layers import Input, Dense, Conv2D, Flatten, Reshape, Dropout
from tensorflow.python.keras.layers.advanced_activations import PReLU
from tensorflow.python.keras.layers.normalization... | 32.590909 | 90 | 0.753138 | 100 | 717 | 5.14 | 0.55 | 0.108949 | 0.155642 | 0.194553 | 0.180934 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053834 | 0.145049 | 717 | 21 | 91 | 34.142857 | 0.784666 | 0.048815 | 0 | 0 | 0 | 0 | 0.014771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.538462 | 0 | 0.615385 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5a171bc7fc6e4d13dd7bf45a5226bd4e7588a60b | 77 | py | Python | 2_LifeExpectancyTable/test.py | christinoleo/dash_tutorials | 51a11b1c9dc71ef93430816c3d62d8df7406c90c | [
"Apache-2.0"
] | 1 | 2022-01-23T19:22:50.000Z | 2022-01-23T19:22:50.000Z | 2_LifeExpectancyTable/test.py | christinoleo/dash_tutorials | 51a11b1c9dc71ef93430816c3d62d8df7406c90c | [
"Apache-2.0"
] | null | null | null | 2_LifeExpectancyTable/test.py | christinoleo/dash_tutorials | 51a11b1c9dc71ef93430816c3d62d8df7406c90c | [
"Apache-2.0"
] | null | null | null | import pandas as pd
df = pd.read_csv("life_expectancy_years.csv")
print(df) | 15.4 | 45 | 0.766234 | 14 | 77 | 4 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 77 | 5 | 46 | 15.4 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.320513 | 0.320513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
5a1c4fe67423e45f3eb6a700f71b92d7fb4b3997 | 184 | py | Python | src/kgmk/anikore/scrape/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/anikore/scrape/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | src/kgmk/anikore/scrape/__init__.py | kagemeka/python | 486ce39d97360b61029527bacf00a87fdbcf552c | [
"MIT"
] | null | null | null | from .max_anime_id import (
SearchMaxAnimeId,
)
from .anime_ids import (
ScrapeAnimeIds,
)
from .anime import (
ScrapeAnime,
Anime,
)
from .animes import (
ScrapeAnimes,
)
| 11.5 | 27 | 0.706522 | 20 | 184 | 6.35 | 0.55 | 0.141732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201087 | 184 | 15 | 28 | 12.266667 | 0.863946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.307692 | 0 | 0.307692 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5a3e17f7daaec820e968699d573c3d946fc4ce53 | 305 | py | Python | python/advanced_sw/KALO/VERSION 0.01/SAFE1AUG/test.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | python/advanced_sw/KALO/VERSION 0.01/SAFE1AUG/test.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | python/advanced_sw/KALO/VERSION 0.01/SAFE1AUG/test.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | from AppOperations import AppOperations as ao
from AppOperations import Rec
from MISman import MIS_calculations
#ao.update_Sl(3,'2018-07-30T20:15:54')
#ao.reset_slno()
#k = Rec.timestmp()
#print("Type of k : ",type(k))
#print(Rec.timestmp())
val = "T-93"
MIS_calculations.separate_data("recpt_fees",7800) | 27.727273 | 49 | 0.757377 | 49 | 305 | 4.591837 | 0.653061 | 0.151111 | 0.204444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 0.095082 | 305 | 11 | 49 | 27.727273 | 0.73913 | 0.393443 | 0 | 0 | 0 | 0 | 0.077348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5a54af9402e666e869ba2241b60a252c96512cce | 968 | py | Python | password.py | Kingsly62/Password-Locker | f4fe538ec6fb6633c3ae7fc0818d6572a754ff78 | [
"MIT"
] | null | null | null | password.py | Kingsly62/Password-Locker | f4fe538ec6fb6633c3ae7fc0818d6572a754ff78 | [
"MIT"
] | null | null | null | password.py | Kingsly62/Password-Locker | f4fe538ec6fb6633c3ae7fc0818d6572a754ff78 | [
"MIT"
] | null | null | null | class Password:
'''
class of the password file
'''
def __init__(self, page, password):
self.page = page
self.password = password
'''
function for class properties
'''
'''
user properties
'''
user_password = []
def save_page(self):
Password.user_passwords.append(self)
'''
save pas... | 14.447761 | 57 | 0.649793 | 118 | 968 | 5.194915 | 0.330508 | 0.127243 | 0.078303 | 0.065253 | 0.371941 | 0.277325 | 0.189233 | 0.189233 | 0.189233 | 0.189233 | 0 | 0 | 0.247934 | 968 | 66 | 58 | 14.666667 | 0.842033 | 0.02686 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.45 | 0 | 0.05 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5a588f46f04415aa732126aa42ac04bfae182cc2 | 446 | py | Python | django_mediamanager/context_processors.py | jasonbeverage/django-mediamanager | a4ea2482e3e649b97ff6eb33d245a5d843f18c87 | [
"MIT"
] | 1 | 2017-11-16T08:35:12.000Z | 2017-11-16T08:35:12.000Z | django_mediamanager/context_processors.py | jasonbeverage/django-mediamanager | a4ea2482e3e649b97ff6eb33d245a5d843f18c87 | [
"MIT"
] | null | null | null | django_mediamanager/context_processors.py | jasonbeverage/django-mediamanager | a4ea2482e3e649b97ff6eb33d245a5d843f18c87 | [
"MIT"
] | null | null | null | from django.utils.safestring import mark_safe
import django_mediamanager
def render_scripts():
return mark_safe("\n".join(django_mediamanager.site.render_js()))
def render_styles():
return mark_safe("\n".join(django_mediamanager.site.render_css()))
def media_manager_processors(req):
"""
Media man... | 20.272727 | 70 | 0.70852 | 54 | 446 | 5.555556 | 0.444444 | 0.08 | 0.093333 | 0.1 | 0.313333 | 0.313333 | 0.313333 | 0.313333 | 0.313333 | 0 | 0 | 0 | 0.179372 | 446 | 21 | 71 | 21.238095 | 0.819672 | 0.071749 | 0 | 0 | 0 | 0 | 0.062814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.181818 | 0.181818 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5a591847490a02552fa2079ce75aa7442c6e5b98 | 8,758 | py | Python | tensorflow/python/ipu/tests/histogram_test.py | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 74 | 2020-07-06T17:11:39.000Z | 2022-01-28T06:31:28.000Z | tensorflow/python/ipu/tests/histogram_test.py | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 9 | 2020-10-13T23:25:29.000Z | 2022-02-10T06:54:48.000Z | tensorflow/python/ipu/tests/histogram_test.py | chenzhengda/tensorflow | 8debb698097670458b5f21d728bc6f734a7b5a53 | [
"Apache-2.0"
] | 12 | 2020-07-08T07:27:17.000Z | 2021-12-27T08:54:27.000Z | # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 33.049057 | 79 | 0.632222 | 1,206 | 8,758 | 4.483416 | 0.160033 | 0.068615 | 0.082856 | 0.053264 | 0.739967 | 0.723692 | 0.69595 | 0.681894 | 0.663214 | 0.64324 | 0 | 0.055813 | 0.212377 | 8,758 | 264 | 80 | 33.174242 | 0.728037 | 0.075245 | 0 | 0.723301 | 0 | 0 | 0.14238 | 0.033152 | 0 | 0 | 0 | 0 | 0.063107 | 1 | 0.072816 | false | 0 | 0.048544 | 0.004854 | 0.135922 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5a6f6aee70eba12620d9d572f1e9bd9b4cb4a350 | 105 | py | Python | SCA11H/commands/system/WiFiCountryCode.py | ihutano/SCA11H | ee8a38ec9e47bc015851c20fa121651d2601cde0 | [
"MIT"
] | null | null | null | SCA11H/commands/system/WiFiCountryCode.py | ihutano/SCA11H | ee8a38ec9e47bc015851c20fa121651d2601cde0 | [
"MIT"
] | null | null | null | SCA11H/commands/system/WiFiCountryCode.py | ihutano/SCA11H | ee8a38ec9e47bc015851c20fa121651d2601cde0 | [
"MIT"
] | null | null | null | from enum import Enum
class WiFiCountryCode(Enum):
US = 'US'
Japan = 'JP'
Europe = 'EU/CN'
| 13.125 | 28 | 0.6 | 14 | 105 | 4.5 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27619 | 105 | 7 | 29 | 15 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
5a8a4c782743e8bce6818bfee698b21811d14d9d | 20 | py | Python | src/pymultigram/__init__.py | AVee/Multigram | b77b8c73ffa1fb2ac9001fb1af31c11076c38694 | [
"Apache-2.0"
] | 3 | 2020-01-10T15:02:19.000Z | 2022-02-06T23:57:24.000Z | src/pymultigram/__init__.py | AVee/Multigram | b77b8c73ffa1fb2ac9001fb1af31c11076c38694 | [
"Apache-2.0"
] | null | null | null | src/pymultigram/__init__.py | AVee/Multigram | b77b8c73ffa1fb2ac9001fb1af31c11076c38694 | [
"Apache-2.0"
] | 3 | 2020-02-19T06:05:38.000Z | 2022-01-15T10:45:29.000Z | name = "pymultigram" | 20 | 20 | 0.75 | 2 | 20 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ce734d8a347e4c9f6d3c38f1abe47b6fec959b06 | 68 | py | Python | ex002.py | Baeth/CeV-Python | 7d0952d096b2f945679f4f8fe938754f24c5775b | [
"Unlicense"
] | 2 | 2017-12-14T22:42:41.000Z | 2018-03-28T10:08:02.000Z | ex002.py | Baeth/CeV-Python | 7d0952d096b2f945679f4f8fe938754f24c5775b | [
"Unlicense"
] | null | null | null | ex002.py | Baeth/CeV-Python | 7d0952d096b2f945679f4f8fe938754f24c5775b | [
"Unlicense"
] | null | null | null | nome = input('Digite o seu nome?: ')
print('Olá, {}!'.format(nome))
| 22.666667 | 36 | 0.602941 | 10 | 68 | 4.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 68 | 2 | 37 | 34 | 0.694915 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
cec2c107dc8145e6c1332e3d0e04bc3f514e5b47 | 632 | py | Python | poker/deck.py | ensley/poker | cf49dc0d64b5776a412c915ca8bbe67687256342 | [
"MIT"
] | null | null | null | poker/deck.py | ensley/poker | cf49dc0d64b5776a412c915ca8bbe67687256342 | [
"MIT"
] | null | null | null | poker/deck.py | ensley/poker | cf49dc0d64b5776a412c915ca8bbe67687256342 | [
"MIT"
] | null | null | null | import collections
from card import Card
class Deck(collections.MutableSequence):
"""docstring for Deck"""
ranks = [str(n) for n in range(2, 10)] + list('TJQKA')
suits = list('CDHS')
def __init__(self):
self._cards = [Card(rank + suit) for suit in self.suits
for rank in self.ranks]
def __len__(sel... | 19.151515 | 57 | 0.700949 | 87 | 632 | 4.793103 | 0.402299 | 0.129496 | 0.122302 | 0.095923 | 0.1247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.174051 | 632 | 32 | 58 | 19.75 | 0.793103 | 0.028481 | 0 | 0 | 0 | 0 | 0.014803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0c6c110333b8669520fd62d8b4f9655b1fc7190e | 1,336 | py | Python | impy/arrays/utils/_skimage.py | hanjinliu/impy | d35b21be7739c3073ae87486673af68b1cdb2853 | [
"BSD-3-Clause"
] | 15 | 2021-07-19T13:42:26.000Z | 2021-12-31T13:32:15.000Z | impy/arrays/utils/_skimage.py | hanjinliu/impy | d35b21be7739c3073ae87486673af68b1cdb2853 | [
"BSD-3-Clause"
] | 3 | 2021-04-10T11:58:57.000Z | 2022-03-06T12:42:47.000Z | impy/arrays/utils/_skimage.py | hanjinliu/impy | d35b21be7739c3073ae87486673af68b1cdb2853 | [
"BSD-3-Clause"
] | 2 | 2021-07-19T13:34:07.000Z | 2021-08-01T09:51:29.000Z | from __future__ import annotations
# skimage.morphology takes very long time to import. Here it is not imported explicitly, and is always
# accessed by `skimage.morphology.some_function`.
import skimage
from skimage import transform as sktrans
from skimage import filters as skfil
from skimage import exposure as skexp
f... | 39.294118 | 102 | 0.694611 | 198 | 1,336 | 4.606061 | 0.5 | 0.120614 | 0.186404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01903 | 0.213323 | 1,336 | 34 | 103 | 39.294118 | 0.848716 | 0.175898 | 0 | 0 | 0 | 0 | 0.001821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0.068966 | 0.482759 | 0 | 0.551724 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
0c6ca24ab1d4083d1a849413024e96f3aaedfbe1 | 229 | py | Python | frc2019_vision/events/__init__.py | iboyperson/Robot2019-Vision | cbcbd7d8d4b25b838220fc09a3061350c81ac561 | [
"MIT"
] | 4 | 2019-01-14T21:23:02.000Z | 2019-06-13T02:12:22.000Z | frc2019_vision/events/__init__.py | iboyperson/Robot2019-Vision | cbcbd7d8d4b25b838220fc09a3061350c81ac561 | [
"MIT"
] | null | null | null | frc2019_vision/events/__init__.py | iboyperson/Robot2019-Vision | cbcbd7d8d4b25b838220fc09a3061350c81ac561 | [
"MIT"
] | 1 | 2019-05-23T07:36:43.000Z | 2019-05-23T07:36:43.000Z | def assemble_message(message: str, error: bool = False) -> str:
print("Assembling Message")
if error:
message = "-ERR {0}".format(message)
else:
message = "+OK {0}".format(message)
return message
| 25.444444 | 63 | 0.606987 | 27 | 229 | 5.111111 | 0.592593 | 0.101449 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.248908 | 229 | 8 | 64 | 28.625 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.144105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c7eaaf3e1f46c8fa1c25824d0632d5c3bfa58e8 | 141 | py | Python | neo4j/datadog_checks/neo4j/__init__.py | Dcanzano/integrations-extras | 0e5c9cde116798a724d9903ab2cefb356318f1d0 | [
"BSD-3-Clause"
] | null | null | null | neo4j/datadog_checks/neo4j/__init__.py | Dcanzano/integrations-extras | 0e5c9cde116798a724d9903ab2cefb356318f1d0 | [
"BSD-3-Clause"
] | 3 | 2020-03-30T12:26:28.000Z | 2021-08-25T11:58:47.000Z | neo4j/datadog_checks/neo4j/__init__.py | Dcanzano/integrations-extras | 0e5c9cde116798a724d9903ab2cefb356318f1d0 | [
"BSD-3-Clause"
] | 1 | 2017-09-01T04:29:17.000Z | 2017-09-01T04:29:17.000Z | from .__about__ import __version__
from .neo4j import GLOBAL_DB_NAME, NAMESPACE, Config, Neo4jCheck
__all__ = ['__version__', 'Neo4jCheck']
| 28.2 | 64 | 0.794326 | 16 | 141 | 5.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.113475 | 141 | 4 | 65 | 35.25 | 0.728 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0c84b5b57225788cb027ee2e5f4bb7031e8a797d | 4,071 | py | Python | tests/flow/test_expand_into.py | leibale/RedisGraph | 7ca05445ab604e2cb2463d3fb88ecb985bffbbd2 | [
"ISC",
"Apache-2.0",
"MIT",
"Ruby",
"BSD-3-Clause"
] | 988 | 2019-05-13T13:46:45.000Z | 2022-03-31T19:36:19.000Z | tests/flow/test_expand_into.py | leibale/RedisGraph | 7ca05445ab604e2cb2463d3fb88ecb985bffbbd2 | [
"ISC",
"Apache-2.0",
"MIT",
"Ruby",
"BSD-3-Clause"
] | 1,033 | 2019-05-14T07:54:38.000Z | 2022-03-31T14:28:38.000Z | tests/flow/test_expand_into.py | leibale/RedisGraph | 7ca05445ab604e2cb2463d3fb88ecb985bffbbd2 | [
"ISC",
"Apache-2.0",
"MIT",
"Ruby",
"BSD-3-Clause"
] | 165 | 2019-05-14T07:31:30.000Z | 2022-03-30T19:04:17.000Z | import os
import sys
from RLTest import Env
from redisgraph import Graph, Node, Edge
GRAPH_ID = "G"
# tests different variations of expand-into operation
# the expand-into operation is used when a traversal pattern say
# (a)-[:R]->()-[:R]->(z) has both of it ends already resolved e.g.
# MATCH (a), (z) WITH a,z MATCH ... | 36.675676 | 93 | 0.565954 | 609 | 4,071 | 3.704434 | 0.16092 | 0.018617 | 0.066489 | 0.012411 | 0.781472 | 0.733599 | 0.722518 | 0.679521 | 0.679521 | 0.679521 | 0 | 0.01077 | 0.247359 | 4,071 | 110 | 94 | 37.009091 | 0.725522 | 0.233112 | 0 | 0.575758 | 0 | 0.121212 | 0.216085 | 0.022933 | 0 | 0 | 0 | 0 | 0.19697 | 1 | 0.075758 | false | 0.015152 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0c90621d1567b17816a9435aa3ede763e03e7370 | 18 | py | Python | Geometry/__init__.py | continuous-symmetry-measure/pdb_prep | 6cbd2ca43b4a52c998fdbd7e50a6ac48f991862f | [
"BSD-2-Clause"
] | null | null | null | Geometry/__init__.py | continuous-symmetry-measure/pdb_prep | 6cbd2ca43b4a52c998fdbd7e50a6ac48f991862f | [
"BSD-2-Clause"
] | 4 | 2018-12-06T08:57:24.000Z | 2019-04-10T19:53:50.000Z | Geometry/__init__.py | continuous-symmetry-measure/pdb_prep | 6cbd2ca43b4a52c998fdbd7e50a6ac48f991862f | [
"BSD-2-Clause"
] | 1 | 2021-11-21T10:18:17.000Z | 2021-11-21T10:18:17.000Z | name = "Geometry"
| 9 | 17 | 0.666667 | 2 | 18 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 18 | 1 | 18 | 18 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0ca24326d2e85215972be44a907fd60a82d63f3c | 514 | py | Python | j5basic/test_EndlessIterator.py | rorygrandin/j5basic | 499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349 | [
"Apache-2.0"
] | null | null | null | j5basic/test_EndlessIterator.py | rorygrandin/j5basic | 499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349 | [
"Apache-2.0"
] | 5 | 2019-05-27T07:10:43.000Z | 2020-06-18T06:57:54.000Z | j5basic/test_EndlessIterator.py | rorygrandin/j5basic | 499ad5f7eed3537e5f24b5bb3ea1e7dd60f56349 | [
"Apache-2.0"
] | 4 | 2015-08-27T10:28:19.000Z | 2020-04-17T13:31:18.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from future import standard_library
standard_library.install_aliases()
from builtins import next
from builtins import range
from builtins import *... | 27.052632 | 55 | 0.762646 | 71 | 514 | 5.183099 | 0.549296 | 0.13587 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025701 | 0.167315 | 514 | 18 | 56 | 28.555556 | 0.834112 | 0.040856 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.6 | 0 | 0.666667 | 0.066667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0caa1ecc6aa97793580313fa6b750910e3cdc5fa | 266 | py | Python | code/ml/pipeline.py | Erick-Faster/credito-pipeline | 7f0e27d9c5d8719680664e9170855e5497b61138 | [
"MIT"
] | null | null | null | code/ml/pipeline.py | Erick-Faster/credito-pipeline | 7f0e27d9c5d8719680664e9170855e5497b61138 | [
"MIT"
] | null | null | null | code/ml/pipeline.py | Erick-Faster/credito-pipeline | 7f0e27d9c5d8719680664e9170855e5497b61138 | [
"MIT"
] | null | null | null | from sklearn.pipeline import Pipeline
from processors.preprocessors import preprocessor
from sklearn.ensemble import RandomForestClassifier
model = Pipeline(steps=[
('preprocessor', preprocessor),
('randomforest', RandomForestClassifier(random_state=27))])
| 33.25 | 63 | 0.808271 | 25 | 266 | 8.56 | 0.6 | 0.102804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.105263 | 266 | 7 | 64 | 38 | 0.890756 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0cad15bad8d3988cf83693a42a1dfecf69adf9fe | 199 | py | Python | env/Scripts/env/Scripts/django-admin.py | russellgoldman/Beer-Finder | 89b8493f72cb77cc79896b4221d5d8b7953bb5f6 | [
"MIT"
] | 3 | 2018-05-12T18:13:19.000Z | 2018-05-27T00:06:31.000Z | env/Scripts/env/Scripts/django-admin.py | russellgoldman/Beer-Finder | 89b8493f72cb77cc79896b4221d5d8b7953bb5f6 | [
"MIT"
] | 1 | 2020-06-05T18:32:05.000Z | 2020-06-05T18:32:05.000Z | env/Scripts/env/Scripts/django-admin.py | russellgoldman/Beer-Finder | 89b8493f72cb77cc79896b4221d5d8b7953bb5f6 | [
"MIT"
] | 5 | 2018-05-17T18:08:26.000Z | 2018-12-10T17:37:11.000Z | #!c:\users\lucy\desktop\laurie~1\year3~1\cp317~1\cp317-~2\env\scripts\env\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 33.166667 | 92 | 0.773869 | 31 | 199 | 4.612903 | 0.774194 | 0.083916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059783 | 0.075377 | 199 | 5 | 93 | 39.8 | 0.717391 | 0.457286 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0ccbd11cd0e070b21f594388c045b5dbf13f32e4 | 98 | py | Python | algomorphism/__init__.py | efthymis-mcl/algomorphism | 69a41e98e10458ac333da1350fc39da8a00b80d3 | [
"MIT"
] | null | null | null | algomorphism/__init__.py | efthymis-mcl/algomorphism | 69a41e98e10458ac333da1350fc39da8a00b80d3 | [
"MIT"
] | null | null | null | algomorphism/__init__.py | efthymis-mcl/algomorphism | 69a41e98e10458ac333da1350fc39da8a00b80d3 | [
"MIT"
] | null | null | null | __version__ = '1.0.0-beta'
from . import base, layers, losses, models, metrics, methods, figures
| 24.5 | 69 | 0.72449 | 14 | 98 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.142857 | 98 | 3 | 70 | 32.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0cdc830eaef7a7ee6a55005b39cd8d72bde004fc | 2,776 | py | Python | sppas/sppas/src/annotations/TextNorm/__init__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/annotations/TextNorm/__init__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/annotations/TextNorm/__init__.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | """
..
---------------------------------------------------------------------
___ __ __ __ ___
/ | \ | \ | \ / the automatic
\__ |__/ |__/ |___| \__ annotation and
\ | | | | \ analysis
___/... | 39.098592 | 78 | 0.636527 | 305 | 2,776 | 5.672131 | 0.557377 | 0.013873 | 0.022543 | 0.032948 | 0.047399 | 0.03237 | 0 | 0 | 0 | 0 | 0 | 0.008173 | 0.25072 | 2,776 | 70 | 79 | 39.657143 | 0.823558 | 0.864914 | 0 | 0 | 0 | 0 | 0.243094 | 0.063536 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
4900b1f16aceb45f9d2397cad04bc57a213aadfa | 773 | py | Python | src/core/repository/db/mysql/rental_repository.py | lucassaporetti/car-rental | 6e37032df3a399b78ed3d7998a2cb31a2a84d033 | [
"MIT"
] | 1 | 2021-02-11T18:45:12.000Z | 2021-02-11T18:45:12.000Z | src/core/repository/db/mysql/rental_repository.py | lucassaporetti/car-rental | 6e37032df3a399b78ed3d7998a2cb31a2a84d033 | [
"MIT"
] | null | null | null | src/core/repository/db/mysql/rental_repository.py | lucassaporetti/car-rental | 6e37032df3a399b78ed3d7998a2cb31a2a84d033 | [
"MIT"
] | null | null | null | from core.enum.database_type import DatabaseType
from core.enum.model import Model
from core.factory.sql_factory_facade import SqlFactoryFacade
from core.model.entity import Entity
from core.model.rental import Rental
from src.core.repository.db.mysql.mysql_repository import MySqlRepository
class RentalRepository(MyS... | 28.62963 | 80 | 0.725744 | 98 | 773 | 5.581633 | 0.377551 | 0.073126 | 0.087751 | 0.115174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174644 | 773 | 26 | 81 | 29.730769 | 0.857367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.052632 | 0.315789 | 0.052632 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
0b2752d9af955cbe5a8f619b5e05e6cd708d3b7c | 87 | py | Python | Categorical_Variables/US-Adult-Census/src/config.py | harshmehta227/AMLP | 4a1d13bc5a2f04885a6854f552d67335a2ef228f | [
"MIT"
] | 6 | 2021-03-07T15:10:14.000Z | 2021-08-25T03:36:40.000Z | Categorical_Variables/US-Adult-Census/src/config.py | harshmehta227/AMLP | 4a1d13bc5a2f04885a6854f552d67335a2ef228f | [
"MIT"
] | null | null | null | Categorical_Variables/US-Adult-Census/src/config.py | harshmehta227/AMLP | 4a1d13bc5a2f04885a6854f552d67335a2ef228f | [
"MIT"
] | 8 | 2021-02-12T18:38:21.000Z | 2022-02-20T16:37:30.000Z | TRAINING_FILE_ORIG = '../input/adult.csv'
TRAINING_FILE = '../input/adult_folds.csv'
| 17.4 | 42 | 0.724138 | 12 | 87 | 4.916667 | 0.583333 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 4 | 43 | 21.75 | 0.746835 | 0 | 0 | 0 | 0 | 0 | 0.488372 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b2a5a4ed175643e93c6ca06ffdc7285071febe3 | 255 | py | Python | ctp/regularizers/__init__.py | Vikicsizmadia/ctp | d88fdfecf4b90ee42e6137a9767226c0d35b19a3 | [
"MIT"
] | 41 | 2020-07-14T15:44:20.000Z | 2022-03-25T10:33:07.000Z | ctp/regularizers/__init__.py | Vikicsizmadia/ctp | d88fdfecf4b90ee42e6137a9767226c0d35b19a3 | [
"MIT"
] | 3 | 2020-12-28T05:57:12.000Z | 2022-03-09T01:05:06.000Z | ctp/regularizers/__init__.py | Vikicsizmadia/ctp | d88fdfecf4b90ee42e6137a9767226c0d35b19a3 | [
"MIT"
] | 12 | 2020-07-14T22:56:46.000Z | 2022-01-17T02:40:10.000Z | # -*- coding: utf-8 -*-
from ctp.regularizers.base import Regularizer
from ctp.regularizers.base import N2
from ctp.regularizers.base import N3
from ctp.regularizers.base import Entropy
__all__ = [
'Regularizer',
'N2',
'N3',
'Entropy'
]
| 18.214286 | 45 | 0.694118 | 32 | 255 | 5.40625 | 0.40625 | 0.16185 | 0.439306 | 0.531792 | 0.67052 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024038 | 0.184314 | 255 | 13 | 46 | 19.615385 | 0.807692 | 0.082353 | 0 | 0 | 0 | 0 | 0.094828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0b4fa405f5ef6574ca6ad50f37af04ea2c748208 | 182 | py | Python | filter_classified_reads/__init__.py | peterk87/filter_classified_reads | 70b9aaaa5849a85bf23a2cb88416e8352a9cf88c | [
"Apache-2.0"
] | 5 | 2019-08-27T13:18:04.000Z | 2021-10-16T01:41:56.000Z | filter_classified_reads/__init__.py | peterk87/filter_classified_reads | 70b9aaaa5849a85bf23a2cb88416e8352a9cf88c | [
"Apache-2.0"
] | 4 | 2019-09-05T20:47:34.000Z | 2021-11-15T17:48:32.000Z | filter_classified_reads/__init__.py | peterk87/filter_classified_reads | 70b9aaaa5849a85bf23a2cb88416e8352a9cf88c | [
"Apache-2.0"
] | 1 | 2020-06-04T19:50:32.000Z | 2020-06-04T19:50:32.000Z | # -*- coding: utf-8 -*-
"""Top-level package for filter_classified_reads."""
__author__ = """Peter Kruczkiewicz"""
__email__ = 'peter.kruczkiewicz@gmail.com'
__version__ = '0.2.1'
| 22.75 | 52 | 0.692308 | 22 | 182 | 5.090909 | 0.909091 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.115385 | 182 | 7 | 53 | 26 | 0.670807 | 0.379121 | 0 | 0 | 0 | 0 | 0.476636 | 0.261682 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b6827caba5bd74392047fe34d7287dae6f20b48 | 583 | py | Python | src/code/python/test_mock_class.py | skybert/skybert-net | c3e57dcb72960665b8a91f2d771217b74a035af3 | [
"CC-BY-4.0"
] | 6 | 2015-09-22T10:49:36.000Z | 2022-03-31T03:44:29.000Z | src/code/python/test_mock_class.py | skybert/skybert-net | c3e57dcb72960665b8a91f2d771217b74a035af3 | [
"CC-BY-4.0"
] | null | null | null | src/code/python/test_mock_class.py | skybert/skybert-net | c3e57dcb72960665b8a91f2d771217b74a035af3 | [
"CC-BY-4.0"
] | null | null | null | #! /usr/bin/env python3
import types
import unittest.mock
import unittest
class ExploringMocking(unittest.TestCase):
def test_using_the_real_class(self):
waterfall = Waterfall()
assert waterfall.height_in_feet() == 164
def test_mocking_a_class(self):
waterfall = unittest.mock.create_... | 23.32 | 78 | 0.715266 | 76 | 583 | 5.223684 | 0.434211 | 0.080605 | 0.120907 | 0.15869 | 0.13602 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023605 | 0.200686 | 583 | 24 | 79 | 24.291667 | 0.828326 | 0.037736 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.25 | false | 0 | 0.1875 | 0.125 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0b78735ca5ee5ede62e22a37bf637e0bcd7d0452 | 712 | py | Python | kyu5/tests/test_last_digit.py | juanshishido/codewars | d50d4ac07ddcc00fa2f7c367ec39cdb5e274d8da | [
"MIT"
] | null | null | null | kyu5/tests/test_last_digit.py | juanshishido/codewars | d50d4ac07ddcc00fa2f7c367ec39cdb5e274d8da | [
"MIT"
] | null | null | null | kyu5/tests/test_last_digit.py | juanshishido/codewars | d50d4ac07ddcc00fa2f7c367ec39cdb5e274d8da | [
"MIT"
] | null | null | null | import unittest
from kyu5.last_digit import last_digit
class TestLastDigit(unittest.TestCase):
def test_three_to_the_eight_is_one(self):
self.assertEquals(1, last_digit(3, 8))
def test_four_to_the_first_is_four(self):
self.assertEquals(4, last_digit(4, 1))
def test_four_to_the_second_i... | 28.48 | 63 | 0.724719 | 121 | 712 | 3.826446 | 0.330579 | 0.097192 | 0.259179 | 0.056156 | 0.220302 | 0.151188 | 0.151188 | 0.151188 | 0 | 0 | 0 | 0.059625 | 0.175562 | 712 | 24 | 64 | 29.666667 | 0.729131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.133333 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0b7b5911ca7be0d6e9a5745da01586f5ffd51863 | 204 | py | Python | scripts/CCgray.py | gonzal0lguin/EL3201-Exp-electiva | 9b3c6128f307ccdf53b23e06b15610b46808ed9a | [
"MIT"
] | null | null | null | scripts/CCgray.py | gonzal0lguin/EL3201-Exp-electiva | 9b3c6128f307ccdf53b23e06b15610b46808ed9a | [
"MIT"
] | null | null | null | scripts/CCgray.py | gonzal0lguin/EL3201-Exp-electiva | 9b3c6128f307ccdf53b23e06b15610b46808ed9a | [
"MIT"
] | null | null | null | from detectionV1 import Detector
path = '/Users/gonzalolguin/Desktop/image0.jpg'
savepath = '/Users/gonzalolguin/Desktop/fotosextraidas/'
a = Detector(path)
a.add_img()
a.extract_contours()
a.show_imgs() | 25.5 | 56 | 0.784314 | 27 | 204 | 5.814815 | 0.703704 | 0.152866 | 0.305732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.078431 | 204 | 8 | 57 | 25.5 | 0.824468 | 0 | 0 | 0 | 0 | 0 | 0.395122 | 0.395122 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b809fcf647c6c8cbb393dd81a6619b3bdcad2c4 | 162 | py | Python | pygocomma/const.py | p3g4asus/pygocomma | 096ce0455d90acd0f4b825591477fb650e5c1653 | [
"MIT"
] | 2 | 2019-05-10T09:10:19.000Z | 2019-09-26T09:21:07.000Z | pygocomma/const.py | p3g4asus/pygocomma | 096ce0455d90acd0f4b825591477fb650e5c1653 | [
"MIT"
] | null | null | null | pygocomma/const.py | p3g4asus/pygocomma | 096ce0455d90acd0f4b825591477fb650e5c1653 | [
"MIT"
] | 1 | 2021-12-28T13:53:02.000Z | 2021-12-28T13:53:02.000Z | '''
Created on 25 apr 2019
@author: Matteo
'''
CD_RETURN_IMMEDIATELY = 1
CD_ADD_AND_CONTINUE_WAITING = 2
CD_CONTINUE_WAITING = 0
CD_ABORT_AND_RETRY = 3
| 16.2 | 32 | 0.734568 | 26 | 162 | 4.153846 | 0.769231 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 0.191358 | 162 | 9 | 33 | 18 | 0.748092 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b8104fdd70097c9f700efda0f900ebced26cbf2 | 289 | py | Python | Python/Advanced OOP/Inheritance/Restaurant/Food/01. Cake.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Advanced OOP/Inheritance/Restaurant/Food/01. Cake.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | Python/Advanced OOP/Inheritance/Restaurant/Food/01. Cake.py | teodoramilcheva/softuni-software-engineering | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | [
"MIT"
] | null | null | null | from project.food.dessert import Dessert
class Cake(Dessert):
CAKE_GRAMS = 250
CAKE_CALORIES = 1000
CAKE_PRICE = 5
def __init__(self, name):
super().__init__(name, self.__class__.CAKE_PRICE, self.__class__.CAKE_GRAMS, self.__class__.CAKE_CALORIES)
| 22.230769 | 115 | 0.692042 | 37 | 289 | 4.702703 | 0.486486 | 0.206897 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.217993 | 289 | 12 | 116 | 24.083333 | 0.734513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0b83a250983a5a2030f20233b31fa2458b8380e4 | 875 | py | Python | trading/spreads.py | taylormm/gdax-order-book | 9ddf295e54edb6a8cdda60f9cd60116cb4ff541d | [
"BSD-2-Clause"
] | 221 | 2015-10-13T17:10:14.000Z | 2022-03-24T10:34:03.000Z | trading/spreads.py | ahao1995/coinbase-exchange-order-book | 4eae6025e567dd50ba1ac2b9727e0e75b6bf2e40 | [
"BSD-2-Clause"
] | 3 | 2016-04-12T22:14:36.000Z | 2018-04-08T10:44:37.000Z | trading/spreads.py | ahao1995/coinbase-exchange-order-book | 4eae6025e567dd50ba1ac2b9727e0e75b6bf2e40 | [
"BSD-2-Clause"
] | 91 | 2015-10-13T21:43:24.000Z | 2022-03-09T18:18:37.000Z | from decimal import Decimal
class Spreads(object):
def __init__(self):
# amount over the highest bid that you are willing to buy btc for
self.bid_spread = Decimal('0.20')
# amount below the lowest ask that you are willing to sell btc for
self.ask_spread = Decimal('0.15')
# sp... | 30.172414 | 74 | 0.683429 | 126 | 875 | 4.539683 | 0.349206 | 0.136364 | 0.146853 | 0.181818 | 0.566434 | 0.426573 | 0.426573 | 0.426573 | 0.377622 | 0.377622 | 0 | 0.026706 | 0.229714 | 875 | 28 | 75 | 31.25 | 0.821958 | 0.233143 | 0 | 0.235294 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.235294 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
0b93572230e3550321a75c8750069dd42c361744 | 629 | py | Python | code_transformer/experiments/great/code_summarization.py | SpirinEgor/code-transformer | 7fce7db040c91a5f2773d51e5f4f8bb30b1ac5ee | [
"MIT"
] | null | null | null | code_transformer/experiments/great/code_summarization.py | SpirinEgor/code-transformer | 7fce7db040c91a5f2773d51e5f4f8bb30b1ac5ee | [
"MIT"
] | null | null | null | code_transformer/experiments/great/code_summarization.py | SpirinEgor/code-transformer | 7fce7db040c91a5f2773d51e5f4f8bb30b1ac5ee | [
"MIT"
] | null | null | null | from code_transformer.experiments.experiment import ExperimentSetup, ex
from code_transformer.experiments.mixins.code_summarization_great import CTCodeSummarizationGreatMixin
from code_transformer.experiments.mixins.great_transformer import GreatTransformerDecoderMixin
class GreatTransformerDecoderExperimentSetup(
... | 29.952381 | 102 | 0.852146 | 50 | 629 | 10.58 | 0.5 | 0.045369 | 0.10775 | 0.170132 | 0.136106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09221 | 629 | 20 | 103 | 31.45 | 0.926445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.071429 | 0.214286 | 0.071429 | 0.5 | 0 | 0 | 0 | 1 | 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 | 3 |
0b9c8e814f7d067e6f46ccf473bcda1c30caf065 | 567 | py | Python | utils.py | mori97/revae | 465009076a9be78e8ddb9021a0699b32fc695f30 | [
"MIT"
] | null | null | null | utils.py | mori97/revae | 465009076a9be78e8ddb9021a0699b32fc695f30 | [
"MIT"
] | null | null | null | utils.py | mori97/revae | 465009076a9be78e8ddb9021a0699b32fc695f30 | [
"MIT"
] | null | null | null | class AverageMeter(object):
"""Stores the summation and counts the number to compute the average value.
"""
def __init__(self):
self._sum = 0
self._count = 0
@property
def avg(self):
return self._sum / self._count if self._count != 0 else 0
@property
def count(self)... | 21 | 79 | 0.569665 | 75 | 567 | 4.106667 | 0.373333 | 0.175325 | 0.097403 | 0.077922 | 0.142857 | 0.142857 | 0.142857 | 0 | 0 | 0 | 0 | 0.018421 | 0.329806 | 567 | 26 | 80 | 21.807692 | 0.792105 | 0.126984 | 0 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0 | 0.157895 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0ba87610309709ffcfb5f1e30102c093bc539eeb | 402 | py | Python | Analytics/resources/moving_sensors/__init__.py | thanosbnt/SharingCitiesDashboard | 5d123691d1f25d0b85e20e4e8293266bf23c9f8a | [
"Apache-2.0"
] | 4 | 2018-11-21T14:42:18.000Z | 2020-05-11T10:52:59.000Z | Analytics/resources/moving_sensors/__init__.py | thanosbnt/SharingCitiesDashboard | 5d123691d1f25d0b85e20e4e8293266bf23c9f8a | [
"Apache-2.0"
] | 60 | 2018-11-21T15:11:59.000Z | 2019-12-02T10:46:44.000Z | Analytics/resources/moving_sensors/__init__.py | thanosbnt/SharingCitiesDashboard | 5d123691d1f25d0b85e20e4e8293266bf23c9f8a | [
"Apache-2.0"
] | 7 | 2018-11-21T14:42:44.000Z | 2019-11-28T16:24:14.000Z | from .add_new_location_data import AddNewLocationData
from .create_tracker import CreateTracker
from .delete_location_data import DeleteLocationData
from .delete_tracker import DeleteTracker
from .export_to_kml import ExportToKML
from .get_dummy_data import GetDummyData
from .get_tracker import GetTracker
from .remove_... | 40.2 | 53 | 0.88806 | 51 | 402 | 6.705882 | 0.490196 | 0.116959 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 402 | 9 | 54 | 44.666667 | 0.934426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e7e7337dd17852d8155ee10cc51693d467abe65f | 125 | py | Python | Node.py | trickyrat/Leetcodepy | 1cb6099b9ac146a5716c4993362576c36c4cb10b | [
"MIT"
] | null | null | null | Node.py | trickyrat/Leetcodepy | 1cb6099b9ac146a5716c4993362576c36c4cb10b | [
"MIT"
] | null | null | null | Node.py | trickyrat/Leetcodepy | 1cb6099b9ac146a5716c4993362576c36c4cb10b | [
"MIT"
] | null | null | null | class Node(object):
def __init__(self, val=None, children=None):
self.val = val
self.children = children
| 25 | 48 | 0.632 | 16 | 125 | 4.6875 | 0.5625 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256 | 125 | 4 | 49 | 31.25 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e7ffa708d425d407a5beedde2c1b14386b66d3b6 | 137 | py | Python | CursoemVideo/mundo02/Challenge052.py | ElptsJunior/Python | 7347b38947b439afa392764aafe0a55f808530dd | [
"MIT"
] | null | null | null | CursoemVideo/mundo02/Challenge052.py | ElptsJunior/Python | 7347b38947b439afa392764aafe0a55f808530dd | [
"MIT"
] | null | null | null | CursoemVideo/mundo02/Challenge052.py | ElptsJunior/Python | 7347b38947b439afa392764aafe0a55f808530dd | [
"MIT"
] | null | null | null | num = int(input('digite um numero:'))
if num / 1 and num/ num:
print('esse numero primo')
else:
print('esse numerp nap e primo') | 27.4 | 37 | 0.642336 | 23 | 137 | 3.826087 | 0.695652 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.211679 | 137 | 5 | 38 | 27.4 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f0053e67acd1f62c7ec5cde7c86db52f810c91d1 | 473 | py | Python | alipay/aop/api/response/AlipayCommerceEducateSceneUserUnsignResponse.py | antopen/alipay-sdk-python-all | 8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/response/AlipayCommerceEducateSceneUserUnsignResponse.py | antopen/alipay-sdk-python-all | 8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c | [
"Apache-2.0"
] | null | null | null | alipay/aop/api/response/AlipayCommerceEducateSceneUserUnsignResponse.py | antopen/alipay-sdk-python-all | 8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class AlipayCommerceEducateSceneUserUnsignResponse(AlipayResponse):
def __init__(self):
super(AlipayCommerceEducateSceneUserUnsignResponse, self).__init__()
def parse_respons... | 29.5625 | 117 | 0.794926 | 43 | 473 | 8.418605 | 0.534884 | 0.165746 | 0.292818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002398 | 0.118393 | 473 | 15 | 118 | 31.533333 | 0.865707 | 0.088795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f0587eed244607db5588b391033924c3db21c5d2 | 133 | py | Python | code/strats/ccd.py | yasirroni/PrisonersDilemmaTournament | ce3de71ff2ccb647aa00129473ff60f985e16e17 | [
"MIT"
] | null | null | null | code/strats/ccd.py | yasirroni/PrisonersDilemmaTournament | ce3de71ff2ccb647aa00129473ff60f985e16e17 | [
"MIT"
] | null | null | null | code/strats/ccd.py | yasirroni/PrisonersDilemmaTournament | ce3de71ff2ccb647aa00129473ff60f985e16e17 | [
"MIT"
] | null | null | null | def strategy(history, memory):
if history.shape[1] % 3 == 2: # CC
return 0, None # D
else:
return 1, None # C | 26.6 | 38 | 0.533835 | 20 | 133 | 3.55 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0.338346 | 133 | 5 | 39 | 26.6 | 0.75 | 0.045113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f06b2a004bfa2bc7efb8c987f0c57cadf37c5bff | 174 | py | Python | src/hive/move_data.py | dwdii/emr-airflow | 2f54ca438ebf8205955eb06e37ef4f0e86e923e7 | [
"Apache-2.0"
] | 1 | 2019-08-30T09:37:17.000Z | 2019-08-30T09:37:17.000Z | src/hive/move_data.py | dwdii/emr-airflow | 2f54ca438ebf8205955eb06e37ef4f0e86e923e7 | [
"Apache-2.0"
] | null | null | null | src/hive/move_data.py | dwdii/emr-airflow | 2f54ca438ebf8205955eb06e37ef4f0e86e923e7 | [
"Apache-2.0"
] | 1 | 2019-06-15T03:31:13.000Z | 2019-06-15T03:31:13.000Z | from pyhive import hive
conn = hive.connect("localhost", 10000)
cursor = conn.cursor()
cursor.execute("SELECT * FROM dwdii2.noaa_temps LIMIT 100")
print cursor.fetchall() | 19.333333 | 59 | 0.752874 | 24 | 174 | 5.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059211 | 0.126437 | 174 | 9 | 60 | 19.333333 | 0.796053 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2c2a3e36c4b53412249f22b52f8c9ed4fb9a042 | 237 | py | Python | tools/project_gen/setup.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | tools/project_gen/setup.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | 8 | 2021-10-13T02:33:23.000Z | 2022-03-29T21:01:08.000Z | tools/project_gen/setup.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name="project_gen",
version="21.8.2",
packages=find_packages(),
url="https://github.com/ucgmsim/gmhazard",
description="GMHazard Project Data Generation Service",
)
| 23.7 | 59 | 0.71308 | 29 | 237 | 5.724138 | 0.793103 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.156118 | 237 | 9 | 60 | 26.333333 | 0.81 | 0 | 0 | 0 | 0 | 0 | 0.388186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2cefbe89b61a60235c4b78d0ab2474cbc0e9ef8 | 110 | py | Python | python/chap_0/0.5.19.py | RyodoTanaka/Cording_Matrix | 7d357266c0b659495f226000418e9cdaee133ebf | [
"BSD-3-Clause"
] | null | null | null | python/chap_0/0.5.19.py | RyodoTanaka/Cording_Matrix | 7d357266c0b659495f226000418e9cdaee133ebf | [
"BSD-3-Clause"
] | null | null | null | python/chap_0/0.5.19.py | RyodoTanaka/Cording_Matrix | 7d357266c0b659495f226000418e9cdaee133ebf | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
L=['A','B','C','D','E']
ret = zip( range(len(L)),L )
print ret
| 15.714286 | 28 | 0.5 | 21 | 110 | 2.619048 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.145455 | 110 | 6 | 29 | 18.333333 | 0.574468 | 0.381818 | 0 | 0 | 0 | 0 | 0.075758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2dcf1736d3cbf618b16919dacc05238c5c37049 | 764 | py | Python | sprinter/feature/common.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 3 | 2015-01-30T09:01:26.000Z | 2018-08-23T03:33:52.000Z | sprinter/feature/common.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 26 | 2015-08-12T01:01:03.000Z | 2019-01-29T05:18:02.000Z | sprinter/feature/common.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 3 | 2016-01-18T21:23:53.000Z | 2017-02-01T18:14:23.000Z | import os
import sprinter.lib as lib
def execute_commmon_functionality(formula_instance):
install_directory = formula_instance.directory.install_directory(formula_instance.feature_name)
cwd = install_directory if os.path.exists(install_directory) else None
if formula_instance.target.has('env'):
fo... | 47.75 | 99 | 0.769634 | 103 | 764 | 5.446602 | 0.320388 | 0.374332 | 0.299465 | 0.163993 | 0.340463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117801 | 764 | 15 | 100 | 50.933333 | 0.832344 | 0 | 0 | 0 | 0 | 0 | 0.039267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 0.076923 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b2eaa9a07c668612d6e3603d09db8f4a23e3db6d | 388 | py | Python | server/src/tests/samples/tuples4.py | jackwiy/pyright | 6acfd7720037105acd2c59ac7c1662c71b15ebf6 | [
"MIT"
] | null | null | null | server/src/tests/samples/tuples4.py | jackwiy/pyright | 6acfd7720037105acd2c59ac7c1662c71b15ebf6 | [
"MIT"
] | null | null | null | server/src/tests/samples/tuples4.py | jackwiy/pyright | 6acfd7720037105acd2c59ac7c1662c71b15ebf6 | [
"MIT"
] | null | null | null | # This sample tests the translation of a heterogenous tuple
# into an Interable.
from typing import Iterable, Iterator, List, Tuple, TypeVar, Union
_T = TypeVar('_T')
def foo(x: Iterable[_T]):
return x
def bar(x: Iterable[Union[int, str]]): pass
my_tuple = (3, 'hello')
# The type of my_iterable should be Itera... | 21.555556 | 66 | 0.719072 | 62 | 388 | 4.370968 | 0.564516 | 0.110701 | 0.118081 | 0.140221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003077 | 0.162371 | 388 | 17 | 67 | 22.823529 | 0.830769 | 0.353093 | 0 | 0 | 0 | 0 | 0.028455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0.125 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
b2f9492527aabc8aabf62842cd844d71d9fe5d6d | 124 | py | Python | credentials.py | Froschi1860/Light-intensity-temperature-and-humidity-sensor-for-the-desk | 3bba46095cb9422e263fbe4651640bdbb125339b | [
"Apache-2.0"
] | null | null | null | credentials.py | Froschi1860/Light-intensity-temperature-and-humidity-sensor-for-the-desk | 3bba46095cb9422e263fbe4651640bdbb125339b | [
"Apache-2.0"
] | null | null | null | credentials.py | Froschi1860/Light-intensity-temperature-and-humidity-sensor-for-the-desk | 3bba46095cb9422e263fbe4651640bdbb125339b | [
"Apache-2.0"
] | null | null | null | # WiFi credentials
wifi_ssid = "YourSSID"
wifi_password = "YourPassword"
# Ubidots credentials
ubidots_token = "YourToken"
| 17.714286 | 30 | 0.782258 | 13 | 124 | 7.230769 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 124 | 6 | 31 | 20.666667 | 0.87037 | 0.290323 | 0 | 0 | 0 | 0 | 0.341176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
6501e9ac54c6bbc891437870b0194497a32761a6 | 1,746 | py | Python | weldx/measurement.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | null | null | null | weldx/measurement.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | null | null | null | weldx/measurement.py | vhirtham/weldx | 50d212e9755271d7299acac103f3f0a8f1390fd6 | [
"BSD-3-Clause"
] | null | null | null | """Contains measurement related classes and functions."""
from dataclasses import dataclass, field
from typing import List, Union # noqa: F401
import xarray as xr
# measurement --------------------------------------------------------------------------
@dataclass
class Data:
"""Simple dataclass implementation f... | 21.555556 | 88 | 0.653494 | 170 | 1,746 | 6.647059 | 0.329412 | 0.099115 | 0.20531 | 0.226549 | 0.410619 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002102 | 0.182703 | 1,746 | 80 | 89 | 21.825 | 0.789769 | 0.398053 | 0 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.069767 | 0 | 0.813953 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
651456bde4c978a4cae9bf0a385209061bdba6eb | 463 | py | Python | jsonclasses/modifiers/tonextsec_modifier.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 50 | 2021-08-18T08:08:04.000Z | 2022-03-20T07:23:26.000Z | jsonclasses/modifiers/tonextsec_modifier.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 1 | 2021-02-21T03:18:09.000Z | 2021-03-08T01:07:52.000Z | jsonclasses/modifiers/tonextsec_modifier.py | Jesse-Yung/jsonclasses | d40c52aec42bcb978a80ceb98b93ab38134dc790 | [
"MIT"
] | 8 | 2021-07-01T02:39:15.000Z | 2021-12-10T02:20:18.000Z | """module for tonextsec modifier."""
from __future__ import annotations
from datetime import datetime, timedelta
from typing import Any, TYPE_CHECKING
from .modifier import Modifier
if TYPE_CHECKING:
from ..ctx import Ctx
class ToNextSecModifier(Modifier):
"""Change the second to the next second"""
def tr... | 33.071429 | 110 | 0.7473 | 64 | 463 | 5.3125 | 0.546875 | 0.052941 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.157667 | 463 | 13 | 111 | 35.615385 | 0.866667 | 0.144708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.555556 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
6521d86770a73a0ceb474773119ef68c5849e1c3 | 508 | py | Python | sknetwork/linkpred/tests/test_postprocessing.py | altana-tech/scikit-network | dedc9d3e694c7106e4709aae22dffb5142c15859 | [
"BSD-3-Clause"
] | 457 | 2018-07-24T12:42:14.000Z | 2022-03-31T08:30:39.000Z | sknetwork/linkpred/tests/test_postprocessing.py | altana-tech/scikit-network | dedc9d3e694c7106e4709aae22dffb5142c15859 | [
"BSD-3-Clause"
] | 281 | 2018-07-13T05:01:19.000Z | 2022-03-31T14:13:43.000Z | sknetwork/linkpred/tests/test_postprocessing.py | altana-tech/scikit-network | dedc9d3e694c7106e4709aae22dffb5142c15859 | [
"BSD-3-Clause"
] | 58 | 2019-04-22T09:04:32.000Z | 2022-03-30T12:43:08.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""tests for link prediction postprocessing"""
import unittest
import numpy as np
from sknetwork.data import house
from sknetwork.linkpred import is_edge
class TestLinkPredPostProcessing(unittest.TestCase):
def test_signature(self):
adjacency = house()
... | 23.090909 | 61 | 0.685039 | 61 | 508 | 5.639344 | 0.639344 | 0.052326 | 0.116279 | 0.174419 | 0.261628 | 0.261628 | 0.261628 | 0 | 0 | 0 | 0 | 0.014778 | 0.200787 | 508 | 21 | 62 | 24.190476 | 0.832512 | 0.165354 | 0 | 0.181818 | 0 | 0 | 0.009592 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
65366709773aa14c27b68617932c7ff7d94ec74d | 202 | py | Python | gradient/api_sdk/models/tag.py | luojiguicai/gradient-cli | 16fad0c2dfc36cd0e0455e3ca1ce4cfb243cec8a | [
"ISC"
] | 52 | 2019-06-10T04:20:00.000Z | 2021-12-06T01:13:26.000Z | gradient/api_sdk/models/tag.py | luojiguicai/gradient-cli | 16fad0c2dfc36cd0e0455e3ca1ce4cfb243cec8a | [
"ISC"
] | 125 | 2019-06-05T16:34:19.000Z | 2022-03-30T18:46:06.000Z | gradient/api_sdk/models/tag.py | luojiguicai/gradient-cli | 16fad0c2dfc36cd0e0455e3ca1ce4cfb243cec8a | [
"ISC"
] | 11 | 2019-07-16T06:48:55.000Z | 2021-12-15T12:41:51.000Z | import datetime
import attr
@attr.s
class Tag(object):
id = attr.ib(type=str, default=None)
name = attr.ib(type=str, default=None)
created = attr.ib(type=datetime.datetime, default=None)
| 18.363636 | 59 | 0.69802 | 31 | 202 | 4.548387 | 0.483871 | 0.12766 | 0.212766 | 0.184397 | 0.340426 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168317 | 202 | 10 | 60 | 20.2 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 3 |
e8ddc5fe16117ca49630b9bc22ecd0f3666df1c9 | 5,731 | py | Python | python/test.py | huichen/juzhen | 5af4308e683f79ab98081739c4a7a567757532b8 | [
"Apache-2.0"
] | 3 | 2015-09-09T10:00:27.000Z | 2019-01-30T20:17:59.000Z | python/test.py | huichen/juzhen | 5af4308e683f79ab98081739c4a7a567757532b8 | [
"Apache-2.0"
] | null | null | null | python/test.py | huichen/juzhen | 5af4308e683f79ab98081739c4a7a567757532b8 | [
"Apache-2.0"
] | 2 | 2018-04-07T10:42:06.000Z | 2019-01-30T20:18:02.000Z | #! /usr/bin/env python
from juzhen import Complex, Matrix, CMatrix, Identity, CIdentity, Vector, CVector
from juzhen import inverse
from juzhen import linear_solver
from juzhen import eigen, left_eigen, right_eigen
print "========= Test Complex ========="
# a = 3 + 4i
a = Complex(3, 4)
# a = -1 + 0i
b = Complex(-1... | 14.732648 | 111 | 0.588379 | 1,093 | 5,731 | 3.067704 | 0.107045 | 0.207575 | 0.06263 | 0.085893 | 0.531464 | 0.478676 | 0.458097 | 0.406502 | 0.339994 | 0.295556 | 0 | 0.036908 | 0.248299 | 5,731 | 388 | 112 | 14.770619 | 0.741411 | 0.276915 | 0 | 0.657371 | 0 | 0 | 0.240215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.015936 | null | null | 0.820717 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
e8fc22de430c50c13bbb44683bc568b5ecf218a5 | 228 | py | Python | PyMesh/python/pymesh/wires/__init__.py | VincentLefevre/3D-parallax | 8eab905fcc591e1bd7ddbbb01ad21427286c02e3 | [
"MIT"
] | 73 | 2021-01-05T07:25:51.000Z | 2022-03-17T20:46:01.000Z | PyMesh/python/pymesh/wires/__init__.py | VincentLefevre/3D-parallax | 8eab905fcc591e1bd7ddbbb01ad21427286c02e3 | [
"MIT"
] | 1 | 2021-01-05T11:45:36.000Z | 2021-01-05T20:55:28.000Z | PyMesh/python/pymesh/wires/__init__.py | VincentLefevre/3D-parallax | 8eab905fcc591e1bd7ddbbb01ad21427286c02e3 | [
"MIT"
] | 4 | 2021-01-05T10:27:50.000Z | 2021-01-06T12:02:57.000Z | from .WireNetwork import WireNetwork
from .Tiler import Tiler
from .Parameters import Parameters
from .Inflator import Inflator
from .wires_io import load_wires, form_wires, save_wires
from .merge_wires import merge_wires
| 32.571429 | 57 | 0.824561 | 32 | 228 | 5.6875 | 0.375 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 228 | 6 | 58 | 38 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3327bc94dce0d57990e948a1dc35376a6e3ef90b | 1,570 | py | Python | test/testChannelGet.py | epics-base/pvaPy | 0ae867e79ece063bba2045e84b2cf0888db4487f | [
"CNRI-Python"
] | 19 | 2015-02-09T08:58:19.000Z | 2022-02-24T10:47:28.000Z | test/testChannelGet.py | epics-base/pvaPy | 0ae867e79ece063bba2045e84b2cf0888db4487f | [
"CNRI-Python"
] | 63 | 2015-06-11T14:12:55.000Z | 2022-03-10T23:14:25.000Z | test/testChannelGet.py | epics-base/pvaPy | 0ae867e79ece063bba2045e84b2cf0888db4487f | [
"CNRI-Python"
] | 26 | 2015-03-31T23:20:27.000Z | 2021-08-24T08:26:32.000Z | #!/usr/bin/env python
import time
from pvaccess import Channel
from pvaccess import PvBoolean
from pvaccess import PvByte
from pvaccess import PvUByte
from pvaccess import PvShort
from pvaccess import PvUShort
from pvaccess import PvInt
from pvaccess import PvUInt
from pvaccess import PvLong
from pvaccess import PvULo... | 27.54386 | 82 | 0.66242 | 182 | 1,570 | 5.708791 | 0.32967 | 0.161694 | 0.242541 | 0.053898 | 0.196343 | 0.152069 | 0.107796 | 0 | 0 | 0 | 0 | 0.004988 | 0.233758 | 1,570 | 56 | 83 | 28.035714 | 0.858687 | 0.029299 | 0 | 0.146341 | 0 | 0 | 0.082454 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 1 | 0.097561 | false | 0 | 0.390244 | 0 | 0.512195 | 0.073171 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
3364f349e6694e7f052fd0b5dd5495d57ef1e1b1 | 266 | py | Python | th_taiga/urls.py | Leopere/django-th | 86c999d16bcf30b6224206e5b40824309834ac8c | [
"BSD-3-Clause"
] | 1,069 | 2015-01-07T01:55:57.000Z | 2022-02-17T10:50:57.000Z | th_taiga/urls.py | barrygolden/django-th | 86c999d16bcf30b6224206e5b40824309834ac8c | [
"BSD-3-Clause"
] | 207 | 2015-01-06T21:41:17.000Z | 2018-02-20T14:10:15.000Z | th_taiga/urls.py | barrygolden/django-th | 86c999d16bcf30b6224206e5b40824309834ac8c | [
"BSD-3-Clause"
] | 117 | 2015-01-04T16:21:13.000Z | 2022-02-22T06:18:49.000Z | from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns
from th_taiga.api import views
urlpatterns = [
url(r'(?P<trigger_id>\d+)/(?P<key>[a-zA-Z0-9-]+)$', views.taiga,)
]
urlpatterns = format_suffix_patterns(urlpatterns)
| 26.6 | 69 | 0.755639 | 40 | 266 | 4.85 | 0.65 | 0.123711 | 0.206186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008368 | 0.101504 | 266 | 9 | 70 | 29.555556 | 0.803347 | 0 | 0 | 0 | 0 | 0 | 0.161654 | 0.161654 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3365975d8980ba049109557659c84c527d0be4cf | 687 | py | Python | docs/old/recipes/response_registry.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 56 | 2015-05-13T16:08:06.000Z | 2021-12-26T22:24:46.000Z | docs/old/recipes/response_registry.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 104 | 2015-01-20T23:55:28.000Z | 2021-03-01T03:29:47.000Z | docs/old/recipes/response_registry.py | maximest-pierre/WebCore | 543bfb79c0737917d1bd2a148eb61761ab6f6319 | [
"MIT"
] | 12 | 2015-05-22T15:46:39.000Z | 2021-09-16T00:38:54.000Z | # encoding: utf-8
"""Adding additional return value handlers is easy."""
from web.core.response import register
class MyObject(object):
pass
def handler(context, result):
pass # do something to the context.response
class SampleExtension(object):
always = True # usually you don't want to be required ... | 25.444444 | 89 | 0.687045 | 88 | 687 | 5.272727 | 0.693182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001883 | 0.227074 | 687 | 26 | 90 | 26.423077 | 0.87194 | 0.448326 | 0 | 0.166667 | 0 | 0 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.166667 | 0.083333 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
683060bbe49ee16e01477a446ad238f38d4f4a23 | 9,290 | py | Python | wekeo-hda/.ipynb_checkpoints/hda_avg_site_static-checkpoint.py | mouadecl/wekeo-jupyter-lab-fork | 5ef09546672695289beb8bbd62de2279326d02d1 | [
"MIT"
] | null | null | null | wekeo-hda/.ipynb_checkpoints/hda_avg_site_static-checkpoint.py | mouadecl/wekeo-jupyter-lab-fork | 5ef09546672695289beb8bbd62de2279326d02d1 | [
"MIT"
] | null | null | null | wekeo-hda/.ipynb_checkpoints/hda_avg_site_static-checkpoint.py | mouadecl/wekeo-jupyter-lab-fork | 5ef09546672695289beb8bbd62de2279326d02d1 | [
"MIT"
] | null | null | null | import netCDF4
import numpy as np
flux_foss_str_annuel = 0
flux_apri_bio_str_annuel = 0
flux_apri_ocean_str_annuel = 0
flux_apos_bio_str_annuel = 0
flux_apos_ocean_str_annuel = 0
flux_foss_kla_annuel = 0
flux_apri_bio_kla_annuel = 0
flux_apri_ocean_kla_annuel = 0
flux_apos_bio_kla_annuel = 0
flux_apos_ocean_kla_annue... | 42.227273 | 116 | 0.670829 | 1,530 | 9,290 | 3.688889 | 0.05817 | 0.085046 | 0.058469 | 0.04961 | 0.849929 | 0.730687 | 0.705174 | 0.682495 | 0.56343 | 0.481573 | 0 | 0.033951 | 0.175673 | 9,290 | 219 | 117 | 42.420091 | 0.702533 | 0.009473 | 0 | 0.052288 | 0 | 0 | 0.276237 | 0.044154 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013072 | 0 | 0.013072 | 0.398693 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68320e97807352d14fee91659a7a014d24b1852e | 5,039 | py | Python | src/bin/Updater/UpdaterTransmissionNegotiation.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | src/bin/Updater/UpdaterTransmissionNegotiation.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | src/bin/Updater/UpdaterTransmissionNegotiation.py | rCorvidae/OrionPI | 1ef5d786d7ae55bf92a8da62d8da28af706f4713 | [
"MIT"
] | null | null | null | import json
import os
class NegotiationResultInterface:
def set_passed_negotiation(self, boolean):
raise NotImplemented()
def results(self, *args, **kwargs):
raise NotImplemented()
def __bool__(self):
raise NotImplemented()
class TransmissionNegotiationInterface:
"""
Tr... | 34.047297 | 87 | 0.657869 | 600 | 5,039 | 5.261667 | 0.268333 | 0.039911 | 0.053532 | 0.024073 | 0.166614 | 0.106113 | 0.016471 | 0 | 0 | 0 | 0 | 0.005329 | 0.255209 | 5,039 | 147 | 88 | 34.278912 | 0.835865 | 0.243104 | 0 | 0.288889 | 0 | 0 | 0.036957 | 0.006204 | 0 | 0 | 0 | 0 | 0.055556 | 1 | 0.222222 | false | 0.055556 | 0.022222 | 0.022222 | 0.511111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
683723bf92ef09a03ddf9f055ff784918e00d6f9 | 1,225 | py | Python | old_version/agt_frame/agentframework_5.1.py | Anonymous160609/Agent_based_Model_GEOG5990 | 53dca09bd85403fb8a6e3b7b5d51fdd203e68f69 | [
"FSFAP"
] | null | null | null | old_version/agt_frame/agentframework_5.1.py | Anonymous160609/Agent_based_Model_GEOG5990 | 53dca09bd85403fb8a6e3b7b5d51fdd203e68f69 | [
"FSFAP"
] | null | null | null | old_version/agt_frame/agentframework_5.1.py | Anonymous160609/Agent_based_Model_GEOG5990 | 53dca09bd85403fb8a6e3b7b5d51fdd203e68f69 | [
"FSFAP"
] | null | null | null | '''
#all object methods have to have a parameter label to assign to the object
#when it is sent in; usually called self.
'''
###
#agents.append(agentframework.Agent())
'''
agents.append([random.randint(0,99),random.randint(0,99)])
'''
###
#agents[i].move()
'''
if random.random() < 0.5:
agents[i][0] = (agents[i][... | 19.758065 | 75 | 0.51102 | 178 | 1,225 | 3.494382 | 0.241573 | 0.16881 | 0.090032 | 0.102894 | 0.488746 | 0.366559 | 0.244373 | 0.160772 | 0 | 0 | 0 | 0.076923 | 0.28898 | 1,225 | 61 | 76 | 20.081967 | 0.637199 | 0.441633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
683a3b8d3c897b0db694f44948e5a7ab12571565 | 99 | py | Python | Python/com/python/practise/API_demo.py | SmitDash-078/Python | 397a8ed027495cd6fd9c07f6c5108996de41ef37 | [
"MIT"
] | null | null | null | Python/com/python/practise/API_demo.py | SmitDash-078/Python | 397a8ed027495cd6fd9c07f6c5108996de41ef37 | [
"MIT"
] | null | null | null | Python/com/python/practise/API_demo.py | SmitDash-078/Python | 397a8ed027495cd6fd9c07f6c5108996de41ef37 | [
"MIT"
] | null | null | null | import requests
resp = requests.get("https://jsonplaceholder.typicode.com/posts")
print(resp.text) | 24.75 | 65 | 0.787879 | 13 | 99 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 99 | 4 | 66 | 24.75 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
684e01943bd25852e0db3382a9aa2a4164814de7 | 4,639 | py | Python | test.py | ruthogunnnaike/SeeSec---IoT-Vulnerablity-Scanner | d2186421607af0ef3351b7d95c2478c4ac307931 | [
"MIT"
] | 7 | 2017-09-09T06:16:16.000Z | 2020-12-23T09:00:23.000Z | test.py | eshcrow/SeeSec---IoT-Vulnerablity-Scanner | d2186421607af0ef3351b7d95c2478c4ac307931 | [
"MIT"
] | null | null | null | test.py | eshcrow/SeeSec---IoT-Vulnerablity-Scanner | d2186421607af0ef3351b7d95c2478c4ac307931 | [
"MIT"
] | 6 | 2018-05-12T10:07:42.000Z | 2021-12-06T15:24:17.000Z | import sys
def validate_user_input(vulnerability_name, resolution_name):
while True:
consent = raw_input('Do you want SeeSec to resolve vulnerability: {0}, by {1} on your device? Enter Y(Yes) '
'or N(No) \n'.format(vulnerability_name, resolution_name)).lower()
if conse... | 45.038835 | 117 | 0.47812 | 474 | 4,639 | 4.57173 | 0.202532 | 0.094139 | 0.073835 | 0.088602 | 0.748039 | 0.738809 | 0.713429 | 0.669128 | 0.643286 | 0.629442 | 0 | 0.010413 | 0.420349 | 4,639 | 103 | 118 | 45.038835 | 0.795463 | 0.052813 | 0 | 0.692308 | 0 | 0.025641 | 0.273329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051282 | false | 0.012821 | 0.012821 | 0 | 0.141026 | 0.230769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6888413fc7f8ade2fa53a69e5de64be4e7982128 | 161 | py | Python | app/grandchallenge/workstation_configs/templatetags/get_help_text.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 7 | 2016-11-05T07:16:30.000Z | 2017-11-23T03:38:03.000Z | app/grandchallenge/workstation_configs/templatetags/get_help_text.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 113 | 2015-05-26T09:27:59.000Z | 2018-03-21T10:45:56.000Z | app/grandchallenge/workstation_configs/templatetags/get_help_text.py | kaczmarj/grand-challenge.org | 8dc8a2170e51072354f7e94f2a22578805a67b94 | [
"Apache-2.0"
] | 7 | 2015-07-16T20:11:22.000Z | 2017-06-06T02:41:24.000Z | from django import template
register = template.Library()
@register.simple_tag
def get_help_text(obj, field):
return obj._meta.get_field(field).help_text
| 17.888889 | 47 | 0.782609 | 24 | 161 | 5 | 0.666667 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124224 | 161 | 8 | 48 | 20.125 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
688902225cec931652b00bd348816b522dd43296 | 728 | py | Python | woodcutter/migrations/0011_auto_20180302_2228.py | cevirici/dominion-woodcutter | 3eea6081a180499bf5e370877146f3ca2eb1c068 | [
"MIT"
] | null | null | null | woodcutter/migrations/0011_auto_20180302_2228.py | cevirici/dominion-woodcutter | 3eea6081a180499bf5e370877146f3ca2eb1c068 | [
"MIT"
] | 6 | 2020-02-11T21:48:03.000Z | 2021-06-10T17:24:56.000Z | woodcutter/migrations/0011_auto_20180302_2228.py | cevirici/dominion-woodcutter | 3eea6081a180499bf5e370877146f3ca2eb1c068 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 2.0 on 2018-03-02 14:28
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("woodcutter", "0010_auto_20180221_2351"),
]
operations = [
migrations.RemoveField(model_name="exceptiondata", name="root_card",... | 33.090909 | 81 | 0.684066 | 74 | 728 | 6.581081 | 0.527027 | 0.174538 | 0.213552 | 0.246407 | 0.427105 | 0.427105 | 0.427105 | 0 | 0 | 0 | 0 | 0.05141 | 0.171703 | 728 | 21 | 82 | 34.666667 | 0.756219 | 0.089286 | 0 | 0 | 1 | 0 | 0.237879 | 0.034848 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
688a01e48d972e82f7fa5a8a85d3275eae05be6b | 207 | py | Python | backend/app.py | kuldeep0020/willy | 51d808c3ae777e848f95fa4988c969609763e881 | [
"MIT"
] | null | null | null | backend/app.py | kuldeep0020/willy | 51d808c3ae777e848f95fa4988c969609763e881 | [
"MIT"
] | 2 | 2021-12-16T07:56:19.000Z | 2021-12-27T08:02:06.000Z | backend/app.py | kuldeep0020/willy | 51d808c3ae777e848f95fa4988c969609763e881 | [
"MIT"
] | 1 | 2022-02-09T05:58:32.000Z | 2022-02-09T05:58:32.000Z | # Run a test server.
from logging import debug
import os
from api import app
from api import socketio
PORT = os.getenv("PORT", 5000)
# TODO Use flask run
#app.run(host='0.0.0.0', port=PORT, debug=True)
| 14.785714 | 47 | 0.710145 | 38 | 207 | 3.868421 | 0.552632 | 0.040816 | 0.176871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 0.173913 | 207 | 13 | 48 | 15.923077 | 0.812866 | 0.400966 | 0 | 0 | 0 | 0 | 0.033898 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6895eda6a5b4f22a4b292465374f3043a7d35a44 | 365 | py | Python | src/models/ensemble_factory.py | NatalieHanzhina/nasnet_mc_concrete_droppath | ff2851b8de324feda87883a86a7d173bdd08ab9b | [
"MIT"
] | null | null | null | src/models/ensemble_factory.py | NatalieHanzhina/nasnet_mc_concrete_droppath | ff2851b8de324feda87883a86a7d173bdd08ab9b | [
"MIT"
] | null | null | null | src/models/ensemble_factory.py | NatalieHanzhina/nasnet_mc_concrete_droppath | ff2851b8de324feda87883a86a7d173bdd08ab9b | [
"MIT"
] | null | null | null | from models.ensemble import cross_valid_ensemble
def make_ensemble(ensemble_type, network_args, **kwargs):
if ensemble_type == 'cross_validation':
return cross_valid_ensemble(network_args, **kwargs)
elif ensemble_type == 'random_init':
return random_init_ensemble(network_args, **kwargs)
el... | 33.181818 | 59 | 0.731507 | 44 | 365 | 5.704545 | 0.454545 | 0.191235 | 0.203187 | 0.199203 | 0.326693 | 0.326693 | 0.326693 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 365 | 10 | 60 | 36.5 | 0.836667 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
689730f89e80c0fab1ceebff745dee3341352463 | 881 | py | Python | tests/test_internal_type_uuid.py | ddunmire/python-bleson | bf6f4230b0e8b3377c54ee3b52213098cc52c2a8 | [
"MIT"
] | 103 | 2017-09-29T09:13:40.000Z | 2022-02-25T08:03:32.000Z | tests/test_internal_type_uuid.py | ddunmire/python-bleson | bf6f4230b0e8b3377c54ee3b52213098cc52c2a8 | [
"MIT"
] | 57 | 2017-11-06T04:48:16.000Z | 2021-05-24T11:02:22.000Z | tests/test_internal_type_uuid.py | ddunmire/python-bleson | bf6f4230b0e8b3377c54ee3b52213098cc52c2a8 | [
"MIT"
] | 30 | 2017-11-24T21:15:49.000Z | 2022-02-20T10:38:09.000Z | import unittest
from bleson.core.types import UUID16, UUID128
class TestUUID(unittest.TestCase):
def test_uuid16_init(self):
u1 = UUID16(bytearray([0x0d, 0x1a]))
u2 = UUID16(0x1a0d)
self.assertEqual(0x1a0d, u1.uuid)
self.assertEqual(0x1a0d, u2.uuid)
self.assertEqual(u1, ... | 33.884615 | 118 | 0.657208 | 110 | 881 | 5.227273 | 0.409091 | 0.156522 | 0.132174 | 0.166957 | 0.306087 | 0.250435 | 0.163478 | 0 | 0 | 0 | 0 | 0.265896 | 0.214529 | 881 | 25 | 119 | 35.24 | 0.565029 | 0 | 0 | 0.105263 | 0 | 0 | 0.163451 | 0.163451 | 0 | 0 | 0.108967 | 0 | 0.421053 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68a46347b16521e4e9e621b8d72b077979fa1aba | 231 | py | Python | commonuicomponents/ports/__init__.py | RobinBobin/python3-common-ui-components | 281936a3bf6f1a366eeaaf8f177c0fae9ef24389 | [
"MIT"
] | 2 | 2020-08-04T16:30:13.000Z | 2020-10-28T14:23:33.000Z | commonuicomponents/ports/__init__.py | RobinBobin/python3-common-ui-components | 281936a3bf6f1a366eeaaf8f177c0fae9ef24389 | [
"MIT"
] | null | null | null | commonuicomponents/ports/__init__.py | RobinBobin/python3-common-ui-components | 281936a3bf6f1a366eeaaf8f177c0fae9ef24389 | [
"MIT"
] | null | null | null | from commonutils import Global
def writeComboboxValue(widget, cmd, *_):
value = widget.getValueIndex() if widget.itemsAreStrings else widget.getCurrentItem().value
Global.port.packet(cmd = cmd, params = [value]).write()
| 33 | 94 | 0.744589 | 26 | 231 | 6.576923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138528 | 231 | 6 | 95 | 38.5 | 0.859296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
68a6429f23bb86227e20a769d3f24bd591ad5e4b | 4,851 | py | Python | mlpractice/tests/linear_classifier/test_softmax_with_cross_entropy.py | avalur/mlpractice | bc722cff2422d571b9705605609317082e3e5b3c | [
"MIT"
] | null | null | null | mlpractice/tests/linear_classifier/test_softmax_with_cross_entropy.py | avalur/mlpractice | bc722cff2422d571b9705605609317082e3e5b3c | [
"MIT"
] | null | null | null | mlpractice/tests/linear_classifier/test_softmax_with_cross_entropy.py | avalur/mlpractice | bc722cff2422d571b9705605609317082e3e5b3c | [
"MIT"
] | null | null | null | from mlpractice.stats.stats_utils import print_stats, _update_stats
from mlpractice.utils import ExceptionInterception
try:
from mlpractice_solutions.mlpractice_solutions.\
linear_classifier_solution import softmax_with_cross_entropy
except ImportError:
softmax_with_cross_entropy = None
import torch
i... | 36.473684 | 78 | 0.638631 | 531 | 4,851 | 5.525424 | 0.167608 | 0.097478 | 0.141786 | 0.203817 | 0.718132 | 0.714724 | 0.645535 | 0.645535 | 0.614179 | 0.614179 | 0 | 0.020875 | 0.279118 | 4,851 | 132 | 79 | 36.75 | 0.81813 | 0 | 0 | 0.419048 | 0 | 0 | 0.094001 | 0.026799 | 0 | 0 | 0 | 0 | 0.114286 | 1 | 0.047619 | false | 0.009524 | 0.057143 | 0 | 0.104762 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d79bbebce6964b4c52609fa0e6cde9bb5dfb6433 | 543 | py | Python | espnet2/text/vietcleaners.py | anh/espnet | ecac4a66500cbafdf5add21e8f6d252ea9e02bf9 | [
"Apache-2.0"
] | null | null | null | espnet2/text/vietcleaners.py | anh/espnet | ecac4a66500cbafdf5add21e8f6d252ea9e02bf9 | [
"Apache-2.0"
] | null | null | null | espnet2/text/vietcleaners.py | anh/espnet | ecac4a66500cbafdf5add21e8f6d252ea9e02bf9 | [
"Apache-2.0"
] | null | null | null | import re
# Regular expression matching whitespace:
_whitespace_re = re.compile(r'\s+')
def collapse_whitespace(text):
return re.sub(_whitespace_re, ' ', text)
def replace_uws(text):
return text.replace(u'\xa0', u" ")
def lowercase(text):
return text.lower()
def basic_cleaners(text):
'''Basic ... | 20.111111 | 46 | 0.637201 | 66 | 543 | 5.106061 | 0.348485 | 0.163205 | 0.124629 | 0.169139 | 0.145401 | 0.145401 | 0.145401 | 0 | 0 | 0 | 0 | 0.002315 | 0.20442 | 543 | 26 | 47 | 20.884615 | 0.777778 | 0.101289 | 0 | 0 | 0 | 0 | 0.03112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.1875 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
d7a7ef306f4790e9588c2aad3b90fb81795db312 | 83 | py | Python | mgmt/apps.py | clusterinthecloud/webui | 995b00d50ac736437a3611a33c87c62700b21c9c | [
"MIT"
] | null | null | null | mgmt/apps.py | clusterinthecloud/webui | 995b00d50ac736437a3611a33c87c62700b21c9c | [
"MIT"
] | 2 | 2020-07-15T09:39:20.000Z | 2020-07-17T12:36:57.000Z | mgmt/apps.py | clusterinthecloud/webui | 995b00d50ac736437a3611a33c87c62700b21c9c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class CitcConfig(AppConfig):
name = 'citc'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d7b9209861fabedec6e87abfb8010deae32b97c5 | 317 | py | Python | tests/test_report.py | eagafonov/timely3 | efe5cbab2d73a45573ee6f2b6eb315f09c59d208 | [
"MIT"
] | null | null | null | tests/test_report.py | eagafonov/timely3 | efe5cbab2d73a45573ee6f2b6eb315f09c59d208 | [
"MIT"
] | null | null | null | tests/test_report.py | eagafonov/timely3 | efe5cbab2d73a45573ee6f2b6eb315f09c59d208 | [
"MIT"
] | null | null | null | import timely3
class TestReport:
def test_module_report(self):
"""
Just test we can call a module-level report()
"""
timely3.report()
def test_class_report(self):
"""
Just test we can call a module-level report()
"""
timely3.timely3.report()
| 19.8125 | 53 | 0.567823 | 37 | 317 | 4.756757 | 0.405405 | 0.079545 | 0.159091 | 0.204545 | 0.590909 | 0.590909 | 0.590909 | 0.590909 | 0.590909 | 0.590909 | 0 | 0.018868 | 0.33123 | 317 | 15 | 54 | 21.133333 | 0.811321 | 0.287066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d7cea730202659d0b25816f16b9d65ee7d0e439c | 367 | py | Python | cnn_rnn/cnn_forward_trainset.py | HustCoderHu/tensoflow_intro_practice | 77535e836fe5dab523d6847d5d6198052ce8ea0e | [
"Apache-2.0"
] | null | null | null | cnn_rnn/cnn_forward_trainset.py | HustCoderHu/tensoflow_intro_practice | 77535e836fe5dab523d6847d5d6198052ce8ea0e | [
"Apache-2.0"
] | null | null | null | cnn_rnn/cnn_forward_trainset.py | HustCoderHu/tensoflow_intro_practice | 77535e836fe5dab523d6847d5d6198052ce8ea0e | [
"Apache-2.0"
] | null | null | null | import time
import os
import os.path as path
from os.path import join as pj
import json
from pprint import pprint
from pprint import pformat
from multiprocessing import Process, Queue
from concurrent.futures import ProcessPoolExecutor
import tensorflow as tf
import var_config as cf
import dataPreProcess as preProcess... | 22.9375 | 50 | 0.847411 | 55 | 367 | 5.636364 | 0.472727 | 0.051613 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141689 | 367 | 16 | 51 | 22.9375 | 0.984127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d7d134d6b1454bc70cf65a79c3c3d0f9ab863ffb | 291 | py | Python | TimelineEntry.py | mikechase3/MyPerfectSelf | f46458c7f73251b9a25cfdf737bbca49ecec366e | [
"MIT"
] | null | null | null | TimelineEntry.py | mikechase3/MyPerfectSelf | f46458c7f73251b9a25cfdf737bbca49ecec366e | [
"MIT"
] | null | null | null | TimelineEntry.py | mikechase3/MyPerfectSelf | f46458c7f73251b9a25cfdf737bbca49ecec366e | [
"MIT"
] | null | null | null | # This program asks you a series of questions and returns a markdown file.
from datetime import date
class MikeChasesDay:
def __init__(self):
self.date = date.today()
print("Today's date is: " + str(date.today()))
def printDate(self):
print("Today's date is: " + str(date.today())) | 29.1 | 74 | 0.704467 | 45 | 291 | 4.466667 | 0.6 | 0.134328 | 0.109453 | 0.149254 | 0.288557 | 0.288557 | 0.288557 | 0.288557 | 0 | 0 | 0 | 0 | 0.164948 | 291 | 10 | 75 | 29.1 | 0.82716 | 0.247423 | 0 | 0.285714 | 0 | 0 | 0.155963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0.428571 | 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 | 1 | 0 | 3 |
d7fb2c735ded5f729ed525e4d7d0431689ef737d | 309 | py | Python | livelossplot/keras.py | xysong1201/livelossplot | d77c116959de02f2c87f5dd67f1a4c5e13230f99 | [
"MIT"
] | 1 | 2020-12-05T10:44:14.000Z | 2020-12-05T10:44:14.000Z | livelossplot/keras.py | zengdonghuo/livelossplot | 19541b4fca52e4597c5352ef08671bb6d8085abd | [
"MIT"
] | null | null | null | livelossplot/keras.py | zengdonghuo/livelossplot | 19541b4fca52e4597c5352ef08671bb6d8085abd | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import keras
from .generic_keras import _PlotLossesCallback
class PlotLossesCallback(_PlotLossesCallback, keras.callbacks.Callback):
def __init__(self, **kwargs):
keras.callbacks.Callback.__init__(self)
_PlotLossesCallback.__init__(self, **kwargs)
| 30.9 | 72 | 0.789644 | 31 | 309 | 7.193548 | 0.451613 | 0.107623 | 0.197309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132686 | 309 | 9 | 73 | 34.333333 | 0.83209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
cc1850c51fc840b8770faf605681a8df0b941338 | 98 | py | Python | scripts/data_mode.py | thusithathilina/multiple-scheduling-2.0 | f3897e4ac05f22505220ba0856f356691bc96843 | [
"MIT"
] | null | null | null | scripts/data_mode.py | thusithathilina/multiple-scheduling-2.0 | f3897e4ac05f22505220ba0856f356691bc96843 | [
"MIT"
] | null | null | null | scripts/data_mode.py | thusithathilina/multiple-scheduling-2.0 | f3897e4ac05f22505220ba0856f356691bc96843 | [
"MIT"
] | null | null | null | from enum import Enum
class DataMode(Enum):
CREATE = 1
EXISTING = 2
CSV_CONVERT = 3
| 12.25 | 21 | 0.642857 | 14 | 98 | 4.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.295918 | 98 | 7 | 22 | 14 | 0.855072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
cc215b51eddfd29eabcc1f3eeda6f35631afcbc1 | 153 | py | Python | examples/pup/remote/timeout_none.py | TheVinhLuong102/pybricks-api | 1259d5d33acb41b383445a4b1776b38084efb481 | [
"MIT"
] | 51 | 2020-04-02T10:03:45.000Z | 2022-03-27T23:49:39.000Z | examples/pup/remote/timeout_none.py | LEGO-Robotics/Pybricks-API | 1259d5d33acb41b383445a4b1776b38084efb481 | [
"MIT"
] | 77 | 2020-03-22T17:32:14.000Z | 2022-03-28T18:02:43.000Z | examples/pup/remote/timeout_none.py | LEGO-Robotics/Pybricks-API | 1259d5d33acb41b383445a4b1776b38084efb481 | [
"MIT"
] | 25 | 2020-03-18T23:35:17.000Z | 2022-01-01T12:52:01.000Z | from pybricks.pupdevices import Remote
# Connect to any remote. Search forever until we find one.
my_remote = Remote(timeout=None)
print("Connected!")
| 21.857143 | 58 | 0.777778 | 22 | 153 | 5.363636 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 153 | 6 | 59 | 25.5 | 0.893939 | 0.366013 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 3 |
cc2d7a0279286c6cd39bb43151fcfe2dd423430b | 229 | py | Python | source-code-from-author-book/Listings-for-Second-Edition/listing_2_9.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | source-code-from-author-book/Listings-for-Second-Edition/listing_2_9.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | source-code-from-author-book/Listings-for-Second-Edition/listing_2_9.py | robrac/algorithms-exercises-with-python | 5780171517eacc1c7133fdc32cf079623cd14cf9 | [
"MIT"
] | null | null | null | def test1():
l = []
for i in range(1000):
l = l + [i]
def test2():
l = []
for i in range(1000):
l.append(i)
def test3():
l = [i for i in range(1000)]
def test4():
l = list(range(1000))
| 13.470588 | 32 | 0.462882 | 37 | 229 | 2.864865 | 0.351351 | 0.339623 | 0.169811 | 0.311321 | 0.462264 | 0.320755 | 0.320755 | 0 | 0 | 0 | 0 | 0.136054 | 0.358079 | 229 | 16 | 33 | 14.3125 | 0.585034 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0bd390ec59b516f5b82c3cde99d0023ae7fb3c35 | 143 | py | Python | python/test-data/testTypesCollections3.py | Panteon32Om/write-your-python-program | 615b73113466c1c8f901fad0a076b480f62ad437 | [
"BSD-3-Clause"
] | 1 | 2021-09-30T10:17:57.000Z | 2021-09-30T10:17:57.000Z | python/test-data/testTypesCollections3.py | Panteon32Om/write-your-python-program | 615b73113466c1c8f901fad0a076b480f62ad437 | [
"BSD-3-Clause"
] | 47 | 2020-11-16T14:02:52.000Z | 2022-03-18T12:44:38.000Z | python/test-data/testTypesCollections3.py | Panteon32Om/write-your-python-program | 615b73113466c1c8f901fad0a076b480f62ad437 | [
"BSD-3-Clause"
] | 4 | 2020-10-28T13:54:44.000Z | 2022-01-20T17:36:24.000Z | from wypp import *
def appendSomething(l: list[int], l2: list[int]) -> None:
l.append("foo")
l = [1,2,3]
appendSomething(l, [])
print(l)
| 15.888889 | 57 | 0.622378 | 23 | 143 | 3.869565 | 0.695652 | 0.359551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0.167832 | 143 | 8 | 58 | 17.875 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0bd5329cd9d01a2a2dd8fe508eeb4aebdc2bd800 | 3,617 | py | Python | pymdb/models/company.py | zembrodt/pymdb | 1708438630bff18ab961241657e99ad7511652e3 | [
"MIT"
] | 3 | 2019-12-31T21:04:04.000Z | 2021-05-30T08:08:10.000Z | pymdb/models/company.py | zembrodt/pymdb | 1708438630bff18ab961241657e99ad7511652e3 | [
"MIT"
] | 14 | 2019-11-18T21:52:24.000Z | 2021-05-30T17:03:09.000Z | pymdb/models/company.py | zembrodt/pymdb | 1708438630bff18ab961241657e99ad7511652e3 | [
"MIT"
] | null | null | null | """The classes used to represent various information about companies on IMDb.
All information for the classes here will be scraped from IMDb web pages.
"""
from ..utils import is_int
class CompanyScrape:
"""Stores a title a company is credited for on IMDb.
This information is taken from IMDb's search by co... | 30.91453 | 119 | 0.648051 | 516 | 3,617 | 4.302326 | 0.180233 | 0.068919 | 0.063063 | 0.01982 | 0.59009 | 0.474775 | 0.414414 | 0.414414 | 0.351802 | 0.327928 | 0 | 0 | 0.256566 | 3,617 | 116 | 120 | 31.181034 | 0.825586 | 0.38872 | 0 | 0.516129 | 0 | 0.032258 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.016129 | 0.193548 | 0.532258 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0bd8162b44b591f9c89b49609266734334795b30 | 148 | py | Python | Modules/health_nyt.py | nathayoung/DataDashboard_Windows | e422db057fba86cab7c0f45b80cb98e173931ac4 | [
"MIT"
] | null | null | null | Modules/health_nyt.py | nathayoung/DataDashboard_Windows | e422db057fba86cab7c0f45b80cb98e173931ac4 | [
"MIT"
] | 7 | 2020-01-30T05:00:40.000Z | 2021-09-14T22:38:25.000Z | Modules/health_nyt.py | nathayoung/DataDashboard_Windows | e422db057fba86cab7c0f45b80cb98e173931ac4 | [
"MIT"
] | null | null | null | from nytimes import covid
dictionary = {"COVID": "Health/Data/covid-19-data/us-counties.csv"}
covid(file_dict=dictionary, file_location="Health")
| 24.666667 | 67 | 0.77027 | 21 | 148 | 5.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.081081 | 148 | 5 | 68 | 29.6 | 0.808824 | 0 | 0 | 0 | 0 | 0 | 0.351351 | 0.277027 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0bd8b017b4068bb02672d4ef1871ba41d1b0a58f | 152 | py | Python | ourspa/ourspa/urls.py | tag1consulting/building-an-api-with-django | 97410fcf003f1932df158308748a5495d9ff00ec | [
"BSD-2-Clause"
] | 21 | 2018-01-15T20:13:51.000Z | 2020-08-03T01:34:57.000Z | ourspa/ourspa/urls.py | cnov20/building-an-api-with-django | 97410fcf003f1932df158308748a5495d9ff00ec | [
"BSD-2-Clause"
] | 1 | 2018-03-01T19:30:38.000Z | 2018-03-02T07:17:40.000Z | ourspa/ourspa/urls.py | cnov20/building-an-api-with-django | 97410fcf003f1932df158308748a5495d9ff00ec | [
"BSD-2-Clause"
] | 9 | 2018-01-19T11:24:57.000Z | 2021-10-04T23:30:00.000Z | from django.urls import include, re_path
urlpatterns = [
re_path(r'^api/', include('spauser.urls')),
re_path(r'^api/', include('otp.urls')),
]
| 21.714286 | 47 | 0.651316 | 22 | 152 | 4.363636 | 0.545455 | 0.1875 | 0.145833 | 0.208333 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144737 | 152 | 6 | 48 | 25.333333 | 0.738462 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0bdf503db5f765eb9bba5c8fda11709a6ec43954 | 199 | py | Python | bin/gen_password_hash.py | hirolovesbeer/hayabusa2 | 8cf17d7a629af743d983e4506d519d853b2edffc | [
"MIT"
] | 9 | 2018-11-02T05:07:23.000Z | 2020-01-21T08:23:56.000Z | bin/gen_password_hash.py | hirolovesbeer/hayabusa2 | 8cf17d7a629af743d983e4506d519d853b2edffc | [
"MIT"
] | null | null | null | bin/gen_password_hash.py | hirolovesbeer/hayabusa2 | 8cf17d7a629af743d983e4506d519d853b2edffc | [
"MIT"
] | 1 | 2019-02-04T01:42:03.000Z | 2019-02-04T01:42:03.000Z | #!/usr/bin/env python
import sys
import bcrypt
password = sys.argv[1]
salt = bcrypt.gensalt(rounds=10, prefix=b'2a')
hash = bcrypt.hashpw(password.encode('utf-8'), salt)
print(hash.decode('utf-8'))
| 22.111111 | 52 | 0.718593 | 33 | 199 | 4.333333 | 0.727273 | 0.055944 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.095477 | 199 | 8 | 53 | 24.875 | 0.761111 | 0.100503 | 0 | 0 | 0 | 0 | 0.067416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
04039ccb019cba3d9076c5e68bd8c951cd640477 | 602 | py | Python | vut/lib/python3.8/site-packages/pipenv/patched/piptools/_compat/contextlib.py | dan-mutua/djangowk1 | 1e5dcb6443ef21451e21845ec639198719e11b10 | [
"MIT"
] | 18,636 | 2017-12-06T14:53:18.000Z | 2022-03-31T13:12:34.000Z | vut/lib/python3.8/site-packages/pipenv/patched/piptools/_compat/contextlib.py | dan-mutua/djangowk1 | 1e5dcb6443ef21451e21845ec639198719e11b10 | [
"MIT"
] | 3,640 | 2017-12-06T16:58:35.000Z | 2022-03-31T22:20:57.000Z | vut/lib/python3.8/site-packages/pipenv/patched/piptools/_compat/contextlib.py | dan-mutua/djangowk1 | 1e5dcb6443ef21451e21845ec639198719e11b10 | [
"MIT"
] | 1,987 | 2017-12-06T15:04:51.000Z | 2022-03-26T10:05:15.000Z | # Ported from python 3.7 contextlib.py
class nullcontext(object):
"""Context manager that does no additional processing.
Used as a stand-in for a normal context manager, when a particular
block of code is only sometimes used with a normal context manager:
cm = optional_cm if condition else nullcontext()... | 31.684211 | 71 | 0.699336 | 83 | 602 | 4.855422 | 0.626506 | 0.109181 | 0.111663 | 0.104218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004357 | 0.237542 | 602 | 18 | 72 | 33.444444 | 0.873638 | 0.574751 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0.142857 | 0 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
04088133a7475076ff50bcb54fccb2fe0f8ae01f | 53 | py | Python | getting_user_input.py | jaiminjerry/Python | eb7013c7560b09d37849d653516257d939e143aa | [
"bzip2-1.0.6"
] | null | null | null | getting_user_input.py | jaiminjerry/Python | eb7013c7560b09d37849d653516257d939e143aa | [
"bzip2-1.0.6"
] | null | null | null | getting_user_input.py | jaiminjerry/Python | eb7013c7560b09d37849d653516257d939e143aa | [
"bzip2-1.0.6"
] | 1 | 2021-08-17T03:46:56.000Z | 2021-08-17T03:46:56.000Z | x = input('What is your name? ')
print('Hello', x)
| 17.666667 | 33 | 0.584906 | 9 | 53 | 3.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207547 | 53 | 2 | 34 | 26.5 | 0.738095 | 0 | 0 | 0 | 0 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
04088d4e3ba3692e150f553202a51b7f5deb98b1 | 313 | py | Python | exercicios/ex022.py | gabriel-alves-da-silva/python | 77aaa4463ba45044208966bca56196d077d3011f | [
"MIT"
] | null | null | null | exercicios/ex022.py | gabriel-alves-da-silva/python | 77aaa4463ba45044208966bca56196d077d3011f | [
"MIT"
] | null | null | null | exercicios/ex022.py | gabriel-alves-da-silva/python | 77aaa4463ba45044208966bca56196d077d3011f | [
"MIT"
] | null | null | null | nome = str(input('Digite o seu nome completo:')).strip()
print ('Analisando seu nome seu nome é {}'.format(nome.upper()))
print ('Seu nome em minuscula é {}'.format(nome.lower()))
print ('Seu nome tem {} letras'.format(len(nome) - nome.count(' ')))
print ('Seu primeiro nome tem {} letras'.format(nome.find(' '))) | 62.6 | 68 | 0.667732 | 47 | 313 | 4.446809 | 0.468085 | 0.167464 | 0.105263 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121406 | 313 | 5 | 69 | 62.6 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.449045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.