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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9d08f09796f0ebab0d3e9eaa58ab68dad4a5334 | 218 | py | Python | home/urls.py | gitkp11/myportfolio | 0e208413d7a2497e3c11b9dbe6be50314f5269b6 | [
"MIT"
] | null | null | null | home/urls.py | gitkp11/myportfolio | 0e208413d7a2497e3c11b9dbe6be50314f5269b6 | [
"MIT"
] | null | null | null | home/urls.py | gitkp11/myportfolio | 0e208413d7a2497e3c11b9dbe6be50314f5269b6 | [
"MIT"
] | null | null | null | from django.urls import path
from .views import HomePageView, SingleBlogView
urlpatterns = [
path('', HomePageView.as_view(), name='home'),
path('blogsingle/', SingleBlogView.as_view(), name='blogsingle'),
]
| 24.222222 | 69 | 0.715596 | 24 | 218 | 6.416667 | 0.583333 | 0.077922 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133028 | 218 | 8 | 70 | 27.25 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.114679 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d9e3787be6fb41bfb50d9aef076291f7b58ee091 | 202 | py | Python | airtable.py | jtviolet/airtable-auto-asignee | defb900911d694e1eb4e7d046a84d1d37f0f6a62 | [
"MIT"
] | 2 | 2019-04-27T17:09:59.000Z | 2019-04-27T18:23:30.000Z | airtable.py | jtviolet/airtable-auto-asignee | defb900911d694e1eb4e7d046a84d1d37f0f6a62 | [
"MIT"
] | null | null | null | airtable.py | jtviolet/airtable-auto-asignee | defb900911d694e1eb4e7d046a84d1d37f0f6a62 | [
"MIT"
] | null | null | null | class AirTable:
# AirTable configuration variables
API_KEY = ''
BASE = ''
PROJECT_TABLE_NAME = ''
PROJECT_PHASE_OWNERS_TABLE = ''
PROJECT_PHASE_FIELD = ''
ASSIGNEE_FIELD = '' | 25.25 | 38 | 0.648515 | 20 | 202 | 6.1 | 0.7 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252475 | 202 | 8 | 39 | 25.25 | 0.807947 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8a00daf261c3ebe2300b2bb5d4a023e692f15ea3 | 2,223 | py | Python | our_scripts/run_scripts/run_ideal_some.py | shrivats-pu/Prescient | 3d4238e98ddd767e2b81adc4091bb723dbf563d3 | [
"BSD-3-Clause"
] | 1 | 2021-10-14T20:39:50.000Z | 2021-10-14T20:39:50.000Z | our_scripts/run_scripts/run_ideal_some.py | shrivats-pu/Prescient | 3d4238e98ddd767e2b81adc4091bb723dbf563d3 | [
"BSD-3-Clause"
] | null | null | null | our_scripts/run_scripts/run_ideal_some.py | shrivats-pu/Prescient | 3d4238e98ddd767e2b81adc4091bb723dbf563d3 | [
"BSD-3-Clause"
] | null | null | null | # run_ideal_all.py: run scenarios for zone 1 solar assets where everything is stochastic except each asset.
# requirements: proper install of Prescient and download of rts-gmlc data. saves outputs in non-collated form in downloads folder.
# intended system: Tiger
# dependencies: run_helpers.py
# author: Ethan Reese
# e... | 43.588235 | 132 | 0.745839 | 313 | 2,223 | 4.881789 | 0.338658 | 0.146597 | 0.198953 | 0.284686 | 0.456806 | 0.42801 | 0.403141 | 0.399869 | 0.060209 | 0 | 0 | 0.04215 | 0.146199 | 2,223 | 50 | 133 | 44.46 | 0.762908 | 0.181736 | 0 | 0.096774 | 0 | 0 | 0.531527 | 0.508296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032258 | false | 0 | 0.16129 | 0 | 0.193548 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a030e591a118e260d13e034ce7d2adb2fe77959 | 4,856 | py | Python | sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py | JianpingChen/azure-sdk-for-python | 3072fc8c0366287fbaea1b02493a50259c3248a2 | [
"MIT"
] | 3 | 2020-06-23T02:25:27.000Z | 2021-09-07T18:48:11.000Z | sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py | JianpingChen/azure-sdk-for-python | 3072fc8c0366287fbaea1b02493a50259c3248a2 | [
"MIT"
] | 510 | 2019-07-17T16:11:19.000Z | 2021-08-02T08:38:32.000Z | sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/__init__.py | JianpingChen/azure-sdk-for-python | 3072fc8c0366287fbaea1b02493a50259c3248a2 | [
"MIT"
] | 15 | 2017-10-02T18:48:20.000Z | 2022-03-03T14:03:49.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | 38.539683 | 94 | 0.726112 | 428 | 4,856 | 8.016355 | 0.219626 | 0.169047 | 0.109881 | 0.160595 | 0.324104 | 0.111921 | 0.111921 | 0.111921 | 0.111921 | 0.111921 | 0 | 0.007591 | 0.186161 | 4,856 | 125 | 95 | 38.848 | 0.860577 | 0.170717 | 0 | 0 | 0 | 0 | 0.167669 | 0.06391 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.521739 | 0 | 0.521739 | 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 |
8a0a666f33d95c1caea03d08066a6a106c4794af | 247 | py | Python | setup.py | namiwa/scrapyd-authenticated | 0b21334bf3e2f5b17af163741054b8d129f05853 | [
"MIT"
] | 1 | 2022-01-06T17:01:29.000Z | 2022-01-06T17:01:29.000Z | setup.py | namiwa/scrapyd-authenticated | 0b21334bf3e2f5b17af163741054b8d129f05853 | [
"MIT"
] | null | null | null | setup.py | namiwa/scrapyd-authenticated | 0b21334bf3e2f5b17af163741054b8d129f05853 | [
"MIT"
] | 2 | 2021-10-01T14:37:19.000Z | 2022-01-06T17:05:59.000Z | from setuptools import find_packages, setup
# running the egg https://stackoverflow.com/a/37800297
setup(
name="default",
version="1.0",
packages=find_packages(),
entry_points={"scrapy": ["settings = default.settings"]},
)
| 27.444444 | 62 | 0.680162 | 29 | 247 | 5.689655 | 0.793103 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04902 | 0.174089 | 247 | 8 | 63 | 30.875 | 0.759804 | 0.210526 | 0 | 0 | 0 | 0 | 0.232432 | 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 |
8a0dd5aff2ba52d3b365409a547cab4e8641aa59 | 596 | py | Python | metarecord/migrations/0022_remove_name.py | kerkkoheiskanen/helerm | bdaf801a940d42325a1076b42bb0edef831fbac9 | [
"MIT"
] | 2 | 2017-04-21T15:36:23.000Z | 2020-12-04T09:32:39.000Z | metarecord/migrations/0022_remove_name.py | kerkkoheiskanen/helerm | bdaf801a940d42325a1076b42bb0edef831fbac9 | [
"MIT"
] | 168 | 2016-10-05T12:58:41.000Z | 2021-08-31T14:29:56.000Z | metarecord/migrations/0022_remove_name.py | kerkkoheiskanen/helerm | bdaf801a940d42325a1076b42bb0edef831fbac9 | [
"MIT"
] | 7 | 2016-10-13T12:51:36.000Z | 2021-01-21T13:05:04.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2017-04-11 19:20
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('metarecord', '0021_add_validation_dates'),
]
operations = [
migrations.RemoveField(
... | 21.285714 | 52 | 0.557047 | 57 | 596 | 5.631579 | 0.649123 | 0.196262 | 0.242991 | 0.280374 | 0.23676 | 0.23676 | 0 | 0 | 0 | 0 | 0 | 0.049751 | 0.325503 | 596 | 27 | 53 | 22.074074 | 0.748756 | 0.112416 | 0 | 0.45 | 1 | 0 | 0.121673 | 0.047529 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.25 | 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 |
8a16d7ac97397da918c0a05a80759b5a5e68daf4 | 713 | py | Python | ElevatorBot/static/destinyDates.py | LukasSchmid97/destinyBloodoakStats | 1420802ce01c3435ad5c283f44eb4531d9b22c38 | [
"MIT"
] | 3 | 2019-10-19T11:24:50.000Z | 2021-01-29T12:02:17.000Z | ElevatorBot/static/destinyDates.py | LukasSchmid97/destinyBloodoakStats | 1420802ce01c3435ad5c283f44eb4531d9b22c38 | [
"MIT"
] | 29 | 2019-10-14T12:26:10.000Z | 2021-07-28T20:50:29.000Z | ElevatorBot/static/destinyDates.py | LukasSchmid97/destinyBloodoakStats | 1420802ce01c3435ad5c283f44eb4531d9b22c38 | [
"MIT"
] | 2 | 2019-10-13T17:11:09.000Z | 2020-05-13T15:29:04.000Z | expansion_dates = [
["2017-09-06", "D2 Vanilla"],
["2018-09-04", "Forsaken"],
["2019-10-01", "Shadowkeep"],
["2020-11-10", "Beyond Light"],
["2022-22-02", "Witch Queen"],
]
season_dates = [
["2017-12-05", "Curse of Osiris"],
["2018-05-08", "Warmind"],
["2018-12-04", "Season of the Forge... | 31 | 44 | 0.553997 | 103 | 713 | 3.815534 | 0.466019 | 0.183206 | 0.167939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243433 | 0.199158 | 713 | 22 | 45 | 32.409091 | 0.444834 | 0 | 0 | 0 | 0 | 0 | 0.607293 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a1d2704d30c9a69c4eb6f80013acd3872091f35 | 585 | py | Python | python/fusion_engine_client/utils/trace.py | jimenezjose/fusion-engine-client | 2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea | [
"MIT"
] | 8 | 2020-08-29T22:03:37.000Z | 2022-01-31T00:54:56.000Z | python/fusion_engine_client/utils/trace.py | jimenezjose/fusion-engine-client | 2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea | [
"MIT"
] | 8 | 2020-09-06T05:32:18.000Z | 2022-01-16T20:34:21.000Z | python/fusion_engine_client/utils/trace.py | jimenezjose/fusion-engine-client | 2de4dbccfb6b9a0746b7f3ef5a170f1332f93bea | [
"MIT"
] | 8 | 2020-09-18T19:05:58.000Z | 2021-12-29T20:55:36.000Z | import logging
import sys
__all__ = []
# Define Logger TRACE level and associated trace() function if it doesn't exist.
if not hasattr(logging, 'TRACE'):
logging.TRACE = logging.DEBUG - 1
if sys.version_info.major == 2:
logging._levelNames['TRACE'] = logging.TRACE
logging._levelNames[logging.T... | 30.789474 | 80 | 0.666667 | 72 | 585 | 5.291667 | 0.472222 | 0.220472 | 0.199475 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00431 | 0.206838 | 585 | 18 | 81 | 32.5 | 0.81681 | 0.133333 | 0 | 0 | 0 | 0 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.214286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a29a3e451b2197f601cf5d34997f56afea4fe65 | 969 | py | Python | scan_models/proconos/scan.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 1 | 2020-05-22T09:52:33.000Z | 2020-05-22T09:52:33.000Z | scan_models/proconos/scan.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | 8 | 2021-03-18T21:22:40.000Z | 2022-03-11T23:32:48.000Z | scan_models/proconos/scan.py | ssdemajia/ids-backend | 188af247befa44596f62c660c24b05474d1ba29f | [
"MIT"
] | null | null | null | from pymongo import MongoClient
from core.utils import convert
module_type_to_key = {
'proconos': 'proconos'
}
def proconos_resolve(protocol_element):
info = dict()
info['固件版本'] = protocol_element.get('Fireware Version', '')
info['固件日期'] = protocol_element.get('Fireware Date', '')
info['固件时间'] = ... | 29.363636 | 80 | 0.631579 | 115 | 969 | 5.182609 | 0.417391 | 0.201342 | 0.211409 | 0.174497 | 0.281879 | 0.124161 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 969 | 32 | 81 | 30.28125 | 0.765083 | 0 | 0 | 0 | 0 | 0 | 0.178535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.074074 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a2be33505f3c89f8884d95a4e6ac50881e67f8e | 288 | py | Python | api/core/schemas/__init__.py | D0rs4n/api | 530a62fae664475e8e6c6caf1a92dc198d8623ea | [
"MIT"
] | null | null | null | api/core/schemas/__init__.py | D0rs4n/api | 530a62fae664475e8e6c6caf1a92dc198d8623ea | [
"MIT"
] | 1 | 2021-06-14T19:41:21.000Z | 2021-06-14T19:41:21.000Z | api/core/schemas/__init__.py | D0rs4n/api | 530a62fae664475e8e6c6caf1a92dc198d8623ea | [
"MIT"
] | null | null | null | """
Schemas used by the Python Discord API.
This package contains the schemas used by the various
endpoints of the API. Schemas are represented by pydantic
models, which simplifies data coercion and validation.
"""
from .errors import ErrorMessage
from .health_check import HealthCheck
| 26.181818 | 57 | 0.805556 | 41 | 288 | 5.634146 | 0.731707 | 0.095238 | 0.112554 | 0.138528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 288 | 10 | 58 | 28.8 | 0.946721 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8a2df23f7eb67e983726931148ef9feff595de97 | 16,067 | py | Python | support.py | FrBonnefoy/pointage | 036f868e273ab50003a1b8c45cbb940a5a2b8d23 | [
"MIT"
] | 1 | 2021-07-12T06:14:30.000Z | 2021-07-12T06:14:30.000Z | support.py | FrBonnefoy/pointage | 036f868e273ab50003a1b8c45cbb940a5a2b8d23 | [
"MIT"
] | null | null | null | support.py | FrBonnefoy/pointage | 036f868e273ab50003a1b8c45cbb940a5a2b8d23 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.firefox.options import Options as FirefoxOptions
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as ... | 35.080786 | 201 | 0.660982 | 2,180 | 16,067 | 4.737615 | 0.181651 | 0.03292 | 0.052285 | 0.039504 | 0.743997 | 0.71524 | 0.713885 | 0.685902 | 0.666344 | 0.661115 | 0 | 0.038864 | 0.202465 | 16,067 | 457 | 202 | 35.157549 | 0.767052 | 0.141532 | 0 | 0.604167 | 0 | 0.026786 | 0.247674 | 0.042571 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0.011905 | 0.074405 | 0.002976 | 0.208333 | 0.032738 | 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 |
8a4b1204f3f86bed440f8c05a27bb1d3d2981833 | 170 | py | Python | memecrypt/__main__.py | Sh3llcod3/memecrypt | d1a7a0e8ebf8ca9c4a055587f7287a9b05aaf9d0 | [
"MIT"
] | 1 | 2019-06-22T10:15:11.000Z | 2019-06-22T10:15:11.000Z | memecrypt/__main__.py | Sh3llcod3/memecrypt | d1a7a0e8ebf8ca9c4a055587f7287a9b05aaf9d0 | [
"MIT"
] | 2 | 2020-06-08T17:44:56.000Z | 2020-10-04T00:12:30.000Z | memecrypt/__main__.py | Sh3llcod3/Memecrypt | d1a7a0e8ebf8ca9c4a055587f7287a9b05aaf9d0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
try:
from .memecrypt import *
main()
except(ImportError, SystemError):
import memecrypt
memecrypt.main()
| 15.454545 | 33 | 0.635294 | 19 | 170 | 5.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.211765 | 170 | 10 | 34 | 17 | 0.791045 | 0.252941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8a5909241dcf25013db33508fda77a420f1245c9 | 519 | py | Python | play_back.py | takat0m0/test_solve_easy_maze_with_Q | 6ea49000e94ea6c8baa6670eadafdaf1a6694379 | [
"MIT"
] | null | null | null | play_back.py | takat0m0/test_solve_easy_maze_with_Q | 6ea49000e94ea6c8baa6670eadafdaf1a6694379 | [
"MIT"
] | null | null | null | play_back.py | takat0m0/test_solve_easy_maze_with_Q | 6ea49000e94ea6c8baa6670eadafdaf1a6694379 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import os
import sys
class PlayBack(object):
def __init__(self, state, action, next_state, reward):
self.state = state
self.action = action
self.next_state = next_state
self.reward = reward
class PlayBacks(object):
def __init__(self):
self.__data... | 20.76 | 58 | 0.593449 | 62 | 519 | 4.467742 | 0.370968 | 0.115523 | 0.093863 | 0.122744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002732 | 0.294798 | 519 | 24 | 59 | 21.625 | 0.754098 | 0.038536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.117647 | 0.117647 | 0.647059 | 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 |
8a5f0b4f39cd749606542cb60be202738e5c15f6 | 3,807 | py | Python | tests/cp2/test_cp2_csetbounds_cases.py | capt-hb/cheritest | d3b3637a81a0005ee7272eca0f33a9f9911fdb32 | [
"Apache-2.0"
] | null | null | null | tests/cp2/test_cp2_csetbounds_cases.py | capt-hb/cheritest | d3b3637a81a0005ee7272eca0f33a9f9911fdb32 | [
"Apache-2.0"
] | 2 | 2020-06-02T13:44:55.000Z | 2020-06-02T14:06:29.000Z | tests/cp2/test_cp2_csetbounds_cases.py | capt-hb/cheritest | d3b3637a81a0005ee7272eca0f33a9f9911fdb32 | [
"Apache-2.0"
] | null | null | null | #-
# Copyright (c) 2015 Michael Roe
# All rights reserved.
#
# This software was developed by the University of Cambridge Computer
# Laboratory as part of the Rigorous Engineering of Mainstream Systems (REMS)
# project, funded by EPSRC grant EP/K008528/1.
#
# @BERI_LICENSE_HEADER_START@
#
# Licensed to BERI Open System... | 39.247423 | 105 | 0.707906 | 539 | 3,807 | 4.892393 | 0.326531 | 0.112249 | 0.191126 | 0.075085 | 0.321198 | 0.219568 | 0.074327 | 0.074327 | 0.074327 | 0.074327 | 0 | 0.092187 | 0.19648 | 3,807 | 96 | 106 | 39.65625 | 0.769859 | 0.294983 | 0 | 0.113208 | 0 | 0 | 0.024087 | 0 | 0 | 0 | 0.098231 | 0 | 0.698113 | 1 | 0.245283 | false | 0 | 0.018868 | 0 | 0.283019 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a67ccc9968ae9e61a6b61b549c93ba7fd24d528 | 5,512 | py | Python | cinder/volume/drivers/netapp/dataontap/fc_7mode.py | Nexenta/cinder-nedge1.1 | 66d0cb89e5425b4bd8d0597d9381797e40f32e02 | [
"Apache-2.0"
] | 3 | 2019-01-31T01:16:12.000Z | 2021-09-16T18:46:08.000Z | cinder/volume/drivers/netapp/dataontap/fc_7mode.py | Nexenta/cinder-nedge1.1 | 66d0cb89e5425b4bd8d0597d9381797e40f32e02 | [
"Apache-2.0"
] | 5 | 2018-01-25T11:31:56.000Z | 2019-05-06T23:13:35.000Z | cinder/volume/drivers/netapp/dataontap/fc_7mode.py | Nexenta/cinder-nedge1.1 | 66d0cb89e5425b4bd8d0597d9381797e40f32e02 | [
"Apache-2.0"
] | 11 | 2015-02-20T18:48:24.000Z | 2021-01-30T20:26:18.000Z | # Copyright (c) - 2014, Clinton Knight. All rights reserved.
# Copyright (c) 2016 Mike Rooney. 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:... | 39.654676 | 78 | 0.679971 | 615 | 5,512 | 5.886179 | 0.274797 | 0.085083 | 0.079834 | 0.022099 | 0.187845 | 0.101657 | 0.101657 | 0.060221 | 0.028729 | 0 | 0 | 0.005268 | 0.24238 | 5,512 | 138 | 79 | 39.942029 | 0.86159 | 0.146589 | 0 | 0 | 0 | 0 | 0.009194 | 0.006842 | 0 | 0 | 0 | 0 | 0 | 1 | 0.341176 | false | 0 | 0.047059 | 0.2 | 0.635294 | 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 |
8a67e10baf7118488034424829080f923d52e314 | 7,054 | py | Python | Gathered CTF writeups/ptr-yudai-writeups/2019/watevrCTF_2019/repyc/decomp.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ptr-yudai-writeups/2019/watevrCTF_2019/repyc/decomp.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ptr-yudai-writeups/2019/watevrCTF_2019/repyc/decomp.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | # Source Generated with Decompyle++
# File: 3nohtyp.pyc (Python 3.6)
def run_vm(instructions):
pc = 0
굿 = 0
regs = [0] * 2 ** (2 * 2)
mem = [0] * 100
jmplist = []
while instructions[pc][0] != '\xeb\x93\x83':
ope = instructions[pc][0].lower()
operand = instructions[pc][1:]
... | 36.931937 | 1,924 | 0.501843 | 1,093 | 7,054 | 3.236962 | 0.098811 | 0.186546 | 0.089033 | 0.072357 | 0.693895 | 0.607405 | 0.570096 | 0.436122 | 0.410684 | 0.390051 | 0 | 0.16553 | 0.293451 | 7,054 | 190 | 1,925 | 37.126316 | 0.544342 | 0.009073 | 0 | 0.394595 | 1 | 0.005405 | 0.377272 | 0.273651 | 0 | 1 | 0 | 0 | 0 | 1 | 0.005405 | false | 0 | 0 | 0 | 0.005405 | 0.010811 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8a94814b2d083ac86380fefaeb0930a8bb16a6c5 | 316 | py | Python | lifelist/lifelist/settings/__init__.py | andela-mnzomo/life-list | 28a7fa9d16e2b322e4a1bce269dbe7331e783534 | [
"Unlicense"
] | 3 | 2017-08-17T07:12:03.000Z | 2017-10-18T11:13:44.000Z | lifelist/lifelist/settings/__init__.py | andela-mnzomo/life-list | 28a7fa9d16e2b322e4a1bce269dbe7331e783534 | [
"Unlicense"
] | 1 | 2018-05-30T14:38:52.000Z | 2018-05-30T14:38:52.000Z | lifelist/lifelist/settings/__init__.py | andela-mnzomo/life-list | 28a7fa9d16e2b322e4a1bce269dbe7331e783534 | [
"Unlicense"
] | null | null | null | import os
from django_envie.workroom import convertfiletovars
convertfiletovars()
# Ensure development settings are not used in testing and production:
if os.getenv('HEROKU') is not None:
from production import *
elif os.getenv('CI') is not None:
from testing import *
else:
from development import *
| 22.571429 | 69 | 0.756329 | 43 | 316 | 5.534884 | 0.581395 | 0.067227 | 0.07563 | 0.109244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 316 | 13 | 70 | 24.307692 | 0.915385 | 0.212025 | 0 | 0 | 0 | 0 | 0.032389 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 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 |
8a9d801c03a67a9964c86c6f4e106c002f3ec98c | 3,964 | py | Python | server/app/schemas.py | tsukumijima/KonomiTV | d5edf37bbd1bddf0ac95cec197d29be97d3adc17 | [
"MIT"
] | 69 | 2021-09-22T09:39:55.000Z | 2022-03-31T00:51:10.000Z | server/app/schemas.py | tsukumijima/KonomiTV | d5edf37bbd1bddf0ac95cec197d29be97d3adc17 | [
"MIT"
] | 3 | 2021-11-03T05:41:31.000Z | 2022-02-11T22:59:29.000Z | server/app/schemas.py | tsukumijima/KonomiTV | d5edf37bbd1bddf0ac95cec197d29be97d3adc17 | [
"MIT"
] | 9 | 2021-11-03T05:35:15.000Z | 2022-03-20T15:25:03.000Z |
from datetime import datetime
from pydantic import AnyHttpUrl, BaseModel, Field, FilePath, PositiveInt
from pydantic.networks import stricturl
from tortoise.contrib.pydantic import pydantic_model_creator
from typing import Any, Dict, List, Literal, Optional
from app import models
# 環境設定を表す Pydantic モデル
# バリデーションは環境... | 30.96875 | 125 | 0.736125 | 444 | 3,964 | 6.414414 | 0.398649 | 0.027037 | 0.042135 | 0.036517 | 0.088483 | 0.070927 | 0.070927 | 0.037921 | 0 | 0 | 0 | 0.000908 | 0.166498 | 3,964 | 127 | 126 | 31.212598 | 0.861077 | 0.140767 | 0 | 0.123596 | 0 | 0 | 0.104579 | 0.012703 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.05618 | 0.067416 | 0 | 0.865169 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8aa8967925a4ef55242a5c358efc414f7546bcbc | 207 | py | Python | config_example.py | Danielhiversen/strava-maps | d355b152030f99adaf2222e3543c499d7866474d | [
"MIT"
] | null | null | null | config_example.py | Danielhiversen/strava-maps | d355b152030f99adaf2222e3543c499d7866474d | [
"MIT"
] | null | null | null | config_example.py | Danielhiversen/strava-maps | d355b152030f99adaf2222e3543c499d7866474d | [
"MIT"
] | null | null | null | #
# "Client-ID" and "Client-Secret" from https://www.strava.com/settings/api
#
CLIENT_ID = '19661'
CLIENT_SECRET = '673409cdf6d02b8bc47b0e88cd03015283dddba2'
AUTH_URL = 'http://127.0.0.1:7123/auth' | 29.571429 | 74 | 0.714976 | 27 | 207 | 5.37037 | 0.740741 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21547 | 0.125604 | 207 | 7 | 75 | 29.571429 | 0.585635 | 0.347826 | 0 | 0 | 0 | 0 | 0.537879 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
76d00e6834946026e774b2fb9e99057147da0d88 | 971 | py | Python | llspy/gui/styles.py | VolkerH/LLSpy | d14b2387058f679981ff08af546570527bc723d9 | [
"BSD-3-Clause"
] | null | null | null | llspy/gui/styles.py | VolkerH/LLSpy | d14b2387058f679981ff08af546570527bc723d9 | [
"BSD-3-Clause"
] | null | null | null | llspy/gui/styles.py | VolkerH/LLSpy | d14b2387058f679981ff08af546570527bc723d9 | [
"BSD-3-Clause"
] | null | null | null | from PyQt5 import QtWidgets, QtGui, QtCore
# first use APP.setStyle(QtW.QStyleFactory.create("fusion"))
DarkPalette = QtGui.QPalette()
DarkPalette.setColor(QtGui.QPalette.Window, QtGui.QColor(53, 53, 53))
DarkPalette.setColor(QtGui.QPalette.WindowText, QtCore.Qt.lightGray)
DarkPalette.setColor(QtGui.QPalette.Base, Qt... | 53.944444 | 84 | 0.815654 | 124 | 971 | 6.387097 | 0.330645 | 0.213384 | 0.363636 | 0.484848 | 0.482323 | 0.482323 | 0.482323 | 0.185606 | 0.185606 | 0 | 0 | 0.035792 | 0.050463 | 971 | 17 | 85 | 57.117647 | 0.82321 | 0.059732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76f0169985ddb6cd8e671bb5885f79cb1cc9bf70 | 6,821 | py | Python | src/utils/util.py | NKUST-ITC/NKUST-AP-API | 96b5961170fb99f87490be9abdf869a8556c25d3 | [
"MIT"
] | 7 | 2020-01-20T14:32:45.000Z | 2020-11-17T03:05:10.000Z | src/utils/util.py | NKUST-ITC/NKUST-AP-API | 96b5961170fb99f87490be9abdf869a8556c25d3 | [
"MIT"
] | 71 | 2019-07-10T13:23:42.000Z | 2020-09-18T18:14:18.000Z | src/utils/util.py | NKUST-ITC/NKUST-AP-API | 96b5961170fb99f87490be9abdf869a8556c25d3 | [
"MIT"
] | 6 | 2019-10-13T15:17:11.000Z | 2020-09-18T08:45:23.000Z | import random
import string
import falcon
from cache.ap_cache import login as webap_login
from cache.bus_cache import login as bus_login
from cache.library_cache import login as library_login
from cache.leave_cache import login as leave_login
from utils import error_code, config
def randStr(lens):
return ''.joi... | 33.767327 | 94 | 0.67688 | 805 | 6,821 | 5.58882 | 0.150311 | 0.044454 | 0.075572 | 0.062236 | 0.738386 | 0.729273 | 0.718826 | 0.680151 | 0.634363 | 0.580351 | 0 | 0.012777 | 0.231198 | 6,821 | 201 | 95 | 33.935323 | 0.845156 | 0.404926 | 0 | 0.381579 | 0 | 0 | 0.077971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.065789 | 0.105263 | 0.013158 | 0.315789 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
76fd92f3a3cbb808cdcc240c811c345ab4b72204 | 611 | py | Python | test.py | mitchelparish/docker-locust-2 | 8d6e8d913b44b055d5cf342a9dd625e249284956 | [
"Apache-2.0"
] | null | null | null | test.py | mitchelparish/docker-locust-2 | 8d6e8d913b44b055d5cf342a9dd625e249284956 | [
"Apache-2.0"
] | null | null | null | test.py | mitchelparish/docker-locust-2 | 8d6e8d913b44b055d5cf342a9dd625e249284956 | [
"Apache-2.0"
] | null | null | null | from locust import HttpLocust, TaskSet, task
class UserBehavior(TaskSet):
def on_start(self):
self.login()
def on_stop(self):
self.logout()
def login(self):
self.client.post("/login", {"username":"user1", "password":"p@leCrown14"})
def logout(self):
self.client.post(... | 20.366667 | 83 | 0.602291 | 74 | 611 | 4.905405 | 0.459459 | 0.132231 | 0.15427 | 0.099174 | 0.170799 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034261 | 0.235679 | 611 | 29 | 84 | 21.068966 | 0.743041 | 0 | 0 | 0 | 0 | 0 | 0.135843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.05 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
0a0edd248d8b5daec16b98082eb7848853a86e88 | 222 | py | Python | second_carrier/lesson/serializers.py | beproud/second_carrier | caf6466cee517e32f760f17696750ae0a7c134cb | [
"MIT"
] | null | null | null | second_carrier/lesson/serializers.py | beproud/second_carrier | caf6466cee517e32f760f17696750ae0a7c134cb | [
"MIT"
] | 1 | 2021-06-21T03:25:33.000Z | 2021-06-21T03:25:33.000Z | second_carrier/lesson/serializers.py | beproud/second_carrier | caf6466cee517e32f760f17696750ae0a7c134cb | [
"MIT"
] | 1 | 2022-01-19T08:10:57.000Z | 2022-01-19T08:10:57.000Z | from rest_framework import serializers
from .models import Coach
class CoachSerializer(serializers.ModelSerializer):
class Meta:
model = Coach
fields = ["id", "last_name", "first_name", "categeory"]
| 22.2 | 63 | 0.707207 | 24 | 222 | 6.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198198 | 222 | 9 | 64 | 24.666667 | 0.865169 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a12eac9043a2bc3763dca5fe4cd6fb4ed2c5ec1 | 36 | py | Python | notification/config.py | vinthedark/snet-marketplace-service | 66ed9d093b00f09d3e28ef4d86c4e4c125037d06 | [
"MIT"
] | 14 | 2019-02-12T09:14:52.000Z | 2021-03-11T18:42:22.000Z | notification/config.py | vinthedark/snet-marketplace-service | 66ed9d093b00f09d3e28ef4d86c4e4c125037d06 | [
"MIT"
] | 1,079 | 2019-01-10T04:31:24.000Z | 2022-03-29T06:16:42.000Z | notification/config.py | vinthedark/snet-marketplace-service | 66ed9d093b00f09d3e28ef4d86c4e4c125037d06 | [
"MIT"
] | 20 | 2018-12-18T13:06:41.000Z | 2021-09-17T11:13:01.000Z | EMAIL_FOR_SENDING_NOTIFICATION = ""
| 18 | 35 | 0.833333 | 4 | 36 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
0a21dfaf20cfcb296a4756828995f91f5b7e3b32 | 15,485 | py | Python | litenn/core/op/element_wise_op.py | dna2fork/litenn | 016aade87446c41ba666ddfa2422a777ced39fd0 | [
"MIT"
] | 61 | 2020-11-06T14:50:35.000Z | 2022-03-19T21:31:51.000Z | litenn/core/op/element_wise_op.py | dna2fork/litenn | 016aade87446c41ba666ddfa2422a777ced39fd0 | [
"MIT"
] | 3 | 2020-11-18T22:42:38.000Z | 2020-12-31T10:40:30.000Z | litenn/core/op/element_wise_op.py | dna2fork/litenn | 016aade87446c41ba666ddfa2422a777ced39fd0 | [
"MIT"
] | 3 | 2021-01-21T13:43:57.000Z | 2022-02-24T14:39:40.000Z | import traceback
import numpy as np
import litenn as nn
import litenn.core as nc
from litenn.core import CLKernelHelper as ph
class ElementWiseOpKernel:
"""
Base class for kernels to use in element_wise_op()
"""
def get_forward_kernel_text(self):
"""
return kernel C code block for forwa... | 38.424318 | 174 | 0.670649 | 2,381 | 15,485 | 4.0189 | 0.075179 | 0.053924 | 0.044623 | 0.082872 | 0.703731 | 0.620023 | 0.569757 | 0.534852 | 0.492632 | 0.482078 | 0 | 0.006613 | 0.218792 | 15,485 | 403 | 175 | 38.424318 | 0.784409 | 0.145689 | 0 | 0.085837 | 0 | 0.021459 | 0.137 | 0.02683 | 0 | 0 | 0 | 0 | 0 | 1 | 0.420601 | false | 0 | 0.021459 | 0.287554 | 0.686695 | 0.004292 | 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 |
0a3010dbe564d93204facfbd2b789a1518726584 | 61 | py | Python | torchkit/tools/__init__.py | cosmic-cortex/torchkit | 9f44c8a500a4345d81feac14b6b200c5d190283a | [
"MIT"
] | null | null | null | torchkit/tools/__init__.py | cosmic-cortex/torchkit | 9f44c8a500a4345d81feac14b6b200c5d190283a | [
"MIT"
] | null | null | null | torchkit/tools/__init__.py | cosmic-cortex/torchkit | 9f44c8a500a4345d81feac14b6b200c5d190283a | [
"MIT"
] | null | null | null | from torchkit.tools.wrapper import Model
__all__ = ['Model'] | 20.333333 | 40 | 0.770492 | 8 | 61 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 61 | 3 | 41 | 20.333333 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 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 |
0a324abd845fd6173c3876f1c142e39cced2278e | 1,151 | py | Python | attrdict.py | postpop/attrdict | c63d8381fd308d1dec6cab88f88c61ba0b230a9f | [
"Apache-2.0"
] | null | null | null | attrdict.py | postpop/attrdict | c63d8381fd308d1dec6cab88f88c61ba0b230a9f | [
"Apache-2.0"
] | null | null | null | attrdict.py | postpop/attrdict | c63d8381fd308d1dec6cab88f88c61ba0b230a9f | [
"Apache-2.0"
] | null | null | null | """A dictionary on stereoids(sic!)."""
import flammkuchen
from collections import defaultdict
class AttrDict(defaultdict):
"""Dictionaries with dot-notation and default values and deepdish hdf5 io.
# dictionary with default value 42 for new keys (defaults to None)
ad = AttrDict(lambda: 42)
# save to... | 28.775 | 78 | 0.640313 | 140 | 1,151 | 5.135714 | 0.421429 | 0.048679 | 0.05007 | 0.052851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005774 | 0.247611 | 1,151 | 39 | 79 | 29.512821 | 0.82448 | 0.32841 | 0 | 0 | 0 | 0 | 0.013736 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.105263 | 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 |
0a39cb117b6a36f3f3f4f16dc66b49f0e86cb0e9 | 502 | py | Python | server/logic/tankinfo.py | grggxxy/my-code | c094996bcbd783679bc4c1e5c2ce72da1f6f2c94 | [
"MIT"
] | null | null | null | server/logic/tankinfo.py | grggxxy/my-code | c094996bcbd783679bc4c1e5c2ce72da1f6f2c94 | [
"MIT"
] | null | null | null | server/logic/tankinfo.py | grggxxy/my-code | c094996bcbd783679bc4c1e5c2ce72da1f6f2c94 | [
"MIT"
] | null | null | null | from network.configure import CONFIGURE
class TankInfo(object):
position = CONFIGURE["TANK_INIT_POSITION"]
turret_rotation = 0.0
body_rotation = 0.0
driver_id = 0xff
is_driven = False
hp = CONFIGURE["TANK_INIT_HP"]
@classmethod
def reset(cls):
cls.position = CONFIGURE["TANK_IN... | 25.1 | 54 | 0.653386 | 66 | 502 | 4.727273 | 0.378788 | 0.166667 | 0.217949 | 0.160256 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026738 | 0.25498 | 502 | 19 | 55 | 26.421053 | 0.807487 | 0 | 0 | 0 | 0 | 0 | 0.119522 | 0 | 0 | 0 | 0.015936 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.5625 | 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 |
0a41e89767da26e96eae696cb0f95c84301f0025 | 590 | py | Python | tests/test_problemak.py | ssebastianj/tap-2016 | 5935008a15fb2ff969e0ee8b865ffec1b751c5cc | [
"MIT"
] | null | null | null | tests/test_problemak.py | ssebastianj/tap-2016 | 5935008a15fb2ff969e0ee8b865ffec1b751c5cc | [
"MIT"
] | null | null | null | tests/test_problemak.py | ssebastianj/tap-2016 | 5935008a15fb2ff969e0ee8b865ffec1b751c5cc | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from tap.problemak.solucion import diferencia_hojas
class TestProblemaK:
def test_diferencia_de_hojas(self):
assert diferencia_hojas(
[
(2, 1, 2),
(5, 3),
(1, 2)
]
... | 20.344828 | 51 | 0.359322 | 57 | 590 | 3.526316 | 0.438596 | 0.223881 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102113 | 0.518644 | 590 | 28 | 52 | 21.071429 | 0.605634 | 0.035593 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a44b19cec8c70283e952cd461d81a0b16809cbb | 1,195 | py | Python | hashdd/algorithms/hashdd_haval224.py | hashdd/pyhashdd | 938366a8c1ff26e074c419d71b09d592730940e9 | [
"Apache-2.0",
"BSD-3-Clause"
] | 20 | 2017-02-22T11:32:24.000Z | 2019-11-25T18:51:41.000Z | hashdd/algorithms/hashdd_haval224.py | hashdd/pyhashdd | 938366a8c1ff26e074c419d71b09d592730940e9 | [
"Apache-2.0",
"BSD-3-Clause"
] | 11 | 2017-02-24T15:18:15.000Z | 2022-01-13T00:41:29.000Z | hashdd/algorithms/hashdd_haval224.py | hashdd/pyhashdd | 938366a8c1ff26e074c419d71b09d592730940e9 | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2017-02-22T14:42:52.000Z | 2017-11-26T21:24:04.000Z | """
@brad_anton
License:
Copyright 2015 hashdd.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 27.159091 | 72 | 0.74477 | 166 | 1,195 | 5.325301 | 0.584337 | 0.067873 | 0.029412 | 0.036199 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061678 | 0.172385 | 1,195 | 43 | 73 | 27.790698 | 0.832154 | 0.477824 | 0 | 0 | 0 | 0 | 0.137987 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.235294 | 0.117647 | 0.823529 | 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 |
0a4ef5b5033b278923e6ebf02f227e244cb8839a | 630 | py | Python | 18. Decorators - Exercise/03_bold_italic_underline.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | 1 | 2021-03-27T16:56:30.000Z | 2021-03-27T16:56:30.000Z | 18. Decorators - Exercise/03_bold_italic_underline.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | null | null | null | 18. Decorators - Exercise/03_bold_italic_underline.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | 1 | 2021-03-15T14:50:39.000Z | 2021-03-15T14:50:39.000Z | def make_bold(func):
def wrapper(*args, **kwargs):
return f'<b>{func(*args, **kwargs)}</b>'
return wrapper
def make_italic(func):
def wrapper(*args, **kwargs):
return f'<i>{func(*args, **kwargs)}</i>'
return wrapper
def make_underline(func):
def wrapper(*args, **kwargs):
... | 18 | 48 | 0.626984 | 87 | 630 | 4.413793 | 0.252874 | 0.15625 | 0.109375 | 0.140625 | 0.445313 | 0.445313 | 0.445313 | 0.203125 | 0 | 0 | 0 | 0 | 0.184127 | 630 | 34 | 49 | 18.529412 | 0.747082 | 0 | 0 | 0.5 | 0 | 0 | 0.226984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.208333 | 0.666667 | 0.083333 | 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 |
0a54225ed619d78362fd9acf8772754916fdd463 | 1,521 | py | Python | cachetclient/v1/metrics.py | ccampo133/cachet-client | 8323c71fdc6b04b45912bf8f4e7d87f901084661 | [
"MIT"
] | null | null | null | cachetclient/v1/metrics.py | ccampo133/cachet-client | 8323c71fdc6b04b45912bf8f4e7d87f901084661 | [
"MIT"
] | null | null | null | cachetclient/v1/metrics.py | ccampo133/cachet-client | 8323c71fdc6b04b45912bf8f4e7d87f901084661 | [
"MIT"
] | null | null | null | from cachetclient.base import Manager, Resource
class Metrics(Resource):
@property
def id(self) -> int:
return self.get('id')
@property
def name(self) -> str:
return self.get('name')
@property
def suffix(self) -> str:
return self.get('suffix')
@property
def ... | 20.013158 | 54 | 0.579224 | 179 | 1,521 | 4.78771 | 0.290503 | 0.128355 | 0.121354 | 0.05951 | 0.172695 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002885 | 0.316239 | 1,521 | 75 | 55 | 20.28 | 0.821154 | 0.105851 | 0 | 0.255319 | 0 | 0 | 0.078704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.297872 | false | 0.042553 | 0.021277 | 0.170213 | 0.595745 | 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 |
0a59d439833554cf01bd365bff31966f77a64875 | 1,353 | py | Python | stan/plugins.py | ahartikainen/pystan | 899658e9c242a48b394ca2378a8404a17a58a2ce | [
"0BSD"
] | 1,030 | 2015-01-05T19:15:04.000Z | 2022-03-31T00:18:14.000Z | stan/plugins.py | ahartikainen/pystan | 899658e9c242a48b394ca2378a8404a17a58a2ce | [
"0BSD"
] | 691 | 2015-01-04T19:04:40.000Z | 2022-03-02T11:42:21.000Z | stan/plugins.py | ahartikainen/pystan | 899658e9c242a48b394ca2378a8404a17a58a2ce | [
"0BSD"
] | 243 | 2015-01-12T22:10:23.000Z | 2022-03-09T11:44:09.000Z | import abc
from typing import Generator
import pkg_resources
import stan.fit
def get_plugins() -> Generator[pkg_resources.EntryPoint, None, None]:
"""Iterate over available plugins."""
return pkg_resources.iter_entry_points(group="stan.plugins")
class PluginBase(abc.ABC):
"""Base class for PyStan plug... | 30.066667 | 78 | 0.687361 | 178 | 1,353 | 5.179775 | 0.589888 | 0.047722 | 0.034707 | 0.0282 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240946 | 1,353 | 44 | 79 | 30.75 | 0.89776 | 0.637842 | 0 | 0 | 0 | 0 | 0.032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.444444 | 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 |
0a5b9443d6292a2e315379a198c956b9efd23769 | 862 | py | Python | jesse/strategies/TestTakeProfitPriceIsReplacedWithMarketOrderWhenMoreConvenientLongPosition/__init__.py | weselyj/jesse | 24ce05c17494b6ac7b4201cf06b4fa9d16d4d709 | [
"MIT"
] | null | null | null | jesse/strategies/TestTakeProfitPriceIsReplacedWithMarketOrderWhenMoreConvenientLongPosition/__init__.py | weselyj/jesse | 24ce05c17494b6ac7b4201cf06b4fa9d16d4d709 | [
"MIT"
] | 7 | 2022-02-14T11:39:49.000Z | 2022-03-31T04:57:36.000Z | jesse/strategies/TestTakeProfitPriceIsReplacedWithMarketOrderWhenMoreConvenientLongPosition/__init__.py | weselyj/jesse | 24ce05c17494b6ac7b4201cf06b4fa9d16d4d709 | [
"MIT"
] | null | null | null | from jesse.strategies import Strategy
from jesse.enums import order_types
class TestTakeProfitPriceIsReplacedWithMarketOrderWhenMoreConvenientLongPosition(Strategy):
def before(self) -> None:
if self.price == 15:
last_trade = self.trades[-1]
# it should have closed on the market pr... | 27.806452 | 91 | 0.638051 | 110 | 862 | 4.890909 | 0.472727 | 0.055762 | 0.05948 | 0.081784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027642 | 0.286543 | 862 | 30 | 92 | 28.733333 | 0.847154 | 0.12413 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.3 | false | 0.05 | 0.1 | 0.15 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0a5bf774cc33ccc53c9cb8f3ed7ea2cd197af7f2 | 194 | py | Python | pimill/app.py | fibasile/pi.mill | fc6e1d830d7759629c8de5bef74a4222d542e63f | [
"MIT"
] | 1 | 2015-07-23T22:30:33.000Z | 2015-07-23T22:30:33.000Z | pimill/app.py | fibasile/pi.mill | fc6e1d830d7759629c8de5bef74a4222d542e63f | [
"MIT"
] | null | null | null | pimill/app.py | fibasile/pi.mill | fc6e1d830d7759629c8de5bef74a4222d542e63f | [
"MIT"
] | null | null | null | from bottle import Bottle, route, template
from server import Server
import os
import logging
import logging.config
if __name__ == "__main__":
s = Server(debug=True)
s.run()
| 14.923077 | 42 | 0.695876 | 26 | 194 | 4.884615 | 0.615385 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226804 | 194 | 12 | 43 | 16.166667 | 0.846667 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
6a52881eb8a41fca00165f4a2ab7342ecf0f0f9b | 242 | py | Python | cauldron/test/steptesting/libs/_testlib/__init__.py | DanMayhew/cauldron | ac41481830fc1a363c145f4b58ce785aac054d10 | [
"MIT"
] | 90 | 2016-09-02T15:11:10.000Z | 2022-01-02T11:37:57.000Z | cauldron/test/steptesting/libs/_testlib/__init__.py | DanMayhew/cauldron | ac41481830fc1a363c145f4b58ce785aac054d10 | [
"MIT"
] | 86 | 2016-09-23T16:52:22.000Z | 2022-03-31T21:39:56.000Z | cauldron/test/steptesting/libs/_testlib/__init__.py | DanMayhew/cauldron | ac41481830fc1a363c145f4b58ce785aac054d10 | [
"MIT"
] | 261 | 2016-12-22T05:36:48.000Z | 2021-11-26T12:40:42.000Z |
def patching_test(value):
"""
A test function for patching values during step tests. By default this
function returns the value it was passed. Patching this should change its
behavior in step tests.
"""
return value
| 24.2 | 77 | 0.702479 | 34 | 242 | 4.970588 | 0.735294 | 0.106509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247934 | 242 | 9 | 78 | 26.888889 | 0.928571 | 0.694215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6a61b99dbe42604cd74c5f55cf455648c88d5b44 | 165 | py | Python | Python3-built-in-functions/0x48map.py | DropsDevopsOrg/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 15 | 2019-04-09T04:20:21.000Z | 2022-02-08T20:33:42.000Z | Python3-built-in-functions/0x48map.py | sep8dog/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 1 | 2019-07-22T07:27:10.000Z | 2020-10-09T08:00:17.000Z | Python3-built-in-functions/0x48map.py | sep8dog/PythonWiki | 0c344edad37ed34c03cf066df991922cb4bdeee0 | [
"Apache-2.0"
] | 16 | 2019-09-13T14:06:42.000Z | 2022-03-15T06:02:01.000Z | #map() 会根据提供的函数对指定序列做映射。第一个参数是函数,第二个参数是序列
#把序列里面的每个元素作为参数传递到函数,返回一个迭代器
def square(x):
return x**2
ls = [1, 2, 3]
for i in map(square, ls):
print(i) | 18.333333 | 42 | 0.648485 | 24 | 165 | 4.458333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.212121 | 165 | 9 | 43 | 18.333333 | 0.792308 | 0.406061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
6a649b1afb1faf723d9535c5c38cb3a7a1a52ae4 | 142 | py | Python | qradiomics/__init__.py | taznux/radiomics-tools | 74d3b314ddc00427fd7f2a17f79fbde372dee2ce | [
"MIT"
] | 18 | 2016-07-01T20:37:27.000Z | 2021-12-29T07:16:29.000Z | qradiomics/__init__.py | taznux/radiomics-tools | 74d3b314ddc00427fd7f2a17f79fbde372dee2ce | [
"MIT"
] | 13 | 2016-07-18T22:14:19.000Z | 2019-08-29T15:33:07.000Z | qradiomics/__init__.py | taznux/radiomics-tools | 74d3b314ddc00427fd7f2a17f79fbde372dee2ce | [
"MIT"
] | 13 | 2016-08-27T06:59:07.000Z | 2021-01-04T07:41:27.000Z | import os.path as osp
pkg_dir = osp.abspath(osp.dirname(__file__))
from . import io
from . import util
from .io import metadata as metadata
| 17.75 | 44 | 0.760563 | 24 | 142 | 4.291667 | 0.583333 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 142 | 7 | 45 | 20.285714 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6aa107d2c94654ac7d746f4b90f981225ff013b3 | 1,842 | py | Python | webapp/crowdclass/migrations/0004_auto_20160425_0119.py | dorisjlee/crowdclass | 5497c58c84cadfb017669a5f2a3ff020dc1a0d75 | [
"BSD-3-Clause"
] | null | null | null | webapp/crowdclass/migrations/0004_auto_20160425_0119.py | dorisjlee/crowdclass | 5497c58c84cadfb017669a5f2a3ff020dc1a0d75 | [
"BSD-3-Clause"
] | null | null | null | webapp/crowdclass/migrations/0004_auto_20160425_0119.py | dorisjlee/crowdclass | 5497c58c84cadfb017669a5f2a3ff020dc1a0d75 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-25 01:19
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('crowdclass', '0003_auto_20160425_0113'),
]
operations = [
migrations.AddFiel... | 30.196721 | 61 | 0.565689 | 163 | 1,842 | 6.288344 | 0.306748 | 0.158049 | 0.201951 | 0.237073 | 0.640976 | 0.640976 | 0.640976 | 0.640976 | 0.640976 | 0.593171 | 0 | 0.025457 | 0.31759 | 1,842 | 60 | 62 | 30.7 | 0.789976 | 0.036374 | 0 | 0.679245 | 1 | 0 | 0.126975 | 0.024831 | 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 |
6aa45cb25506912ba8540e1aa38c6d4b77413b5c | 59 | py | Python | ex002.py | klebervieirati/PYTHON | 1bb03e775df2ff0d996aab0e3ce8f6f058bc5a05 | [
"MIT"
] | null | null | null | ex002.py | klebervieirati/PYTHON | 1bb03e775df2ff0d996aab0e3ce8f6f058bc5a05 | [
"MIT"
] | null | null | null | ex002.py | klebervieirati/PYTHON | 1bb03e775df2ff0d996aab0e3ce8f6f058bc5a05 | [
"MIT"
] | null | null | null | nome=input('Digite Seu Nome ')
print('Seja Bem Vindo',nome) | 29.5 | 30 | 0.728814 | 10 | 59 | 4.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 59 | 2 | 31 | 29.5 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
6aa67e2275b815785e63b9ceb6e5611ce38514c7 | 367 | py | Python | src/sol/handle_notimestamp.py | bryanlabs/staketaxcsv | 7879b75d242d796ee6959e7d9e0b4d9dcb2966dd | [
"MIT"
] | null | null | null | src/sol/handle_notimestamp.py | bryanlabs/staketaxcsv | 7879b75d242d796ee6959e7d9e0b4d9dcb2966dd | [
"MIT"
] | null | null | null | src/sol/handle_notimestamp.py | bryanlabs/staketaxcsv | 7879b75d242d796ee6959e7d9e0b4d9dcb2966dd | [
"MIT"
] | null | null | null |
from common.make_tx import make_simple_tx
from common.ExporterTypes import TX_TYPE_MISSING_TIMESTAMP
def is_notimestamp_tx(txinfo):
if txinfo.timestamp is None or txinfo.timestamp == "":
return True
return False
def handle_notimestamp_tx(exporter, txinfo):
row = make_simple_tx(txinfo, TX_TYPE_M... | 24.466667 | 59 | 0.776567 | 52 | 367 | 5.173077 | 0.461538 | 0.074349 | 0.089219 | 0.163569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160763 | 367 | 14 | 60 | 26.214286 | 0.873377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6aa801d0db5df73d07f9219481b32466df67de34 | 228 | py | Python | mathics/builtin/box/__init__.py | skirpichev/Mathics | 318e06dea8f1c70758a50cb2f95c9900150e3a68 | [
"Apache-2.0"
] | 1,920 | 2015-01-06T17:56:26.000Z | 2022-03-24T14:33:29.000Z | mathics/builtin/box/__init__.py | skirpichev/Mathics | 318e06dea8f1c70758a50cb2f95c9900150e3a68 | [
"Apache-2.0"
] | 868 | 2015-01-04T06:19:40.000Z | 2022-03-14T13:39:38.000Z | mathics/builtin/box/__init__.py | skirpichev/Mathics | 318e06dea8f1c70758a50cb2f95c9900150e3a68 | [
"Apache-2.0"
] | 240 | 2015-01-16T13:31:26.000Z | 2022-03-12T12:52:46.000Z | """
Boxing modules.
Boxes are added in formatting Mathics S-Expressions.
Boxing information like width and size makes it easier for formatters to do
layout without having to know the intricacies of what is inside the box.
"""
| 25.333333 | 75 | 0.785088 | 36 | 228 | 4.972222 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 228 | 8 | 76 | 28.5 | 0.94709 | 0.960526 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ab031b440eb398e3ee38726b63ff8c8dba89a27 | 948 | py | Python | dask/bytes/hdfs3.py | abhinavralhan/dask | e840ba38eadfa93c3b9959347f0a43c1279a94ab | [
"BSD-3-Clause"
] | 2 | 2021-06-18T17:00:45.000Z | 2022-03-08T00:59:40.000Z | dask/bytes/hdfs3.py | abhinavralhan/dask | e840ba38eadfa93c3b9959347f0a43c1279a94ab | [
"BSD-3-Clause"
] | 2 | 2019-03-19T22:19:04.000Z | 2019-03-26T19:04:00.000Z | dask/bytes/hdfs3.py | abhinavralhan/dask | e840ba38eadfa93c3b9959347f0a43c1279a94ab | [
"BSD-3-Clause"
] | 1 | 2021-08-01T14:29:04.000Z | 2021-08-01T14:29:04.000Z | from __future__ import print_function, division, absolute_import
import posixpath
from .glob import generic_glob
from ..base import tokenize
import hdfs3
class HDFS3HadoopFileSystem(object):
sep = "/"
def __init__(self, **kwargs):
self.fs = hdfs3.HDFileSystem(**kwargs)
@classmethod
def fr... | 23.121951 | 64 | 0.650844 | 121 | 948 | 4.92562 | 0.363636 | 0.07047 | 0.09396 | 0.060403 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008264 | 0.234177 | 948 | 40 | 65 | 23.7 | 0.812672 | 0 | 0 | 0 | 0 | 0 | 0.015823 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.222222 | 0.185185 | 0.851852 | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6ab8e42d0062be747c94ddaf5087387597c1d1e9 | 392 | py | Python | ramp-utils/ramp_utils/tests/test_string_encoding.py | DjalelBBZ/ramp-board | 7f78c48ee53977dbcdf6859558a9fa47895633cb | [
"BSD-3-Clause"
] | null | null | null | ramp-utils/ramp_utils/tests/test_string_encoding.py | DjalelBBZ/ramp-board | 7f78c48ee53977dbcdf6859558a9fa47895633cb | [
"BSD-3-Clause"
] | null | null | null | ramp-utils/ramp_utils/tests/test_string_encoding.py | DjalelBBZ/ramp-board | 7f78c48ee53977dbcdf6859558a9fa47895633cb | [
"BSD-3-Clause"
] | null | null | null | import sys
from ramp_utils import encode_string
PYTHON3 = sys.version_info[0] == 3
def test_encode_string():
if PYTHON3:
string = encode_string('a string')
assert isinstance(string, bytes)
string = encode_string(b'a string')
assert isinstance(string, bytes)
else:
stri... | 23.058824 | 43 | 0.663265 | 49 | 392 | 5.142857 | 0.428571 | 0.238095 | 0.214286 | 0.27381 | 0.547619 | 0.547619 | 0.412698 | 0.412698 | 0.412698 | 0 | 0 | 0.013559 | 0.247449 | 392 | 16 | 44 | 24.5 | 0.840678 | 0 | 0 | 0.416667 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6aca4f07ca6283a7254a3874e56fc0b5bf9a8cb3 | 305 | py | Python | gazelle/testdata/first_party_file_and_directory_modules/__main__.py | f0rmiga/rules_python | 2b1d6beb4d5d8f59d629597e30e9aa519182d9a9 | [
"Apache-2.0"
] | null | null | null | gazelle/testdata/first_party_file_and_directory_modules/__main__.py | f0rmiga/rules_python | 2b1d6beb4d5d8f59d629597e30e9aa519182d9a9 | [
"Apache-2.0"
] | null | null | null | gazelle/testdata/first_party_file_and_directory_modules/__main__.py | f0rmiga/rules_python | 2b1d6beb4d5d8f59d629597e30e9aa519182d9a9 | [
"Apache-2.0"
] | null | null | null | import foo
from baz import baz as another_baz
from foo.bar import baz
from one.two import two
from package1.subpackage1.module1 import find_me
assert not hasattr(foo, 'foo')
assert baz() == 'baz from foo/bar.py'
assert another_baz() == 'baz from baz.py'
assert two() == 'two'
assert find_me() == 'found'
| 25.416667 | 48 | 0.734426 | 52 | 305 | 4.230769 | 0.365385 | 0.127273 | 0.090909 | 0.118182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011538 | 0.147541 | 305 | 11 | 49 | 27.727273 | 0.834615 | 0 | 0 | 0 | 0 | 0 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.5 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6ad109dce7c707f5b250814e6445893250639d8a | 4,470 | py | Python | pyke/krb_compiler/kfbparser_tables.py | rch/pyke-1.1.1 | e399b06f0c655eb6baafebaed09b4eb8f9c44b82 | [
"MIT"
] | 76 | 2015-04-20T12:10:25.000Z | 2021-11-27T20:26:27.000Z | pyke/krb_compiler/kfbparser_tables.py | w-simon/pyke | cfe95d8aaa06de123264f9b7f5bea20eb5924ecd | [
"MIT"
] | 2 | 2016-03-09T14:33:27.000Z | 2018-10-22T11:25:49.000Z | pyke/krb_compiler/kfbparser_tables.py | w-simon/pyke | cfe95d8aaa06de123264f9b7f5bea20eb5924ecd | [
"MIT"
] | 42 | 2015-03-16T13:11:30.000Z | 2022-02-12T14:45:48.000Z |
# /home/bruce/python/workareas/pyke-hg/r1_working/pyke/krb_compiler/kfbparser_tables.py
# This file is automatically generated. Do not edit.
_tabversion = '3.2'
_lr_method = 'LALR'
_lr_signature = '4\xa4a\x00\xea\xcdZp5\xc6@\xa5\xfa\x1dCA'
_lr_action_items = {'NONE_TOK':([8,12,24,26,],[11,11,11,11,]),'LP_TOK':(... | 87.647059 | 695 | 0.682103 | 823 | 4,470 | 3.477521 | 0.151883 | 0.069182 | 0.115304 | 0.184486 | 0.631377 | 0.565688 | 0.565688 | 0.565688 | 0.565688 | 0.55311 | 0 | 0.09936 | 0.0566 | 4,470 | 50 | 696 | 89.4 | 0.579322 | 0.030425 | 0 | 0.04878 | 1 | 0.512195 | 0.596305 | 0.387529 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ad34d48b1004a3ad8e9c13efb4a8f33bbfd394b | 2,880 | py | Python | aliyun-python-sdk-lubancloud/aliyunsdklubancloud/request/v20180509/SubmitGenerateTaskRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 1,001 | 2015-07-24T01:32:41.000Z | 2022-03-25T01:28:18.000Z | aliyun-python-sdk-lubancloud/aliyunsdklubancloud/request/v20180509/SubmitGenerateTaskRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 363 | 2015-10-20T03:15:00.000Z | 2022-03-08T12:26:19.000Z | aliyun-python-sdk-lubancloud/aliyunsdklubancloud/request/v20180509/SubmitGenerateTaskRequest.py | yndu13/aliyun-openapi-python-sdk | 12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5 | [
"Apache-2.0"
] | 682 | 2015-09-22T07:19:02.000Z | 2022-03-22T09:51:46.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 33.488372 | 88 | 0.745833 | 390 | 2,880 | 5.346154 | 0.297436 | 0.025899 | 0.060432 | 0.073381 | 0.207194 | 0.179856 | 0.179856 | 0.046043 | 0 | 0 | 0 | 0.010989 | 0.146875 | 2,880 | 86 | 89 | 33.488372 | 0.837607 | 0.261806 | 0 | 0 | 0 | 0 | 0.106009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.404255 | false | 0 | 0.021277 | 0.191489 | 0.638298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6ad694215a155f90334d058ef0166e4b91ae7766 | 83 | py | Python | DataAnalysis/extract_stock_info_realtime.py | yuxiang-zhou/MarketAnalysor | 4d19d2589d07409cd699f394921d1a95f3097e94 | [
"MIT"
] | null | null | null | DataAnalysis/extract_stock_info_realtime.py | yuxiang-zhou/MarketAnalysor | 4d19d2589d07409cd699f394921d1a95f3097e94 | [
"MIT"
] | null | null | null | DataAnalysis/extract_stock_info_realtime.py | yuxiang-zhou/MarketAnalysor | 4d19d2589d07409cd699f394921d1a95f3097e94 | [
"MIT"
] | null | null | null | http://www.google.co.uk/finance/historical?q=ASL&ei=YuHVVYG4F4XHU-GTsrAF&output=csv | 83 | 83 | 0.819277 | 14 | 83 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024096 | 0 | 83 | 1 | 83 | 83 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6ae7ca67f0368d408cf74a04344ec7c37886344b | 66 | py | Python | FictionTools/amitools/test/suite/util_muldiv.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | FictionTools/amitools/test/suite/util_muldiv.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | FictionTools/amitools/test/suite/util_muldiv.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | def run_test(vamos):
vamos.run_prog_check_data("util_muldiv")
| 22 | 44 | 0.772727 | 11 | 66 | 4.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106061 | 66 | 2 | 45 | 33 | 0.779661 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0a7598af7dbe2fb6d98cb0f51c4edc32a4bee867 | 201 | py | Python | setup.py | traineryou/fast | 7962f6080552ef142d8bc2d29381983ce06ac0bc | [
"MIT"
] | null | null | null | setup.py | traineryou/fast | 7962f6080552ef142d8bc2d29381983ce06ac0bc | [
"MIT"
] | null | null | null | setup.py | traineryou/fast | 7962f6080552ef142d8bc2d29381983ce06ac0bc | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name = "remocolab.py",
version = "0.1",
py_modules = ['remocolab'],
url = "https://github.com/traineryou/bitturk.git",
author = "traineryou",
)
| 20.1 | 54 | 0.626866 | 23 | 201 | 5.434783 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012579 | 0.208955 | 201 | 9 | 55 | 22.333333 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0.373134 | 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 |
0a7d0ea897ae567df352ddbb5937c15d39c49d10 | 200 | py | Python | qnd/test_test.py | raviqqe/qnd.tf | fab2bd93b1b2b2a15fd6eac8d30ede382522c368 | [
"Unlicense"
] | 69 | 2016-12-23T16:23:23.000Z | 2019-06-08T16:38:06.000Z | qnd/test_test.py | raviqqe/qnd.tf | fab2bd93b1b2b2a15fd6eac8d30ede382522c368 | [
"Unlicense"
] | 7 | 2016-12-26T03:00:21.000Z | 2017-05-20T10:25:46.000Z | qnd/test_test.py | raviqqe/qnd.tf | fab2bd93b1b2b2a15fd6eac8d30ede382522c368 | [
"Unlicense"
] | 7 | 2016-12-25T12:56:14.000Z | 2019-07-16T00:29:50.000Z | import tensorflow as tf
from .test import *
def test_oracle_model():
oracle_model(tf.zeros([100]), tf.zeros([100]))
def test_user_input_fn():
user_input_fn(tf.FIFOQueue(64, [tf.string]))
| 16.666667 | 50 | 0.705 | 32 | 200 | 4.15625 | 0.53125 | 0.105263 | 0.150376 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046784 | 0.145 | 200 | 11 | 51 | 18.181818 | 0.730994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a7f722a330d2c5e7426d62963aff820a102dcbe | 151 | py | Python | _solutions/intermediate/database/sqlite3_fetch_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _solutions/intermediate/database/sqlite3_fetch_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null | _solutions/intermediate/database/sqlite3_fetch_a.py | sages-pl/2022-01-pythonsqlalchemy-aptiv | 1d6d856608e9dbe25b139e8968c48b7f46753b84 | [
"MIT"
] | null | null | null |
with sqlite3.connect(DATABASE) as db:
db.execute(SQL_CREATE_TABLE)
db.executemany(SQL_INSERT, DATA)
result = list(db.execute(SQL_SELECT))
| 25.166667 | 41 | 0.735099 | 22 | 151 | 4.863636 | 0.727273 | 0.168224 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.152318 | 151 | 5 | 42 | 30.2 | 0.828125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
0a935d42f52f51d28b2f2c11f5ae8daa0b0068cd | 1,326 | py | Python | pcapkit/protocols/__init__.py | binref/PyPCAPKit | 7c5ba2cfa95bdc80a95b53b6669340a8783d2ad9 | [
"BSD-3-Clause"
] | null | null | null | pcapkit/protocols/__init__.py | binref/PyPCAPKit | 7c5ba2cfa95bdc80a95b53b6669340a8783d2ad9 | [
"BSD-3-Clause"
] | null | null | null | pcapkit/protocols/__init__.py | binref/PyPCAPKit | 7c5ba2cfa95bdc80a95b53b6669340a8783d2ad9 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# pylint: disable=unused-import,unused-wildcard-import,fixme
"""protocol family
:mod:`pcapkit.protocols` is collection of all protocol families,
with detailed implementation and methods.
"""
# TODO: Implement specified classes for MAC and IP addresses.
# Base Class for Protocols
from pcapkit.... | 22.862069 | 64 | 0.686275 | 156 | 1,326 | 5.782051 | 0.525641 | 0.177384 | 0.199557 | 0.096452 | 0.070953 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.18552 | 1,326 | 57 | 65 | 23.263158 | 0.827778 | 0.377828 | 0 | 0 | 0 | 0 | 0.195761 | 0 | 0 | 0 | 0 | 0.035088 | 0 | 1 | 0 | false | 0 | 0.409091 | 0 | 0.409091 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a98817e2727d1ac93b22ba39dfd829cb5e77f28 | 6,404 | py | Python | Vocola/exec/vcl2py.py | mrob95/natlink | dc806ab62da89b7bb3d3683387af00c696601e16 | [
"MIT"
] | null | null | null | Vocola/exec/vcl2py.py | mrob95/natlink | dc806ab62da89b7bb3d3683387af00c696601e16 | [
"MIT"
] | null | null | null | Vocola/exec/vcl2py.py | mrob95/natlink | dc806ab62da89b7bb3d3683387af00c696601e16 | [
"MIT"
] | null | null | null | # vcl2py: Convert Vocola voice command files to NatLink Python "grammar"
# classes implementing those voice commands
#
# Usage: python vcl2py.py [<option>...] <inputFileOrFolder> <outputFolder>
# Where <option> can be:
# -debug <n> -- specify debugging level
# (0 =... | 50.825397 | 80 | 0.671924 | 926 | 6,404 | 4.62959 | 0.431965 | 0.022393 | 0.016095 | 0.006998 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088381 | 0.242036 | 6,404 | 125 | 81 | 51.232 | 0.794808 | 0.953935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0a98e92c15967b552eed766737d8580588d4e424 | 363 | py | Python | wouso/games/specialquest/forms.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 117 | 2015-01-02T18:07:33.000Z | 2021-01-06T22:36:25.000Z | wouso/games/specialquest/forms.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 229 | 2015-01-12T07:07:58.000Z | 2019-10-12T08:27:01.000Z | wouso/games/specialquest/forms.py | AlexandruGhergut/wouso | f26244ff58ae626808ae8c58ccc93d21f9f2666f | [
"Apache-2.0"
] | 96 | 2015-01-07T05:26:09.000Z | 2020-06-25T07:28:51.000Z | from django.forms import ModelForm, TextInput
from django.forms.fields import DateField
from models import SpecialQuestTask
class TaskForm(ModelForm):
class Meta:
model = SpecialQuestTask
widgets = {'start_date': TextInput(attrs={'placeholder': 'yyyy-mm-dd'}),
'end_date': TextInp... | 30.25 | 80 | 0.688705 | 40 | 363 | 6.2 | 0.575 | 0.080645 | 0.120968 | 0.233871 | 0.298387 | 0.298387 | 0.298387 | 0 | 0 | 0 | 0 | 0 | 0.192837 | 363 | 11 | 81 | 33 | 0.846416 | 0 | 0 | 0 | 0 | 0 | 0.166205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.625 | 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 |
0aa396f26253085bea846f6bcdd8099c9978ce4a | 1,100 | py | Python | apis/v1/admin/administrator/interface_login.py | billijoe/wechat_spider | 5f4f82e9624b5ce9bd40e7b10bee82fd8467d963 | [
"Apache-2.0"
] | null | null | null | apis/v1/admin/administrator/interface_login.py | billijoe/wechat_spider | 5f4f82e9624b5ce9bd40e7b10bee82fd8467d963 | [
"Apache-2.0"
] | null | null | null | apis/v1/admin/administrator/interface_login.py | billijoe/wechat_spider | 5f4f82e9624b5ce9bd40e7b10bee82fd8467d963 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
@project : WechatTogether
@Time : 2020/9/7 15:18
@Auth : AJay13
@File :interface_login.py
@IDE :PyCharm
@Motto:ABC(Always Be Coding)
"""
__all__ = ['InterfaceLogin']
from flask import views, current_app
import models
from apis.common import response_code
from apis.common.api_version import... | 28.947368 | 103 | 0.687273 | 132 | 1,100 | 5.545455 | 0.568182 | 0.043716 | 0.057377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015945 | 0.201818 | 1,100 | 37 | 104 | 29.72973 | 0.817768 | 0.175455 | 0 | 0.105263 | 0 | 0 | 0.076223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0.052632 | 0.315789 | 0.052632 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
0ab01c604547a9b288e6ab2df369ba3984e5411f | 120 | py | Python | run.py | abirafdirp/reddit-notifier | 504317277a9302b153cca4827f902cc2c7e1d2c0 | [
"Unlicense"
] | null | null | null | run.py | abirafdirp/reddit-notifier | 504317277a9302b153cca4827f902cc2c7e1d2c0 | [
"Unlicense"
] | null | null | null | run.py | abirafdirp/reddit-notifier | 504317277a9302b153cca4827f902cc2c7e1d2c0 | [
"Unlicense"
] | null | null | null | from bot import Bot
from emailhandler import EmailHandler
Bot.validate()
EmailHandler.register()
bot = Bot()
bot.run()
| 15 | 37 | 0.775 | 16 | 120 | 5.8125 | 0.4375 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 7 | 38 | 17.142857 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
0adda991f05dd0a1900ffb88b0264a761f484534 | 2,139 | py | Python | build/lib/radproc/api.py | esride-jts/radproc | e52ff07878a354a55882cf1bf37d10afefe50ced | [
"MIT"
] | 8 | 2019-09-04T19:31:14.000Z | 2021-09-14T08:11:58.000Z | build/lib/radproc/api.py | esride-jts/radproc | e52ff07878a354a55882cf1bf37d10afefe50ced | [
"MIT"
] | 3 | 2018-08-17T09:28:46.000Z | 2018-11-08T08:34:47.000Z | build/lib/radproc/api.py | esride-jts/radproc | e52ff07878a354a55882cf1bf37d10afefe50ced | [
"MIT"
] | 4 | 2018-10-14T03:16:04.000Z | 2021-09-14T08:13:26.000Z | # -*- coding: utf-8 -*-
# Radproc - A GIS-compatible Python-Package for automated RADOLAN Composite Processing and Analysis.
# Copyright (c) 2018, Jennifer Kreklow.
# DOI: https://doi.org/10.5281/zenodo.1313701
#
# Distributed under the MIT License (see LICENSE.txt for more information), complemented with the following... | 48.613636 | 181 | 0.821879 | 305 | 2,139 | 5.462295 | 0.521311 | 0.059424 | 0.030612 | 0.041417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013822 | 0.120617 | 2,139 | 43 | 182 | 49.744186 | 0.871877 | 0.425432 | 0 | 0 | 0 | 0 | 0.018197 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.769231 | 0 | 0.769231 | 0.153846 | 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 |
0ae8b475311ba875dbfd4faba7bb386462ec8601 | 606 | py | Python | saleor/shipping/utils.py | arneb/saleor | 0bdde822e774904cc9c2e8e136151dc033fd6315 | [
"BSD-3-Clause"
] | 1 | 2020-10-24T14:25:53.000Z | 2020-10-24T14:25:53.000Z | saleor/shipping/utils.py | arneb/saleor | 0bdde822e774904cc9c2e8e136151dc033fd6315 | [
"BSD-3-Clause"
] | 6 | 2021-02-08T20:20:06.000Z | 2022-03-11T23:18:59.000Z | saleor/shipping/utils.py | arneb/saleor | 0bdde822e774904cc9c2e8e136151dc033fd6315 | [
"BSD-3-Clause"
] | 3 | 2017-10-07T19:25:30.000Z | 2019-06-17T21:58:59.000Z | from prices import PriceRange
from .models import ShippingMethodCountry
def get_shipment_options(country_code):
shipping_methods_qs = ShippingMethodCountry.objects.select_related(
'shipping_method')
shipping_methods = shipping_methods_qs.filter(country_code=country_code)
if not shipping_methods.e... | 37.875 | 77 | 0.767327 | 70 | 606 | 6.285714 | 0.442857 | 0.375 | 0.209091 | 0.272727 | 0.222727 | 0.222727 | 0.222727 | 0.222727 | 0 | 0 | 0 | 0 | 0.158416 | 606 | 15 | 78 | 40.4 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.033003 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0aead8519183ed6369f3c2aecf733770d7ab2455 | 2,927 | py | Python | constants/defaults.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 206 | 2015-10-15T07:05:08.000Z | 2021-02-19T11:48:36.000Z | constants/defaults.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 8 | 2017-10-16T10:18:31.000Z | 2022-03-09T14:24:27.000Z | constants/defaults.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 61 | 2015-10-15T08:12:44.000Z | 2022-03-10T12:25:06.000Z | ##
# Allowed hosts
HTK_ALLOWED_HOST_REGEXPS = (
# TODO: remove this rule, it's too permissive
r'(.*)',
# e.g.
#r'(.*\.)?hacktoolkit\.com(\.)?',
)
##
# Miscellaneous settings
HTK_DEFAULT_DOMAIN = 'hacktoolkit.com'
HTK_DEFAULT_APP_LABEL = 'htk'
HTK_SITE_NAME = 'Hacktoolkit'
HTK_SYMBOLIC_SITE_NAME = 'hack... | 28.144231 | 76 | 0.791937 | 398 | 2,927 | 5.515075 | 0.354271 | 0.070159 | 0.230524 | 0.258314 | 0.385877 | 0.292027 | 0.032802 | 0 | 0 | 0 | 0 | 0.001141 | 0.101469 | 2,927 | 103 | 77 | 28.417476 | 0.83346 | 0.079604 | 0 | 0 | 0 | 0 | 0.163219 | 0.086499 | 0 | 0 | 0 | 0.009709 | 0 | 1 | 0 | false | 0 | 0.349206 | 0 | 0.349206 | 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 |
0afb54e81cd8ed2dc4d7213428be19bb0f27d660 | 1,471 | py | Python | neuralnetnumpy/activation.py | raufbhat-dev/Deep-Neural-Net-Numpy | db347057c0763945b5a4852128b99cc64cc562a4 | [
"BSD-3-Clause"
] | null | null | null | neuralnetnumpy/activation.py | raufbhat-dev/Deep-Neural-Net-Numpy | db347057c0763945b5a4852128b99cc64cc562a4 | [
"BSD-3-Clause"
] | null | null | null | neuralnetnumpy/activation.py | raufbhat-dev/Deep-Neural-Net-Numpy | db347057c0763945b5a4852128b99cc64cc562a4 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
class Activation:
def __init__(self,activation):
self.activation = activation
self.activation_derivative = np.ones(shape = (1,1))
def getActivation(self):
if self.activation == 'sigmoid':
def func(y):
y_ret = np.matrix(1/(1+np.exp(1-y)... | 38.710526 | 96 | 0.509857 | 187 | 1,471 | 3.882353 | 0.219251 | 0.250689 | 0.198347 | 0.179063 | 0.418733 | 0.297521 | 0.115702 | 0.115702 | 0.115702 | 0.115702 | 0 | 0.023784 | 0.371176 | 1,471 | 37 | 97 | 39.756757 | 0.761081 | 0 | 0 | 0.228571 | 0 | 0 | 0.021074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.028571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0afbef17cc74c28bc98ba37e5da33f363c8db2e5 | 113 | py | Python | tests/__init__.py | mkshgh/resizePixel | ec775c59dec4b3fa568c6080420aff0de39c0b9d | [
"MIT"
] | null | null | null | tests/__init__.py | mkshgh/resizePixel | ec775c59dec4b3fa568c6080420aff0de39c0b9d | [
"MIT"
] | null | null | null | tests/__init__.py | mkshgh/resizePixel | ec775c59dec4b3fa568c6080420aff0de39c0b9d | [
"MIT"
] | null | null | null | import pytest
from resizePixel.resizePixel import *
import unittest
__all__ = [
'pytest',
'unittest',
]
| 12.555556 | 37 | 0.699115 | 11 | 113 | 6.818182 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20354 | 113 | 8 | 38 | 14.125 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0afc346108013b2fb5cdfe74ed01447ffc8f07ba | 35 | py | Python | NDBSCANjDE/eucl_dist/__init__.py | krowck/ISDA-NCjDE-HJ | 44c33ba12542a88eaa39fe2b72398ffd7b439372 | [
"MIT"
] | null | null | null | NDBSCANjDE/eucl_dist/__init__.py | krowck/ISDA-NCjDE-HJ | 44c33ba12542a88eaa39fe2b72398ffd7b439372 | [
"MIT"
] | null | null | null | NDBSCANjDE/eucl_dist/__init__.py | krowck/ISDA-NCjDE-HJ | 44c33ba12542a88eaa39fe2b72398ffd7b439372 | [
"MIT"
] | null | null | null | __all__ = ["gpu_dist", "cpu_dist"]
| 17.5 | 34 | 0.657143 | 5 | 35 | 3.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0.457143 | 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 |
7c0ebad592fff0b57076126ca7a37d69f13dbb65 | 563 | py | Python | src/typeDefs/section_1_5/section_1_5_3.py | dheerajgupta0001/wrldc_mis_monthly_report_generator | dd5ae6f28ec6bf8e6532820fd71dd63f8b223f0b | [
"MIT"
] | null | null | null | src/typeDefs/section_1_5/section_1_5_3.py | dheerajgupta0001/wrldc_mis_monthly_report_generator | dd5ae6f28ec6bf8e6532820fd71dd63f8b223f0b | [
"MIT"
] | null | null | null | src/typeDefs/section_1_5/section_1_5_3.py | dheerajgupta0001/wrldc_mis_monthly_report_generator | dd5ae6f28ec6bf8e6532820fd71dd63f8b223f0b | [
"MIT"
] | null | null | null | from typing import TypedDict
import datetime as dt
class ISection_1_5_3(TypedDict):
prev_month_name: str
wr_avg_con: str
wr_avg_con_prev_month: str
wr_avg_con_last_year: str
wr_avg_con_perc_change_prev_month: float
wr_avg_con_perc_change_last_year: float
wr_max_con: float
wr_max_con_pre... | 31.277778 | 44 | 0.802842 | 104 | 563 | 3.721154 | 0.25 | 0.103359 | 0.165375 | 0.20155 | 0.568475 | 0.529716 | 0.325581 | 0.175711 | 0.175711 | 0 | 0 | 0.006397 | 0.166963 | 563 | 18 | 45 | 31.277778 | 0.818763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.117647 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7c12945f5968f28156298bdb13b11aab318148e8 | 484 | py | Python | core/SecretCommands.py | shadoso/ShadoBot | bf25a69b979a54107c8ea20e829922543ed49919 | [
"MIT"
] | 1 | 2022-02-08T05:41:39.000Z | 2022-02-08T05:41:39.000Z | core/SecretCommands.py | shadoso/ShadoBot | bf25a69b979a54107c8ea20e829922543ed49919 | [
"MIT"
] | null | null | null | core/SecretCommands.py | shadoso/ShadoBot | bf25a69b979a54107c8ea20e829922543ed49919 | [
"MIT"
] | null | null | null | # web = discord.Embed(title="ERROR_404_NOT_FOUND", description=HACKER_DESCRIPTION, color=0x1d2b53)
# web.set_thumbnail(url=HACKER)
# web.add_field(name=":unlock: CHANGE_ORG_USER :coin: 99.945,99", value=ORG, inline=False)
# await ctx.send(embed=web)
# HACKER = "https://cdn.discordapp.com/attachments/935364491804303392... | 60.5 | 115 | 0.780992 | 69 | 484 | 5.289855 | 0.753623 | 0.043836 | 0.060274 | 0.087671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144796 | 0.086777 | 484 | 8 | 116 | 60.5 | 0.680995 | 0.969008 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c1d0bfca56c3b11d374b3c51b9d3087abbec777 | 183 | py | Python | pyoptools/raytrace/shape/__init__.py | fcichos/pyoptools | ce0df42d45420f02d351e76d5f11fded4df8969d | [
"BSD-3-Clause"
] | 1 | 2021-05-21T14:11:09.000Z | 2021-05-21T14:11:09.000Z | pyoptools/raytrace/shape/__init__.py | fcichos/pyoptools | ce0df42d45420f02d351e76d5f11fded4df8969d | [
"BSD-3-Clause"
] | null | null | null | pyoptools/raytrace/shape/__init__.py | fcichos/pyoptools | ce0df42d45420f02d351e76d5f11fded4df8969d | [
"BSD-3-Clause"
] | 2 | 2015-03-21T23:37:10.000Z | 2018-10-22T18:03:57.000Z |
from shape import *
from rectangular import *
from circular import *
from triangular import *
__all__=["Shape",
"Circular",
"Rectangular",
"Triangular"]
| 16.636364 | 25 | 0.628415 | 17 | 183 | 6.529412 | 0.411765 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273224 | 183 | 10 | 26 | 18.3 | 0.834586 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7c205832c09ecaf65199878a01f82930b209e6fa | 272 | py | Python | series_tiempo_ar_api/libs/custom_admins/utils.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 28 | 2017-12-16T20:30:52.000Z | 2021-08-11T17:35:04.000Z | series_tiempo_ar_api/libs/custom_admins/utils.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 446 | 2017-11-16T15:21:40.000Z | 2021-06-10T20:14:21.000Z | series_tiempo_ar_api/libs/custom_admins/utils.py | datosgobar/series-tiempo-ar-api | 6b553c573f6e8104f8f3919efe79089b7884280c | [
"MIT"
] | 12 | 2018-08-23T16:13:32.000Z | 2022-03-01T23:12:28.000Z | from elasticsearch_dsl import Search, Q
from series_tiempo_ar_api.apps.metadata import constants
def delete_metadata(fields: list):
search = Search(index=constants.METADATA_ALIAS)
return search.filter('terms', id=[field.identifier for field in fields]).delete()
| 34 | 85 | 0.790441 | 38 | 272 | 5.5 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 272 | 7 | 86 | 38.857143 | 0.870833 | 0 | 0 | 0 | 0 | 0 | 0.018382 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7c25038fdb463a8dce5fcb0ea6a7db645ad01323 | 1,251 | py | Python | pysbolgraph/S2Interaction.py | zhfanrui/pysbolgraph | c4914705bd9b22a2b69db0fc4d43049fcb07ad17 | [
"BSD-2-Clause"
] | 4 | 2018-06-29T10:43:08.000Z | 2019-03-27T22:33:33.000Z | pysbolgraph/S2Interaction.py | zhfanrui/pysbolgraph | c4914705bd9b22a2b69db0fc4d43049fcb07ad17 | [
"BSD-2-Clause"
] | 14 | 2019-01-22T16:03:12.000Z | 2019-11-11T19:05:32.000Z | pysbolgraph/S2Interaction.py | zhfanrui/pysbolgraph | c4914705bd9b22a2b69db0fc4d43049fcb07ad17 | [
"BSD-2-Clause"
] | 12 | 2018-07-01T10:59:37.000Z | 2021-03-01T08:48:20.000Z | from .S2Identified import S2Identified
from .S2Participation import S2Participation
from .S2IdentifiedFactory import S2IdentifiedFactory
from .terms import SBOL2
class S2Interaction(S2Identified):
def __init__(self, g, uri):
super(S2Interaction, self).__init__(g, uri)
@property
def type(self):
... | 31.275 | 101 | 0.727418 | 140 | 1,251 | 6.307143 | 0.264286 | 0.073613 | 0.05436 | 0.038505 | 0.083805 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019743 | 0.190248 | 1,251 | 40 | 102 | 31.275 | 0.851925 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0 | 0.137931 | 0.103448 | 0.551724 | 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 |
7c42a448df72ab67070dc305b5150d0eba6c485b | 80 | py | Python | legacy/AISing2019/A1.py | mo-mo-666/AtCoder | 99556f5ed98510850aaa8ab2b845da6a9359f5a5 | [
"MIT"
] | null | null | null | legacy/AISing2019/A1.py | mo-mo-666/AtCoder | 99556f5ed98510850aaa8ab2b845da6a9359f5a5 | [
"MIT"
] | null | null | null | legacy/AISing2019/A1.py | mo-mo-666/AtCoder | 99556f5ed98510850aaa8ab2b845da6a9359f5a5 | [
"MIT"
] | null | null | null | n = int(input())
h = int(input())
w = int(input())
print((n-h+1) * (n-w+1)) | 16 | 24 | 0.475 | 16 | 80 | 2.375 | 0.4375 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 80 | 5 | 24 | 16 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
7c52bdb30fb06c4dab28bdc142ac208ffe5a205a | 110 | py | Python | mafi/services/processpool.py | WiFiFi/mafibot | 835560b3eb3f39b589eec373f5515d6a9db68c78 | [
"MIT"
] | 2 | 2021-06-11T13:33:19.000Z | 2021-06-11T13:34:14.000Z | mafi/services/processpool.py | WiFiFi/mafibot | 835560b3eb3f39b589eec373f5515d6a9db68c78 | [
"MIT"
] | null | null | null | mafi/services/processpool.py | WiFiFi/mafibot | 835560b3eb3f39b589eec373f5515d6a9db68c78 | [
"MIT"
] | 1 | 2021-06-11T13:33:21.000Z | 2021-06-11T13:33:21.000Z | from concurrent.futures import ProcessPoolExecutor
processpool_executor = ProcessPoolExecutor(max_workers=3) | 27.5 | 57 | 0.881818 | 11 | 110 | 8.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 0.072727 | 110 | 4 | 57 | 27.5 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7c57ed66de1d0d3cd14ea213de4c85e39d224b58 | 9,530 | py | Python | gcraft/utils/geometry/mesh_ops.py | ddomurad/gcraft | 7174fcacee875fd90e8d878463108aae3c77873e | [
"MIT"
] | null | null | null | gcraft/utils/geometry/mesh_ops.py | ddomurad/gcraft | 7174fcacee875fd90e8d878463108aae3c77873e | [
"MIT"
] | null | null | null | gcraft/utils/geometry/mesh_ops.py | ddomurad/gcraft | 7174fcacee875fd90e8d878463108aae3c77873e | [
"MIT"
] | null | null | null | from OpenGL.GL import *
from gcraft.utils.geometry.mesh_geometry import MeshGeometry
from gcraft.utils.transformation import Transformation
from gcraft.utils.vector_ops import *
def mod_vertex_data(geometry: MeshGeometry, data_tag, data_len, mod):
if not geometry.contains_data(data_tag):
return
vert... | 35.036765 | 106 | 0.661805 | 1,368 | 9,530 | 4.330409 | 0.082602 | 0.119514 | 0.094193 | 0.042539 | 0.7684 | 0.752363 | 0.72451 | 0.644328 | 0.636732 | 0.62711 | 0 | 0.034737 | 0.232739 | 9,530 | 271 | 107 | 35.166052 | 0.775438 | 0.008604 | 0 | 0.578378 | 0 | 0 | 0.053802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.021622 | 0 | 0.102703 | 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 |
7c823e8601336d906df0bebdb855983f270e790f | 887 | py | Python | setup.py | akrobotics/rosjava_build_tools | 5b5afb4aa245589314d67929edf8bd7775ed7556 | [
"Apache-2.0"
] | 1 | 2021-01-21T16:38:06.000Z | 2021-01-21T16:38:06.000Z | setup.py | akrobotics/rosjava_build_tools | 5b5afb4aa245589314d67929edf8bd7775ed7556 | [
"Apache-2.0"
] | 22 | 2015-02-11T07:15:23.000Z | 2021-01-18T10:02:32.000Z | setup.py | akrobotics/rosjava_build_tools | 5b5afb4aa245589314d67929edf8bd7775ed7556 | [
"Apache-2.0"
] | 25 | 2016-04-18T04:10:06.000Z | 2021-08-22T05:50:28.000Z | #!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
d = generate_distutils_setup(
packages=['rosjava_build_tools'],
package_dir={'': 'src'},
scripts=['scripts/catkin_create_android_pkg',
'scripts/catkin_create_android_project',
... | 32.851852 | 61 | 0.652762 | 88 | 887 | 6.136364 | 0.329545 | 0.144444 | 0.211111 | 0.144444 | 0.122222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232244 | 887 | 26 | 62 | 34.115385 | 0.792952 | 0.022548 | 0 | 0 | 1 | 0 | 0.502309 | 0.454965 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 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 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7c97354a003328c288fcfb6f4129286cdd8d9893 | 416 | py | Python | django_clienthints/utils.py | reef-technologies/django-clienthints | 045bb15cc3e41799fdc41a5907268b3cc1fd6ccc | [
"BSD-3-Clause"
] | null | null | null | django_clienthints/utils.py | reef-technologies/django-clienthints | 045bb15cc3e41799fdc41a5907268b3cc1fd6ccc | [
"BSD-3-Clause"
] | null | null | null | django_clienthints/utils.py | reef-technologies/django-clienthints | 045bb15cc3e41799fdc41a5907268b3cc1fd6ccc | [
"BSD-3-Clause"
] | null | null | null | from django.conf import settings
def get_ch_accept_header_value():
if not settings.CLIENTHINTS:
return ''
return ','.join(settings.CLIENTHINTS)
def get_future_policy_header_value():
if not settings.CLIENTHINTS_ALLOWLIST:
return ''
return ';'.join(
f'{feature.lower()} {" ".j... | 21.894737 | 72 | 0.673077 | 47 | 416 | 5.744681 | 0.531915 | 0.281481 | 0.096296 | 0.118519 | 0.259259 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213942 | 416 | 18 | 73 | 23.111111 | 0.825688 | 0 | 0 | 0.166667 | 0 | 0 | 0.098558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7ca78f753e909c633274e8cf42d50121adbac682 | 4,402 | py | Python | kombu/asynchronous/aws/sqs/queue.py | CountRedClaw/kombu | 14d395aa859b905874d8b4abd677a4c7ac86e10b | [
"BSD-3-Clause"
] | null | null | null | kombu/asynchronous/aws/sqs/queue.py | CountRedClaw/kombu | 14d395aa859b905874d8b4abd677a4c7ac86e10b | [
"BSD-3-Clause"
] | null | null | null | kombu/asynchronous/aws/sqs/queue.py | CountRedClaw/kombu | 14d395aa859b905874d8b4abd677a4c7ac86e10b | [
"BSD-3-Clause"
] | null | null | null | """Amazon SQS queue implementation."""
from __future__ import annotations
from vine import transform
from .message import AsyncMessage
_all__ = ['AsyncQueue']
def list_first(rs):
"""Get the first item in a list, or None if list empty."""
return rs[0] if len(rs) == 1 else None
class AsyncQueue:
"""As... | 33.603053 | 78 | 0.65493 | 487 | 4,402 | 5.634497 | 0.211499 | 0.058309 | 0.085277 | 0.104227 | 0.430029 | 0.307216 | 0.284621 | 0.156341 | 0.0707 | 0.037901 | 0 | 0.003688 | 0.260791 | 4,402 | 130 | 79 | 33.861538 | 0.839582 | 0.023171 | 0 | 0.131313 | 0 | 0 | 0.017274 | 0.006303 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0 | 0.030303 | 0.161616 | 0.555556 | 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 |
7ca80a43ce964edc98480e8ff68bac67ebd245af | 221 | py | Python | neural_network/loss_function.py | hirotoyoshidome/python_utils | 1c59aa8b8a3de6c350abddf2be29484a427e45ef | [
"MIT"
] | null | null | null | neural_network/loss_function.py | hirotoyoshidome/python_utils | 1c59aa8b8a3de6c350abddf2be29484a427e45ef | [
"MIT"
] | null | null | null | neural_network/loss_function.py | hirotoyoshidome/python_utils | 1c59aa8b8a3de6c350abddf2be29484a427e45ef | [
"MIT"
] | null | null | null | #!/bin/usr python3
import numpy as np
# 2乗和誤差
def mean__squared_error(y, t):
return 0.5 * np.sun((y-t) ** 2)
# 交差エントロピー誤差
def cross_entropy_error(y, t):
delta = le - 7
return -np.sum(t * np.log(y + delta))
| 17 | 41 | 0.624434 | 40 | 221 | 3.325 | 0.675 | 0.045113 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034682 | 0.217195 | 221 | 12 | 42 | 18.416667 | 0.734104 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7cabf4fa3a406d358f75714724ad8a7d52003023 | 1,685 | py | Python | Blender 2.91/2.91/scripts/addons/power_sequencer/ui/__init__.py | calculusrobotics/RNNs-for-Bayesian-State-Estimation | 2aacf86d2e447e10c840b4926d4de7bc5e46d9bc | [
"MIT"
] | 1 | 2021-06-30T00:39:40.000Z | 2021-06-30T00:39:40.000Z | release/scripts/addons/power_sequencer/ui/__init__.py | ringsce/Rings3D | 8059d1e2460fc8d6f101eff8e695f68a99f6671d | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | release/scripts/addons/power_sequencer/ui/__init__.py | ringsce/Rings3D | 8059d1e2460fc8d6f101eff8e695f68a99f6671d | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #
# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
# Power Sequencer is free software: you can redistribute it and/or modify it under the terms of the
# GNU General Public License as published by the Free Software Foundation, either... | 34.387755 | 99 | 0.791098 | 241 | 1,685 | 5.207469 | 0.423237 | 0.312351 | 0.305976 | 0.045418 | 0.450996 | 0.430279 | 0.385657 | 0.385657 | 0.385657 | 0.385657 | 0 | 0.00636 | 0.160237 | 1,685 | 48 | 100 | 35.104167 | 0.880565 | 0.44273 | 0 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
7cb730a94235c4730358a5f596687426bd5d8f37 | 103 | py | Python | SiteSpecificFiles/BNL/site/test.py | lsst-camera-dh/ccstsscripts | 28e021a15640b346709cfbf6b68ae6cc9a2e5dd3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | SiteSpecificFiles/BNL/site/test.py | lsst-camera-dh/ccstsscripts | 28e021a15640b346709cfbf6b68ae6cc9a2e5dd3 | [
"BSD-3-Clause-LBNL"
] | 1 | 2015-04-14T18:01:25.000Z | 2015-04-14T18:01:25.000Z | SiteSpecificFiles/BNL/site/test.py | lsst-camera-dh/ccstsscripts | 28e021a15640b346709cfbf6b68ae6cc9a2e5dd3 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #!/usr/bin/env python
import os
try:
st = os.stat("tst")
print st
except:
print "no file"
| 11.444444 | 23 | 0.592233 | 17 | 103 | 3.588235 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262136 | 103 | 8 | 24 | 12.875 | 0.802632 | 0.194175 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | 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 |
7cbae306e29453e1595d4b5d2d172d7982f3d22b | 551 | py | Python | security.py | william-wls-code/StoreAPI | a1ee38a0a39d7b71f5c07072da36985f7d0500f5 | [
"MIT"
] | null | null | null | security.py | william-wls-code/StoreAPI | a1ee38a0a39d7b71f5c07072da36985f7d0500f5 | [
"MIT"
] | null | null | null | security.py | william-wls-code/StoreAPI | a1ee38a0a39d7b71f5c07072da36985f7d0500f5 | [
"MIT"
] | null | null | null | from werkzeug.security import safe_str_cmp
from models.user import UserModel
def authenticate(username, password):
''' Look for the username, if that user exists and the password is correct, return the user. '''
user = UserModel.find_by_username(username)
if user and safe_str_cmp(user.password, password):... | 34.4375 | 109 | 0.738657 | 80 | 551 | 4.9625 | 0.4375 | 0.060453 | 0.050378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183303 | 551 | 15 | 110 | 36.733333 | 0.882222 | 0.339383 | 0 | 0 | 0 | 0 | 0.022857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.222222 | 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 |
7cc2a1b7bd7380422d54fa62a9ade793a946fe2f | 86 | py | Python | playerpy/version.py | daniel-falk/playerpy | e2d2c24e85d61af9a529b657fd572ee5026f6c4d | [
"MIT"
] | null | null | null | playerpy/version.py | daniel-falk/playerpy | e2d2c24e85d61af9a529b657fd572ee5026f6c4d | [
"MIT"
] | 2 | 2021-07-17T03:26:37.000Z | 2021-07-18T16:24:31.000Z | playerpy/version.py | daniel-falk/playerpy | e2d2c24e85d61af9a529b657fd572ee5026f6c4d | [
"MIT"
] | 1 | 2021-07-04T20:38:43.000Z | 2021-07-04T20:38:43.000Z | __version_info__ = (0, 1, 1)
__version__ = '.'.join(str(i) for i in __version_info__)
| 28.666667 | 56 | 0.697674 | 14 | 86 | 3.285714 | 0.642857 | 0.478261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.139535 | 86 | 2 | 57 | 43 | 0.581081 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 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 |
7cc5fee45922b8c54c4aa5b1ece442adeef8f06c | 560 | py | Python | var/spack/repos/builtin/packages/r-whisker/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11 | 2015-10-04T02:17:46.000Z | 2018-02-07T18:23:00.000Z | var/spack/repos/builtin/packages/r-whisker/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 22 | 2017-08-01T22:45:10.000Z | 2022-03-10T07:46:31.000Z | var/spack/repos/builtin/packages/r-whisker/package.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 4 | 2016-06-10T17:57:39.000Z | 2018-09-11T04:59:38.000Z | # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RWhisker(RPackage):
"""{{mustache}} for R, Logicless Templating.
Implements 'Mustache... | 31.111111 | 95 | 0.764286 | 57 | 560 | 7.508772 | 0.807018 | 0.088785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220619 | 0.133929 | 560 | 17 | 96 | 32.941176 | 0.661856 | 0.492857 | 0 | 0 | 0 | 0 | 0.527675 | 0.472325 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7ce768a9b10e326d6d586dedcc7cfad7d4819a24 | 112 | py | Python | beatsmusic/python/api_config.py | ajot/api-catalyst | 8376ad56c4bcf31b253787a12ddc4bf9f3d5c697 | [
"MIT"
] | 1 | 2017-03-10T12:54:36.000Z | 2017-03-10T12:54:36.000Z | beatsmusic/python/api_config.py | ajot/api-catalyst | 8376ad56c4bcf31b253787a12ddc4bf9f3d5c697 | [
"MIT"
] | null | null | null | beatsmusic/python/api_config.py | ajot/api-catalyst | 8376ad56c4bcf31b253787a12ddc4bf9f3d5c697 | [
"MIT"
] | null | null | null | # You will need to get an API key from Beats Music http://developer.beatsmusic.com
API_KEY = 'YOUR_API_KEY_HERE' | 56 | 82 | 0.785714 | 21 | 112 | 4 | 0.809524 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 2 | 83 | 56 | 0.865979 | 0.714286 | 0 | 0 | 0 | 0 | 0.548387 | 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 |
6b13e76c14187e97a0be666b8ca02d885534454f | 835 | py | Python | tests/fake_repository.py | Spielmannmisha/car_holder | 1c0557455240ab84539eeedbc8c163d6cfe6fece | [
"MIT"
] | null | null | null | tests/fake_repository.py | Spielmannmisha/car_holder | 1c0557455240ab84539eeedbc8c163d6cfe6fece | [
"MIT"
] | 7 | 2021-07-05T08:25:59.000Z | 2021-07-20T18:39:26.000Z | tests/fake_repository.py | Spielmannmisha/car_holder | 1c0557455240ab84539eeedbc8c163d6cfe6fece | [
"MIT"
] | null | null | null | from typing import List
from src.models import Person
import random
from datetime import datetime
class FakeUsersRepository:
rand_id = random.randint(10, 1000)
current_date = datetime.now()
def __init__(self, users: List[Person]) -> None:
self._users = set(users)
def add(self, teleg... | 30.925926 | 126 | 0.667066 | 122 | 835 | 4.368852 | 0.319672 | 0.101313 | 0.052533 | 0.075047 | 0.165103 | 0.165103 | 0.165103 | 0.165103 | 0.165103 | 0.165103 | 0 | 0.009317 | 0.228743 | 835 | 26 | 127 | 32.115385 | 0.818323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.222222 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6b17319d76714c14bd7fca122ea699f8a4780e1d | 389 | py | Python | src/simulator/report.py | jazzsewera/mops-projekt | 75924546eb73c266ba81e8e22c68ad939dea19d6 | [
"MIT"
] | null | null | null | src/simulator/report.py | jazzsewera/mops-projekt | 75924546eb73c266ba81e8e22c68ad939dea19d6 | [
"MIT"
] | null | null | null | src/simulator/report.py | jazzsewera/mops-projekt | 75924546eb73c266ba81e8e22c68ad939dea19d6 | [
"MIT"
] | null | null | null | class Report(object):
def __init__(self):
self._packets_in_buffer = []
self._packet_wait_time = []
self._server_load = []
def update_state(self, packets_in_buffer, packet_wait_time, server_load):
self._packets_in_buffer.append(packets_in_buffer)
self._packet_wait_time.ap... | 35.363636 | 77 | 0.706941 | 51 | 389 | 4.784314 | 0.333333 | 0.147541 | 0.245902 | 0.233607 | 0.442623 | 0.442623 | 0.270492 | 0 | 0 | 0 | 0 | 0 | 0.200514 | 389 | 10 | 78 | 38.9 | 0.784566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6b1aa66758eee33895b7187b2f898870a14de52b | 134 | py | Python | webtool/apps.py | wodo/WebTool3 | 1582a03d619434d8a6139f705a1b5860e9b5b8b8 | [
"BSD-2-Clause"
] | 13 | 2018-12-16T21:01:24.000Z | 2019-07-03T06:23:41.000Z | webtool/apps.py | dav-kempten/WebTool3 | 859f39df67cb0f853c7fe33cb5d08b999d8692fc | [
"BSD-2-Clause"
] | 26 | 2019-07-07T06:44:06.000Z | 2021-09-07T07:28:34.000Z | webtool/apps.py | dav-kempten/WebTool3 | 859f39df67cb0f853c7fe33cb5d08b999d8692fc | [
"BSD-2-Clause"
] | 3 | 2017-06-18T06:22:52.000Z | 2019-07-03T06:21:05.000Z | from django.contrib.admin.apps import AdminConfig
class WebtoolAdminConfig(AdminConfig):
default_site = 'admin.WebtoolAdminSite'
| 26.8 | 49 | 0.820896 | 14 | 134 | 7.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 134 | 4 | 50 | 33.5 | 0.908333 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 0.164179 | 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 |
6b272c765fdce0fbc115f0d3cc23fca0281af30e | 57,908 | py | Python | nlplingo/oregon/nlplingo/tasks/sequence/ED_model_hf.py | BBN-E/nlplingo | 32ff17b1320937faa3d3ebe727032f4b3e7a353d | [
"Apache-2.0"
] | 3 | 2020-10-22T13:28:00.000Z | 2022-03-24T19:57:22.000Z | nlplingo/oregon/nlplingo/tasks/sequence/ED_model_hf.py | BBN-E/nlplingo | 32ff17b1320937faa3d3ebe727032f4b3e7a353d | [
"Apache-2.0"
] | null | null | null | nlplingo/oregon/nlplingo/tasks/sequence/ED_model_hf.py | BBN-E/nlplingo | 32ff17b1320937faa3d3ebe727032f4b3e7a353d | [
"Apache-2.0"
] | 1 | 2020-10-22T13:29:51.000Z | 2020-10-22T13:29:51.000Z | # -*- coding: utf-8 -*-
# from python.clever.event_models.uoregon.models.pipeline._01.local_constants import *
#from fairseq.models.roberta import XLMRModel
from nlplingo.oregon.event_models.uoregon.tools.utils import *
from nlplingo.oregon.event_models.uoregon.layers import DynamicLSTM, GCN, SelfAttention
#from nlplin... | 57.277943 | 160 | 0.428835 | 8,535 | 57,908 | 2.825542 | 0.107206 | 0.099768 | 0.135346 | 0.162879 | 0.697421 | 0.666736 | 0.606776 | 0.572442 | 0.562158 | 0.546276 | 0 | 0.289067 | 0.384921 | 57,908 | 1,010 | 161 | 57.334653 | 0.388006 | 0.121434 | 0 | 0.373206 | 0 | 0 | 0.17412 | 0.019486 | 0 | 0 | 0 | 0.00099 | 0 | 1 | 0.023923 | false | 0 | 0.019139 | 0 | 0.062201 | 0.392345 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8609c18864c8c591a102d9003c03ffd7906521a5 | 290 | py | Python | easyneuron/__init__.py | TrendingTechnology/easyneuron | b99822c7206a144a0ab61b3b6b5cddeaca1a3c6a | [
"Apache-2.0"
] | 1 | 2021-12-14T19:21:44.000Z | 2021-12-14T19:21:44.000Z | easyneuron/__init__.py | TrendingTechnology/easyneuron | b99822c7206a144a0ab61b3b6b5cddeaca1a3c6a | [
"Apache-2.0"
] | null | null | null | easyneuron/__init__.py | TrendingTechnology/easyneuron | b99822c7206a144a0ab61b3b6b5cddeaca1a3c6a | [
"Apache-2.0"
] | null | null | null | """easyNeuron is the simplest way to design, build and test machine learnng models.
Submodules
----------
easyneuron.math - The math tools needed for the module
easyneuron.neighbours - KNearest and other neighbourb based ML models
easyneuron.types - The custom types for the module
""" | 32.222222 | 83 | 0.758621 | 40 | 290 | 5.5 | 0.675 | 0.054545 | 0.109091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158621 | 290 | 9 | 84 | 32.222222 | 0.901639 | 1.07931 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
860ab93257e6057af2f7f8d857361512722b9f0d | 28,835 | py | Python | sphinx/search/it.py | zhsj/sphinx | 169297d0b76bf0b503033dadeb14f9a2b735e422 | [
"BSD-2-Clause"
] | 69 | 2019-02-18T12:07:35.000Z | 2022-03-12T10:38:32.000Z | sphinx/search/it.py | zhsj/sphinx | 169297d0b76bf0b503033dadeb14f9a2b735e422 | [
"BSD-2-Clause"
] | 301 | 2020-10-03T10:46:31.000Z | 2022-03-27T23:46:23.000Z | sphinx/search/it.py | zhsj/sphinx | 169297d0b76bf0b503033dadeb14f9a2b735e422 | [
"BSD-2-Clause"
] | 28 | 2019-03-22T01:07:13.000Z | 2022-02-21T16:38:27.000Z | # -*- coding: utf-8 -*-
"""
sphinx.search.it
~~~~~~~~~~~~~~~~
Italian search language: includes the JS Italian stemmer.
:copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from sphinx.search import SearchLanguage, parse_stop_word
import sn... | 86.074627 | 23,390 | 0.608427 | 6,481 | 28,835 | 2.639408 | 0.109551 | 0.0463 | 0.046475 | 0.039986 | 0.522857 | 0.466561 | 0.41921 | 0.376885 | 0.298375 | 0.245528 | 0 | 0.036057 | 0.111288 | 28,835 | 334 | 23,391 | 86.332335 | 0.631468 | 0.010161 | 0 | 0 | 0 | 0.003289 | 0.980814 | 0.56987 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006579 | false | 0 | 0.009868 | 0.003289 | 0.039474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8624371154c1b1a75c36b0de672b793085f753dc | 4,337 | py | Python | tests/test_fft.py | Majoburo/spaxlet | 9eaf52b996dd6f64401e95eedfa50785b6f8cc85 | [
"MIT"
] | null | null | null | tests/test_fft.py | Majoburo/spaxlet | 9eaf52b996dd6f64401e95eedfa50785b6f8cc85 | [
"MIT"
] | null | null | null | tests/test_fft.py | Majoburo/spaxlet | 9eaf52b996dd6f64401e95eedfa50785b6f8cc85 | [
"MIT"
] | null | null | null | from functools import partial
import numpy as np
import scarlet
import scarlet.fft as fft
from numpy.testing import assert_array_equal, assert_almost_equal
class TestCentering(object):
"""Test the centering and padding algorithms"""
def test_shift(self):
"""Test that padding and fft shift/unshift are... | 34.696 | 86 | 0.502421 | 701 | 4,337 | 2.987161 | 0.149786 | 0.233047 | 0.329513 | 0.412607 | 0.513372 | 0.50191 | 0.473257 | 0.473257 | 0.472779 | 0.438395 | 0 | 0.125485 | 0.345861 | 4,337 | 124 | 87 | 34.975806 | 0.612619 | 0.116901 | 0 | 0.349398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 1 | 0.060241 | false | 0 | 0.060241 | 0 | 0.156627 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
862720c2e5134ef292f81f25715ff68ca3bd4af0 | 2,618 | py | Python | experiments/noise.py | eareyan/pysegta | b7d208d05855a9994bd711e2b9c99bc5a86bb851 | [
"MIT"
] | 2 | 2021-07-23T13:26:33.000Z | 2021-08-21T15:52:31.000Z | experiments/noise.py | eareyan/pysegta | b7d208d05855a9994bd711e2b9c99bc5a86bb851 | [
"MIT"
] | 3 | 2021-06-08T22:41:23.000Z | 2022-01-13T03:27:42.000Z | experiments/noise.py | eareyan/pysegta | b7d208d05855a9994bd711e2b9c99bc5a86bb851 | [
"MIT"
] | 2 | 2021-07-23T13:26:34.000Z | 2021-08-21T15:52:32.000Z | from abc import ABC, abstractmethod
from scipy.stats import uniform
from typing import List
import numpy as np
class Noise(ABC):
"""An abstract base class to implement noise distribution used when sampling games."""
@abstractmethod
def get_samples(self, m: int) -> List[float]:
"""
Return ... | 30.44186 | 116 | 0.620703 | 332 | 2,618 | 4.801205 | 0.295181 | 0.028231 | 0.050188 | 0.045169 | 0.321832 | 0.301129 | 0.27478 | 0.190715 | 0.190715 | 0.116688 | 0 | 0.001617 | 0.291444 | 2,618 | 85 | 117 | 30.8 | 0.857682 | 0.413675 | 0 | 0.352941 | 0 | 0 | 0.039526 | 0.019763 | 0 | 0 | 0 | 0 | 0.058824 | 1 | 0.294118 | false | 0.117647 | 0.117647 | 0.058824 | 0.617647 | 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 |
862e6b8fc73c94629147c93336c8d2cf7619f99b | 2,704 | py | Python | nicos/devices/tas/energy.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 12 | 2019-11-06T15:40:36.000Z | 2022-01-01T16:23:00.000Z | nicos/devices/tas/energy.py | ebadkamil/nicos | 0355a970d627aae170c93292f08f95759c97f3b5 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 91 | 2020-08-18T09:20:26.000Z | 2022-02-01T11:07:14.000Z | nicos/devices/tas/energy.py | ISISComputingGroup/nicos | 94cb4d172815919481f8c6ee686f21ebb76f2068 | [
"CC-BY-3.0",
"Apache-2.0",
"CC-BY-4.0"
] | 6 | 2020-01-11T10:52:30.000Z | 2022-02-25T12:35:23.000Z | # -*- coding: utf-8 -*-
# *****************************************************************************
# NICOS, the Networked Instrument Control System of the MLZ
# Copyright (c) 2009-2021 by the NICOS contributors (see AUTHORS)
#
# This program is free software; you can redistribute it and/or modify it under
# the t... | 31.08046 | 80 | 0.592086 | 350 | 2,704 | 4.482857 | 0.42 | 0.051625 | 0.024857 | 0.036329 | 0.052263 | 0.035692 | 0 | 0 | 0 | 0 | 0 | 0.0279 | 0.244453 | 2,704 | 86 | 81 | 31.44186 | 0.740088 | 0.423817 | 0 | 0 | 0 | 0 | 0.065132 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.255814 | false | 0 | 0.023256 | 0.139535 | 0.581395 | 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 |
86426795f47f46463eb4153338dea9e8512d3125 | 9,318 | py | Python | ckanext/validation/tests/test_jobs.py | salsadigitalauorg/ckanext-validation | bd9e1684287093eb1b0a56b7af8d9a93758f981e | [
"MIT"
] | null | null | null | ckanext/validation/tests/test_jobs.py | salsadigitalauorg/ckanext-validation | bd9e1684287093eb1b0a56b7af8d9a93758f981e | [
"MIT"
] | 5 | 2021-02-04T01:20:05.000Z | 2022-02-14T02:00:08.000Z | ckanext/validation/tests/test_jobs.py | salsadigitalauorg/ckanext-validation | bd9e1684287093eb1b0a56b7af8d9a93758f981e | [
"MIT"
] | 1 | 2020-05-19T23:44:57.000Z | 2020-05-19T23:44:57.000Z | import mock
import StringIO
import json
import io
from nose.tools import assert_equals
import ckantoolkit
from ckan.lib.uploader import ResourceUpload
from ckan.tests.helpers import call_action, reset_db, change_config
from ckan.tests import factories
from ckanext.validation.model import create_tables, tables_exist... | 30.55082 | 82 | 0.639193 | 1,008 | 9,318 | 5.659722 | 0.144841 | 0.040316 | 0.033655 | 0.046275 | 0.775986 | 0.717967 | 0.704996 | 0.692375 | 0.676599 | 0.669939 | 0 | 0.00283 | 0.241575 | 9,318 | 304 | 83 | 30.651316 | 0.804443 | 0 | 0 | 0.584112 | 0 | 0 | 0.135651 | 0.036059 | 0.004673 | 0 | 0 | 0 | 0.102804 | 1 | 0.065421 | false | 0.009346 | 0.056075 | 0.009346 | 0.140187 | 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 |
86428ade7cd153f751b8a3082689ddd3ab507412 | 583 | py | Python | Dataset/Leetcode/train/38/718.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/38/718.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/38/718.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, n: int) -> str:
result = ["1"]
for i in range(n - 1):
p = 0
cnt = 1
tmp = []
while p < len(result):
if p + 1 == len(result):
tmp.extend([str(cnt), result[p]])
elif resul... | 29.15 | 53 | 0.349914 | 65 | 583 | 3.138462 | 0.384615 | 0.205882 | 0.117647 | 0.147059 | 0.401961 | 0.401961 | 0 | 0 | 0 | 0 | 0 | 0.035336 | 0.51458 | 583 | 19 | 54 | 30.684211 | 0.685512 | 0 | 0 | 0.222222 | 0 | 0 | 0.001718 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
86538e5f9f67c30484032f5afd7b79629b2843d2 | 791 | py | Python | src/sca3s/backend/acquire/driver/function/generic.py | scarv/sca3s-backend | 62659fcd6986481698df53b99d14d15c6421cf9b | [
"MIT"
] | null | null | null | src/sca3s/backend/acquire/driver/function/generic.py | scarv/sca3s-backend | 62659fcd6986481698df53b99d14d15c6421cf9b | [
"MIT"
] | null | null | null | src/sca3s/backend/acquire/driver/function/generic.py | scarv/sca3s-backend | 62659fcd6986481698df53b99d14d15c6421cf9b | [
"MIT"
] | null | null | null | # Copyright (C) 2018 SCARV project <info@scarv.org>
#
# Use of this source code is restricted per the MIT license, a copy of which
# can be found at https://opensource.org/licenses/MIT (or should be included
# as LICENSE.txt within the associated archive or repository).
from sca3s import backend as sca3s_be
from ... | 32.958333 | 77 | 0.77244 | 122 | 791 | 4.92623 | 0.5 | 0.1198 | 0.159734 | 0.229617 | 0.289517 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021212 | 0.165613 | 791 | 23 | 78 | 34.391304 | 0.889394 | 0.331226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.75 | 0 | 0.916667 | 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 |
8659284e69613ca4a25c7c878d45767d0e521299 | 1,564 | py | Python | 208/test_combos.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | 208/test_combos.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | 2 | 2020-09-24T11:25:29.000Z | 2021-06-25T15:43:35.000Z | 208/test_combos.py | alehpineda/bitesofpy | bfd319a606cd0b7b9bfb85a3e8942872a2d43c48 | [
"MIT"
] | null | null | null | import pytest
from combos import find_number_pairs
def _sort_all(ret):
return sorted([tuple(sorted(n)) for n in ret])
@pytest.mark.parametrize(
"numbers, N, expected",
[
([2, 3, 5, 4, 6], 10, [(4, 6)]),
([9, 1, 3, 8, 7], 10, [(9, 1), (3, 7)]),
([0.2, 3, 0.4], 10, []),
([... | 23 | 76 | 0.289642 | 192 | 1,564 | 2.291667 | 0.328125 | 0.018182 | 0.102273 | 0.018182 | 0.163636 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0.267409 | 0.540921 | 1,564 | 67 | 77 | 23.343284 | 0.345404 | 0 | 0 | 0.129032 | 0 | 0 | 0.012788 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.032258 | false | 0 | 0.032258 | 0.016129 | 0.080645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
865f679cbb5369d1569399fd083023d952ec9d0c | 1,219 | py | Python | library/migrations/0023_auto_20180824_0128.py | doriclazar/peak_30 | a87217e4d0d1f96d39ad214d40a879c7abfaaaee | [
"Apache-2.0"
] | null | null | null | library/migrations/0023_auto_20180824_0128.py | doriclazar/peak_30 | a87217e4d0d1f96d39ad214d40a879c7abfaaaee | [
"Apache-2.0"
] | 1 | 2018-07-14T07:35:55.000Z | 2018-07-16T07:40:49.000Z | library/migrations/0023_auto_20180824_0128.py | doriclazar/peak_30 | a87217e4d0d1f96d39ad214d40a879c7abfaaaee | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2018-08-24 01:28
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('library', '0022_auto_20180824_0121'),
]
operations = [
migrations.AlterFiel... | 29.731707 | 82 | 0.575062 | 127 | 1,219 | 5.377953 | 0.448819 | 0.146413 | 0.183016 | 0.212299 | 0.572474 | 0.543192 | 0.286969 | 0.286969 | 0.286969 | 0 | 0 | 0.067364 | 0.293683 | 1,219 | 40 | 83 | 30.475 | 0.7259 | 0.055783 | 0 | 0.454545 | 1 | 0 | 0.109756 | 0.020035 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 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 |
86795f7a152ea8db53b41b3c942bd281942c5976 | 166 | py | Python | rest-example/main.py | brunocozendey/Pythonplayground | 41257c5010274f7964b3f72a2d00513ddf8ad3c1 | [
"MIT"
] | null | null | null | rest-example/main.py | brunocozendey/Pythonplayground | 41257c5010274f7964b3f72a2d00513ddf8ad3c1 | [
"MIT"
] | null | null | null | rest-example/main.py | brunocozendey/Pythonplayground | 41257c5010274f7964b3f72a2d00513ddf8ad3c1 | [
"MIT"
] | null | null | null | import requests
from AcessoCep import AcessoCep
cep = "22290040"
objeto_cep = AcessoCep(cep)
bairro, cidade, uf = objeto_cep.acessa_api()
print(bairro,cidade,uf) | 15.090909 | 44 | 0.771084 | 23 | 166 | 5.434783 | 0.565217 | 0.192 | 0.224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.13253 | 166 | 11 | 45 | 15.090909 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.047904 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
867d47d226f4c140ed5892621b6c063fd5c77d99 | 189 | py | Python | pluto/__init__.py | agoragames/pluto | c5f8b01a74a2c63d376b2436745a590708b62304 | [
"MIT"
] | null | null | null | pluto/__init__.py | agoragames/pluto | c5f8b01a74a2c63d376b2436745a590708b62304 | [
"MIT"
] | null | null | null | pluto/__init__.py | agoragames/pluto | c5f8b01a74a2c63d376b2436745a590708b62304 | [
"MIT"
] | null | null | null | '''
Copyright (c) 2014, Aaron Westendorf All rights reserved.
https://github.com/agoragames/pluto/blob/master/LICENSE.txt
'''
from __future__ import absolute_import
__version__ = '0.0.1'
| 21 | 59 | 0.761905 | 26 | 189 | 5.192308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04142 | 0.10582 | 189 | 8 | 60 | 23.625 | 0.757396 | 0.624339 | 0 | 0 | 0 | 0 | 0.079365 | 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 |
867eddcbb0875131445d8acb036f91f8f4051fdd | 115 | py | Python | const/__init__.py | Fireman730/python-eveng-api | ffa436c49f76963bbad105d74d77dfafa01770f3 | [
"MIT"
] | null | null | null | const/__init__.py | Fireman730/python-eveng-api | ffa436c49f76963bbad105d74d77dfafa01770f3 | [
"MIT"
] | null | null | null | const/__init__.py | Fireman730/python-eveng-api | ffa436c49f76963bbad105d74d77dfafa01770f3 | [
"MIT"
] | 1 | 2021-12-10T18:42:08.000Z | 2021-12-10T18:42:08.000Z | __author__ = "Dylan Hamel"
__version__ = "0.1"
__email__ = "dylan.hamel@protonmail.com"
__status__ = "Prototype"
| 16.428571 | 40 | 0.730435 | 13 | 115 | 5.230769 | 0.846154 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.130435 | 115 | 6 | 41 | 19.166667 | 0.66 | 0 | 0 | 0 | 0 | 0 | 0.433628 | 0.230089 | 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 |
869548d1c846a2ffeeca6e77e724f4a426ab9353 | 379 | py | Python | tests/conftest.py | genisysram/django-etcd-settings | 749fb23728348f580fa44039e9b7976675ba7daa | [
"Apache-2.0"
] | 38 | 2015-12-02T09:17:59.000Z | 2022-02-09T21:27:36.000Z | tests/conftest.py | genisysram/django-etcd-settings | 749fb23728348f580fa44039e9b7976675ba7daa | [
"Apache-2.0"
] | 23 | 2015-12-14T17:32:12.000Z | 2017-10-03T09:55:58.000Z | tests/conftest.py | genisysram/django-etcd-settings | 749fb23728348f580fa44039e9b7976675ba7daa | [
"Apache-2.0"
] | 17 | 2015-12-07T08:29:47.000Z | 2020-11-10T08:54:28.000Z | class TestSettings(object):
ETCD_PREFIX = '/config/etcd_settings'
ETCD_ENV = 'test'
ETCD_HOST = 'etcd'
ETCD_PORT = 2379
ETCD_USERNAME = 'test'
ETCD_PASSWORD = 'test'
ETCD_DETAILS = dict(
host='etcd',
port=2379,
prefix='/config/etcd_settings',
username='test',... | 19.947368 | 41 | 0.596306 | 40 | 379 | 5.425 | 0.4 | 0.110599 | 0.147465 | 0.221198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.282322 | 379 | 18 | 42 | 21.055556 | 0.768382 | 0 | 0 | 0 | 0 | 0 | 0.184697 | 0.110818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.133333 | 0 | 0 | 0.533333 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
86ce5026163d3f59a4665c68709d5430a6e925ef | 82 | py | Python | 3.7.0/lldb-3.7.0.src/test/functionalities/command_source/my.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/lldb-3.7.0.src/test/functionalities/command_source/my.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/lldb-3.7.0.src/test/functionalities/command_source/my.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | def date():
import datetime
today = datetime.date.today()
print today
| 16.4 | 33 | 0.646341 | 10 | 82 | 5.3 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256098 | 82 | 4 | 34 | 20.5 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.25 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.