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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b90019ee8a593e0850bdc8ea86bfd8c9c75060ae | 1,555 | py | Python | spring_cloud/eureka/eureka_service_instance.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-06T09:48:23.000Z | 2020-10-07T13:19:46.000Z | spring_cloud/eureka/eureka_service_instance.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-05T09:57:01.000Z | 2020-10-12T19:52:48.000Z | spring_cloud/eureka/eureka_service_instance.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 8 | 2020-10-05T06:34:49.000Z | 2020-10-07T13:19:46.000Z | # -*- coding: utf-8 -*-
__author__ = "Ricky"
__license__ = "Apache 2.0"
# scip plugin
# scip plugin
from eureka.client.app_info.instance_info import InstanceInfo
from spring_cloud.commons.client.service_instance import ServiceInstance
from spring_cloud.utils.validate import not_none
class EurekaServiceInstance(Ser... | 25.080645 | 76 | 0.636013 | 183 | 1,555 | 5.04918 | 0.327869 | 0.12987 | 0.136364 | 0.073593 | 0.085498 | 0.058442 | 0 | 0 | 0 | 0 | 0 | 0.003481 | 0.261093 | 1,555 | 61 | 77 | 25.491803 | 0.800696 | 0.028939 | 0 | 0.204545 | 0 | 0 | 0.02324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0 | 0.068182 | 0.136364 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
b90e18fde3cb5e171b6d3e7f20a1148dcf4fcb38 | 27 | py | Python | Plotter/__init__.py | Orthocenter/YuxinMap | 9797e011f3a0a2fd53c5ba96b30794cf502e1de6 | [
"MIT"
] | 5 | 2015-01-11T15:41:01.000Z | 2016-05-16T08:52:48.000Z | Utility/__init__.py | Orthocenter/YuxinMap | 9797e011f3a0a2fd53c5ba96b30794cf502e1de6 | [
"MIT"
] | null | null | null | Utility/__init__.py | Orthocenter/YuxinMap | 9797e011f3a0a2fd53c5ba96b30794cf502e1de6 | [
"MIT"
] | null | null | null | __author__ = 'Orthocenter'
| 13.5 | 26 | 0.777778 | 2 | 27 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 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 |
f8d8acf6fb28adba30a087afa94aa10e33c04b8f | 117 | py | Python | brultech_serial2mqtt/const.py | sdwilsh/brultech-serial2mqtt | 7856168c46b4ef9df9b74e25e41ec7ecaaef9ed6 | [
"MIT"
] | null | null | null | brultech_serial2mqtt/const.py | sdwilsh/brultech-serial2mqtt | 7856168c46b4ef9df9b74e25e41ec7ecaaef9ed6 | [
"MIT"
] | 21 | 2021-11-02T17:56:14.000Z | 2022-03-28T12:13:31.000Z | brultech_serial2mqtt/const.py | sdwilsh/brultech-serial2mqtt | 7856168c46b4ef9df9b74e25e41ec7ecaaef9ed6 | [
"MIT"
] | null | null | null | CONFIG_PATH = "config/config.yml"
HOME_ASSISTANT_DOMAIN = "brultech-serial2mqtt"
SECRETS_PATH = "config/secrets.yml"
| 29.25 | 46 | 0.803419 | 15 | 117 | 6 | 0.6 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.076923 | 117 | 3 | 47 | 39 | 0.824074 | 0 | 0 | 0 | 0 | 0 | 0.470085 | 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 |
f8e2e254645453f00d07f3221dd5d5a48d9402e9 | 4,509 | py | Python | h1st/h1st/core/model.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | 2 | 2020-08-21T07:49:08.000Z | 2020-08-21T07:49:13.000Z | h1st/h1st/core/model.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | null | null | null | h1st/h1st/core/model.py | Mou-Ikkai/h1st | da47a8f1ad6af532c549e075fba19e3b3692de89 | [
"Apache-2.0"
] | null | null | null | from typing import Any, List, NoReturn, Union
from h1st.schema import SchemaValidator
from h1st.model_repository import ModelRepository
from h1st.core.node_containable import NodeContainable
class Model(NodeContainable):
"""
Base class for H1ST Model.
To create your own model, inherit `Model` class and i... | 32.438849 | 133 | 0.618984 | 524 | 4,509 | 5.240458 | 0.293893 | 0.03933 | 0.03496 | 0.045157 | 0.158048 | 0.10488 | 0.083758 | 0.054625 | 0.054625 | 0.054625 | 0 | 0.003808 | 0.301175 | 4,509 | 138 | 134 | 32.673913 | 0.867661 | 0.599468 | 0 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.354839 | false | 0.096774 | 0.129032 | 0 | 0.645161 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
5d0519244be45df01a506947d95b1161b90445a4 | 7,459 | py | Python | sdk/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices/models/__init__.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 2,728 | 2015-01-09T10:19:32.000Z | 2022-03-31T14:50:33.000Z | sdk/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices/models/__init__.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 17,773 | 2015-01-05T15:57:17.000Z | 2022-03-31T23:50:25.000Z | sdk/recoveryservices/azure-mgmt-recoveryservices/azure/mgmt/recoveryservices/models/__init__.py | rsdoherty/azure-sdk-for-python | 6bba5326677468e6660845a703686327178bb7b1 | [
"MIT"
] | 1,916 | 2015-01-19T05:05:41.000Z | 2022-03-31T19:36:44.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 ... | 42.141243 | 94 | 0.74876 | 632 | 7,459 | 8.606013 | 0.175633 | 0.169149 | 0.109947 | 0.160691 | 0.284243 | 0.06913 | 0.06913 | 0.06913 | 0.06913 | 0.06913 | 0 | 0.007667 | 0.178174 | 7,459 | 176 | 95 | 42.380682 | 0.879608 | 0.14077 | 0 | 0 | 0 | 0 | 0.169945 | 0.094886 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.566265 | 0 | 0.566265 | 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 |
5d14578c909526eaa658df46207b22b0d9c95ac1 | 836 | py | Python | karp/infrastructure/sql/sql_repository.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | 1 | 2021-12-08T15:33:42.000Z | 2021-12-08T15:33:42.000Z | karp/infrastructure/sql/sql_repository.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | null | null | null | karp/infrastructure/sql/sql_repository.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | null | null | null | """Base class for SQL repositories."""
from enum import Enum
import logging
from typing import Optional
import regex
from karp import errors
from karp.services import unit_of_work
from karp.infrastructure.sql import db
logger = logging.getLogger("karp")
class SqlRepository:
def __init__(self, session: db.Ses... | 22 | 68 | 0.720096 | 109 | 836 | 5.275229 | 0.422018 | 0.114783 | 0.069565 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.191388 | 836 | 37 | 69 | 22.594595 | 0.850592 | 0.228469 | 0 | 0 | 0 | 0 | 0.059655 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.368421 | 0 | 0.631579 | 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 |
5d20deeb2bbc4eeaba2a451f5d5a96ede39e23f8 | 301 | py | Python | infoset/__init__.py | clayton-colovore/infoset-ng | b0404fdda9e805effc16cebc9caef5f86b6bfe33 | [
"Apache-2.0"
] | null | null | null | infoset/__init__.py | clayton-colovore/infoset-ng | b0404fdda9e805effc16cebc9caef5f86b6bfe33 | [
"Apache-2.0"
] | null | null | null | infoset/__init__.py | clayton-colovore/infoset-ng | b0404fdda9e805effc16cebc9caef5f86b6bfe33 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""Infoset setup.
Manages parameters required by all classes in the module.
"""
# Main python libraries
def main():
"""Process data.
Args:
None
Returns:
None
"""
# Check the environment
pass
if __name__ == 'infoset':
main()
| 11.148148 | 57 | 0.584718 | 34 | 301 | 5.058824 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004762 | 0.302326 | 301 | 26 | 58 | 11.576923 | 0.814286 | 0.624585 | 0 | 0 | 0 | 0 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5d374a10f9d289334afebf506eace075fb963511 | 3,412 | py | Python | pychron/spectrometer/thermo/source/helix.py | UManPychron/pychron | b84c9fd70072f9cbda30abe2c471e64fe3dd75d8 | [
"Apache-2.0"
] | null | null | null | pychron/spectrometer/thermo/source/helix.py | UManPychron/pychron | b84c9fd70072f9cbda30abe2c471e64fe3dd75d8 | [
"Apache-2.0"
] | 11 | 2015-10-08T14:21:39.000Z | 2022-01-26T14:19:21.000Z | pychron/spectrometer/thermo/source/helix.py | UManPychron/pychron | b84c9fd70072f9cbda30abe2c471e64fe3dd75d8 | [
"Apache-2.0"
] | null | null | null | # ===============================================================================
# Copyright 2015 Jake Ross
#
# 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... | 35.915789 | 90 | 0.657093 | 399 | 3,412 | 5.298246 | 0.330827 | 0.153264 | 0.080889 | 0.042573 | 0.242195 | 0.108325 | 0.091769 | 0.036897 | 0 | 0 | 0 | 0.006503 | 0.188746 | 3,412 | 94 | 91 | 36.297872 | 0.757225 | 0.224502 | 0 | 0 | 0 | 0 | 0.172689 | 0.057436 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.053571 | 0.160714 | 0.696429 | 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 |
5d5f74a3f8ff1537ba17d795562da6fa114822e2 | 142 | py | Python | src/apps/graphics/urls.py | tgrx/benzak | 77055889089776acb3f9b603852db512df808d15 | [
"Apache-2.0"
] | 3 | 2020-01-16T13:43:40.000Z | 2021-11-09T18:04:47.000Z | src/apps/graphics/urls.py | tgrx/benzak | 77055889089776acb3f9b603852db512df808d15 | [
"Apache-2.0"
] | 7 | 2020-01-11T13:25:14.000Z | 2020-03-09T01:10:40.000Z | src/apps/graphics/urls.py | tgrx/benzak | 77055889089776acb3f9b603852db512df808d15 | [
"Apache-2.0"
] | 6 | 2019-10-06T20:36:43.000Z | 2022-01-15T22:15:12.000Z | from django.urls import path
from apps.graphics.views import GraphicsView
urlpatterns = [path("", GraphicsView.as_view(), name="graphics")]
| 23.666667 | 65 | 0.767606 | 18 | 142 | 6 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 142 | 5 | 66 | 28.4 | 0.850394 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
5d623e1c1d9dc93ca4a6a5b6fc96fd79e3ff2b26 | 191 | py | Python | rainman2/lib/environment/cellular/prod/__init__.py | att-innovate/rainman2 | edd07c03a9d33a2e44b3a333fc28dc73c8cbe56e | [
"MIT"
] | 2 | 2018-06-19T16:52:25.000Z | 2018-06-25T22:05:38.000Z | rainman2/lib/environment/cellular/prod/__init__.py | att-innovate/rainman2 | edd07c03a9d33a2e44b3a333fc28dc73c8cbe56e | [
"MIT"
] | null | null | null | rainman2/lib/environment/cellular/prod/__init__.py | att-innovate/rainman2 | edd07c03a9d33a2e44b3a333fc28dc73c8cbe56e | [
"MIT"
] | 1 | 2020-09-15T03:06:08.000Z | 2020-09-15T03:06:08.000Z | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
""" Describes Production cellular model. """
__author__ = 'Ari Saha (arisaha@icloud.com)'
__date__ = 'Tuesday, March 6th 2018, 10:08:50 am'
| 21.222222 | 49 | 0.659686 | 26 | 191 | 4.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080745 | 0.157068 | 191 | 8 | 50 | 23.875 | 0.652174 | 0.429319 | 0 | 0 | 0 | 0 | 0.643564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d64cccd34f96e00d423ab5d01fae0af06a81196 | 125 | py | Python | mapManager/constants.py | revelbar/mapManager | bf1355593af15fa5519805248e988c6d6c8f4298 | [
"MIT"
] | null | null | null | mapManager/constants.py | revelbar/mapManager | bf1355593af15fa5519805248e988c6d6c8f4298 | [
"MIT"
] | null | null | null | mapManager/constants.py | revelbar/mapManager | bf1355593af15fa5519805248e988c6d6c8f4298 | [
"MIT"
] | null | null | null |
########################## DIRECTORIES ##########################
save_folder = "saved_data"
export_folder = "export_data" | 20.833333 | 65 | 0.448 | 9 | 125 | 5.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088 | 125 | 6 | 66 | 20.833333 | 0.45614 | 0.088 | 0 | 0 | 0 | 0 | 0.355932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d682003936a48b0021c74bc11d671c7c6b88fde | 4,251 | py | Python | tests/test_search_molecules.py | astrogewgaw/spacetar | 4340e87839f2d29fadedb11d0707021a6a1f0783 | [
"MIT"
] | 11 | 2021-06-01T16:25:11.000Z | 2021-12-31T14:46:39.000Z | tests/test_search_molecules.py | astrogewgaw/spacetar | 4340e87839f2d29fadedb11d0707021a6a1f0783 | [
"MIT"
] | 6 | 2021-07-15T09:43:36.000Z | 2021-07-15T10:12:58.000Z | tests/test_search_molecules.py | astrogewgaw/spacetar | 4340e87839f2d29fadedb11d0707021a6a1f0783 | [
"MIT"
] | null | null | null | from spacetar import search_molecule
def test_name():
""""""
results = search_molecule(name="acetone")
mol = results[0]
assert mol.name == "acetone"
assert mol.formula == "(CH3)2CO"
def test_formula():
""""""
results = search_molecule(formula="CH3COOH")
mol = results[0]
a... | 19.06278 | 66 | 0.623618 | 510 | 4,251 | 5.123529 | 0.176471 | 0.248756 | 0.251818 | 0.110218 | 0.315729 | 0.262533 | 0.225411 | 0.225411 | 0.184462 | 0.154612 | 0 | 0.038173 | 0.217361 | 4,251 | 222 | 67 | 19.148649 | 0.74722 | 0 | 0 | 0.181818 | 0 | 0 | 0.099203 | 0.00531 | 0 | 0 | 0 | 0 | 0.636364 | 1 | 0.163636 | false | 0 | 0.009091 | 0 | 0.172727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
5d6e4a2aafd6db1a39561d1602dd75016fb00207 | 81 | py | Python | ml/model/LDA.py | SheldonWong/wxt | 2e89bc44183f082efef69d16efc58c58dcfa70d3 | [
"MIT"
] | null | null | null | ml/model/LDA.py | SheldonWong/wxt | 2e89bc44183f082efef69d16efc58c58dcfa70d3 | [
"MIT"
] | null | null | null | ml/model/LDA.py | SheldonWong/wxt | 2e89bc44183f082efef69d16efc58c58dcfa70d3 | [
"MIT"
] | null | null | null | [LDA文本建模(4)——算法细节、伪代码、实现](https://blog.csdn.net/mmc2015/article/details/45024447) | 81 | 81 | 0.765432 | 14 | 81 | 4.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 0 | 81 | 1 | 81 | 81 | 0.604938 | 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 |
538ab1431876bcaa6855bad518800d7cf444488b | 34,952 | py | Python | manila/db/api.py | redhat-openstack/manila | bef43561b303a36d99849952ba8c408b19bafd02 | [
"Apache-2.0"
] | null | null | null | manila/db/api.py | redhat-openstack/manila | bef43561b303a36d99849952ba8c408b19bafd02 | [
"Apache-2.0"
] | null | null | null | manila/db/api.py | redhat-openstack/manila | bef43561b303a36d99849952ba8c408b19bafd02 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file... | 35.162978 | 79 | 0.692063 | 4,614 | 34,952 | 4.951669 | 0.073039 | 0.063903 | 0.048584 | 0.024161 | 0.807021 | 0.719438 | 0.617587 | 0.518055 | 0.43997 | 0.336806 | 0 | 0.000474 | 0.215209 | 34,952 | 993 | 80 | 35.198389 | 0.832446 | 0.259842 | 0 | 0.101737 | 0 | 0 | 0.013874 | 0.002116 | 0 | 0 | 0 | 0 | 0 | 1 | 0.367246 | false | 0 | 0.004963 | 0.004963 | 0.734491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
538c0f45bafec796d3373ca216dd665aa7fcb30b | 483 | py | Python | src/scrapper/foxnews_article_scrapper.py | pkupidura/reddit-corpus-builder | d47fdff1bef5ab0ba6f9e24118c2f7b8ae40a6df | [
"MIT"
] | 1 | 2020-08-25T12:40:35.000Z | 2020-08-25T12:40:35.000Z | src/scrapper/foxnews_article_scrapper.py | pkupidura/reddit-corpus-builder | d47fdff1bef5ab0ba6f9e24118c2f7b8ae40a6df | [
"MIT"
] | null | null | null | src/scrapper/foxnews_article_scrapper.py | pkupidura/reddit-corpus-builder | d47fdff1bef5ab0ba6f9e24118c2f7b8ae40a6df | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from scrapper.article_scrapper import ArticleScrapper
class FoxnewsArticleScrapper(ArticleScrapper):
def scrap_header(self, dom: BeautifulSoup) -> str:
return self.find_child_h1(dom, attrs={'class': 'headline'}).text
def scrap_content(self, dom: BeautifulSoup) -> str:
... | 32.2 | 98 | 0.724638 | 57 | 483 | 5.982456 | 0.54386 | 0.046921 | 0.117302 | 0.134897 | 0.193548 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0.004951 | 0.163561 | 483 | 14 | 99 | 34.5 | 0.839109 | 0 | 0 | 0 | 0 | 0 | 0.084886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.3 | 0.9 | 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 |
53a11cb8fd11e2cca51717d7df3fb55d3a55ad6e | 219 | py | Python | subarulink/app/__init__.py | G-Two/subarulink | 00a7bc18880719ed4c7a4ac5a11fb6dceb44e7ea | [
"Apache-2.0"
] | 40 | 2020-05-04T14:53:04.000Z | 2022-03-26T16:30:32.000Z | subarulink/app/__init__.py | G-Two/subarulink | 00a7bc18880719ed4c7a4ac5a11fb6dceb44e7ea | [
"Apache-2.0"
] | 41 | 2020-05-12T01:16:27.000Z | 2022-03-27T19:37:02.000Z | subarulink/app/__init__.py | G-Two/subarulink | 00a7bc18880719ed4c7a4ac5a11fb6dceb44e7ea | [
"Apache-2.0"
] | 6 | 2020-05-08T03:33:12.000Z | 2022-02-20T19:36:55.000Z | # SPDX-License-Identifier: Apache-2.0
"""
An example console application that uses the subarulink package.
For more details about this api, please refer to the documentation at
https://github.com/G-Two/subarulink
"""
| 27.375 | 69 | 0.771689 | 33 | 219 | 5.121212 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.13242 | 219 | 7 | 70 | 31.285714 | 0.878947 | 0.954338 | 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 |
53ba7c6568b88c3c7396f012b2b3772803872fe1 | 502 | py | Python | apps/DeepFaceLive/backend/__init__.py | kitiv/DeepFaceLive | ca3a005917ae067576b795d8b9fef5a8b3483010 | [
"MIT"
] | 4 | 2021-07-23T16:34:24.000Z | 2022-03-01T18:31:59.000Z | apps/DeepFaceLive/backend/__init__.py | kitiv/DeepFaceLive | ca3a005917ae067576b795d8b9fef5a8b3483010 | [
"MIT"
] | 1 | 2022-02-08T01:29:03.000Z | 2022-02-08T01:29:03.000Z | apps/DeepFaceLive/backend/__init__.py | kitiv/DeepFaceLive | ca3a005917ae067576b795d8b9fef5a8b3483010 | [
"MIT"
] | 1 | 2021-09-06T15:05:28.000Z | 2021-09-06T15:05:28.000Z | from .BackendBase import (BackendConnection, BackendConnectionData, BackendDB,
BackendSignal, BackendWeakHeap, BackendHost, BackendWorker)
from .CameraSource import CameraSource
from .FaceAligner import FaceAligner
from .FaceDetector import FaceDetector
from .FaceMarker import FaceMarker
from ... | 41.833333 | 85 | 0.820717 | 46 | 502 | 8.956522 | 0.413043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143426 | 502 | 11 | 86 | 45.636364 | 0.95814 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.909091 | 0 | 0.909091 | 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 |
53bdf4b4cea5d817cf9ebfee9b82c1a5b06a359c | 17,326 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_iep_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_iep_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_ip_iep_oper.py | Maikor/ydk-py | b86c4a7c570ae3b2c5557d098420446df5de4929 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | """ Cisco_IOS_XR_ip_iep_oper
This module contains a collection of YANG definitions
for Cisco IOS\-XR ip\-iep package operational data.
This module contains definitions
for the following management objects\:
explicit\-paths\: Configured IP explicit paths
Copyright (c) 2013\-2018 by Cisco Systems, Inc.
All rights r... | 35.723711 | 181 | 0.523202 | 1,789 | 17,326 | 4.818893 | 0.09223 | 0.040831 | 0.051038 | 0.036191 | 0.749217 | 0.726018 | 0.705255 | 0.691335 | 0.67672 | 0.666048 | 0 | 0.022839 | 0.355593 | 17,326 | 484 | 182 | 35.797521 | 0.749306 | 0.296491 | 0 | 0.585635 | 0 | 0 | 0.151432 | 0.052498 | 0 | 0 | 0 | 0 | 0 | 1 | 0.082873 | false | 0 | 0.027624 | 0 | 0.220994 | 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 |
53c0a551bda22cf61e4832b2c860cf1ea5bc851e | 335 | py | Python | data_types/coordinates.py | janboro/mulitple_depot_vehicle_routing_problem | 6ad9029b6d03849bee09b2a12e6f45b9f170794a | [
"MIT"
] | null | null | null | data_types/coordinates.py | janboro/mulitple_depot_vehicle_routing_problem | 6ad9029b6d03849bee09b2a12e6f45b9f170794a | [
"MIT"
] | null | null | null | data_types/coordinates.py | janboro/mulitple_depot_vehicle_routing_problem | 6ad9029b6d03849bee09b2a12e6f45b9f170794a | [
"MIT"
] | null | null | null | # pylint: disable=too-few-public-methods
from pydantic import BaseModel
from typing import Optional
class Vertice(BaseModel):
index: int
x: int
y: int
visited: bool = False
class Depot(BaseModel):
index: int
x: int
y: int
assigned_vertices: list = []
path: list = []
route_cos... | 16.75 | 40 | 0.647761 | 45 | 335 | 4.777778 | 0.666667 | 0.130233 | 0.15814 | 0.167442 | 0.232558 | 0.232558 | 0.232558 | 0 | 0 | 0 | 0 | 0.008065 | 0.259701 | 335 | 19 | 41 | 17.631579 | 0.858871 | 0.113433 | 0 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 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 |
53cf5ce9a70bbeb6ee31d25bb87b964b8363efa5 | 892 | py | Python | oscccan/__init__.py | bao-eng/oscc-check | fe37f87948cd5b094339d04bad65bdfb83ea3905 | [
"MIT"
] | 4 | 2018-05-03T00:35:31.000Z | 2022-01-06T11:03:01.000Z | oscccan/__init__.py | bao-eng/oscc-check | fe37f87948cd5b094339d04bad65bdfb83ea3905 | [
"MIT"
] | 4 | 2018-05-21T20:49:22.000Z | 2020-09-15T05:51:28.000Z | oscccan/__init__.py | bao-eng/oscc-check | fe37f87948cd5b094339d04bad65bdfb83ea3905 | [
"MIT"
] | 7 | 2018-06-26T21:57:48.000Z | 2022-03-11T08:18:44.000Z | """
Import as 'oscccan'
"""
__all__ = [
'canbus',
]
class OsccModule(object):
"""
Wrapper to CAN data specific to an OSCC module. Used with CanBus class to
communicate on the OSCC CAN bus.
"""
def __init__(self, base_arbitration_id, module_name=None):
"""
Initialize CAN data ... | 27.030303 | 80 | 0.634529 | 106 | 892 | 5 | 0.481132 | 0.29434 | 0.256604 | 0.211321 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011076 | 0.29148 | 892 | 32 | 81 | 27.875 | 0.827532 | 0.191704 | 0 | 0 | 0 | 0 | 0.099851 | 0 | 0 | 0 | 0.011923 | 0 | 0 | 1 | 0.058824 | false | 0 | 0 | 0 | 0.117647 | 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 |
53dedcf4640acb59f5b08aa54909fe2c17a38d5e | 415 | py | Python | BGWpy/__init__.py | jonahhaber/BGWpy | 03ae0df2c7ddad833f679a69908abcb7b4adf9a2 | [
"BSD-3-Clause-LBNL"
] | null | null | null | BGWpy/__init__.py | jonahhaber/BGWpy | 03ae0df2c7ddad833f679a69908abcb7b4adf9a2 | [
"BSD-3-Clause-LBNL"
] | null | null | null | BGWpy/__init__.py | jonahhaber/BGWpy | 03ae0df2c7ddad833f679a69908abcb7b4adf9a2 | [
"BSD-3-Clause-LBNL"
] | null | null | null | from . import core
from . import config
from . import DFT
from . import BGW
# Development functions
#from . import external
#from . import extractors
#from . import Wannier90
# "Public" objects
from .external import Structure
from .core import Workflow
from .QE import *
from .Abinit import *
from .BGW import *
from .... | 20.75 | 78 | 0.737349 | 54 | 415 | 5.37037 | 0.351852 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005814 | 0.171084 | 415 | 19 | 79 | 21.842105 | 0.837209 | 0.257831 | 0 | 0 | 0 | 0 | 0.056291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.909091 | 0 | 0.909091 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
53e547905874e7580ecb4622010d65fb5a1078b9 | 1,159 | py | Python | models/methods/SwinTrack/positional_encoding/sine.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | models/methods/SwinTrack/positional_encoding/sine.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | models/methods/SwinTrack/positional_encoding/sine.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | import torch.nn as nn
from core.operator.sine_position_encoding import generate_2d_sine_position_encoding, generate_2d_sine_position_encoding_with_index
def generate_transformer_2d_sine_positional_encoding(h, w, dim):
encoding = generate_2d_sine_position_encoding(1, h, w, dim) # (1, L, C)
return encoding.vie... | 42.925926 | 132 | 0.710958 | 152 | 1,159 | 5.032895 | 0.269737 | 0.062745 | 0.039216 | 0.115033 | 0.713725 | 0.684967 | 0.63268 | 0.568627 | 0.495425 | 0.290196 | 0 | 0.017279 | 0.201035 | 1,159 | 26 | 133 | 44.576923 | 0.808855 | 0.016393 | 0 | 0.210526 | 1 | 0 | 0.033421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.052632 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
53f6ebef69412848225c9a00ca0146571df637f3 | 608 | py | Python | wildlifecompliance/components/sanction_outcome/admin.py | preranaandure/wildlifecompliance | bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5 | [
"Apache-2.0"
] | 1 | 2020-12-07T17:12:40.000Z | 2020-12-07T17:12:40.000Z | wildlifecompliance/components/sanction_outcome/admin.py | preranaandure/wildlifecompliance | bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5 | [
"Apache-2.0"
] | 14 | 2020-01-08T08:08:26.000Z | 2021-03-19T22:59:46.000Z | wildlifecompliance/components/sanction_outcome/admin.py | preranaandure/wildlifecompliance | bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5 | [
"Apache-2.0"
] | 15 | 2020-01-08T08:02:28.000Z | 2021-11-03T06:48:32.000Z | from django.contrib import admin
from wildlifecompliance.components.sanction_outcome.models import SanctionOutcome, AmendmentRequestReason
from wildlifecompliance.components.sanction_outcome_due.models import SanctionOutcomeDueDateConfiguration
@admin.register(SanctionOutcome)
class SanctionOutcomeAdmin(admin.ModelA... | 28.952381 | 105 | 0.860197 | 50 | 608 | 10.36 | 0.5 | 0.07529 | 0.123552 | 0.15444 | 0.181467 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077303 | 608 | 20 | 106 | 30.4 | 0.923351 | 0 | 0 | 0.166667 | 0 | 0 | 0.026359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9902f8552156a483d2429e638e62fd57f979fcee | 180,605 | py | Python | day_7_part_1.py | Korred/advent_of_code_2016 | 8b6e9b51569bf75da9b0fc56cc9e7c1c4dddeb5e | [
"MIT"
] | null | null | null | day_7_part_1.py | Korred/advent_of_code_2016 | 8b6e9b51569bf75da9b0fc56cc9e7c1c4dddeb5e | [
"MIT"
] | null | null | null | day_7_part_1.py | Korred/advent_of_code_2016 | 8b6e9b51569bf75da9b0fc56cc9e7c1c4dddeb5e | [
"MIT"
] | null | null | null | ip_list = '''wysextplwqpvipxdv[srzvtwbfzqtspxnethm]syqbzgtboxxzpwr[kljvjjkjyojzrstfgrw]obdhcczonzvbfby[svotajtpttohxsh]cooktbyumlpxostt
emzopymywhhxulxuctj[dwwvkzhoigmbmnf]nxgbgfwqvrypqxppyq[qozsihnhpztcrpbdc]rnhnakmrdcowatw[rhvchmzmyfxlolwe]uysecbspabtauvmixa
bqooxxweoytjghrqn[hkwwukixothfyglw]kpasnmikmbzcbfi[vlnyszif... | 89.05572 | 136 | 0.943169 | 10,124 | 180,605 | 16.822699 | 0.991308 | 0.000235 | 0.000164 | 0.000117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000062 | 0.01196 | 180,605 | 2,027 | 137 | 89.099655 | 0.954367 | 0.000161 | 0 | 0 | 0 | 0 | 0.996434 | 0.985214 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00099 | false | 0.000495 | 0.000495 | 0 | 0.002969 | 0.000495 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
990627c1b7a11bedc5d4c615b5346cc4d88cf562 | 2,449 | py | Python | rutermextract/parser.py | nivedano/rutermextract | 9770a2f830e5f02ad3c6e2ce26cbf4263de04598 | [
"MIT"
] | 72 | 2015-01-05T19:18:40.000Z | 2022-02-08T13:21:00.000Z | rutermextract/parser.py | nivedano/rutermextract | 9770a2f830e5f02ad3c6e2ce26cbf4263de04598 | [
"MIT"
] | 5 | 2017-10-05T16:43:52.000Z | 2021-01-26T12:55:44.000Z | rutermextract/parser.py | nivedano/rutermextract | 9770a2f830e5f02ad3c6e2ce26cbf4263de04598 | [
"MIT"
] | 16 | 2016-07-02T17:34:52.000Z | 2021-12-23T18:07:25.000Z | # coding=utf-8
import pymorphy2
class ParsedWord(object):
"""
Обёртка над результатом разбора pymorphy2.
"""
def __init__(self, parsed):
# Используется самый вероятный вариант разбора.
self.parsed = parsed[0]
def pos_is(self, pos):
return self.parsed.tag.POS == pos
d... | 29.154762 | 120 | 0.642711 | 309 | 2,449 | 4.928803 | 0.375405 | 0.078792 | 0.082731 | 0.075509 | 0.282337 | 0.166776 | 0.055154 | 0.055154 | 0 | 0 | 0 | 0.003326 | 0.263373 | 2,449 | 83 | 121 | 29.506024 | 0.840909 | 0.208657 | 0 | 0.12 | 0 | 0 | 0.018947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.32 | false | 0 | 0.02 | 0.24 | 0.7 | 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 |
9908abab95a138264c046922b684acb188822ffd | 70 | py | Python | hello_world_loop.py | timothysnider/learning_python | f08592e883217c05de55286f85be1067eccf13d4 | [
"MIT"
] | null | null | null | hello_world_loop.py | timothysnider/learning_python | f08592e883217c05de55286f85be1067eccf13d4 | [
"MIT"
] | null | null | null | hello_world_loop.py | timothysnider/learning_python | f08592e883217c05de55286f85be1067eccf13d4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
for _ in range(5):
print("Hello, World!")
| 11.666667 | 26 | 0.6 | 11 | 70 | 3.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.2 | 70 | 5 | 27 | 14 | 0.714286 | 0.285714 | 0 | 0 | 0 | 0 | 0.270833 | 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 |
54d20e767910180bc1a43adf03b1f22ed53c298c | 212 | py | Python | app/schemas/response.py | tapsykrett/emailanalyze | 505b0d04f93985619cead6f48c76612e79bac6d0 | [
"MIT"
] | 119 | 2020-06-28T16:13:19.000Z | 2022-03-04T15:16:54.000Z | app/schemas/response.py | tapsykrett/emailanalyze | 505b0d04f93985619cead6f48c76612e79bac6d0 | [
"MIT"
] | 23 | 2020-06-29T08:16:54.000Z | 2022-03-18T21:18:09.000Z | app/schemas/response.py | tapsykrett/emailanalyze | 505b0d04f93985619cead6f48c76612e79bac6d0 | [
"MIT"
] | 22 | 2020-06-29T03:40:37.000Z | 2022-03-14T12:00:52.000Z | from typing import List
from fastapi_utils.api_model import APIModel
from app.schemas.eml import Eml
from app.schemas.verdict import Verdict
class Response(APIModel):
eml: Eml
verdicts: List[Verdict]
| 17.666667 | 44 | 0.783019 | 31 | 212 | 5.290323 | 0.516129 | 0.085366 | 0.170732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 212 | 11 | 45 | 19.272727 | 0.921348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 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 |
54ebec5d01b3977fdb70f98695f2825b9b249a24 | 1,298 | py | Python | character_set.py | neilluna/two-minute-dungeon | 30cd62e6c2c12949509d458a197e6d5d25844604 | [
"MIT"
] | null | null | null | character_set.py | neilluna/two-minute-dungeon | 30cd62e6c2c12949509d458a197e6d5d25844604 | [
"MIT"
] | 2 | 2021-11-01T17:13:23.000Z | 2021-11-09T20:09:26.000Z | character_set.py | neilluna/two-minute-dungeon | 30cd62e6c2c12949509d458a197e6d5d25844604 | [
"MIT"
] | null | null | null | ''' Dungeon drawing character sets. '''
from dataclasses import dataclass
@dataclass
class DungeonDrawingCharacterSet:
''' Character set used to draw the dungeon. '''
up_and_down: str
up_down_and_left: str
up_down_left_and_right: str
up_down_and_right: str
up_and_left: str
up_left_and_rig... | 26.489796 | 95 | 0.686441 | 171 | 1,298 | 4.672515 | 0.19883 | 0.210263 | 0.180225 | 0.12015 | 0.444305 | 0.272841 | 0.217772 | 0.217772 | 0.217772 | 0 | 0 | 0.03861 | 0.201849 | 1,298 | 48 | 96 | 27.041667 | 0.732625 | 0.05547 | 0 | 0 | 0 | 0 | 0.063531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.025 | 0 | 0.325 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07001f9bae842517a6ed96630a15ee8f0b61aec9 | 18,685 | py | Python | chaostoolkit_ansible/machine/actions.py | 10779164/chaostoolkit-ansible | ac3b8caa052790a957b42cdfe358f47d3ad51fb2 | [
"Apache-2.0"
] | null | null | null | chaostoolkit_ansible/machine/actions.py | 10779164/chaostoolkit-ansible | ac3b8caa052790a957b42cdfe358f47d3ad51fb2 | [
"Apache-2.0"
] | null | null | null | chaostoolkit_ansible/machine/actions.py | 10779164/chaostoolkit-ansible | ac3b8caa052790a957b42cdfe358f47d3ad51fb2 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import json
import time
from time import sleep
from chaoslib.exceptions import FailedActivity
from chaoslib.types import Configuration, Secrets
from logzero import logger
from .. import ansible_api_client
# from ..types import SaltStackResponse
#from .constants import OS_LINUX, O... | 36.21124 | 102 | 0.556168 | 1,796 | 18,685 | 5.650334 | 0.144766 | 0.088786 | 0.043358 | 0.059125 | 0.771285 | 0.741821 | 0.734825 | 0.693043 | 0.660721 | 0.643575 | 0 | 0.007445 | 0.360182 | 18,685 | 515 | 103 | 36.281553 | 0.841405 | 0.3422 | 0 | 0.621951 | 0 | 0 | 0.102296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052846 | false | 0 | 0.036585 | 0 | 0.142276 | 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 |
071348a6db100b7a6f6b9bc6e460ab214cae6f4b | 21 | py | Python | tests/__init__.py | jerryryle/python-lz4ex | 937d504b3831ea45fa1e92124e5370ef1a590793 | [
"BSD-3-Clause"
] | 1 | 2019-04-17T19:33:04.000Z | 2019-04-17T19:33:04.000Z | tests/__init__.py | jerryryle/python-lz4ex | 937d504b3831ea45fa1e92124e5370ef1a590793 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | jerryryle/python-lz4ex | 937d504b3831ea45fa1e92124e5370ef1a590793 | [
"BSD-3-Clause"
] | null | null | null | __author__ = 'Jerry'
| 10.5 | 20 | 0.714286 | 2 | 21 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 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 |
071726ee7d6a5a331ba243f261494a3cc697daa7 | 1,149 | py | Python | todoist_wrapper/project.py | tivvit/ulo | b50078e011b3508049a42b6eedebd865c14f1826 | [
"MIT"
] | null | null | null | todoist_wrapper/project.py | tivvit/ulo | b50078e011b3508049a42b6eedebd865c14f1826 | [
"MIT"
] | null | null | null | todoist_wrapper/project.py | tivvit/ulo | b50078e011b3508049a42b6eedebd865c14f1826 | [
"MIT"
] | null | null | null | from todoist.models import Project
class TDProject(Project):
def __init__(self, project: Project):
super(TDProject, self).__init__(project.data, project.api)
self.child_order: int = self.data.get("child_order", None)
self.collapsed: int = self.data.get("collapsed", None)
self.color... | 47.875 | 76 | 0.652742 | 168 | 1,149 | 4.267857 | 0.22619 | 0.167364 | 0.230126 | 0.214784 | 0.211994 | 0.100418 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200174 | 1,149 | 23 | 77 | 49.956522 | 0.780196 | 0.014795 | 0 | 0 | 0 | 0 | 0.121239 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 1 | 0.052632 | false | 0 | 0.052632 | 0 | 0.157895 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0726b30eab128e28e1c3215607f81bc37881de4a | 2,674 | py | Python | scripts/sphereVertices.py | ranjeethmahankali/GeomAlgoLib | 21f1374f5a6adf8daa207999a4354ecad5254b5f | [
"Apache-2.0"
] | 9 | 2020-06-03T10:27:01.000Z | 2021-06-03T16:18:35.000Z | scripts/sphereVertices.py | ranjeethmahankali/GeomAlgoLib | 21f1374f5a6adf8daa207999a4354ecad5254b5f | [
"Apache-2.0"
] | 17 | 2021-07-25T10:26:26.000Z | 2022-03-06T09:33:33.000Z | scripts/sphereVertices.py | ranjeethmahankali/galproject | 9107387b6843c0c2671c794ffb5518573d66404e | [
"Apache-2.0"
] | 2 | 2020-03-18T05:20:13.000Z | 2021-02-17T17:15:07.000Z | import numpy as np
icoVerts = [-0.525731112119133606, 0.0, 0.850650808352039932, 0.525731112119133606, 0.0, 0.850650808352039932, -0.525731112119133606, 0.0, -0.850650808352039932, 0.525731112119133606, 0.0, -0.850650808352039932, 0.0, 0.850650808352039932, 0.525731112119133606, 0.0, 0.850650808352039932, -0.5257311121... | 39.910448 | 312 | 0.524682 | 371 | 2,674 | 3.768194 | 0.183288 | 0.032904 | 0.171674 | 0.165236 | 0.511445 | 0.414163 | 0.414163 | 0.414163 | 0.414163 | 0.388412 | 0 | 0.315282 | 0.302543 | 2,674 | 66 | 313 | 40.515152 | 0.434316 | 0.006358 | 0 | 0.115385 | 0 | 0.019231 | 0.06064 | 0.00791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.057692 | false | 0 | 0.019231 | 0 | 0.115385 | 0.057692 | 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 |
073524d619fb4195bd56a714e4268a229e01d106 | 417 | py | Python | test/test.py | hvudeshi/SE_HW2b | 1a4dec9f72b24eacf0be99b76a83557b937b5eb2 | [
"MIT"
] | 3 | 2021-08-31T01:18:00.000Z | 2021-08-31T01:20:36.000Z | test/test.py | hvudeshi/SE_HW2b | 1a4dec9f72b24eacf0be99b76a83557b937b5eb2 | [
"MIT"
] | 8 | 2021-08-30T02:24:49.000Z | 2021-09-02T19:25:59.000Z | test/test.py | hvudeshi/SE_HW2b | 1a4dec9f72b24eacf0be99b76a83557b937b5eb2 | [
"MIT"
] | 2 | 2021-09-01T03:27:32.000Z | 2021-09-01T22:39:40.000Z | def isPalindrome(s):
return s == s[::-1]
def test_answer():
assert isPalindrome("software engineering gnireenigne erawtfos") == True
assert isPalindrome("HomeWork 2 Github Homework") == False
assert isPalindrome("reviver") == True
assert isPalindrome("Group12orG") == False
assert isPalindrome("wasitacatisaw"... | 34.75 | 73 | 0.729017 | 47 | 417 | 6.446809 | 0.510638 | 0.415842 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011142 | 0.139089 | 417 | 11 | 74 | 37.909091 | 0.832869 | 0 | 0 | 0 | 0 | 0 | 0.280576 | 0 | 0 | 0 | 0 | 0 | 0.7 | 1 | 0.2 | false | 0 | 0 | 0.1 | 0.3 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0755f61f0e71b5260212db525e8324ecfff987ce | 55 | py | Python | coinmarketcap_pro/__init__.py | xjw0914/coinmarketcap-pro-api | e403b63725a6f2d8d102e45fb8a78209a1190997 | [
"MIT"
] | 1 | 2021-04-26T07:57:28.000Z | 2021-04-26T07:57:28.000Z | coinmarketcap_pro/__init__.py | xjw0914/coinmarketcap-pro-api | e403b63725a6f2d8d102e45fb8a78209a1190997 | [
"MIT"
] | null | null | null | coinmarketcap_pro/__init__.py | xjw0914/coinmarketcap-pro-api | e403b63725a6f2d8d102e45fb8a78209a1190997 | [
"MIT"
] | 2 | 2018-10-26T08:45:58.000Z | 2019-02-07T03:58:48.000Z | __version__ = '0.1.1'
from .core import CoinMarketCap
| 13.75 | 31 | 0.745455 | 8 | 55 | 4.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.145455 | 55 | 3 | 32 | 18.333333 | 0.723404 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 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 |
4ae000daaa204be7155a724c9ff171aa88613b84 | 8,958 | py | Python | examples/com.xiaoxiao.ludan/test_new_loan.py | 100440175/uiautomator2 | 3ff8ee8af8b174b4dbc97e0aee83d962e54bc555 | [
"MIT"
] | null | null | null | examples/com.xiaoxiao.ludan/test_new_loan.py | 100440175/uiautomator2 | 3ff8ee8af8b174b4dbc97e0aee83d962e54bc555 | [
"MIT"
] | null | null | null | examples/com.xiaoxiao.ludan/test_new_loan.py | 100440175/uiautomator2 | 3ff8ee8af8b174b4dbc97e0aee83d962e54bc555 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding:utf-8 -*-
from config.random_date import *
import uiautomator2 as u2
import unittest
import time
from utx import *
import uiautomator2.ext.ocr as ocr
class TestCase(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.d = u2.connect()
ocr.API = "http://o... | 60.938776 | 181 | 0.638647 | 1,289 | 8,958 | 4.318076 | 0.148953 | 0.126482 | 0.183974 | 0.289616 | 0.704456 | 0.689723 | 0.680381 | 0.661516 | 0.625764 | 0.609953 | 0 | 0.017816 | 0.185421 | 8,958 | 146 | 182 | 61.356164 | 0.744964 | 0.022103 | 0 | 0.150794 | 0 | 0 | 0.287858 | 0.223482 | 0 | 0 | 0 | 0 | 0.039683 | 1 | 0.039683 | false | 0.02381 | 0.047619 | 0 | 0.095238 | 0.079365 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab1f0ba362021fe6a22fc16286a287b8f241325e | 372 | py | Python | nabu/postprocessing/reconstructors/__init__.py | Darleen2019/Nabu-MSSS | 5e862cbf846d45b8a317f87588533f3fde9f0726 | [
"MIT"
] | 18 | 2017-10-16T13:12:46.000Z | 2022-02-15T01:20:00.000Z | nabu/postprocessing/reconstructors/__init__.py | Darleen2019/Nabu-MSSS | 5e862cbf846d45b8a317f87588533f3fde9f0726 | [
"MIT"
] | null | null | null | nabu/postprocessing/reconstructors/__init__.py | Darleen2019/Nabu-MSSS | 5e862cbf846d45b8a317f87588533f3fde9f0726 | [
"MIT"
] | 9 | 2017-10-03T18:10:10.000Z | 2020-11-13T08:26:31.000Z | '''@package reconstructors
contains objects to use for reconstructing signals'''
from . import reconstructor, reconstructor_factory, mask_reconstructor ,\
deepclustering_reconstructor, stackedmasks_reconstructor, \
deepXclustering_reconstructor, pit_l41_reconstructor, \
parallel_reconstructor, parallel_mask_reco... | 46.5 | 73 | 0.852151 | 33 | 372 | 9.242424 | 0.606061 | 0.206557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.091398 | 372 | 8 | 74 | 46.5 | 0.89645 | 0.198925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ab35dd6722550da4a1d523e1cfbcd1de284578fe | 86 | py | Python | dictionaries.py | harman31/TwilioQuest | 9471bdc17bf2843a916576a52b45ee5b504378ab | [
"Unlicense"
] | null | null | null | dictionaries.py | harman31/TwilioQuest | 9471bdc17bf2843a916576a52b45ee5b504378ab | [
"Unlicense"
] | null | null | null | dictionaries.py | harman31/TwilioQuest | 9471bdc17bf2843a916576a52b45ee5b504378ab | [
"Unlicense"
] | null | null | null | super_hero = {'name': 'Miles Morales', 'hero_name': 'Spider-Man', 'power_level': 9999} | 86 | 86 | 0.686047 | 12 | 86 | 4.666667 | 0.833333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.093023 | 86 | 1 | 86 | 86 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.54023 | 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 |
ab433d4acfca254e3549290e0e2609c68cd84d93 | 359 | py | Python | ExerciseFiles/Ch01/01_08/01_08_Finish.py | rlwheelwright/PY3_StandardLib | 0d9acc02f5ca934eab774bbdd5acc3c92eff7191 | [
"Apache-2.0"
] | null | null | null | ExerciseFiles/Ch01/01_08/01_08_Finish.py | rlwheelwright/PY3_StandardLib | 0d9acc02f5ca934eab774bbdd5acc3c92eff7191 | [
"Apache-2.0"
] | null | null | null | ExerciseFiles/Ch01/01_08/01_08_Finish.py | rlwheelwright/PY3_StandardLib | 0d9acc02f5ca934eab774bbdd5acc3c92eff7191 | [
"Apache-2.0"
] | null | null | null | r = range(0, 30)
print(type(r))
print(type(10))
print(type('a'))
print(type("Hi there"))
class Car:
pass
class Truck():
pass
c = Car()
convert = Car()
t = Truck()
print(type(c))
print(type(t))
print(type(c) == type(t))
print(type(c) == type(convert))
print(isinstance(c, Car))
print(isinstance(t, Car))
if i... | 14.36 | 31 | 0.623955 | 60 | 359 | 3.733333 | 0.333333 | 0.321429 | 0.133929 | 0.125 | 0.151786 | 0.151786 | 0 | 0 | 0 | 0 | 0 | 0.016502 | 0.155989 | 359 | 25 | 32 | 14.36 | 0.722772 | 0 | 0 | 0.1 | 0 | 0 | 0.025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.1 | 0 | 0 | 0.1 | 0.55 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 |
ab4a051c42e7dde238a0b0ecfc6fcf5cd50d374f | 286 | py | Python | anydo/lib/error.py | gvkalra/python-anydo | c7ee843848b6c41ca8e6c0575fc9335bfbfd37eb | [
"MIT"
] | 23 | 2015-02-22T18:10:19.000Z | 2020-06-18T17:13:39.000Z | anydo/lib/error.py | dustinbrown/python-anydo | 71422f1cabca8a9a0afa39eeb2a77ca6a92f4b62 | [
"MIT"
] | 6 | 2015-05-01T07:04:10.000Z | 2016-09-15T12:40:31.000Z | anydo.widget/anydo/lib/error.py | mislavcimpersak/anydo-widget | 8d7a9206dcb9872848cacf58c21834ab4b47c2bc | [
"MIT"
] | 9 | 2015-05-05T07:41:29.000Z | 2017-05-20T14:49:11.000Z | # -*- coding: utf-8 -*-
""" anydo.lib.error """
class AnyDoAPIBinderError(Exception):
"""An AnyDoAPIBinder error occured."""
def __init__(self, msg):
super(AnyDoAPIBinderError, self).__init__(msg)
self.msg = msg
def __str__(self):
return self.msg
| 22 | 54 | 0.622378 | 31 | 286 | 5.354839 | 0.612903 | 0.126506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004525 | 0.227273 | 286 | 12 | 55 | 23.833333 | 0.746606 | 0.251748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
db46ab4a0d02eb384698b3ea45179efc312cb388 | 373 | py | Python | examples/2_test_with_description.py | wgnet/grail | 1d8d22bebda758800cb9aa9027486053d568bc14 | [
"Apache-2.0"
] | 37 | 2015-01-12T07:34:34.000Z | 2020-12-29T09:46:28.000Z | examples/2_test_with_description.py | wgnet/grail | 1d8d22bebda758800cb9aa9027486053d568bc14 | [
"Apache-2.0"
] | 7 | 2015-04-10T14:55:34.000Z | 2021-04-28T10:00:47.000Z | examples/2_test_with_description.py | wgnet/grail | 1d8d22bebda758800cb9aa9027486053d568bc14 | [
"Apache-2.0"
] | 17 | 2015-01-06T20:09:02.000Z | 2019-06-28T08:57:36.000Z | from grail import BaseTest, step
class MyTestWithDescription(BaseTest):
def test_some_feature(self):
self.login_to_application()
self.complex_step()
@step
def login_to_application(self):
pass
@step(description='Some tricky actions with the application which I can\'t put to me... | 23.3125 | 99 | 0.691689 | 48 | 373 | 5.208333 | 0.604167 | 0.056 | 0.144 | 0.176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233244 | 373 | 15 | 100 | 24.866667 | 0.874126 | 0 | 0 | 0.181818 | 0 | 0 | 0.142091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.181818 | 0.090909 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
db91758f723b9e92698719987e867dc150ad03f8 | 678 | py | Python | Expressions/Number.py | mathiasquintero/LlamaLang | 84484b03eb24f326d7889c9dd4e9605d4eca9f8d | [
"MIT"
] | 5 | 2016-05-24T10:42:10.000Z | 2017-09-19T11:59:21.000Z | Expressions/Number.py | nerdsupremacist/LlamaLang | 84484b03eb24f326d7889c9dd4e9605d4eca9f8d | [
"MIT"
] | 7 | 2016-05-26T13:46:33.000Z | 2016-06-15T20:57:15.000Z | Expressions/Number.py | mathiasquintero/LlamaLang | 84484b03eb24f326d7889c9dd4e9605d4eca9f8d | [
"MIT"
] | null | null | null | from Expressions.Expr import Expr
class Number(Expr):
def __init__(self, value):
self.value = value
def eval(self):
return self.value
def type(self):
return Number
def copy(self):
return Number(self.eval())
def to_cli(self):
return str(self.eval()) + " ... | 16.536585 | 55 | 0.570796 | 81 | 678 | 4.654321 | 0.320988 | 0.185676 | 0.127321 | 0.079576 | 0.222812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315634 | 678 | 41 | 56 | 16.536585 | 0.8125 | 0 | 0 | 0.444444 | 0 | 0 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.407407 | false | 0 | 0.037037 | 0.333333 | 0.851852 | 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 |
db92c67f72e8b99969dc3ef919a946b231d8507b | 213 | py | Python | Ecercises2/R-2.02.py | opnsesame/Data-Structures-and-Algorithms-Exercises | 62f4066c6370225a41295ecb08e05258b08f6d7e | [
"Apache-2.0"
] | null | null | null | Ecercises2/R-2.02.py | opnsesame/Data-Structures-and-Algorithms-Exercises | 62f4066c6370225a41295ecb08e05258b08f6d7e | [
"Apache-2.0"
] | null | null | null | Ecercises2/R-2.02.py | opnsesame/Data-Structures-and-Algorithms-Exercises | 62f4066c6370225a41295ecb08e05258b08f6d7e | [
"Apache-2.0"
] | null | null | null | '''
Give an example of a software application in which adaptability can mean
the difference between a prolonged lifetime of sales and bankruptcy
The point of sales system that wont be able to change tax rate
''' | 35.5 | 72 | 0.793427 | 35 | 213 | 4.828571 | 0.857143 | 0.08284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178404 | 213 | 6 | 73 | 35.5 | 0.965714 | 0.957746 | 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 |
dbb1f31891eaca1e9d62ed6bf9710c18313b1219 | 367 | py | Python | awards/serializer.py | Nobella-Nyarari-Ejiofor/Awwards | d92f93757018eba7a4a9389b76c129639c99a3b7 | [
"PostgreSQL",
"Unlicense"
] | null | null | null | awards/serializer.py | Nobella-Nyarari-Ejiofor/Awwards | d92f93757018eba7a4a9389b76c129639c99a3b7 | [
"PostgreSQL",
"Unlicense"
] | null | null | null | awards/serializer.py | Nobella-Nyarari-Ejiofor/Awwards | d92f93757018eba7a4a9389b76c129639c99a3b7 | [
"PostgreSQL",
"Unlicense"
] | null | null | null | from rest_framework import serializers
from.models import Profile, Project
class ProfileSerializer(serializers.ModelSerializer):
class Meta:
model =Profile
fields =('user', 'bio','photo','contact')
class ProjectSerializer(serializers.ModelSerializer):
class Meta:
model = Project
fields = ('title',... | 30.583333 | 69 | 0.73842 | 39 | 367 | 6.897436 | 0.641026 | 0.193309 | 0.230483 | 0.260223 | 0.297398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13079 | 367 | 12 | 69 | 30.583333 | 0.84326 | 0 | 0 | 0.2 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
dbbc66e9e4182ab8ce4835d564a7adc83f56874b | 234 | py | Python | api/users/models/students.py | ciscodea/academic | a5a32259725eceb88122340523377d18ba86eca2 | [
"MIT"
] | null | null | null | api/users/models/students.py | ciscodea/academic | a5a32259725eceb88122340523377d18ba86eca2 | [
"MIT"
] | null | null | null | api/users/models/students.py | ciscodea/academic | a5a32259725eceb88122340523377d18ba86eca2 | [
"MIT"
] | null | null | null | """Students models module"""
from django.db import models
# Utilities
from .users import UserInfo
class Student(UserInfo):
"""Student user type class"""
user = models.OneToOneField("users.User", on_delete=models.CASCADE)
| 18 | 71 | 0.726496 | 29 | 234 | 5.827586 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 234 | 12 | 72 | 19.5 | 0.853535 | 0.24359 | 0 | 0 | 0 | 0 | 0.060241 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dbca90480b3bef1965a11ee94de7b659bd015559 | 280 | py | Python | inventory/admin.py | levertco/stactistics | a62ba5e43b6ffb22f8b22d974aa4942d133bf7d1 | [
"MIT"
] | null | null | null | inventory/admin.py | levertco/stactistics | a62ba5e43b6ffb22f8b22d974aa4942d133bf7d1 | [
"MIT"
] | 3 | 2021-03-19T03:26:02.000Z | 2021-06-10T21:55:35.000Z | inventory/admin.py | levertco/stactistics | a62ba5e43b6ffb22f8b22d974aa4942d133bf7d1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import Product ,Family ,Location ,Transaction
admin.site.register(Product)
admin.site.register(Family)
admin.site.register(Location)
admin.site.register(Transaction) | 25.454545 | 60 | 0.792857 | 36 | 280 | 6.027778 | 0.5 | 0.165899 | 0.313364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003968 | 0.1 | 280 | 11 | 61 | 25.454545 | 0.857143 | 0.075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
dbd5b600fe1568a3b6062d6488799ee86799d81e | 1,018 | py | Python | names_dataset/nd_v1.py | paudan/name-dataset | fe96f98df44ef4bf91194ef1abdca04100a13bc5 | [
"Apache-2.0"
] | 478 | 2018-12-13T00:20:50.000Z | 2022-03-16T12:05:31.000Z | names_dataset/nd_v1.py | paudan/name-dataset | fe96f98df44ef4bf91194ef1abdca04100a13bc5 | [
"Apache-2.0"
] | 17 | 2019-02-26T16:29:37.000Z | 2022-02-18T05:14:48.000Z | names_dataset/nd_v1.py | paudan/name-dataset | fe96f98df44ef4bf91194ef1abdca04100a13bc5 | [
"Apache-2.0"
] | 136 | 2019-01-22T09:00:00.000Z | 2022-03-26T19:37:02.000Z | import os
class NameDatasetV1:
def __init__(self):
first_names_filename = os.path.join(os.path.dirname(__file__), 'v1/first_names.all.txt')
with open(first_names_filename, 'r', errors='ignore', encoding='utf8') as r:
self.first_names = set(r.read().strip().split('\n'))
last_na... | 40.72 | 96 | 0.676817 | 149 | 1,018 | 4.281879 | 0.308725 | 0.075235 | 0.112853 | 0.100313 | 0.611285 | 0.473354 | 0.473354 | 0.398119 | 0.398119 | 0.272727 | 0 | 0.006061 | 0.189587 | 1,018 | 24 | 97 | 42.416667 | 0.767273 | 0 | 0 | 0 | 0 | 0 | 0.06778 | 0.04224 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.055556 | 0.111111 | 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 |
9156928e0134d3828f4a2a4906fed1dc167af693 | 50,120 | py | Python | GeneratorInterface/Pythia8Interface/test/inlineSlhaFragment.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | GeneratorInterface/Pythia8Interface/test/inlineSlhaFragment.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | GeneratorInterface/Pythia8Interface/test/inlineSlhaFragment.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | FLAVOR = 'stop'
COM_ENERGY = 13000. # GeV
MASS_POINT = 1000 # GeV
CROSS_SECTION = 0.00615134 # pb
CTAU_POINT = 1000. # mm
SLHA_TABLE="""## Important note!
## This file has been modified by hand to give the gluino and the
## stop_1 a very narrow width, such that it can be used to try out
## the R-hadron machinery. It... | 58.211382 | 152 | 0.463248 | 7,383 | 50,120 | 3.008939 | 0.091426 | 0.138645 | 0.149088 | 0.157416 | 0.671933 | 0.521089 | 0.480351 | 0.470538 | 0.455548 | 0.450777 | 0 | 0.441924 | 0.409777 | 50,120 | 860 | 153 | 58.27907 | 0.309039 | 0.000978 | 0 | 0.090482 | 0 | 0 | 0.965983 | 0.009568 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.005875 | 0 | 0.005875 | 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 |
91582fabc6f6eddc12846393cc8544b4aa442071 | 148 | py | Python | Part 1/Chapter 5/exercise_5.2.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | Part 1/Chapter 5/exercise_5.2.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | Part 1/Chapter 5/exercise_5.2.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | sample = ['bob', 7, 'joe']
test = "BOB"
print("joe" not in sample)
print(test.lower() in sample)
print(3 > 1 and 2*3 == 5)
print(2<=1 or 3-2 == 1)
| 18.5 | 29 | 0.581081 | 30 | 148 | 2.866667 | 0.5 | 0.186047 | 0.302326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091667 | 0.189189 | 148 | 7 | 30 | 21.142857 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9161a007277cbd2ee3f4455e9ed7dfcb09ffea60 | 225 | py | Python | code/Django/phpmyadmin.py | szenden/parlebot | 70c792374270e671243ae83d03deed3c222039d2 | [
"MIT"
] | null | null | null | code/Django/phpmyadmin.py | szenden/parlebot | 70c792374270e671243ae83d03deed3c222039d2 | [
"MIT"
] | null | null | null | code/Django/phpmyadmin.py | szenden/parlebot | 70c792374270e671243ae83d03deed3c222039d2 | [
"MIT"
] | null | null | null | import pymysql
conn= pymysql.connect(host="localhost", user="root", passwd="root", db="parlebot")
myCursor = conn.cursor()
myCursor.executee("INSERT INTO test(title, question1, question2) VALUES('test', 'test1', 'test2');") | 37.5 | 100 | 0.724444 | 28 | 225 | 5.821429 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.084444 | 225 | 6 | 100 | 37.5 | 0.771845 | 0 | 0 | 0 | 0 | 0 | 0.460177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
916f983f04dc9813ba7e0641aa35309dd46a52c8 | 1,163 | py | Python | django_toolkit/tests/db/models.py | alexhayes/django-toolkit | b64106392fad596defc915b8235fe6e1d0013b5b | [
"MIT"
] | 7 | 2015-06-23T07:36:04.000Z | 2016-12-24T00:42:50.000Z | django_toolkit/tests/db/models.py | alexhayes/django-toolkit | b64106392fad596defc915b8235fe6e1d0013b5b | [
"MIT"
] | 5 | 2020-02-12T00:49:28.000Z | 2021-12-13T19:47:48.000Z | django_toolkit/tests/db/models.py | alexhayes/django-toolkit | b64106392fad596defc915b8235fe6e1d0013b5b | [
"MIT"
] | 4 | 2015-06-23T07:37:40.000Z | 2021-04-04T03:53:34.000Z | from django.utils import unittest
from django_toolkit.tests.testapp.models import ModelWithChainedQuerySet
class QuerySetManagerTestCase(unittest.TestCase):
def test_chaining(self):
ModelWithChainedQuerySet.objects.bulk_create([
ModelWithChainedQuerySet(foo=False, bar=False),
Mode... | 52.863636 | 91 | 0.728289 | 120 | 1,163 | 6.9 | 0.266667 | 0.299517 | 0.32971 | 0.388889 | 0.586957 | 0.586957 | 0.463768 | 0.270531 | 0 | 0 | 0 | 0.007099 | 0.152193 | 1,163 | 21 | 92 | 55.380952 | 0.832657 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 1 | 0.055556 | false | 0 | 0.111111 | 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 |
9173b18de648dd0d26cd31d301133819b4189454 | 58 | py | Python | Python/Tests/TestData/AstAnalysis/InstanceMethod.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 695 | 2019-05-06T23:49:37.000Z | 2022-03-30T01:56:00.000Z | Python/Tests/TestData/AstAnalysis/InstanceMethod.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 1,672 | 2019-05-06T21:09:38.000Z | 2022-03-31T23:16:04.000Z | Python/Tests/TestData/AstAnalysis/InstanceMethod.py | techkey/PTVS | 8355e67eedd8e915ca49bd38a2f36172696fd903 | [
"Apache-2.0"
] | 186 | 2019-05-13T03:17:37.000Z | 2022-03-31T16:24:05.000Z | class C:
def f(self): pass
f1 = C.f
c = C()
f2 = c.f
| 8.285714 | 21 | 0.482759 | 14 | 58 | 2 | 0.571429 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0.327586 | 58 | 6 | 22 | 9.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
91785c398fab45c553a6998f6b449b619f5f3f6b | 251 | py | Python | Development_Setup/FlaskSample/flaskapp/app.py | Y-Yoshimoto/InfraServerKit | a3674bacd430ef6ca03ce4c421b2ab440d6f7bac | [
"MIT"
] | null | null | null | Development_Setup/FlaskSample/flaskapp/app.py | Y-Yoshimoto/InfraServerKit | a3674bacd430ef6ca03ce4c421b2ab440d6f7bac | [
"MIT"
] | null | null | null | Development_Setup/FlaskSample/flaskapp/app.py | Y-Yoshimoto/InfraServerKit | a3674bacd430ef6ca03ce4c421b2ab440d6f7bac | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def top():
name = "top"
return render_template('top.html', title='top page', name=name)
@app.route('/hello_world')
def hello_world():
return 'Hello, World!'
| 19.307692 | 67 | 0.673307 | 35 | 251 | 4.6 | 0.457143 | 0.186335 | 0.149068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159363 | 251 | 12 | 68 | 20.916667 | 0.763033 | 0 | 0 | 0 | 0 | 0 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 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 |
918890443b52090bf1aef4f587f4666da7a71324 | 964 | py | Python | ecantina_project/sitemaps.py | LuchaComics/comicscantina-django | 78e630000fb1e1f6299f80655c8f57a496236ab1 | [
"BSD-2-Clause"
] | null | null | null | ecantina_project/sitemaps.py | LuchaComics/comicscantina-django | 78e630000fb1e1f6299f80655c8f57a496236ab1 | [
"BSD-2-Clause"
] | 5 | 2021-03-19T02:58:32.000Z | 2022-03-11T23:57:30.000Z | ecantina_project/sitemaps.py | lendierickx/comics-django | 3f5c6e85c89ff157dbf67179ea3b9007d7de446c | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import sitemaps
from django.core.urlresolvers import reverse
from api.models.ec.subdomain import SubDomain
from api.models.ec.product import Product
class StaticViewSitemap(sitemaps.Sitemap):
priority = 0.5
changefreq = 'monthly'
def items(self):
return ['store_landpage', ... | 27.542857 | 148 | 0.691909 | 115 | 964 | 5.730435 | 0.521739 | 0.068285 | 0.104704 | 0.109256 | 0.235205 | 0.235205 | 0.182094 | 0.182094 | 0.182094 | 0.182094 | 0 | 0.010296 | 0.193983 | 964 | 35 | 149 | 27.542857 | 0.837838 | 0.061203 | 0 | 0.347826 | 0 | 0 | 0.128319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.173913 | 0.217391 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
918bcc9cd02e328eab6d6a266bba24924aabab2d | 986 | py | Python | tradgram/applicants/models.py | didils/tradgram | 4868ca082ab78a1b5b96f25ee9f958567bd1bb1e | [
"MIT"
] | null | null | null | tradgram/applicants/models.py | didils/tradgram | 4868ca082ab78a1b5b96f25ee9f958567bd1bb1e | [
"MIT"
] | 4 | 2020-06-05T20:21:46.000Z | 2021-09-08T00:57:42.000Z | tradgram/applicants/models.py | didils/tradgram | 4868ca082ab78a1b5b96f25ee9f958567bd1bb1e | [
"MIT"
] | null | null | null | from django.db import models
from tradgram.users import models as user_models
class Applicant(models.Model):
# Create your models here.
address = models.CharField(max_length=140, blank=True, null=True)
representName = models.CharField(max_length=140, blank=True, null=True)
representNameEn = models.CharFi... | 54.777778 | 87 | 0.776876 | 131 | 986 | 5.732824 | 0.312977 | 0.106525 | 0.215712 | 0.287617 | 0.527297 | 0.527297 | 0.527297 | 0.527297 | 0.527297 | 0 | 0 | 0.031034 | 0.117647 | 986 | 18 | 88 | 54.777778 | 0.832184 | 0.024341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
919245c49c5a986c69235a7a2ca42c52d1b212c0 | 657 | py | Python | Gold_Badges/Ayuba_Badge/backend/frontend/migrations/0002_rename_github_url_userprofile_nin_and_more.py | preciousM494/Voting | 295c34814835ed89ddd6ab88a4d5d64a8c86da53 | [
"Apache-2.0"
] | 5 | 2021-09-15T08:03:05.000Z | 2022-03-31T22:12:35.000Z | Gold_Badges/Ayuba_Badge/backend/frontend/migrations/0002_rename_github_url_userprofile_nin_and_more.py | preciousM494/Voting | 295c34814835ed89ddd6ab88a4d5d64a8c86da53 | [
"Apache-2.0"
] | null | null | null | Gold_Badges/Ayuba_Badge/backend/frontend/migrations/0002_rename_github_url_userprofile_nin_and_more.py | preciousM494/Voting | 295c34814835ed89ddd6ab88a4d5d64a8c86da53 | [
"Apache-2.0"
] | 3 | 2021-12-10T01:30:38.000Z | 2021-12-26T17:45:13.000Z | # Generated by Django 4.0.2 on 2022-02-10 21:25
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('frontend', '0001_initial'),
]
operations = [
migrations.RenameField(
model_name='userprofile',
old_name='github_url',
... | 22.655172 | 47 | 0.547945 | 63 | 657 | 5.492063 | 0.603175 | 0.182081 | 0.225434 | 0.260116 | 0.416185 | 0.416185 | 0.416185 | 0 | 0 | 0 | 0 | 0.04388 | 0.340944 | 657 | 28 | 48 | 23.464286 | 0.755196 | 0.068493 | 0 | 0.409091 | 1 | 0 | 0.167213 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 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 |
91972e36b28f54fa84e9022ce174a68669b80c33 | 140 | py | Python | Server/pipeline/pixiv-scraper/src/error_handlers.py | DeSireFire/PixivWallpaper | 8534dcd31a1555397776c3bc7a9efb843f6417fc | [
"MIT"
] | 35 | 2018-12-06T21:23:24.000Z | 2022-03-01T13:42:36.000Z | Server/pipeline/pixiv-scraper/src/error_handlers.py | DeSireFire/PixivWallpaper | 8534dcd31a1555397776c3bc7a9efb843f6417fc | [
"MIT"
] | 26 | 2018-12-20T17:12:40.000Z | 2022-03-25T19:14:11.000Z | Server/pipeline/pixiv-scraper/src/error_handlers.py | DeSireFire/PixivWallpaper | 8534dcd31a1555397776c3bc7a9efb843f6417fc | [
"MIT"
] | 9 | 2018-12-06T23:33:35.000Z | 2020-07-28T16:35:59.000Z | import sys
import traceback
def exception_handler(error_msg):
print(error_msg, file=sys.stderr)
traceback.print_exc()
exit(1)
| 15.555556 | 37 | 0.735714 | 20 | 140 | 4.95 | 0.7 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.171429 | 140 | 8 | 38 | 17.5 | 0.844828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
919a389ee69c91f40f8b13b1c5481af0ea4dcce4 | 1,099 | py | Python | Demos/regularizers.py | BeatHubmann/18F-IML | 4103da591b760edd6f3d98849a867d7cbe08a84f | [
"MIT"
] | null | null | null | Demos/regularizers.py | BeatHubmann/18F-IML | 4103da591b760edd6f3d98849a867d7cbe08a84f | [
"MIT"
] | null | null | null | Demos/regularizers.py | BeatHubmann/18F-IML | 4103da591b760edd6f3d98849a867d7cbe08a84f | [
"MIT"
] | null | null | null | import numpy as np
class Regularizer(object):
"""docstring for Regularizer"""
def __init__(self, reg):
super().__init__()
self._lambda = reg
def set_lambda(self, reg):
self._lambda = reg
def get_lambda(self):
return self._lambda
def loss(self, w):
return... | 21.134615 | 66 | 0.592357 | 139 | 1,099 | 4.42446 | 0.230216 | 0.113821 | 0.071545 | 0.068293 | 0.586992 | 0.515447 | 0.478049 | 0.478049 | 0.478049 | 0.478049 | 0 | 0.016209 | 0.270246 | 1,099 | 51 | 67 | 21.54902 | 0.750623 | 0.073703 | 0 | 0.548387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.354839 | false | 0 | 0.032258 | 0.16129 | 0.709677 | 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 |
919c1a37c3c25dce87e65d89ef2d7a32041477cb | 185 | py | Python | fpb/avg/dask.py | cloudmercato/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | 3 | 2021-12-29T20:39:53.000Z | 2021-12-29T23:53:02.000Z | fpb/avg/dask.py | cloudspectatordevelopment/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | null | null | null | fpb/avg/dask.py | cloudspectatordevelopment/python-fpb | 5da2773e3bb7068bfb9cde920c5b754eecdf342e | [
"BSD-3-Clause"
] | null | null | null | from fpb.base import dask
class Runner(dask.BaseDask1dRunner):
def run(self, data):
output = self.da.average(data).compute(scheduler=self.scheduler)
return output
| 23.125 | 72 | 0.702703 | 24 | 185 | 5.416667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.194595 | 185 | 7 | 73 | 26.428571 | 0.865772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
91c21200fbc37381c2cd9eb0391183bc794ef5b0 | 177 | py | Python | src/functions/set.py | PatoGordo/contact-me-flask | 00f26493305eb2a8cc3b27b5f1c119d4a8f996d0 | [
"MIT"
] | 2 | 2021-01-10T20:58:44.000Z | 2021-02-03T00:57:59.000Z | src/functions/set.py | PatoGordo/contact-me-flask | 00f26493305eb2a8cc3b27b5f1c119d4a8f996d0 | [
"MIT"
] | null | null | null | src/functions/set.py | PatoGordo/contact-me-flask | 00f26493305eb2a8cc3b27b5f1c119d4a8f996d0 | [
"MIT"
] | null | null | null | from ..services.firebase import db
def setData(name, message, email):
data = {"name": name,"message": message,"email": email}
db.child("contacts").push(data)
return data | 25.285714 | 57 | 0.694915 | 24 | 177 | 5.125 | 0.625 | 0.178862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 177 | 7 | 58 | 25.285714 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
91cea068707ccc5d49727a7ea704f2b51b4ee28a | 569 | py | Python | pincer/objects/guild/widget.py | mjneff2/Pincer | a11bc3e4bad319fdf927d913c58c933576ec7c99 | [
"MIT"
] | null | null | null | pincer/objects/guild/widget.py | mjneff2/Pincer | a11bc3e4bad319fdf927d913c58c933576ec7c99 | [
"MIT"
] | null | null | null | pincer/objects/guild/widget.py | mjneff2/Pincer | a11bc3e4bad319fdf927d913c58c933576ec7c99 | [
"MIT"
] | null | null | null | # Copyright Pincer 2021-Present
# Full MIT License can be found in `LICENSE` at the project root.
from __future__ import annotations
from dataclasses import dataclass
from typing import Optional, TYPE_CHECKING
from ...utils import APIObject
if TYPE_CHECKING:
from ...utils import Snowflake
@dataclass
class Gui... | 20.321429 | 65 | 0.725835 | 71 | 569 | 5.704225 | 0.619718 | 0.066667 | 0.079012 | 0.103704 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008989 | 0.217926 | 569 | 27 | 66 | 21.074074 | 0.901124 | 0.407733 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
91dc62fbbf41a7bd1cc4ad6c6131a7a42113ce6a | 706 | py | Python | Quiz/m2_advanced_quants/l5_volatility/volatility.py | jcrangel/AI-for-Trading | c3b865e992f8eb8deda91e7641428eef1d343636 | [
"Apache-2.0"
] | null | null | null | Quiz/m2_advanced_quants/l5_volatility/volatility.py | jcrangel/AI-for-Trading | c3b865e992f8eb8deda91e7641428eef1d343636 | [
"Apache-2.0"
] | null | null | null | Quiz/m2_advanced_quants/l5_volatility/volatility.py | jcrangel/AI-for-Trading | c3b865e992f8eb8deda91e7641428eef1d343636 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
def get_most_volatile(prices):
"""Return the ticker symbol for the most volatile stock.
Parameters
----------
prices : pandas.DataFrame
a pandas.DataFrame object with columns: ['ticker', 'date', 'price']
Returns
-------
ticker : stri... | 23.533333 | 75 | 0.640227 | 90 | 706 | 4.822222 | 0.522222 | 0.165899 | 0.103687 | 0.096774 | 0.16129 | 0.16129 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0.232295 | 706 | 29 | 76 | 24.344828 | 0.800738 | 0.485836 | 0 | 0 | 0 | 0 | 0.14658 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 1 | 0.222222 | false | 0.111111 | 0.222222 | 0 | 0.444444 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
91e694f2ac510df2d7a0e4f5eeddf5e241c0b2c5 | 520 | py | Python | django_any/tests/test_custom_seed.py | lincolnloop/django-whatever | 9009ff46308f9ddf28cd5e9656f47e0067dc5ad0 | [
"MIT"
] | 1 | 2015-02-21T11:49:33.000Z | 2015-02-21T11:49:33.000Z | django_any/tests/test_custom_seed.py | lincolnloop/django-whatever | 9009ff46308f9ddf28cd5e9656f47e0067dc5ad0 | [
"MIT"
] | null | null | null | django_any/tests/test_custom_seed.py | lincolnloop/django-whatever | 9009ff46308f9ddf28cd5e9656f47e0067dc5ad0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8; mode: django -*-
from django.db import models
from django.test import TestCase
from django_any import any_field
from django_any.test import WithTestDataSeed, with_seed, without_random_seed
# Skip until #4 is fixed
#class CustomSeed(TestCase):
# __metaclass__ = WithTestDataSeed
#
# @without... | 27.368421 | 76 | 0.723077 | 67 | 520 | 5.358209 | 0.58209 | 0.111421 | 0.072423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011682 | 0.176923 | 520 | 18 | 77 | 28.888889 | 0.827103 | 0.617308 | 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 |
37d5131cec8e2f128dcfd9b6a4bab164f0ba6bad | 325 | py | Python | matchms/importing/__init__.py | efrain2010/matchms | 69cedeed5597966619a97c4e4211deaf8610d727 | [
"Apache-2.0"
] | null | null | null | matchms/importing/__init__.py | efrain2010/matchms | 69cedeed5597966619a97c4e4211deaf8610d727 | [
"Apache-2.0"
] | null | null | null | matchms/importing/__init__.py | efrain2010/matchms | 69cedeed5597966619a97c4e4211deaf8610d727 | [
"Apache-2.0"
] | null | null | null | from .load_adducts import load_adducts
from .load_from_json import load_from_json
from .load_from_mgf import load_from_mgf
from .load_from_msp import load_from_msp
from .load_from_usi import load_from_usi
__all__ = [
"load_from_json",
"load_from_mgf",
"load_from_msp",
"load_from_usi",
"load_adduct... | 21.666667 | 42 | 0.775385 | 53 | 325 | 4.169811 | 0.169811 | 0.434389 | 0.217195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156923 | 325 | 14 | 43 | 23.214286 | 0.806569 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
37ec1f3c5364e2549fe0e0f90e192ca8559bc711 | 3,080 | py | Python | amulet/api/chunk_data/chunk_array.py | Podshot/Amulet-Core | 678a722daa5e4487d193a7e947ccceacac325fd2 | [
"MIT"
] | null | null | null | amulet/api/chunk_data/chunk_array.py | Podshot/Amulet-Core | 678a722daa5e4487d193a7e947ccceacac325fd2 | [
"MIT"
] | null | null | null | amulet/api/chunk_data/chunk_array.py | Podshot/Amulet-Core | 678a722daa5e4487d193a7e947ccceacac325fd2 | [
"MIT"
] | null | null | null | import numpy
class ChunkArray(numpy.ndarray):
def __new__(cls, parent_chunk, input_array):
obj = numpy.asarray(input_array).view(cls)
obj._parent_chunk = parent_chunk
return obj
def __array_finalize__(self, obj):
if obj is None:
return
self._parent_chunk = ... | 29.056604 | 70 | 0.606169 | 353 | 3,080 | 4.84136 | 0.184136 | 0.135752 | 0.229374 | 0.270334 | 0.394968 | 0.321826 | 0.286717 | 0 | 0 | 0 | 0 | 0.000862 | 0.247078 | 3,080 | 105 | 71 | 29.333333 | 0.736093 | 0 | 0 | 0.278481 | 0 | 0 | 0.012338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.316456 | false | 0 | 0.012658 | 0 | 0.367089 | 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 |
37eefaeab287b57bb276666a26dce707b6b8112e | 389 | py | Python | exe/hooks/rthook.py | richpsharp/invest | fd64b04e0b396402d0aab3dd0c31172accbfe2bc | [
"BSD-3-Clause"
] | 6 | 2020-02-26T16:31:42.000Z | 2022-02-28T21:10:25.000Z | exe/hooks/rthook.py | richpsharp/invest | fd64b04e0b396402d0aab3dd0c31172accbfe2bc | [
"BSD-3-Clause"
] | 23 | 2019-11-22T23:14:09.000Z | 2021-01-28T14:31:42.000Z | exe/hooks/rthook.py | richpsharp/invest | fd64b04e0b396402d0aab3dd0c31172accbfe2bc | [
"BSD-3-Clause"
] | 7 | 2020-02-26T16:31:47.000Z | 2022-03-14T12:06:21.000Z | import sys
import os
import multiprocessing
import platform
multiprocessing.freeze_support()
os.environ['PROJ_LIB'] = os.path.join(sys._MEIPASS, 'proj')
if platform.system() == 'Darwin':
# This allows Qt 5.13+ to start on Big Sur.
# See https://bugreports.qt.io/browse/QTBUG-87014
# and https://github.com... | 25.933333 | 59 | 0.717224 | 58 | 389 | 4.706897 | 0.758621 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035928 | 0.141388 | 389 | 14 | 60 | 27.785714 | 0.781437 | 0.352185 | 0 | 0 | 0 | 0 | 0.149194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
37f5ad38f69fb14c7e74b14a365d5b4297e85fd2 | 1,963 | py | Python | test/util/test_elisa_results_parser.py | hci-unihd/batchlib | e7e4ce34228346c5dcf1d1f01c512d5fad5ba5c1 | [
"MIT"
] | 3 | 2020-04-14T21:37:10.000Z | 2020-07-29T00:16:28.000Z | test/util/test_elisa_results_parser.py | hci-unihd/batchlib | e7e4ce34228346c5dcf1d1f01c512d5fad5ba5c1 | [
"MIT"
] | 104 | 2020-04-08T08:23:23.000Z | 2020-06-15T10:40:17.000Z | test/util/test_elisa_results_parser.py | hci-unihd/batchlib | e7e4ce34228346c5dcf1d1f01c512d5fad5ba5c1 | [
"MIT"
] | null | null | null | import unittest
import math
from batchlib.util.elisa_results_parser import ElisaResultsParser
class TestElisaResultsParser(unittest.TestCase):
def test_elisa_results_parsing(self):
elisa_results_parser = ElisaResultsParser()
results = elisa_results_parser.get_elisa_values('C14d', test_names=['EL... | 39.26 | 124 | 0.639328 | 265 | 1,963 | 4.532075 | 0.245283 | 0.238135 | 0.164863 | 0.187344 | 0.577019 | 0.577019 | 0.556203 | 0.328893 | 0.328893 | 0.231474 | 0 | 0.059211 | 0.225675 | 1,963 | 49 | 125 | 40.061224 | 0.730921 | 0 | 0 | 0.054054 | 0 | 0 | 0.117677 | 0 | 0 | 0 | 0 | 0 | 0.594595 | 1 | 0.027027 | false | 0 | 0.081081 | 0 | 0.135135 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
532715395cea0e60926272524b3a4e53291b7667 | 2,198 | py | Python | bl/nostalgia/grasshoppers.py | djfroofy/beatlounge | 6ab173e2e1e3a8a357063e020f0392fa71330382 | [
"MIT"
] | 8 | 2015-04-29T02:52:42.000Z | 2018-12-06T17:49:32.000Z | bl/nostalgia/grasshoppers.py | djfroofy/beatlounge | 6ab173e2e1e3a8a357063e020f0392fa71330382 | [
"MIT"
] | null | null | null | bl/nostalgia/grasshoppers.py | djfroofy/beatlounge | 6ab173e2e1e3a8a357063e020f0392fa71330382 | [
"MIT"
] | null | null | null | """
1,2,9 9,2,1
1,3,8 8,3,1
1,4,7 7,4,1
1,5,6 6,5,1
2,8,2
2,3,7 7,3,2
2,4,6 6,4,2
5,2,5
3,6,3
3,4,5 ... | 24.153846 | 77 | 0.297088 | 413 | 2,198 | 1.564165 | 0.070218 | 0.092879 | 0.043344 | 0.027864 | 0.185759 | 0.060372 | 0 | 0 | 0 | 0 | 0 | 0.328335 | 0.423567 | 2,198 | 90 | 78 | 24.422222 | 0.181531 | 0.414923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0 | 0.04 | 0.16 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
532d239af24c8b83d30062ba520b7fe2ec0d245d | 1,181 | py | Python | servo/data/careena_r0_inas.py | neverware-mirrors/hdctools | dd7f911bb9051e615af7fcb71d921bd481f934fb | [
"BSD-3-Clause"
] | null | null | null | servo/data/careena_r0_inas.py | neverware-mirrors/hdctools | dd7f911bb9051e615af7fcb71d921bd481f934fb | [
"BSD-3-Clause"
] | null | null | null | servo/data/careena_r0_inas.py | neverware-mirrors/hdctools | dd7f911bb9051e615af7fcb71d921bd481f934fb | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2018 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# These devices are ina3221 (3-channels/i2c address) devices
inas = [
# drvname, child, name, nom, sense, mux, is_calib
('in... | 49.208333 | 75 | 0.559695 | 182 | 1,181 | 3.543956 | 0.434066 | 0.130233 | 0.23876 | 0.102326 | 0.393798 | 0.337985 | 0.195349 | 0.16124 | 0 | 0 | 0 | 0.261105 | 0.218459 | 1,181 | 23 | 76 | 51.347826 | 0.437703 | 0.246401 | 0 | 0 | 0 | 0 | 0.356335 | 0 | 0 | 0 | 0.054299 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
533e2ad8dfbc4b3ffeadfe6bfde02f33db48d119 | 324 | py | Python | argus/metrics/latency.py | aliariff/argus | b8948aa7103e8e5a682c4da89010e7c66aa80ab8 | [
"MIT"
] | null | null | null | argus/metrics/latency.py | aliariff/argus | b8948aa7103e8e5a682c4da89010e7c66aa80ab8 | [
"MIT"
] | null | null | null | argus/metrics/latency.py | aliariff/argus | b8948aa7103e8e5a682c4da89010e7c66aa80ab8 | [
"MIT"
] | null | null | null | from .base import Base
class Latency(Base):
def fill(self):
return self.default_fill()
def is_valid(self):
return self.data["data"].get("latency") != None
def measurement(self):
return "latency"
def fields(self):
return {"value": float(self.data["data"].get("latency"... | 20.25 | 65 | 0.604938 | 41 | 324 | 4.731707 | 0.463415 | 0.206186 | 0.14433 | 0.154639 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 324 | 15 | 66 | 21.6 | 0.788618 | 0 | 0 | 0 | 0 | 0 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
535ec54fbfa0417af43d20ccedfd4b672e256a8f | 785 | py | Python | hwilib/devices/trezorlib/messages/ButtonRequestType.py | real-or-random/HWI | 7dcd7bd57cc311cb73c48ea2335dd6be75842067 | [
"MIT"
] | 285 | 2019-01-31T03:10:19.000Z | 2022-03-31T10:38:37.000Z | hwilib/devices/trezorlib/messages/ButtonRequestType.py | real-or-random/HWI | 7dcd7bd57cc311cb73c48ea2335dd6be75842067 | [
"MIT"
] | 426 | 2019-01-31T10:38:02.000Z | 2022-03-28T15:58:13.000Z | hwilib/devices/trezorlib/messages/ButtonRequestType.py | real-or-random/HWI | 7dcd7bd57cc311cb73c48ea2335dd6be75842067 | [
"MIT"
] | 128 | 2019-01-30T22:32:32.000Z | 2022-03-28T19:23:46.000Z | # Automatically generated by pb2py
# fmt: off
if __debug__:
try:
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
Other: Literal[1] = 1
FeeOverThreshold: Literal[2] = 2
ConfirmOutput: Literal[3] = 3
ResetDevice: Literal[4] = 4
ConfirmWord: Literal[5] = 5
WipeDevice: ... | 27.068966 | 59 | 0.726115 | 101 | 785 | 5.564356 | 0.60396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100304 | 0.161783 | 785 | 28 | 60 | 28.035714 | 0.753799 | 0.066242 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.12 | 0.08 | 0 | 0.08 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
72567fe4095fe6b2425756ca9cc137a26860825c | 73 | py | Python | pdfplumber/_version.py | choiasher/pdfplumber | 8c8e424c652d9ad8c9d93da1f960d88578205852 | [
"MIT"
] | 1 | 2019-11-19T20:31:04.000Z | 2019-11-19T20:31:04.000Z | pdfplumber/_version.py | davideromano/pdfplumber | 0d3c83ea77f3ad6d7aa311c200d52bc1abb98bcb | [
"MIT"
] | null | null | null | pdfplumber/_version.py | davideromano/pdfplumber | 0d3c83ea77f3ad6d7aa311c200d52bc1abb98bcb | [
"MIT"
] | null | null | null | version_info = (0, 5, 14)
__version__ = '.'.join(map(str, version_info))
| 24.333333 | 46 | 0.671233 | 11 | 73 | 3.909091 | 0.727273 | 0.511628 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.123288 | 73 | 2 | 47 | 36.5 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 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 |
72606f589788cddd0efc52e81e2da3736b0c6f95 | 1,448 | py | Python | fabric/util.py | offbyone/fabric | 4b1cd1f1326deee75d8699161e12d2da0cb09a1d | [
"BSD-2-Clause"
] | 1 | 2016-05-17T19:04:42.000Z | 2016-05-17T19:04:42.000Z | fabric/util.py | offbyone/fabric | 4b1cd1f1326deee75d8699161e12d2da0cb09a1d | [
"BSD-2-Clause"
] | null | null | null | fabric/util.py | offbyone/fabric | 4b1cd1f1326deee75d8699161e12d2da0cb09a1d | [
"BSD-2-Clause"
] | null | null | null | import logging
import sys
# Ape the half-assed logging junk from Invoke, but ensuring the logger reflects
# our name, not theirs. (Assume most contexts will rely on Invoke itself to
# literally enable/disable logging, for now.)
log = logging.getLogger("fabric")
for x in ("debug",):
globals()[x] = getattr(log, x)
... | 31.478261 | 79 | 0.671961 | 193 | 1,448 | 5.031088 | 0.673575 | 0.008239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016621 | 0.252072 | 1,448 | 45 | 80 | 32.177778 | 0.879963 | 0.59047 | 0 | 0 | 0 | 0 | 0.028623 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 1 | 0.05 | false | 0.15 | 0.35 | 0 | 0.45 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
727dfb7c0ce446ef103337c025804258ccff11b1 | 293 | py | Python | part2/Test4.py | flyou/PythonLearn | b9d05847e8dfb919c06ae621e59503aec2f8aee0 | [
"Apache-2.0"
] | null | null | null | part2/Test4.py | flyou/PythonLearn | b9d05847e8dfb919c06ae621e59503aec2f8aee0 | [
"Apache-2.0"
] | null | null | null | part2/Test4.py | flyou/PythonLearn | b9d05847e8dfb919c06ae621e59503aec2f8aee0 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
# --------------------------
# Author flyou
# Date 2017/2/22 22:38
# EMAIL fangjalylong@qq.com
# Desc 函数
# --------------------------
class MyMath:
def getMaxNum(a, b):
return max(a, b)
def getMinNum(a,b):
return min(a,b)
| 15.421053 | 28 | 0.467577 | 38 | 293 | 3.605263 | 0.763158 | 0.058394 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052402 | 0.21843 | 293 | 18 | 29 | 16.277778 | 0.545852 | 0.546075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 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 | 0 | 1 | 1 | 0 | 0 | 3 |
72900139034f2c79ec9bc2b16d01f540ca22c23c | 207 | py | Python | Couchapp.py | elkinsd/couchapp | 944797b03e4dfb2a5fbd0b5710568104e3775b31 | [
"Apache-2.0"
] | 1 | 2015-03-02T15:30:49.000Z | 2015-03-02T15:30:49.000Z | Couchapp.py | elkinsd/couchapp | 944797b03e4dfb2a5fbd0b5710568104e3775b31 | [
"Apache-2.0"
] | null | null | null | Couchapp.py | elkinsd/couchapp | 944797b03e4dfb2a5fbd0b5710568104e3775b31 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# This file is part of couchapp released under the Apache 2 license.
# See the NOTICE for more information.
from couchapp.dispatch import run
if __name__ == '__main__':
run()
| 20.7 | 68 | 0.695652 | 30 | 207 | 4.533333 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.198068 | 207 | 9 | 69 | 23 | 0.807229 | 0.603865 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
72a5f04e59363834fb6649c531532db80bba4b0e | 291 | py | Python | jenkinsapi/plugin.py | ifwe/jenkinsapi | 31a7fbb07efcd48e226f7dcf643fd2a2625416c0 | [
"MIT"
] | null | null | null | jenkinsapi/plugin.py | ifwe/jenkinsapi | 31a7fbb07efcd48e226f7dcf643fd2a2625416c0 | [
"MIT"
] | null | null | null | jenkinsapi/plugin.py | ifwe/jenkinsapi | 31a7fbb07efcd48e226f7dcf643fd2a2625416c0 | [
"MIT"
] | null | null | null | """
Module for jenkinsapi Plugin
"""
class Plugin(object):
"""
Plugin class
"""
def __init__(self, plugin_dict):
assert(isinstance(plugin_dict, dict))
self.__dict__ = plugin_dict
def __eq__(self, other):
return self.__dict__ == other.__dict__
| 17.117647 | 46 | 0.62543 | 32 | 291 | 4.96875 | 0.46875 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.257732 | 291 | 16 | 47 | 18.1875 | 0.736111 | 0.140893 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
72b2aeafce56f9fec80bc758b72cd87d4abe2689 | 1,218 | py | Python | envi/archs/arm/__init__.py | 6un9-h0-Dan/vivisect | b0f10cad6796c914df2d88fae56647a172b8c1b7 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T19:23:17.000Z | 2020-12-23T19:23:17.000Z | envi/archs/arm/__init__.py | 6un9-h0-Dan/vivisect | b0f10cad6796c914df2d88fae56647a172b8c1b7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | envi/archs/arm/__init__.py | 6un9-h0-Dan/vivisect | b0f10cad6796c914df2d88fae56647a172b8c1b7 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-12-23T19:23:58.000Z | 2020-12-23T19:23:58.000Z |
"""
The initial arm module.
"""
import envi
from envi.archs.arm.regs import *
from envi.archs.arm.disasm import *
class ArmModule(envi.ArchitectureModule):
def __init__(self, name='armv6'):
import envi.archs.thumb16.disasm as eatd
envi.ArchitectureModule.__init__(self, name, maxinst=4)
... | 24.857143 | 110 | 0.646141 | 149 | 1,218 | 5.147651 | 0.483221 | 0.052151 | 0.050847 | 0.062581 | 0.057366 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.252874 | 1,218 | 48 | 111 | 25.375 | 0.828571 | 0.068145 | 0 | 0 | 0 | 0 | 0.087942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.178571 | 0.178571 | 0.785714 | 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 |
72d12c9f35c44d330ac30e75326002f7bb03aa5c | 196 | py | Python | web_project/Board/forms.py | nosy0411/Object_Oriented_Programming | e6713b5131c125ac50814d375057f06da43e958e | [
"MIT"
] | null | null | null | web_project/Board/forms.py | nosy0411/Object_Oriented_Programming | e6713b5131c125ac50814d375057f06da43e958e | [
"MIT"
] | null | null | null | web_project/Board/forms.py | nosy0411/Object_Oriented_Programming | e6713b5131c125ac50814d375057f06da43e958e | [
"MIT"
] | null | null | null | from .models import Post
from django import forms
class PostForm(forms.ModelForm):
content = forms.CharField(label="글 내용")
class Meta:
model = Post
fields = ('content',)
| 19.6 | 43 | 0.653061 | 24 | 196 | 5.333333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 196 | 9 | 44 | 21.777778 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.056122 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.714286 | 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 |
72e6a873112638279d55d60b91118957e5e8ba16 | 126 | py | Python | Solutions/Problem_016.py | PraneethJain/Project-Euler | 54fe34da444803ea55c49e4a4cda3ad6d4bca3b8 | [
"MIT"
] | 2 | 2022-03-11T21:31:52.000Z | 2022-03-11T21:37:14.000Z | Solutions/Problem_016.py | PraneethJain/Project-Euler-100 | 54fe34da444803ea55c49e4a4cda3ad6d4bca3b8 | [
"MIT"
] | null | null | null | Solutions/Problem_016.py | PraneethJain/Project-Euler-100 | 54fe34da444803ea55c49e4a4cda3ad6d4bca3b8 | [
"MIT"
] | 1 | 2022-03-07T12:55:36.000Z | 2022-03-07T12:55:36.000Z | from time import time
t1 = time()
print(sum(int(i) for i in list(str(2**1000))))
print(f"Process completed in {time()-t1}s")
| 21 | 46 | 0.674603 | 25 | 126 | 3.4 | 0.72 | 0.141176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06422 | 0.134921 | 126 | 5 | 47 | 25.2 | 0.715596 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
72ec2cb450ef9ee4ff40ec4d4cb1867322bfe104 | 25,582 | py | Python | spinoffs/oryx/oryx/experimental/matching/jax_rewrite.py | fearghus-moloco/probability | 4b675da7c431d7bb20029f9fdd28db859e6c025f | [
"Apache-2.0"
] | 1 | 2022-03-06T15:37:18.000Z | 2022-03-06T15:37:18.000Z | spinoffs/oryx/oryx/experimental/matching/jax_rewrite.py | Frightera/probability | deac4562cbc1056e6abebc7450218d38444fe65d | [
"Apache-2.0"
] | null | null | null | spinoffs/oryx/oryx/experimental/matching/jax_rewrite.py | Frightera/probability | deac4562cbc1056e6abebc7450218d38444fe65d | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The TensorFlow Probability Authors.
#
# 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 o... | 32.382278 | 82 | 0.705652 | 3,542 | 25,582 | 4.998306 | 0.134952 | 0.013556 | 0.010167 | 0.007117 | 0.267849 | 0.226841 | 0.178208 | 0.138048 | 0.123983 | 0.117488 | 0 | 0.001784 | 0.189078 | 25,582 | 789 | 83 | 32.423321 | 0.851627 | 0.460363 | 0 | 0.359195 | 0 | 0 | 0.033853 | 0.002079 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232759 | false | 0.008621 | 0.04023 | 0.100575 | 0.548851 | 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 |
72ec3b007a5c853cd90ce862dd6b01181f8c9d23 | 145 | py | Python | code/1010.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | code/1010.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | code/1010.py | minssoj/Learning_Algorithm_Up | 45ec4e2eb4c07c9ec907a74dbd31370e1645c50b | [
"MIT"
] | null | null | null | # [기초-입출력] 정수 1개 입력받아 그대로 출력하기(설명)
# minso.jeong@daum.net
'''
문제링크 : https://www.codeup.kr/problem.php?id=1010
'''
num = int(input())
print(num) | 18.125 | 48 | 0.648276 | 26 | 145 | 3.615385 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.124138 | 145 | 8 | 49 | 18.125 | 0.700787 | 0.710345 | 0 | 0 | 0 | 0 | 0 | 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 |
72ed00a68067d5449b5453e2f2dcf56c9f026483 | 3,858 | py | Python | managers/Request.py | opengamedata/opengamedata-backend | b6b2aa6e7c80d1bf50f71ffba917672f80f7f948 | [
"MIT"
] | 1 | 2021-01-19T06:50:41.000Z | 2021-01-19T06:50:41.000Z | managers/Request.py | opengamedata/opengamedata-backend | b6b2aa6e7c80d1bf50f71ffba917672f80f7f948 | [
"MIT"
] | 2 | 2020-11-30T04:20:24.000Z | 2021-02-03T18:44:34.000Z | managers/Request.py | opengamedata/opengamedata-backend | b6b2aa6e7c80d1bf50f71ffba917672f80f7f948 | [
"MIT"
] | null | null | null | # include libraries
import abc
import enum
from datetime import datetime
from typing import Dict, List, Union
# include local files
import utils
from schemas.TableSchema import TableSchema
from interfaces.DataInterface import DataInterface
from schemas.GameSchema import GameSchema
## @class ExporterFiles
# Completel... | 48.835443 | 149 | 0.708398 | 540 | 3,858 | 4.925926 | 0.301852 | 0.023684 | 0.031955 | 0.02406 | 0.254135 | 0.180075 | 0.139098 | 0.057895 | 0 | 0 | 0 | 0 | 0.20114 | 3,858 | 79 | 150 | 48.835443 | 0.863076 | 0.344479 | 0 | 0.043478 | 0 | 0 | 0.032387 | 0.010796 | 0 | 0 | 0 | 0.012658 | 0 | 1 | 0.217391 | false | 0 | 0.173913 | 0.086957 | 0.608696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
72f6c3b6e139e3d2e594ec76772ebb4573589287 | 249 | py | Python | even.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 4 | 2022-03-20T10:59:53.000Z | 2022-03-25T18:28:04.000Z | even.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | null | null | null | even.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 15 | 2022-03-12T11:49:10.000Z | 2022-03-15T06:22:55.000Z | a=int(input("Enter first number\n"))
b=int(input("Enter second number\n"))
c=int(input("Enter third number\n"))
d=int(input("Enter fourth number\n"))
e=int(input("Enter fifth number\n"))
add=a+b+c+d+e
print("The sum of first 5 even numbers is",add)
| 31.125 | 47 | 0.702811 | 51 | 249 | 3.431373 | 0.470588 | 0.228571 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.096386 | 249 | 7 | 48 | 35.571429 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.546185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
72faca171ad269d2a42dde323d09bbb1af08b722 | 378 | py | Python | Model/DataClass.py | MoriokaReimen/ConfigHeaderGenerator | 73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e | [
"MIT"
] | null | null | null | Model/DataClass.py | MoriokaReimen/ConfigHeaderGenerator | 73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e | [
"MIT"
] | null | null | null | Model/DataClass.py | MoriokaReimen/ConfigHeaderGenerator | 73ba5d3bd5269d7e6881ec79b6fc0121ff2fb03e | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class ConfigData:
symbol : str
description : str
detail : str
enable : bool
@dataclass
class ValConfigData:
symbol : str
description : str
detail : str
value : str
enable : bool
@dataclass
class Heade... | 16.434783 | 33 | 0.592593 | 37 | 378 | 6.054054 | 0.486486 | 0.1875 | 0.178571 | 0.205357 | 0.513393 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0.359788 | 378 | 22 | 34 | 17.181818 | 0.92562 | 0 | 0 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.052632 | 0 | 0.842105 | 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 |
f41c8a4dc56fed9cc841c149ecc6f3df890b8a42 | 5,306 | py | Python | neo/io/__init__.py | neurodebian/python-neo | 9be7cd97572ce9c1ea5583eae700a99a05423c11 | [
"BSD-3-Clause"
] | 1 | 2020-08-08T21:39:41.000Z | 2020-08-08T21:39:41.000Z | neo/io/__init__.py | michaelfsp/python-neo | 56ce3b6a3f6944a096279404c22a75166b905844 | [
"BSD-3-Clause"
] | null | null | null | neo/io/__init__.py | michaelfsp/python-neo | 56ce3b6a3f6944a096279404c22a75166b905844 | [
"BSD-3-Clause"
] | null | null | null | # encoding: utf-8
"""
neo.io provides classes for reading and/or writing electrophysiological data files.
Note that if the package dependency is not satisfied for one io, it does not
raise an error but a warning.
neo.io.iolist provides the classes list of succesfully imported io.
.. autoclass:: neo.io.PlexonIO
.. a... | 26.39801 | 88 | 0.757067 | 569 | 5,306 | 7.059754 | 0.14587 | 0.029873 | 0.143142 | 0.166044 | 0.283047 | 0.262136 | 0.262136 | 0.030371 | 0.030371 | 0 | 0 | 0.002234 | 0.156238 | 5,306 | 200 | 89 | 26.53 | 0.895019 | 0.205428 | 0 | 0.386555 | 0 | 0 | 0.242511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.596639 | 0 | 0.596639 | 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 |
f4365463a7f2c718bfdd8c88187fe1eca6c2afe8 | 1,013 | py | Python | calamari/api_tests/utils/test_desc.py | viduship/ceph-qe-scripts | 886619fa6600c24cbf989d65868951b9c3decd72 | [
"MIT"
] | 6 | 2019-04-12T17:45:44.000Z | 2021-09-14T19:59:05.000Z | calamari/api_tests/utils/test_desc.py | viduship/ceph-qe-scripts | 886619fa6600c24cbf989d65868951b9c3decd72 | [
"MIT"
] | 111 | 2019-12-10T10:41:08.000Z | 2022-03-31T11:42:30.000Z | calamari/api_tests/utils/test_desc.py | viduship/ceph-qe-scripts | 886619fa6600c24cbf989d65868951b9c3decd72 | [
"MIT"
] | 23 | 2019-05-30T19:48:25.000Z | 2022-03-24T17:07:19.000Z | import log
class AddTestInfo(object):
def __init__(self, id, name):
self.id = id
self.name = name
def started_info(self):
log.info(
"\n========================================================================================================= \ntest details"
"\n... | 31.65625 | 193 | 0.314906 | 77 | 1,013 | 4.012987 | 0.25974 | 0.07767 | 0.064725 | 0.097087 | 0.135922 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234946 | 1,013 | 31 | 194 | 32.677419 | 0.39871 | 0 | 0 | 0.086957 | 0 | 0 | 0.493583 | 0.40079 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.043478 | null | null | 0.26087 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f452fda09d6d9dcd83d29311c2cb1a21e5f864ab | 178 | py | Python | src/pretalx/person/models/__init__.py | hnzlmnn/pretalx | fcdf1a03c9428c1207ee4f4228694b2ed8e7495b | [
"Apache-2.0"
] | 1 | 2018-12-09T12:35:10.000Z | 2018-12-09T12:35:10.000Z | src/pretalx/person/models/__init__.py | hnzlmnn/pretalx | fcdf1a03c9428c1207ee4f4228694b2ed8e7495b | [
"Apache-2.0"
] | null | null | null | src/pretalx/person/models/__init__.py | hnzlmnn/pretalx | fcdf1a03c9428c1207ee4f4228694b2ed8e7495b | [
"Apache-2.0"
] | null | null | null | from .information import SpeakerInformation
from .profile import SpeakerProfile
from .user import User
__all__ = [
'SpeakerInformation',
'SpeakerProfile',
'User',
]
| 17.8 | 43 | 0.735955 | 16 | 178 | 7.9375 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 178 | 9 | 44 | 19.777778 | 0.869863 | 0 | 0 | 0 | 0 | 0 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f45e11158a3ff99869673ead50100206ca898840 | 479 | py | Python | setup.py | TobiasUhmann/entity-context-crawler | 71fe24679e470ffa8077bc98fc02a022ed1e5781 | [
"MIT"
] | 1 | 2021-06-02T07:53:54.000Z | 2021-06-02T07:53:54.000Z | setup.py | TobiasUhmann/entity-context-crawler | 71fe24679e470ffa8077bc98fc02a022ed1e5781 | [
"MIT"
] | 4 | 2021-05-30T12:51:41.000Z | 2021-06-01T13:13:32.000Z | setup.py | TobiasUhmann/entity-context-crawler | 71fe24679e470ffa8077bc98fc02a022ed1e5781 | [
"MIT"
] | 1 | 2022-01-31T08:08:06.000Z | 2022-01-31T08:08:06.000Z | from distutils.core import setup
setup(
entry_points={
'console_scripts': [
'ecc = entity_context_crawler.__main__:main'
]
},
install_requires=[
'lxml',
'spacy',
'wikitextparser'
],
name='entity-context-crawler',
packages=[
'entity_con... | 20.826087 | 56 | 0.5762 | 45 | 479 | 5.755556 | 0.622222 | 0.301158 | 0.46332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008955 | 0.300626 | 479 | 22 | 57 | 21.772727 | 0.764179 | 0 | 0 | 0.095238 | 0 | 0 | 0.434238 | 0.331942 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f466d20a0792bf8c4ab3154cc493a77ed2776247 | 566 | py | Python | problems/trie/Solution212.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/trie/Solution212.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | problems/trie/Solution212.py | akalu/cs-problems-python | 9b1bd8e3932be62135a38a77f955ded9a766b654 | [
"MIT"
] | null | null | null | """ Given a 2D board and a list of words from the dictionary, find all words in
the board.
Each word must be constructed from letters of sequentially adjacent cell,
where "adjacent" cells are those horizontally or vertically neighboring. The
same letter cell may not be used more than once in a word.
... | 22.64 | 81 | 0.570671 | 82 | 566 | 3.939024 | 0.731707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009547 | 0.259717 | 566 | 24 | 82 | 23.583333 | 0.761337 | 0.826855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f475e6e4b334f2e1fea5652945f3a62289878f5b | 466 | py | Python | cwaliexpress/cwaliexpress/parser/base_parser.py | trujunzhang/djzhang-targets | c2e327acde9d51f0455e7243f17d93d74b579501 | [
"MIT"
] | 2 | 2018-12-03T16:30:55.000Z | 2019-04-03T13:29:20.000Z | cwaliexpress/cwaliexpress/parser/base_parser.py | trujunzhang/djzhang-targets | c2e327acde9d51f0455e7243f17d93d74b579501 | [
"MIT"
] | null | null | null | cwaliexpress/cwaliexpress/parser/base_parser.py | trujunzhang/djzhang-targets | c2e327acde9d51f0455e7243f17d93d74b579501 | [
"MIT"
] | 1 | 2019-04-03T13:29:25.000Z | 2019-04-03T13:29:25.000Z | class BaseParser(object):
def __init__(self):
pass
def parse(self, url, hxs, index):
return None
def parse_relative(self, url, hxs):
pass
def parse_paginate(self, url, hxs, cache_db):
pass
def get_value_from_response(self, hxs, query, index, default=""):
_... | 23.3 | 69 | 0.583691 | 57 | 466 | 4.54386 | 0.491228 | 0.081081 | 0.11583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.315451 | 466 | 19 | 70 | 24.526316 | 0.811912 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.2 | 0 | 0.066667 | 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 |
f47ebb526e60a17feb9c307281aee4d691bbf8e9 | 713 | py | Python | tests/schemas/test_openapi.py | maerteijn/apistar | daa4a1e75266a37eb356a76bac705a8db4a7f6ac | [
"BSD-3-Clause"
] | null | null | null | tests/schemas/test_openapi.py | maerteijn/apistar | daa4a1e75266a37eb356a76bac705a8db4a7f6ac | [
"BSD-3-Clause"
] | null | null | null | tests/schemas/test_openapi.py | maerteijn/apistar | daa4a1e75266a37eb356a76bac705a8db4a7f6ac | [
"BSD-3-Clause"
] | null | null | null | import os
import pytest
import apistar
filenames = [
"testcases/openapi/api-with-examples.yaml",
# 'testcases/openapi/callback-example.yaml',
# 'testcases/openapi/link-example.yaml',
"testcases/openapi/petstore-expanded.yaml",
"testcases/openapi/petstore.yaml",
"testcases/openapi/petstore-wit... | 27.423077 | 66 | 0.70547 | 81 | 713 | 6.17284 | 0.444444 | 0.224 | 0.24 | 0.168 | 0.128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143058 | 713 | 25 | 67 | 28.52 | 0.818331 | 0.113604 | 0 | 0 | 0 | 0 | 0.348172 | 0.292528 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.176471 | 0 | 0.235294 | 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 |
be4fd35418dab75ea15f0f18ed0965edc8dd37e3 | 349 | py | Python | HW_5_5.py | svitoyt/trofimov_test | acacb22df1329baf41f475c4d54fd6a1efffba31 | [
"MIT"
] | null | null | null | HW_5_5.py | svitoyt/trofimov_test | acacb22df1329baf41f475c4d54fd6a1efffba31 | [
"MIT"
] | null | null | null | HW_5_5.py | svitoyt/trofimov_test | acacb22df1329baf41f475c4d54fd6a1efffba31 | [
"MIT"
] | null | null | null | a = int(input("Введите целочисленное значение 1: "))
b = int(input("Введите целочисленное значение 2: "))
c = int(input("Введите целочисленное значение 3: "))
if (a <= b) and (c <= b):
print("Наибольшее число", b)
elif (b <= c) and (a <= c):
print("Наибольшее число", c)
elif (b <= a) and (c <= a):
p... | 34.9 | 53 | 0.595989 | 51 | 349 | 4.078431 | 0.333333 | 0.115385 | 0.216346 | 0.403846 | 0.519231 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010949 | 0.2149 | 349 | 9 | 54 | 38.777778 | 0.748175 | 0 | 0 | 0 | 0 | 0 | 0.441176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be64a62883a3f9bc112f9cff5b620731ea5b1b22 | 670 | py | Python | venv3864/Lib/site-packages/PyInstaller/hooks/hook-phonenumbers.py | JonRob812/SuperDuper | 51fdec82c04acf7c0b37f31e1ce2fce3eb22ce8b | [
"Apache-2.0"
] | 4 | 2019-08-28T21:01:08.000Z | 2021-06-30T06:27:35.000Z | venv3864/Lib/site-packages/PyInstaller/hooks/hook-phonenumbers.py | JonRob812/SuperDuper | 51fdec82c04acf7c0b37f31e1ce2fce3eb22ce8b | [
"Apache-2.0"
] | 5 | 2019-11-10T16:20:09.000Z | 2019-12-02T14:23:58.000Z | venv3864/Lib/site-packages/PyInstaller/hooks/hook-phonenumbers.py | JonRob812/SuperDuper | 51fdec82c04acf7c0b37f31e1ce2fce3eb22ce8b | [
"Apache-2.0"
] | 2 | 2019-08-27T22:21:05.000Z | 2021-06-30T06:27:41.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2017-2019, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License with exception
# for distributing bootloader.
#
# The full license is in the file COPYING.txt, distributed with this s... | 39.411765 | 78 | 0.6 | 72 | 670 | 5.555556 | 0.791667 | 0.085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033389 | 0.10597 | 670 | 16 | 79 | 41.875 | 0.634391 | 0.802985 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
be7ccf7dcce0254ee4c379415b2784bd6fc85edc | 357 | py | Python | mayan/apps/documents/tests/base.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | null | null | null | mayan/apps/documents/tests/base.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 10 | 2021-03-19T23:48:12.000Z | 2022-03-12T00:41:49.000Z | mayan/apps/documents/tests/base.py | sophiawa/Mayan-EDMS | 42f20576d0c690b645a60bf53c5169cda4264231 | [
"Apache-2.0"
] | 1 | 2020-12-17T02:35:09.000Z | 2020-12-17T02:35:09.000Z | from mayan.apps.common.tests.base import BaseTestCase, GenericViewTestCase
from .mixins import DocumentTestMixin
class GenericDocumentTestCase(DocumentTestMixin, BaseTestCase):
"""Base test case when testing models or classes"""
class GenericDocumentViewTestCase(DocumentTestMixin, GenericViewTestCase):
"""... | 29.75 | 74 | 0.809524 | 35 | 357 | 8.257143 | 0.628571 | 0.055363 | 0.083045 | 0.110727 | 0.15917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 357 | 11 | 75 | 32.454545 | 0.91746 | 0.221289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
be831f2384b3567d279f74fae75133bda4045db6 | 91 | py | Python | python/wxpython_learning.py | wgf5544/wugaofeng | 149c1f4f48884c7719de80faa18a96c42e529863 | [
"Apache-2.0"
] | null | null | null | python/wxpython_learning.py | wgf5544/wugaofeng | 149c1f4f48884c7719de80faa18a96c42e529863 | [
"Apache-2.0"
] | null | null | null | python/wxpython_learning.py | wgf5544/wugaofeng | 149c1f4f48884c7719de80faa18a96c42e529863 | [
"Apache-2.0"
] | null | null | null | '''
Args:
Returns:
'''
'''
wxPython 是基于Python的跨平台GUI(图形用户交互界面)扩展库,对wxWidgets(C++)封装实现。
''' | 11.375 | 59 | 0.67033 | 9 | 91 | 6.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 8 | 60 | 11.375 | 0.73494 | 0.153846 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be85532e574089b0c52bf150942368d3f3194aa2 | 1,639 | py | Python | datasets.py | thidoiSanren/code | c7081646e3357ac0119c3a78d5ee4aed4d431755 | [
"MIT"
] | 1 | 2021-11-12T12:29:04.000Z | 2021-11-12T12:29:04.000Z | datasets.py | thidoiSanren/code | c7081646e3357ac0119c3a78d5ee4aed4d431755 | [
"MIT"
] | null | null | null | datasets.py | thidoiSanren/code | c7081646e3357ac0119c3a78d5ee4aed4d431755 | [
"MIT"
] | null | null | null | from torch.utils.data import Dataset, DataLoader
import numpy as np
def noramlization(data):
minVals = data.min(0)
maxVals = data.max(0)
ranges = maxVals - minVals
normData = (data - minVals) / ranges
return normData
def z_score(data):
data -= np.mean(data, axis=0)
data /= np.std(data, a... | 25.215385 | 91 | 0.605857 | 227 | 1,639 | 4.118943 | 0.207048 | 0.085562 | 0.04492 | 0.057754 | 0.537968 | 0.432086 | 0.432086 | 0.316578 | 0.316578 | 0.316578 | 0 | 0.008224 | 0.258084 | 1,639 | 64 | 92 | 25.609375 | 0.760691 | 0.037218 | 0 | 0.377778 | 0 | 0 | 0.067937 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.244444 | false | 0 | 0.044444 | 0.133333 | 0.533333 | 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 |
be8699d5fbf108a954453c9acaca4cdbbd3bbddd | 3,329 | py | Python | minio/fold_case_dict.py | amedveshchek/minio-py | a3d7ca17e32457a8479a540b970baa101dcb1720 | [
"Apache-2.0"
] | null | null | null | minio/fold_case_dict.py | amedveshchek/minio-py | a3d7ca17e32457a8479a540b970baa101dcb1720 | [
"Apache-2.0"
] | null | null | null | minio/fold_case_dict.py | amedveshchek/minio-py | a3d7ca17e32457a8479a540b970baa101dcb1720 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# MinIO Python Library for Amazon S3 Compatible Cloud Storage, (C)
# 2017 MinIO, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/lic... | 26.212598 | 74 | 0.592971 | 429 | 3,329 | 4.449883 | 0.310023 | 0.06286 | 0.018334 | 0.025668 | 0.084861 | 0.079099 | 0.079099 | 0.046621 | 0.046621 | 0.03143 | 0 | 0.006891 | 0.302493 | 3,329 | 126 | 75 | 26.420635 | 0.815245 | 0.244217 | 0 | 0.106667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.306667 | false | 0.013333 | 0 | 0.146667 | 0.546667 | 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 |
be8b0c5c47cab0ceefe6717bb6906c2dbcaa7344 | 102 | py | Python | marsrover/movementcommand.py | codergolem/marsRover-python | 2845b4cab3967b805b65690fe6a23419747cf7c2 | [
"Unlicense"
] | 1 | 2019-10-06T21:31:06.000Z | 2019-10-06T21:31:06.000Z | marsrover/movementcommand.py | codergolem/marsRover-python | 2845b4cab3967b805b65690fe6a23419747cf7c2 | [
"Unlicense"
] | null | null | null | marsrover/movementcommand.py | codergolem/marsRover-python | 2845b4cab3967b805b65690fe6a23419747cf7c2 | [
"Unlicense"
] | null | null | null | from enum import Enum
class MovementCommand(Enum):
LEFT = 'L'
RIGHT = 'R'
FORWARD = 'M'
| 12.75 | 28 | 0.598039 | 13 | 102 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284314 | 102 | 7 | 29 | 14.571429 | 0.835616 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
be8ba16ad8c80a5dd4fb932a58c07f2e9015403a | 2,443 | py | Python | bokeh/server/django/apps.py | kevin1kevin1k/bokeh | 9f34b5b710e2748ec803c12918ec1706098a3477 | [
"BSD-3-Clause"
] | 445 | 2019-01-26T13:50:26.000Z | 2022-03-18T05:17:38.000Z | bokeh/server/django/apps.py | kevin1kevin1k/bokeh | 9f34b5b710e2748ec803c12918ec1706098a3477 | [
"BSD-3-Clause"
] | 242 | 2019-01-29T15:48:27.000Z | 2022-03-31T22:09:21.000Z | bokeh/server/django/apps.py | kevin1kevin1k/bokeh | 9f34b5b710e2748ec803c12918ec1706098a3477 | [
"BSD-3-Clause"
] | 31 | 2019-03-10T09:51:27.000Z | 2022-02-14T23:11:12.000Z | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 35.405797 | 82 | 0.353664 | 139 | 2,443 | 6.05036 | 0.532374 | 0.039239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003643 | 0.101105 | 2,443 | 68 | 83 | 35.926471 | 0.379326 | 0.627098 | 0 | 0.090909 | 0 | 0 | 0.040863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.318182 | 0 | 0.681818 | 0.045455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
be8babbf27c00b227bc55d7db02ced95a00750a7 | 4,622 | py | Python | benchmark.py | feniljdesai/FacebookHomepageSelenium | 652906d18f4f90410df71eb925cb43e43304fa3c | [
"MIT"
] | 341 | 2016-10-20T02:11:32.000Z | 2022-02-24T06:55:34.000Z | benchmark.py | adam-dziedzic/openai-gemm | db5da9e6656f6dfa55a18df77cee2e2f95d7ee9c | [
"MIT"
] | 10 | 2017-01-03T22:24:54.000Z | 2020-11-09T06:34:48.000Z | benchmark.py | adam-dziedzic/openai-gemm | db5da9e6656f6dfa55a18df77cee2e2f95d7ee9c | [
"MIT"
] | 82 | 2016-10-20T15:21:20.000Z | 2022-02-13T07:41:57.000Z | #!/usr/bin/env python
import numpy as np
import pycuda.driver as drv
from neon.backends.nervanagpu import NervanaGPU
from openai_gemm import matmul
ng = NervanaGPU()
print drv.Context.get_current().get_device().name()
config = (
# m, n, k, AT, BT (row order)
( 16, 1760, 1760, False, False),
... | 32.549296 | 92 | 0.510818 | 624 | 4,622 | 3.764423 | 0.163462 | 0.153257 | 0.06556 | 0.038314 | 0.024691 | 0 | 0 | 0 | 0 | 0 | 0 | 0.28642 | 0.299005 | 4,622 | 141 | 93 | 32.780142 | 0.43858 | 0.078754 | 0 | 0 | 0 | 0.009259 | 0.049458 | 0.03415 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037037 | null | null | 0.037037 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be8d01fb2f42faf1d7f39ef172ef1b31dc0b13fc | 9,814 | py | Python | cla_public/apps/checker/tests/utils/forms_utils.py | uk-gov-mirror/ministryofjustice.cla_public | 9368e03d68898aa9ca72ab6919abf98d21112a5c | [
"MIT"
] | 5 | 2015-03-05T08:51:05.000Z | 2022-01-13T10:18:34.000Z | cla_public/apps/checker/tests/utils/forms_utils.py | uk-gov-mirror/ministryofjustice.cla_public | 9368e03d68898aa9ca72ab6919abf98d21112a5c | [
"MIT"
] | 479 | 2015-01-05T10:52:16.000Z | 2022-02-09T23:17:12.000Z | cla_public/apps/checker/tests/utils/forms_utils.py | uk-gov-mirror/ministryofjustice.cla_public | 9368e03d68898aa9ca72ab6919abf98d21112a5c | [
"MIT"
] | 7 | 2015-01-28T12:18:43.000Z | 2021-05-04T15:59:12.000Z | from decimal import InvalidOperation
from flask import session
from cla_public.apps.checker.api import money_interval
from cla_public.apps.checker.constants import YES, NO
CATEGORY_MAPPING = {"Welfare": "benefits", "Debt": "debt"}
BENEFITS_MAPPING = {
"Income Support": "income_support",
"Job Seekers Allowan... | 33.494881 | 117 | 0.672814 | 1,190 | 9,814 | 5.229412 | 0.161345 | 0.046601 | 0.033746 | 0.021694 | 0.27768 | 0.249076 | 0.219026 | 0.146553 | 0.12968 | 0.095452 | 0 | 0.007783 | 0.227532 | 9,814 | 292 | 118 | 33.609589 | 0.813085 | 0.01773 | 0 | 0.08867 | 0 | 0 | 0.072299 | 0.002188 | 0 | 0 | 0 | 0 | 0 | 1 | 0.236453 | false | 0 | 0.019704 | 0.187192 | 0.541872 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.