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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
76f372b24bd3c63166deeb8742387b5141c20bc1 | 242 | py | Python | utils/imports.py | Coricos/Challenger | b5f8ec49f72836779943109efa8eb88695bfd7d1 | [
"Apache-2.0"
] | 15 | 2019-09-06T15:49:12.000Z | 2021-12-15T08:10:25.000Z | utils/imports.py | Coricos/Challenger | b5f8ec49f72836779943109efa8eb88695bfd7d1 | [
"Apache-2.0"
] | null | null | null | utils/imports.py | Coricos/Challenger | b5f8ec49f72836779943109efa8eb88695bfd7d1 | [
"Apache-2.0"
] | 2 | 2020-01-05T03:40:09.000Z | 2021-12-15T08:10:29.000Z | # Author: DINDIN Meryll
# Date: 15/03/2019
# Project: ml_utils
import keras.backend as K
from keras.layers import *
from keras.models import Model
from keras import backend as K
from keras import optimizers
from keras.callbacks import * | 22 | 30 | 0.772727 | 38 | 242 | 4.894737 | 0.552632 | 0.241935 | 0.107527 | 0.150538 | 0.204301 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039801 | 0.169421 | 242 | 11 | 31 | 22 | 0.885572 | 0.247934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0a05b53c61d59ef8a52e981f370a42cf578ef8e6 | 187 | py | Python | estee/simulator/__init__.py | Dotnester/estee | 55c0834db3d7da407b7c37d46fa41b5b563e2bbe | [
"MIT"
] | 4 | 2018-09-26T07:57:36.000Z | 2021-05-13T10:35:34.000Z | estee/simulator/__init__.py | Dotnester/estee | 55c0834db3d7da407b7c37d46fa41b5b563e2bbe | [
"MIT"
] | 2 | 2018-11-06T21:01:14.000Z | 2019-03-21T22:06:52.000Z | estee/simulator/__init__.py | Dotnester/estee | 55c0834db3d7da407b7c37d46fa41b5b563e2bbe | [
"MIT"
] | 4 | 2018-10-02T20:42:05.000Z | 2019-02-19T14:49:57.000Z |
from .netmodels import InstantNetModel, SimpleNetModel, MaxMinFlowNetModel # noqa
from .simulator import Simulator, TaskAssignment, TaskState # noqa
from .worker import Worker # noqa
| 37.4 | 82 | 0.807487 | 19 | 187 | 7.947368 | 0.578947 | 0.10596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139037 | 187 | 4 | 83 | 46.75 | 0.937888 | 0.074866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0a16d4b0bf11560a765879c28981e4d88c6a12ba | 37 | py | Python | login.py | Xushaopeng1/test17 | 7dc03f4e2668ce35fac9020adad1f63e5b1ea24b | [
"MIT"
] | null | null | null | login.py | Xushaopeng1/test17 | 7dc03f4e2668ce35fac9020adad1f63e5b1ea24b | [
"MIT"
] | null | null | null | login.py | Xushaopeng1/test17 | 7dc03f4e2668ce35fac9020adad1f63e5b1ea24b | [
"MIT"
] | null | null | null | num = 1
num1 =10
num2 = 20
name = hu
| 7.4 | 9 | 0.594595 | 8 | 37 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269231 | 0.297297 | 37 | 4 | 10 | 9.25 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a400ceb61c7e92864ba5e2aaa9e4d9122c3550d | 10,377 | py | Python | tests/apollo/test_skvbc_time_service.py | f-squirrel/concord-bft | a78b6d7ebe2576fa9d565aae73c176c8ce70b0e2 | [
"Apache-2.0"
] | 1 | 2020-05-19T11:43:09.000Z | 2020-05-19T11:43:09.000Z | tests/apollo/test_skvbc_time_service.py | f-squirrel/concord-bft | a78b6d7ebe2576fa9d565aae73c176c8ce70b0e2 | [
"Apache-2.0"
] | null | null | null | tests/apollo/test_skvbc_time_service.py | f-squirrel/concord-bft | a78b6d7ebe2576fa9d565aae73c176c8ce70b0e2 | [
"Apache-2.0"
] | null | null | null | # Concord
#
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
#
# This product is licensed to you under the Apache 2.0 license (the "License").
# You may not use this product except in compliance with the Apache 2.0 License.
#
# This product may include a number of subcomponents with separate copyright
# notices a... | 44.346154 | 130 | 0.691529 | 1,482 | 10,377 | 4.566127 | 0.159244 | 0.05911 | 0.03325 | 0.044185 | 0.734742 | 0.719669 | 0.709916 | 0.705039 | 0.689227 | 0.689227 | 0 | 0.015461 | 0.239568 | 10,377 | 234 | 131 | 44.346154 | 0.842099 | 0.085188 | 0 | 0.610294 | 0 | 0 | 0.02185 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 1 | 0.029412 | false | 0 | 0.066176 | 0.007353 | 0.132353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a5286f5a338e5d0b798e4e621c4ae4e08cb94ea | 160,965 | py | Python | google/ads/googleads/v7/__init__.py | wxxlouisa/google-ads-python | f24137966f6bfcb765a9b1fae79f2d23041825fe | [
"Apache-2.0"
] | 285 | 2018-10-05T16:47:58.000Z | 2022-03-31T00:58:39.000Z | google/ads/googleads/v7/__init__.py | wxxlouisa/google-ads-python | f24137966f6bfcb765a9b1fae79f2d23041825fe | [
"Apache-2.0"
] | 425 | 2018-09-10T13:32:41.000Z | 2022-03-31T14:50:05.000Z | google/ads/googleads/v7/__init__.py | wxxlouisa/google-ads-python | f24137966f6bfcb765a9b1fae79f2d23041825fe | [
"Apache-2.0"
] | 369 | 2018-11-28T07:01:00.000Z | 2022-03-28T09:53:22.000Z | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 97.025316 | 163 | 0.815513 | 16,860 | 160,965 | 7.574852 | 0.121352 | 0.115079 | 0.227199 | 0.252443 | 0.626081 | 0.622385 | 0.575772 | 0.477394 | 0.399101 | 0.247236 | 0 | 0.010801 | 0.061864 | 160,965 | 1,658 | 164 | 97.083836 | 0.834935 | 0.004479 | 0 | 0 | 0 | 0 | 0.875636 | 0.829382 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001226 | false | 0.005518 | 0.002452 | 0.000613 | 0.005518 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a587ef50ae6561e72002e3e7bf951789f6352f0 | 1,338 | py | Python | saleor/graphql/descriptions.py | acabezasg/urpi-master | 7c9cd0fbe6d89dad70652482712ca38b21ba6f84 | [
"BSD-3-Clause"
] | 6 | 2019-01-06T08:39:20.000Z | 2022-03-04T18:07:47.000Z | saleor/graphql/descriptions.py | acabezasg/urpi-master | 7c9cd0fbe6d89dad70652482712ca38b21ba6f84 | [
"BSD-3-Clause"
] | 5 | 2021-03-18T23:51:16.000Z | 2022-03-11T23:45:26.000Z | saleor/graphql/descriptions.py | acabezasg/urpi-master | 7c9cd0fbe6d89dad70652482712ca38b21ba6f84 | [
"BSD-3-Clause"
] | 1 | 2018-12-27T01:44:52.000Z | 2018-12-27T01:44:52.000Z | from .account.resolvers import USER_SEARCH_FIELDS
from .discount.resolvers import SALE_SEARCH_FIELDS, VOUCHER_SEARCH_FIELDS
from .menu.resolvers import MENU_ITEM_SEARCH_FIELDS, MENU_SEARCH_FIELDS
from .order.resolvers import ORDER_SEARCH_FIELDS
from .page.resolvers import PAGE_SEARCH_FIELDS
from .product.resolvers impo... | 53.52 | 79 | 0.83707 | 156 | 1,338 | 6.647436 | 0.153846 | 0.254581 | 0.243009 | 0.370299 | 0.069431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09716 | 1,338 | 24 | 80 | 55.75 | 0.858444 | 0 | 0 | 0 | 0 | 0 | 0.053812 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.304348 | 0 | 0.304348 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
0a6707f9973779719b6a81ba51a8ea7cdbbf369a | 72 | py | Python | docker/context/__init__.py | jbn/docker-py | 1e38d31c9fc74d07cb8dd3b7b100723bfacd23f7 | [
"Apache-2.0"
] | 5,611 | 2015-01-02T16:46:16.000Z | 2022-03-31T21:49:58.000Z | docker/context/__init__.py | jbn/docker-py | 1e38d31c9fc74d07cb8dd3b7b100723bfacd23f7 | [
"Apache-2.0"
] | 2,176 | 2015-01-01T00:57:56.000Z | 2022-03-31T13:21:54.000Z | docker/context/__init__.py | jbn/docker-py | 1e38d31c9fc74d07cb8dd3b7b100723bfacd23f7 | [
"Apache-2.0"
] | 1,774 | 2015-01-05T12:49:03.000Z | 2022-03-29T13:27:47.000Z | # flake8: noqa
from .context import Context
from .api import ContextAPI
| 18 | 28 | 0.791667 | 10 | 72 | 5.7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.152778 | 72 | 3 | 29 | 24 | 0.918033 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
6a642194a7e770a8e096d541e9d5a6e246739fce | 54 | py | Python | Exercises/FinalExercise.py | davidavg/OOP_Python | ca4e8376a50b9c81b5ac18c466bd8d147bdbe679 | [
"MIT"
] | null | null | null | Exercises/FinalExercise.py | davidavg/OOP_Python | ca4e8376a50b9c81b5ac18c466bd8d147bdbe679 | [
"MIT"
] | null | null | null | Exercises/FinalExercise.py | davidavg/OOP_Python | ca4e8376a50b9c81b5ac18c466bd8d147bdbe679 | [
"MIT"
] | null | null | null | '''
Created on Oct 3, 2018
@author: david avalos
'''
| 9 | 22 | 0.62963 | 8 | 54 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 0.203704 | 54 | 5 | 23 | 10.8 | 0.674419 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6a862ab27cb8978f4f6e32f518b23b0713959d8c | 593 | py | Python | api/config.py | njugunanduati/todo_graphql_api | ef71a76bbe5b26ed1233b5835d63366846129818 | [
"MIT"
] | null | null | null | api/config.py | njugunanduati/todo_graphql_api | ef71a76bbe5b26ed1233b5835d63366846129818 | [
"MIT"
] | null | null | null | api/config.py | njugunanduati/todo_graphql_api | ef71a76bbe5b26ed1233b5835d63366846129818 | [
"MIT"
] | null | null | null | import os
class Config(object):
SECRET_KEY = os.environ.get('SECRET_KEY') or 'you-will-never-guess'
DB_ENGINE = os.environ.get('DB_ENGINE')
DB_USER = os.environ.get('DB_USER')
DB_PASSWORD = os.environ.get('DB_PASSWORD')
DB_NAME = os.environ.get('DB_NAME')
DB_HOST = os.environ.get('DB_HOST')
... | 42.357143 | 90 | 0.696459 | 90 | 593 | 4.277778 | 0.377778 | 0.187013 | 0.249351 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001949 | 0.134907 | 593 | 14 | 91 | 42.357143 | 0.748538 | 0.139966 | 0 | 0 | 0 | 0 | 0.277014 | 0.111984 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.181818 | 0.090909 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6ac81d3e85768db73103799e0f8564ccc63fbfdf | 1,110 | py | Python | mmdet/models/builder.py | ktw361/Local-Mid-Propagation | 0a99e82cccf8c35bc5f6989af2702203def4c7a4 | [
"Apache-2.0"
] | 10 | 2020-08-13T17:51:20.000Z | 2021-05-23T08:31:50.000Z | mmdet/models/builder.py | ktw361/Local-Mid-Propagation | 0a99e82cccf8c35bc5f6989af2702203def4c7a4 | [
"Apache-2.0"
] | null | null | null | mmdet/models/builder.py | ktw361/Local-Mid-Propagation | 0a99e82cccf8c35bc5f6989af2702203def4c7a4 | [
"Apache-2.0"
] | 2 | 2020-09-07T08:33:43.000Z | 2020-12-22T12:28:26.000Z | from torch import nn
from mmdet.utils import build_from_cfg
from .registry import (BACKBONES, DETECTORS, HEADS, LOSSES, NECKS,
ROI_EXTRACTORS, SHARED_HEADS, PAIR_MODULE)
def build(cfg, registry, default_args=None):
if isinstance(cfg, list):
modules = [
build_from_cfg(cf... | 21.346154 | 78 | 0.706306 | 156 | 1,110 | 4.788462 | 0.269231 | 0.107095 | 0.168675 | 0.182062 | 0.208835 | 0.091031 | 0.091031 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 1,110 | 51 | 79 | 21.764706 | 0.844068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.1 | 0.3 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6ac81e83976754bebba2169b961547afb5c3dc46 | 102 | py | Python | topCoder/srms/300s/srm311/div2/escape_from_rectangle.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | topCoder/srms/300s/srm311/div2/escape_from_rectangle.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | topCoder/srms/300s/srm311/div2/escape_from_rectangle.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | class EscapeFromRectangle:
def shortest(self, x, y, w, h):
return min(x, y, w - x, h - y)
| 25.5 | 38 | 0.568627 | 17 | 102 | 3.411765 | 0.647059 | 0.068966 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284314 | 102 | 3 | 39 | 34 | 0.794521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
6aeed15f87ae0f5324b2d2c28096e19cb699cfc3 | 142 | py | Python | recipes/Standard_Python/strings_to_ints.py | VanAurum/python-recipes | 662591d21d228b4a80d46c0ba2c16c8707eddb86 | [
"MIT"
] | 1 | 2019-05-31T11:19:17.000Z | 2019-05-31T11:19:17.000Z | recipes/Standard_Python/strings_to_ints.py | VanAurum/python-recipes | 662591d21d228b4a80d46c0ba2c16c8707eddb86 | [
"MIT"
] | null | null | null | recipes/Standard_Python/strings_to_ints.py | VanAurum/python-recipes | 662591d21d228b4a80d46c0ba2c16c8707eddb86 | [
"MIT"
] | 1 | 2020-01-21T21:38:58.000Z | 2020-01-21T21:38:58.000Z | def strings_to_ints(string_list):
'''
Converts a list of strings to a list of integers:
'''
return list(map(int, string_list)) | 28.4 | 53 | 0.669014 | 22 | 142 | 4.136364 | 0.590909 | 0.197802 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 142 | 5 | 54 | 28.4 | 0.827273 | 0.34507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0a7c4a42b698f822460d9618116b7b3e498a384b | 159 | py | Python | prediction/neural_network/sherlock/train_dsm_reverse.py | ehbeam/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 15 | 2020-07-17T07:10:26.000Z | 2022-02-18T05:51:45.000Z | prediction/neural_network/sherlock/train_dsm_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 2 | 2022-01-14T09:10:12.000Z | 2022-01-28T17:32:42.000Z | prediction/neural_network/sherlock/train_dsm_reverse.py | YifeiCAO/neuro-knowledge-engine | 9dc56ade0bbbd8d14f0660774f787c3f46d7e632 | [
"MIT"
] | 4 | 2021-12-22T13:27:32.000Z | 2022-02-18T05:51:47.000Z | #!/bin/python
import sys
sys.path.append('..')
import prediction
prediction.train_classifier('dsm', 'reverse', suffix='_opsim', clf='', use_hyperparams=True) | 22.714286 | 92 | 0.735849 | 20 | 159 | 5.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 159 | 7 | 92 | 22.714286 | 0.77551 | 0.075472 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0a97ed2ee6341f0b27a131e410668020716f013b | 1,884 | py | Python | LeetCode/0764_largest_plus_sign.py | KanegaeGabriel/ye-olde-interview-prep-grind | 868362872523a5688f49ab48efb09c3008e0db4d | [
"MIT"
] | 1 | 2020-05-13T19:16:23.000Z | 2020-05-13T19:16:23.000Z | LeetCode/0764_largest_plus_sign.py | KanegaeGabriel/ye-olde-interview-prep-grind | 868362872523a5688f49ab48efb09c3008e0db4d | [
"MIT"
] | null | null | null | LeetCode/0764_largest_plus_sign.py | KanegaeGabriel/ye-olde-interview-prep-grind | 868362872523a5688f49ab48efb09c3008e0db4d | [
"MIT"
] | null | null | null | def orderOfLargestPlusSign(n, mines):
mines = set([tuple(i) for i in mines])
m = [[int((i, j) not in mines) for j in range(n)] for i in range(n)]
left = [[m[i][j] for j in range(n)] for i in range(n)]
right = [[m[i][j] for j in range(n)] for i in range(n)]
top = [[m[i][j] for j in range(n)] for i i... | 30.885246 | 106 | 0.418259 | 428 | 1,884 | 1.841122 | 0.088785 | 0.162437 | 0.186548 | 0.192893 | 0.555838 | 0.482234 | 0.440355 | 0.440355 | 0.373096 | 0.341371 | 0 | 0.160595 | 0.286093 | 1,884 | 61 | 107 | 30.885246 | 0.425279 | 0.208599 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0 | 0 | 0.055556 | 0.055556 | 0 | 0 | 1 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ac600e0c633025b956eb670143d36c0d8052985 | 6,253 | py | Python | src/schedules/tests/test_views.py | PhaseDMS/phase | 4f776d0b1b5e7916a3e26aee890b3c2b9454ef0e | [
"MIT"
] | 2 | 2021-09-10T19:40:30.000Z | 2022-01-31T07:15:51.000Z | src/schedules/tests/test_views.py | PhaseDMS/phase | 4f776d0b1b5e7916a3e26aee890b3c2b9454ef0e | [
"MIT"
] | null | null | null | src/schedules/tests/test_views.py | PhaseDMS/phase | 4f776d0b1b5e7916a3e26aee890b3c2b9454ef0e | [
"MIT"
] | 1 | 2021-09-10T19:40:42.000Z | 2021-09-10T19:40:42.000Z | import datetime
from django.utils.timezone import utc
from django.urls import reverse
from accounts.factories import EntityFactory
from default_documents.tests.test import ContractorDeliverableTestCase
from documents.models import Document
class ScheduleFieldsTests(ContractorDeliverableTestCase):
"""Test automa... | 37 | 88 | 0.64625 | 775 | 6,253 | 4.943226 | 0.153548 | 0.048029 | 0.072044 | 0.046985 | 0.776038 | 0.730097 | 0.707648 | 0.705038 | 0.682328 | 0.642913 | 0 | 0.003526 | 0.22901 | 6,253 | 168 | 89 | 37.220238 | 0.791122 | 0.008316 | 0 | 0.530769 | 0 | 0 | 0.073931 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.069231 | false | 0 | 0.046154 | 0 | 0.130769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ac641848384eb6d57c0a85f077df9d618b4410a | 248 | py | Python | hydralit/__init__.py | suiyebuluo/hydralit | af921e9df532ed8bed69ec568253a50ed338b3c9 | [
"Apache-2.0"
] | null | null | null | hydralit/__init__.py | suiyebuluo/hydralit | af921e9df532ed8bed69ec568253a50ed338b3c9 | [
"Apache-2.0"
] | 2 | 2022-03-28T21:36:59.000Z | 2022-03-28T22:58:06.000Z | hydralit/__init__.py | AnvithLobo/hydralit | 0365d8070b892889347d6b63c2dbe22be45fd77b | [
"Apache-2.0"
] | null | null | null | __version__ = '1.0.12'
__packagename__ = 'hydralit'
__author__ = 'Jackson Storm'
from hydralit.hydra_app import HydraApp
from hydralit.sessionstate import SessionState
from hydralit.app_template import HydraHeadApp
from streamlit import * | 27.555556 | 47 | 0.798387 | 29 | 248 | 6.344828 | 0.62069 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018779 | 0.141129 | 248 | 9 | 48 | 27.555556 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.112033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ada09c95bacf6cd4825df9f07a560ad52c35c06 | 169 | py | Python | rescomp/opt_then_test/__init__.py | djpasseyjr/rescomp | 9edbd0fecd71218b1c22402f1cf62c38d62bc59c | [
"MIT"
] | 1 | 2022-01-10T14:00:53.000Z | 2022-01-10T14:00:53.000Z | rescomp/opt_then_test/__init__.py | djpasseyjr/rescomp | 9edbd0fecd71218b1c22402f1cf62c38d62bc59c | [
"MIT"
] | 7 | 2021-01-26T13:22:17.000Z | 2021-07-15T18:11:53.000Z | rescomp/opt_then_test/__init__.py | djpasseyjr/rescomp | 9edbd0fecd71218b1c22402f1cf62c38d62bc59c | [
"MIT"
] | 2 | 2020-11-26T17:51:30.000Z | 2021-05-14T21:20:59.000Z | """
Module script for performing hyperparameter optimization on a reservoir computer using rescomp.optimizer.
For usage, run as 'python -m rescomp.opt_then_test -h'
""" | 33.8 | 105 | 0.786982 | 24 | 169 | 5.458333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 169 | 5 | 106 | 33.8 | 0.891156 | 0.952663 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0aec9be8d31c1cd00f18ef63bdd1997231c54ad2 | 82 | py | Python | coffea/processor/test_items/__init__.py | hepaccelerate/coffea | 153061d6dd69a646fcd0a5b019168188595f6130 | [
"BSD-3-Clause"
] | 1 | 2019-06-26T12:40:13.000Z | 2019-06-26T12:40:13.000Z | coffea/processor/test_items/__init__.py | hepaccelerate/coffea | 153061d6dd69a646fcd0a5b019168188595f6130 | [
"BSD-3-Clause"
] | null | null | null | coffea/processor/test_items/__init__.py | hepaccelerate/coffea | 153061d6dd69a646fcd0a5b019168188595f6130 | [
"BSD-3-Clause"
] | 1 | 2019-07-05T14:49:12.000Z | 2019-07-05T14:49:12.000Z | from .NanoTestProcessor import NanoTestProcessor
__all__ = ['NanoTestProcessor']
| 20.5 | 48 | 0.829268 | 6 | 82 | 10.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 82 | 3 | 49 | 27.333333 | 0.864865 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0af6f862f957211e4b4bb2786f9a93ba42f5b42b | 88 | py | Python | Hidden messages/FindClump.py | lovroselic/Coursera | 1598b4fe02eb3addbc847f4f3ec21fb5b6e0be08 | [
"MIT"
] | null | null | null | Hidden messages/FindClump.py | lovroselic/Coursera | 1598b4fe02eb3addbc847f4f3ec21fb5b6e0be08 | [
"MIT"
] | null | null | null | Hidden messages/FindClump.py | lovroselic/Coursera | 1598b4fe02eb3addbc847f4f3ec21fb5b6e0be08 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Aug 25 15:03:04 2020
@author: SELICLO1
"""
| 11 | 35 | 0.579545 | 14 | 88 | 3.642857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.204545 | 88 | 7 | 36 | 12.571429 | 0.528571 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c1cb5604d7e5118becadfe90967168839589c53 | 153 | py | Python | problems/stack-machine/stack-machine-answer.py | lhayhurst/interview-with-python | 8acf397cdd96cbf00334a567a837d6209507e41c | [
"MIT"
] | 201 | 2016-08-29T23:02:43.000Z | 2022-03-28T14:15:29.000Z | problems/stack-machine/stack-machine-answer.py | Akash1507/interview-with-python | b5ce31c8bdca754a76762d2734dcf494a302e487 | [
"MIT"
] | 5 | 2016-09-03T05:57:13.000Z | 2018-03-10T06:09:30.000Z | problems/stack-machine/stack-machine-answer.py | Akash1507/interview-with-python | b5ce31c8bdca754a76762d2734dcf494a302e487 | [
"MIT"
] | 85 | 2016-09-01T14:39:13.000Z | 2022-03-17T08:16:54.000Z | ##$$## ---------- TAGS ----------- ##$$##
##$$## stack,machine
##$$## --------- ENDTAGS --------- ##$$##
###### - Write your answer below - ######
| 25.5 | 42 | 0.281046 | 8 | 153 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169935 | 153 | 5 | 43 | 30.6 | 0.338583 | 0.718954 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c20b0160c2a4edc7e446a5285eaa7a7ce936766 | 336 | py | Python | qiskit/providers/ibmq/api/__init__.py | filemaster/qiskit-terra | 8672c407a5a0e34405315f82d5ad5847916e857e | [
"Apache-2.0"
] | null | null | null | qiskit/providers/ibmq/api/__init__.py | filemaster/qiskit-terra | 8672c407a5a0e34405315f82d5ad5847916e857e | [
"Apache-2.0"
] | null | null | null | qiskit/providers/ibmq/api/__init__.py | filemaster/qiskit-terra | 8672c407a5a0e34405315f82d5ad5847916e857e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2018, IBM.
#
# This source code is licensed under the Apache License, Version 2.0 found in
# the LICENSE.txt file in the root directory of this source tree.
"""IBM Q API connector."""
from .ibmqconnector import ApiError, BadBackendError, RegisterSizeError
from .ibmqconnector impor... | 28 | 77 | 0.752976 | 46 | 336 | 5.5 | 0.76087 | 0.079051 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024735 | 0.157738 | 336 | 11 | 78 | 30.545455 | 0.869258 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7c2d3f15dd3d664088e570998f8f2c93419b48c8 | 124 | py | Python | IMU/VTK-6.2.0/ThirdParty/Twisted/twisted/scripts/test/__init__.py | timkrentz/SunTracker | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | [
"MIT"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | IMU/VTK-6.2.0/ThirdParty/Twisted/twisted/scripts/test/__init__.py | timkrentz/SunTracker | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | [
"MIT"
] | 1 | 2020-03-06T04:49:42.000Z | 2020-03-06T04:49:42.000Z | IMU/VTK-6.2.0/ThirdParty/Twisted/twisted/scripts/test/__init__.py | timkrentz/SunTracker | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | [
"MIT"
] | 2 | 2019-08-30T23:36:13.000Z | 2019-11-08T16:52:01.000Z | # Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Test package for L{twisted.scripts}.
"""
| 17.714286 | 45 | 0.677419 | 15 | 124 | 5.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 124 | 6 | 46 | 20.666667 | 0.84 | 0.846774 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c417b14c415cb663bedcaf17f3fe7bae156e3f4 | 181 | py | Python | core/forms/ContatoForm.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | core/forms/ContatoForm.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | core/forms/ContatoForm.py | roimpacta/exemplos | cbfe7c81fc14932697c02eb63bec7d7e4a2c5d5a | [
"Apache-2.0"
] | null | null | null | from django import forms
class ContatoForm(forms.Form):
nome = forms.CharField()
email = forms.EmailField()
mensagem = forms.CharField()
assunto = forms.CharField() | 25.857143 | 32 | 0.701657 | 20 | 181 | 6.35 | 0.65 | 0.330709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187845 | 181 | 7 | 33 | 25.857143 | 0.863946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
7c72a5dc800c8c088179cb0954e38aebcdd0dba0 | 345 | py | Python | util/ipgen/__init__.py | asb/opentitan | af68ff5041b10c81e97adc075a4d042f8ac7ab20 | [
"Apache-2.0"
] | 1,375 | 2019-11-05T15:11:00.000Z | 2022-03-28T17:50:43.000Z | util/ipgen/__init__.py | asb/opentitan | af68ff5041b10c81e97adc075a4d042f8ac7ab20 | [
"Apache-2.0"
] | 7,045 | 2019-11-05T16:05:45.000Z | 2022-03-31T23:08:08.000Z | util/ipgen/__init__.py | asb/opentitan | af68ff5041b10c81e97adc075a4d042f8ac7ab20 | [
"Apache-2.0"
] | 428 | 2019-11-05T15:00:20.000Z | 2022-03-28T15:34:57.000Z | # Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
from .lib import IpConfig, IpTemplate, TemplateParseError # noqa: F401
from .renderer import (IpBlockRenderer, IpDescriptionOnlyRenderer,
TemplateRe... | 43.125 | 74 | 0.744928 | 37 | 345 | 6.945946 | 0.756757 | 0.015564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035461 | 0.182609 | 345 | 7 | 75 | 49.285714 | 0.875887 | 0.469565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ca591a71dba2adca0899164e101df747978ced3 | 891 | py | Python | qencode/__init__.py | geroddokar/qencode-api-python-client | 1b6db988256e724501ab567bbf0aa0fc2feeb828 | [
"MIT"
] | null | null | null | qencode/__init__.py | geroddokar/qencode-api-python-client | 1b6db988256e724501ab567bbf0aa0fc2feeb828 | [
"MIT"
] | null | null | null | qencode/__init__.py | geroddokar/qencode-api-python-client | 1b6db988256e724501ab567bbf0aa0fc2feeb828 | [
"MIT"
] | null | null | null |
def client(api_key, api_url=None, version=None, **kwargs):
from client import QencodeApiClient
return QencodeApiClient(api_key, api_url=api_url, version=version, **kwargs)
def custom_params():
from custom_params import CustomTranscodingParams
return CustomTranscodingParams()
def format():
from custom_p... | 23.447368 | 80 | 0.796857 | 101 | 891 | 6.712871 | 0.346535 | 0.123894 | 0.141593 | 0.19469 | 0.094395 | 0.094395 | 0 | 0 | 0 | 0 | 0 | 0.028534 | 0.13468 | 891 | 37 | 81 | 24.081081 | 0.850843 | 0 | 0 | 0 | 0 | 0 | 0.019166 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0 | 0.32 | 0 | 0.88 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7cf1d336c23c1a124b5062774fc73cc234f157a7 | 4,640 | py | Python | test_autoarray/plot/test_fit_imaging_plotters.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/plot/test_fit_imaging_plotters.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | test_autoarray/plot/test_fit_imaging_plotters.py | jonathanfrawley/PyAutoArray_copy | c21e8859bdb20737352147b9904797ac99985b73 | [
"MIT"
] | null | null | null | import autoarray as aa
import autoarray.plot as aplt
import pytest
from os import path
directory = path.dirname(path.realpath(__file__))
@pytest.fixture(name="plot_path")
def make_plot_path_setup():
return path.join(
"{}".format(path.dirname(path.realpath(__file__))),
"files",
... | 36.25 | 87 | 0.714224 | 665 | 4,640 | 4.613534 | 0.130827 | 0.104302 | 0.099739 | 0.083442 | 0.794003 | 0.737614 | 0.737614 | 0.700782 | 0.687419 | 0.628422 | 0 | 0.023633 | 0.188362 | 4,640 | 127 | 88 | 36.535433 | 0.791025 | 0 | 0 | 0.389474 | 0 | 0 | 0.072014 | 0.027255 | 0 | 0 | 0 | 0 | 0.263158 | 1 | 0.052632 | false | 0 | 0.042105 | 0.010526 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b01a132478aae7472c6dc5eab5914f7f5d9739a | 315 | py | Python | src/transformers/data/datasets/__init__.py | AlexeyVatolin/transformers | 1f3c16ee68e4f946306d69a3ff0f6e27ff579843 | [
"Apache-2.0"
] | null | null | null | src/transformers/data/datasets/__init__.py | AlexeyVatolin/transformers | 1f3c16ee68e4f946306d69a3ff0f6e27ff579843 | [
"Apache-2.0"
] | null | null | null | src/transformers/data/datasets/__init__.py | AlexeyVatolin/transformers | 1f3c16ee68e4f946306d69a3ff0f6e27ff579843 | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
# There's no way to ignore "F401 '...' imported but unused" warnings in this
# module, but to preserve other warnings. So, don't check this module at all.
from .glue import GlueDataset, GlueDataTrainingArguments
from .language_modeling import LineByLineTextDataset, TextDataset, ParallelTextDataset
| 45 | 86 | 0.793651 | 41 | 315 | 6.073171 | 0.829268 | 0.080321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.136508 | 315 | 6 | 87 | 52.5 | 0.900735 | 0.51746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b31ecd46126ac10f23c704f6980faf5c178da16 | 42,892 | py | Python | lib/python3.8/site-packages/ansible_collections/cisco/ios/plugins/module_utils/network/ios/argspec/ospfv3/ospfv3.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/cisco/ios/plugins/module_utils/network/ios/argspec/ospfv3/ospfv3.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | lib/python3.8/site-packages/ansible_collections/cisco/ios/plugins/module_utils/network/ios/argspec/ospfv3/ospfv3.py | cjsteel/python3-venv-ansible-2.10.5 | c95395c4cae844dc66fddde9b4343966f4b2ecd5 | [
"Apache-1.1"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
#############################################
# WARNING ... | 53.084158 | 82 | 0.15567 | 1,342 | 42,892 | 4.856185 | 0.188525 | 0.128894 | 0.177229 | 0.033144 | 0.75679 | 0.713825 | 0.70247 | 0.696026 | 0.649532 | 0.601657 | 0 | 0.004688 | 0.74142 | 42,892 | 807 | 83 | 53.149938 | 0.582905 | 0.013126 | 0 | 0.595084 | 0 | 0 | 0.144055 | 0.002374 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001294 | false | 0.003881 | 0.001294 | 0 | 0.005175 | 0.001294 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b37ae66d24e04ee1f673f1031d70934af88222d | 174 | py | Python | tests/typedefs.py | exstrim401/aiohttp-session | 0311aa35bfe589fb47203fbff68fe1ee81a61d30 | [
"Apache-2.0"
] | 169 | 2016-11-14T10:17:42.000Z | 2022-03-08T16:19:00.000Z | tests/typedefs.py | exstrim401/aiohttp-session | 0311aa35bfe589fb47203fbff68fe1ee81a61d30 | [
"Apache-2.0"
] | 587 | 2016-10-24T11:43:37.000Z | 2022-03-28T00:13:39.000Z | tests/typedefs.py | sthagen/aiohttp-session | ee7977eb2d6dd3e0fa64708e9a34fff8d6a6ec9f | [
"Apache-2.0"
] | 82 | 2016-11-16T03:57:33.000Z | 2022-01-21T07:12:41.000Z | from typing import Awaitable, Callable
from aiohttp import web
from aiohttp.test_utils import TestClient
AiohttpClient = Callable[[web.Application], Awaitable[TestClient]]
| 24.857143 | 66 | 0.827586 | 21 | 174 | 6.809524 | 0.571429 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109195 | 174 | 6 | 67 | 29 | 0.922581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6b3dbd95d7918aeb9e905d65e246f59b2d1caa60 | 6,782 | py | Python | server/kiokuapp/api/migrations/0001_initial.py | Tomazis/kioku | 31fc433581dd63d9e973c48beb3232e99abb4ad8 | [
"Apache-2.0"
] | null | null | null | server/kiokuapp/api/migrations/0001_initial.py | Tomazis/kioku | 31fc433581dd63d9e973c48beb3232e99abb4ad8 | [
"Apache-2.0"
] | null | null | null | server/kiokuapp/api/migrations/0001_initial.py | Tomazis/kioku | 31fc433581dd63d9e973c48beb3232e99abb4ad8 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.2.3 on 2021-06-14 16:03
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Kanji',
fields=[
... | 51.378788 | 136 | 0.584931 | 664 | 6,782 | 5.817771 | 0.141566 | 0.108206 | 0.04349 | 0.068341 | 0.788506 | 0.762102 | 0.702563 | 0.689619 | 0.689619 | 0.689619 | 0 | 0.008258 | 0.267915 | 6,782 | 131 | 137 | 51.770992 | 0.769789 | 0.006635 | 0 | 0.596774 | 1 | 0 | 0.134076 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.008065 | 0.016129 | 0 | 0.048387 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6b43cebe72c8b1f21157e5aa83a0ae9463b54d21 | 7,498 | py | Python | models/resnet_cifar.py | zhanzheng8585/biprop | ce6a364c8323f102bd41ebb332e1e841ec78c79d | [
"Apache-2.0"
] | 28 | 2021-03-19T03:51:01.000Z | 2022-03-19T20:51:00.000Z | models/resnet_cifar.py | zhanzheng8585/biprop | ce6a364c8323f102bd41ebb332e1e841ec78c79d | [
"Apache-2.0"
] | 3 | 2021-05-03T12:15:50.000Z | 2021-09-09T01:32:28.000Z | models/resnet_cifar.py | zhanzheng8585/biprop | ce6a364c8323f102bd41ebb332e1e841ec78c79d | [
"Apache-2.0"
] | 9 | 2021-03-31T01:58:43.000Z | 2022-03-29T16:26:40.000Z | """ResNet in PyTorch.
For Pre-activation ResNet, see 'preact_resnet.py'.
Reference:
[1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
Deep Residual Learning for Image Recognition. arXiv:1512.03385
"""
import torch
import torch.nn as nn
import torch.nn.functional as F
from utils.builder import get_builder
from ... | 33.324444 | 92 | 0.621632 | 994 | 7,498 | 4.550302 | 0.125755 | 0.039797 | 0.02432 | 0.043776 | 0.84811 | 0.75105 | 0.724961 | 0.678974 | 0.669688 | 0.623922 | 0 | 0.053575 | 0.2482 | 7,498 | 224 | 93 | 33.473214 | 0.748803 | 0.026807 | 0 | 0.579268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.146341 | false | 0 | 0.030488 | 0.067073 | 0.335366 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
861316cf1354d3cba14c6e4a094997c104b87395 | 248 | py | Python | tempo/aio/model.py | majolo/tempo | 516b7df0beaf36d69366e8e759ce00a362225278 | [
"Apache-2.0"
] | 75 | 2021-02-15T09:49:02.000Z | 2022-03-31T02:06:38.000Z | tempo/aio/model.py | majolo/tempo | 516b7df0beaf36d69366e8e759ce00a362225278 | [
"Apache-2.0"
] | 106 | 2021-02-13T09:25:19.000Z | 2022-03-25T16:18:00.000Z | tempo/aio/model.py | majolo/tempo | 516b7df0beaf36d69366e8e759ce00a362225278 | [
"Apache-2.0"
] | 21 | 2021-02-12T17:12:50.000Z | 2022-03-04T02:09:26.000Z | from ..serve.model import Model as _Model
from .mixin import _AsyncMixin
class Model(_AsyncMixin, _Model): # type: ignore
def __init__(self, *args, **kwargs):
_Model.__init__(self, *args, **kwargs)
_AsyncMixin.__init__(self)
| 27.555556 | 49 | 0.693548 | 30 | 248 | 5.133333 | 0.5 | 0.155844 | 0.155844 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189516 | 248 | 8 | 50 | 31 | 0.766169 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
863ff4019813b32f5ffb981c59259e1feb23ab75 | 124,484 | py | Python | pysnmp/NetWare-Server-Alarm-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/NetWare-Server-Alarm-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/NetWare-Server-Alarm-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module NetWare-Server-Alarm-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NetWare-Server-Alarm-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:16:28 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.... | 216.493913 | 10,548 | 0.731307 | 14,480 | 124,484 | 6.286809 | 0.065331 | 0.175079 | 0.242418 | 0.282821 | 0.625147 | 0.616348 | 0.615381 | 0.615381 | 0.615151 | 0.589479 | 0 | 0.062304 | 0.073471 | 124,484 | 574 | 10,549 | 216.87108 | 0.726968 | 0.002747 | 0 | 0 | 0 | 0 | 0.345686 | 0.239541 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.007067 | 0.012367 | 0 | 0.017668 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
866c76adbb549f4d3f617063ff98d3c1c92be5b9 | 10 | py | Python | tests/syntax/del_paren_star_2.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 45 | 2021-07-06T03:30:20.000Z | 2022-03-16T17:30:58.000Z | tests/syntax/del_paren_star_2.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 110 | 2021-06-28T11:48:46.000Z | 2022-03-25T20:41:25.000Z | tests/syntax/del_paren_star_2.py | hoefling/friendly-traceback | 26acac903521c5f0e5cf837d32bda750918d4afb | [
"MIT"
] | 4 | 2021-07-05T20:56:39.000Z | 2021-11-11T20:24:34.000Z | del (*x,)
| 5 | 9 | 0.4 | 2 | 10 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 10 | 1 | 10 | 10 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8673bc26a90e6510f1a531f302cbae18f7fffa77 | 3,471 | py | Python | tests/contracts/KT1KXAV7cZmN8ouCqd4rMnMPHy9Wy4Jc3Xvi/test_micheline_coding_KT1KXA.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2021-05-20T16:52:08.000Z | 2021-05-20T16:52:08.000Z | tests/contracts/KT1KXAV7cZmN8ouCqd4rMnMPHy9Wy4Jc3Xvi/test_micheline_coding_KT1KXA.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1KXAV7cZmN8ouCqd4rMnMPHy9Wy4Jc3Xvi/test_micheline_coding_KT1KXA.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline
class MichelineCodingTestKT1KXA(TestCase):
@classmethod
def setUpClass(cls):
cls.maxDiff = None
cls.code = get_data(
path='contrac... | 46.905405 | 88 | 0.715356 | 351 | 3,471 | 6.868946 | 0.136752 | 0.066363 | 0.110328 | 0.074658 | 0.81377 | 0.790543 | 0.774782 | 0.729158 | 0.505599 | 0.480299 | 0 | 0.031482 | 0.185537 | 3,471 | 73 | 89 | 47.547945 | 0.821365 | 0 | 0 | 0.491803 | 0 | 0 | 0.214636 | 0.174301 | 0 | 0 | 0 | 0 | 0.131148 | 1 | 0.147541 | false | 0 | 0.04918 | 0 | 0.213115 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
8676963f3162ce620c27d1a0c1054fc2518ecc2d | 394 | py | Python | business_logic/models/__init__.py | civilian/django-business-logic | 3af2175318d019e6327d41e0256cb945b33a713c | [
"MIT"
] | 160 | 2016-05-25T12:51:02.000Z | 2022-01-29T20:39:22.000Z | business_logic/models/__init__.py | civilian/django-business-logic | 3af2175318d019e6327d41e0256cb945b33a713c | [
"MIT"
] | 36 | 2016-09-06T11:13:27.000Z | 2021-02-27T12:33:31.000Z | business_logic/models/__init__.py | civilian/django-business-logic | 3af2175318d019e6327d41e0256cb945b33a713c | [
"MIT"
] | 30 | 2016-07-23T14:41:51.000Z | 2022-03-25T21:31:06.000Z | # -*- coding: utf-8 -*-
#
from .assignment import *
from .constant import *
from .context import *
from .foreach import *
from .frame import *
from .function import *
from .ifstatement import *
from .log import *
from .node import *
from .operator_ import *
from .program import *
from .reference import *
from .stop im... | 19.7 | 26 | 0.713198 | 51 | 394 | 5.470588 | 0.411765 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003096 | 0.180203 | 394 | 19 | 27 | 20.736842 | 0.860681 | 0.053299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8677648ed6af77b014d5794df18bd6a8cc2f471f | 51 | py | Python | CodeForces/1285A. Mezo Playing Zoma/Mezo_Playing_Zoma.py | tameemalaa/Solved-Problems | 9e8bc96eb60f200787f2682e974ec6509a7c1734 | [
"MIT"
] | null | null | null | CodeForces/1285A. Mezo Playing Zoma/Mezo_Playing_Zoma.py | tameemalaa/Solved-Problems | 9e8bc96eb60f200787f2682e974ec6509a7c1734 | [
"MIT"
] | null | null | null | CodeForces/1285A. Mezo Playing Zoma/Mezo_Playing_Zoma.py | tameemalaa/Solved-Problems | 9e8bc96eb60f200787f2682e974ec6509a7c1734 | [
"MIT"
] | null | null | null | # Solution by : Yousef Nefea
print(int(input())+1) | 25.5 | 29 | 0.686275 | 8 | 51 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.137255 | 51 | 2 | 30 | 25.5 | 0.772727 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
86db9eda6f381d6aeb95300e64c4be708e26e81a | 1,025 | py | Python | models/UsersModel.py | kaicLimaOliveira/Crud_FlaskMongoDB | af62d029f2cfeb9148475228b29659033e05f5ec | [
"MIT"
] | null | null | null | models/UsersModel.py | kaicLimaOliveira/Crud_FlaskMongoDB | af62d029f2cfeb9148475228b29659033e05f5ec | [
"MIT"
] | null | null | null | models/UsersModel.py | kaicLimaOliveira/Crud_FlaskMongoDB | af62d029f2cfeb9148475228b29659033e05f5ec | [
"MIT"
] | null | null | null | from factory.database import Database
class Users:
def __init__(self):
self.db = Database()
self.collection_name = 'Users'
def create(self, data):
res = self.db.insert(data, self.collection_name)
return res
def find(self, data, sort=None): # find all
return self.... | 30.147059 | 110 | 0.67122 | 143 | 1,025 | 4.608392 | 0.251748 | 0.081942 | 0.245827 | 0.159332 | 0.124431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217561 | 1,025 | 33 | 111 | 31.060606 | 0.821696 | 0.106341 | 0 | 0 | 0 | 0 | 0.005476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0.045455 | 0.318182 | 0.863636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
86f312e738b2dd74d05986a93f5d283df30a5c0f | 142 | py | Python | setup.py | suutari/setuptools-gitver | e27fb2502bc8338d64601ed4f67c297b896c01e9 | [
"MIT"
] | null | null | null | setup.py | suutari/setuptools-gitver | e27fb2502bc8338d64601ed4f67c297b896c01e9 | [
"MIT"
] | null | null | null | setup.py | suutari/setuptools-gitver | e27fb2502bc8338d64601ed4f67c297b896c01e9 | [
"MIT"
] | null | null | null | """
Python packaging entry point.
"""
import setuptools
if __name__ == '__main__':
setuptools.setup(setup_requires=['setuptools>=34.0'])
| 17.75 | 57 | 0.711268 | 16 | 142 | 5.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.126761 | 142 | 7 | 58 | 20.285714 | 0.717742 | 0.204225 | 0 | 0 | 0 | 0 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d49d90b32863babf1545fe9f698e0ef2b41ed7eb | 2,095 | py | Python | tests/test_functools.py | night-project/toolbox | a20dbe2857f55ac2c4060c25074073a9e401b744 | [
"MIT"
] | 9 | 2021-01-06T12:08:57.000Z | 2022-02-25T16:25:10.000Z | tests/test_functools.py | shades-st/toolbox | a20dbe2857f55ac2c4060c25074073a9e401b744 | [
"MIT"
] | 11 | 2020-12-27T18:06:08.000Z | 2021-01-09T20:01:19.000Z | tests/test_functools.py | shades-st/toolbox | a20dbe2857f55ac2c4060c25074073a9e401b744 | [
"MIT"
] | 2 | 2021-11-29T21:41:52.000Z | 2022-02-25T16:25:12.000Z | import asyncio
import time
import pytest
from toolbox import timeout
class Test_sync_timeout:
def test_timeout_sync_shorter_timeout_no_err(self):
@timeout(seconds=1)
def sync_time_sleep_10():
time.sleep(10)
return True
start = time.time()
ret = sync_time_s... | 25.240964 | 63 | 0.60716 | 273 | 2,095 | 4.380952 | 0.139194 | 0.112876 | 0.091973 | 0.105351 | 0.838629 | 0.82107 | 0.786789 | 0.733278 | 0.580268 | 0.526756 | 0 | 0.034746 | 0.313126 | 2,095 | 82 | 64 | 25.54878 | 0.796386 | 0 | 0 | 0.603175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 1 | 0.095238 | false | 0 | 0.063492 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 4 |
d4a1b03b959d5d63b5a540272baa66aa1a7b066c | 24 | py | Python | notebooks/solutions/indexing_drop_index.py | cpaniaguam/pandas-head-to-tail | c809b6ae5834057c51006ecc908266e6d5d05b15 | [
"CC-BY-4.0"
] | 88 | 2016-12-29T06:49:10.000Z | 2022-03-19T20:37:27.000Z | notebooks/solutions/indexing_drop_index.py | paritosh666/pandas-head-to-tail | 891a72ea5a21f8e0c8f6a6d22c03a1de26a6f30b | [
"CC-BY-4.0"
] | 8 | 2018-06-17T21:47:27.000Z | 2018-07-11T22:31:17.000Z | notebooks/solutions/indexing_drop_index.py | paritosh666/pandas-head-to-tail | 891a72ea5a21f8e0c8f6a6d22c03a1de26a6f30b | [
"CC-BY-4.0"
] | 76 | 2016-12-30T08:56:28.000Z | 2022-02-27T08:05:26.000Z | first.drop(['EV', 'F9']) | 24 | 24 | 0.541667 | 4 | 24 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.041667 | 24 | 1 | 24 | 24 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4b7b7923f76432122ad7ab10e8844a010c92cef | 4,421 | py | Python | test/action_mapper/test_class.py | kandhan-kuhan-t/action-mapper | 145061f3a55f2facea8fd8bd51b6cca74fd5ea70 | [
"MIT"
] | null | null | null | test/action_mapper/test_class.py | kandhan-kuhan-t/action-mapper | 145061f3a55f2facea8fd8bd51b6cca74fd5ea70 | [
"MIT"
] | null | null | null | test/action_mapper/test_class.py | kandhan-kuhan-t/action-mapper | 145061f3a55f2facea8fd8bd51b6cca74fd5ea70 | [
"MIT"
] | null | null | null | from unittest import mock
import action_mapper
import testutils
class TestValidate(action_mapper.TestCase):
def setUp(self):
super().setUp()
self.ac_map = action_mapper.ActionMapperMixin()
self.ac_map.if_not_create_schemas = mock.MagicMock()
self.ac_map.validate = mock.MagicMock()
... | 45.57732 | 111 | 0.731509 | 606 | 4,421 | 4.894389 | 0.105611 | 0.0971 | 0.145651 | 0.04855 | 0.803439 | 0.769049 | 0.702967 | 0.682063 | 0.670263 | 0.670263 | 0 | 0 | 0.188871 | 4,421 | 96 | 112 | 46.052083 | 0.827105 | 0.032346 | 0 | 0.506173 | 0 | 0 | 0.007489 | 0 | 0 | 0 | 0 | 0 | 0.197531 | 1 | 0.098765 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4cf1916c52a294863600df730b380545eb29c92 | 4,534 | py | Python | tests/components/frontend/test_storage.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/frontend/test_storage.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/frontend/test_storage.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The tests for frontend storage."""
import pytest
from homeassistant.components.frontend import DOMAIN
from homeassistant.setup import async_setup_component
@pytest.fixture(autouse=True)
def setup_frontend(hass):
"""Fixture to setup the frontend."""
hass.loop.run_until_complete(async_setup_component(hass, ... | 27.313253 | 83 | 0.604985 | 585 | 4,534 | 4.490598 | 0.135043 | 0.100495 | 0.079939 | 0.086791 | 0.810811 | 0.780358 | 0.73582 | 0.684431 | 0.658165 | 0.636467 | 0 | 0.004878 | 0.231363 | 4,534 | 165 | 84 | 27.478788 | 0.748924 | 0.051831 | 0 | 0.546296 | 0 | 0 | 0.246128 | 0.092933 | 0 | 0 | 0 | 0 | 0.203704 | 1 | 0.009259 | false | 0 | 0.027778 | 0 | 0.037037 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d4e0acf01def3b1189ba79d826de9c6b833a1b89 | 39 | py | Python | coding-basics/loops-reverse-numbers.py | GitSnake/Python | 37f85d2c096267f4469afddeb8c78ac8da0b8274 | [
"MIT"
] | null | null | null | coding-basics/loops-reverse-numbers.py | GitSnake/Python | 37f85d2c096267f4469afddeb8c78ac8da0b8274 | [
"MIT"
] | null | null | null | coding-basics/loops-reverse-numbers.py | GitSnake/Python | 37f85d2c096267f4469afddeb8c78ac8da0b8274 | [
"MIT"
] | null | null | null | for a in range(10,0,-1):
print(a);
| 13 | 24 | 0.538462 | 9 | 39 | 2.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.230769 | 39 | 2 | 25 | 19.5 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d4e173807d5c0469a5ba6c2b6053647052f8b4ba | 242 | py | Python | api/number2text/app/models/german_language.py | FranzDiebold/numerus-textus | 2abd1cd25e980a81a412e1ac471c3e0fb210e622 | [
"MIT"
] | 4 | 2018-01-22T06:40:45.000Z | 2020-02-04T19:46:28.000Z | api/number2text/app/models/german_language.py | FranzDiebold/numerus-textus | 2abd1cd25e980a81a412e1ac471c3e0fb210e622 | [
"MIT"
] | null | null | null | api/number2text/app/models/german_language.py | FranzDiebold/numerus-textus | 2abd1cd25e980a81a412e1ac471c3e0fb210e622 | [
"MIT"
] | null | null | null | from .abstract_language_dictionary import AbstractLanguageDictionary
class GermanLanguage(AbstractLanguageDictionary):
class Meta:
verbose_name = 'german word'
@classmethod
def name(cls) -> str:
return 'german'
| 22 | 68 | 0.727273 | 22 | 242 | 7.863636 | 0.818182 | 0.358382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 242 | 10 | 69 | 24.2 | 0.901042 | 0 | 0 | 0 | 0 | 0 | 0.070248 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d4e1fb6fadac57079e39ff8f79001f2778246602 | 1,612 | py | Python | milestone_generation/milestones_generation.py | trolleway/osm-scripts | 07faf7091bdbd5615195081b47807e474520de40 | [
"Unlicense"
] | 2 | 2015-01-16T15:34:10.000Z | 2016-03-29T16:25:32.000Z | milestone_generation/milestones_generation.py | trolleway/osm-scripts | 07faf7091bdbd5615195081b47807e474520de40 | [
"Unlicense"
] | null | null | null | milestone_generation/milestones_generation.py | trolleway/osm-scripts | 07faf7091bdbd5615195081b47807e474520de40 | [
"Unlicense"
] | null | null | null | import os
import psycopg2
'''
generate milestones for single line in geojson file, using PostGIS.
input: source.json
output: route.gpx with route for garmin
View public.milestones in PostGIS database with points
'''
def process():
dbname='residential'
user='user'
host='localhost'
password='user'
try:
conn... | 20.935065 | 158 | 0.66067 | 216 | 1,612 | 4.787037 | 0.481481 | 0.067698 | 0.023211 | 0.030948 | 0.135397 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0.026688 | 0.209677 | 1,612 | 76 | 159 | 21.210526 | 0.784929 | 0 | 0 | 0.235294 | 1 | 0.058824 | 0.667137 | 0.105078 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.058824 | 0.039216 | null | null | 0.019608 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d4e6d19436377a3a552d3f7f43ed24e94fb6ced4 | 4,809 | py | Python | cancan/testapp/tests/test_core.py | pgorecki/django-cancango | c2859db27169af57862d7974b326140f253465f1 | [
"MIT"
] | 34 | 2020-09-02T11:28:03.000Z | 2022-03-17T08:18:02.000Z | cancan/testapp/tests/test_core.py | pgorecki/django-cancango | c2859db27169af57862d7974b326140f253465f1 | [
"MIT"
] | 2 | 2020-09-23T12:51:20.000Z | 2022-02-10T14:42:46.000Z | cancan/testapp/tests/test_core.py | pgorecki/django-cancango | c2859db27169af57862d7974b326140f253465f1 | [
"MIT"
] | null | null | null | from django.test import TestCase
from cancan.testapp.models import Article, User
from cancan.ability import Ability
from cancan.access_rules import AccessRules
class NoAbilitiesTestCase(TestCase):
def setUp(self):
self.user = User.objects.create(username="user1")
def test_no_abilities_can_model(self)... | 38.782258 | 79 | 0.689956 | 580 | 4,809 | 5.563793 | 0.12931 | 0.102262 | 0.074372 | 0.089247 | 0.793616 | 0.750852 | 0.718004 | 0.698172 | 0.688875 | 0.655408 | 0 | 0.006405 | 0.188397 | 4,809 | 123 | 80 | 39.097561 | 0.820395 | 0 | 0 | 0.56701 | 0 | 0 | 0.039093 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 1 | 0.206186 | false | 0 | 0.041237 | 0 | 0.309278 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
be18792ae720f71752889854c08a6e85cf0ca25c | 526 | py | Python | pytglib/api/types/call_problem_silent_remote.py | iTeam-co/pytglib | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 6 | 2019-10-30T08:57:27.000Z | 2021-02-08T14:17:43.000Z | pytglib/api/types/call_problem_silent_remote.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 1 | 2021-08-19T05:44:10.000Z | 2021-08-19T07:14:56.000Z | pytglib/api/types/call_problem_silent_remote.py | iTeam-co/python-telegram | e5e75e0a85f89b77762209b32a61b0a883c0ae61 | [
"MIT"
] | 5 | 2019-12-04T05:30:39.000Z | 2021-05-21T18:23:32.000Z |
from ..utils import Object
class CallProblemSilentRemote(Object):
"""
The other side couldn't hear the user
Attributes:
ID (:obj:`str`): ``CallProblemSilentRemote``
No parameters required.
Returns:
CallProblem
Raises:
:class:`telegram.Error`
"""
ID = "call... | 16.967742 | 58 | 0.604563 | 45 | 526 | 6.977778 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292776 | 526 | 30 | 59 | 17.533333 | 0.844086 | 0.355513 | 0 | 0 | 0 | 0 | 0.156997 | 0.156997 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.125 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
077b02b52ebb6e9022c6cfcdf19c239c97248d89 | 1,444 | py | Python | odoo/custom/src/private/picking_invoice_relation/__init__.py | ecosoft-odoo/mh-doodba | 093f14850aaff337951b4829b24bf32eee6e6d40 | [
"BSL-1.0"
] | 1 | 2021-10-03T08:11:18.000Z | 2021-10-03T08:11:18.000Z | odoo/custom/src/private/picking_invoice_relation/__init__.py | ecosoft-odoo/mh-doodba | 093f14850aaff337951b4829b24bf32eee6e6d40 | [
"BSL-1.0"
] | null | null | null | odoo/custom/src/private/picking_invoice_relation/__init__.py | ecosoft-odoo/mh-doodba | 093f14850aaff337951b4829b24bf32eee6e6d40 | [
"BSL-1.0"
] | null | null | null | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2010 Camptocamp (http://www.camptocamp.com)
# All Right Reserved
#
# Author : Nicolas Bessi (Camptocamp)
#
# WARNING: This program as such is intended to be used by professional
# programmers who ta... | 41.257143 | 78 | 0.684903 | 197 | 1,444 | 5.020305 | 0.654822 | 0.044489 | 0.039434 | 0.057634 | 0.082912 | 0.056623 | 0 | 0 | 0 | 0 | 0 | 0.01642 | 0.15651 | 1,444 | 34 | 79 | 42.470588 | 0.795567 | 0.812327 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
07855b6c8ced12a5fd210fbcb71d1c78baca6f55 | 1,151 | py | Python | slot/d/light.py | smashwidget/dl-1 | 352a65b9e40a623d7a9e5a693fa2b412f27d8cff | [
"Apache-2.0"
] | null | null | null | slot/d/light.py | smashwidget/dl-1 | 352a65b9e40a623d7a9e5a693fa2b412f27d8cff | [
"Apache-2.0"
] | null | null | null | slot/d/light.py | smashwidget/dl-1 | 352a65b9e40a623d7a9e5a693fa2b412f27d8cff | [
"Apache-2.0"
] | null | null | null | from slot import *
class Gilgamesh(DragonBase):
ele = 'light'
att = 124
a = [('a', 0.5)]
class PopStar_Siren(DragonBase):
ele = 'light'
att = 124
a = [('a', 0.4)]
class Cupid(DragonBase):
ele = 'light'
att = 119
a = [('a', 0.6)]
class Takemikazuchi(DragonBase):
ele = 'light'
... | 20.192982 | 46 | 0.550825 | 155 | 1,151 | 4.025806 | 0.322581 | 0.229167 | 0.317308 | 0.370192 | 0.290064 | 0.290064 | 0.129808 | 0.129808 | 0 | 0 | 0 | 0.088681 | 0.25543 | 1,151 | 57 | 47 | 20.192982 | 0.63944 | 0 | 0 | 0.391304 | 0 | 0 | 0.086806 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.021739 | 0 | 0.978261 | 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 | 1 | 0 | 0 | 4 |
079b86d5bb88b2df2506d6bb537e8ffe318be3a2 | 384 | py | Python | common/src/stack/command/stack/commands/set/appliance/__init__.py | sammeidinger/stack | a8085dce179dbe903f65f136f4b63bcc076cc057 | [
"BSD-3-Clause"
] | 123 | 2015-05-12T23:36:45.000Z | 2017-07-05T23:26:57.000Z | common/src/stack/command/stack/commands/set/appliance/__init__.py | sammeidinger/stack | a8085dce179dbe903f65f136f4b63bcc076cc057 | [
"BSD-3-Clause"
] | 177 | 2015-06-05T19:17:47.000Z | 2017-07-07T17:57:24.000Z | common/src/stack/command/stack/commands/set/appliance/__init__.py | sammeidinger/stack | a8085dce179dbe903f65f136f4b63bcc076cc057 | [
"BSD-3-Clause"
] | 32 | 2015-06-07T02:25:03.000Z | 2017-06-23T07:35:35.000Z | # @rocks@
# Copyright (c) 2000 - 2010 The Regents of the University of California
# All rights reserved. Rocks(r) v5.4 www.rocksclusters.org
# https://github.com/Teradata/stacki/blob/master/LICENSE-ROCKS.txt
# @rocks@
import stack.commands
from stack.argument_processors.appliance import ApplianceArgProcessor
class co... | 32 | 71 | 0.796875 | 51 | 384 | 5.980392 | 0.784314 | 0.085246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.101563 | 384 | 11 | 72 | 34.909091 | 0.855072 | 0.539063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
07a05062e280383f02093089984d9bedae82d994 | 4,828 | py | Python | hubspot/crm/objects/__init__.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 117 | 2020-04-06T08:22:53.000Z | 2022-03-18T03:41:29.000Z | hubspot/crm/objects/__init__.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 62 | 2020-04-06T16:21:06.000Z | 2022-03-17T16:50:44.000Z | hubspot/crm/objects/__init__.py | Ronfer/hubspot-api-python | 1c87274ecbba4aa3c7728f890ccc6e77b2b6d2e4 | [
"Apache-2.0"
] | 45 | 2020-04-06T16:13:52.000Z | 2022-03-30T21:33:17.000Z | # coding: utf-8
# flake8: noqa
"""
CRM Objects
CRM objects such as companies, contacts, deals, line items, products, tickets, and quotes are standard objects in HubSpot’s CRM. These core building blocks support custom properties, store critical information, and play a central role in the HubSpot application.... | 76.634921 | 1,327 | 0.850041 | 618 | 4,828 | 6.470874 | 0.307443 | 0.105026 | 0.136534 | 0.204801 | 0.43861 | 0.350088 | 0.219555 | 0.179545 | 0.098775 | 0.070268 | 0 | 0.002255 | 0.081607 | 4,828 | 62 | 1,328 | 77.870968 | 0.899639 | 0.31628 | 0 | 0 | 0 | 0 | 0.001528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.97561 | 0 | 0.97561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6af2657c31c8bd5e50c66bd19dd68fc1742bfcaa | 135 | py | Python | wimp/astro/__init__.py | lopez86/WimpSim | 096cf9f3e3e3d8e4552418a9f4f690593d099160 | [
"MIT"
] | 2 | 2020-09-25T10:48:24.000Z | 2020-12-29T19:56:04.000Z | wimp/astro/__init__.py | lopez86/WimpSim | 096cf9f3e3e3d8e4552418a9f4f690593d099160 | [
"MIT"
] | 1 | 2017-06-12T01:12:15.000Z | 2017-06-17T06:33:16.000Z | wimp/astro/__init__.py | lopez86/PyWIMPs | 096cf9f3e3e3d8e4552418a9f4f690593d099160 | [
"MIT"
] | null | null | null | from .VelocityDist import VelocityDist
from .AstroModel import AstroModel
from .Coordinates import Coordinates
from . import locations
| 27 | 38 | 0.851852 | 15 | 135 | 7.666667 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118519 | 135 | 4 | 39 | 33.75 | 0.966387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ed4c04eaafcc1227bf65786ddbae9bee1f9a737b | 4,851 | py | Python | neo/SmartContract/tests/test_breakpoints.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 387 | 2017-07-17T18:25:54.000Z | 2021-11-18T06:19:47.000Z | neo/SmartContract/tests/test_breakpoints.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 967 | 2017-08-19T15:48:03.000Z | 2021-06-01T21:42:39.000Z | neo/SmartContract/tests/test_breakpoints.py | volekerb/neo-python | 5bdded2c339219355cf1d31ae58653b0f94c6e51 | [
"MIT"
] | 286 | 2017-07-17T03:44:36.000Z | 2021-11-18T06:19:32.000Z | from neo.Utils.WalletFixtureTestCase import WalletFixtureTestCase
from neo.Implementations.Wallets.peewee.UserWallet import UserWallet
from neo.Core.UInt160 import UInt160
from neo.Core.Fixed8 import Fixed8
from neo.Prompt.Commands.BuildNRun import BuildAndRun
from neo.Wallets.utils import to_aes_key
from neo.Settings ... | 68.323944 | 2,067 | 0.833436 | 330 | 4,851 | 12.09697 | 0.4 | 0.014028 | 0.022044 | 0.014529 | 0.176854 | 0.145792 | 0.145792 | 0.145792 | 0.145792 | 0.145792 | 0 | 0.022774 | 0.103896 | 4,851 | 70 | 2,068 | 69.3 | 0.89556 | 0 | 0 | 0.272727 | 0 | 0.036364 | 0.490827 | 0.479695 | 0 | 1 | 0 | 0 | 0.145455 | 1 | 0.090909 | false | 0.018182 | 0.181818 | 0 | 0.418182 | 0.036364 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ed53036116df8483e3b8abfdcce84446caf4567b | 212 | py | Python | labs/denis_senchishen/lab_2/task_1/main.py | kipiek-ksu/programming-141-2021 | a26fa353db0e8d060a5f45a7e7c41f323703826a | [
"MIT"
] | 3 | 2021-02-27T08:22:49.000Z | 2021-03-16T15:49:23.000Z | labs/denis_senchishen/lab_2/task_1/main.py | kipiek-ksu/programming-141-2021 | a26fa353db0e8d060a5f45a7e7c41f323703826a | [
"MIT"
] | 8 | 2021-03-02T16:02:10.000Z | 2021-06-10T09:40:57.000Z | labs/denis_senchishen/lab_2/task_1/main.py | kipiek-ksu/programming-141-2021 | a26fa353db0e8d060a5f45a7e7c41f323703826a | [
"MIT"
] | 3 | 2021-02-26T15:42:09.000Z | 2021-05-28T09:21:54.000Z | def sum_two_numbers(arg1, arg2):
return arg1 + arg2
if __name__ == '__main__':
number_1 = int(input("Number 1: "))
number_2 = int(input("Number 2: "))
print(sum_two_numbers(number_1, number_2))
| 23.555556 | 46 | 0.660377 | 32 | 212 | 3.875 | 0.5 | 0.169355 | 0.209677 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05848 | 0.193396 | 212 | 8 | 47 | 26.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 4 |
ed552317659ade16ed861f02b168ba1b3f2d5df6 | 52 | py | Python | Python/S1001.py | irostub/Beakjoon-Problem-Solving | 3a230cbd16ade4ed7cc1da7f36085853d69d673d | [
"Beerware"
] | null | null | null | Python/S1001.py | irostub/Beakjoon-Problem-Solving | 3a230cbd16ade4ed7cc1da7f36085853d69d673d | [
"Beerware"
] | null | null | null | Python/S1001.py | irostub/Beakjoon-Problem-Solving | 3a230cbd16ade4ed7cc1da7f36085853d69d673d | [
"Beerware"
] | null | null | null | a, b = list(input().split())
print(int(a) - int(b))
| 17.333333 | 28 | 0.557692 | 10 | 52 | 2.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 2 | 29 | 26 | 0.644444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ed73b79a1f2861338d388b5e567b16d0a91ec89a | 198 | py | Python | build_you/schemas/auth.py | bostud/build_you | 258a336a82a1da9efc102770f5d8bf83abc13379 | [
"MIT"
] | null | null | null | build_you/schemas/auth.py | bostud/build_you | 258a336a82a1da9efc102770f5d8bf83abc13379 | [
"MIT"
] | null | null | null | build_you/schemas/auth.py | bostud/build_you | 258a336a82a1da9efc102770f5d8bf83abc13379 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class AuthBase(BaseModel):
email: str
password: str
class AuthLogin(AuthBase):
remember_me: bool
class AuthSuccess(BaseModel):
cookie_token: str
| 13.2 | 30 | 0.732323 | 23 | 198 | 6.217391 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20202 | 198 | 14 | 31 | 14.142857 | 0.905063 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.125 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
71e9d52266cec497f23919c4ab5c176950b3dbe8 | 173 | py | Python | scroll_project/scroll_project/views.py | iamrobinhood12345/scroll | 7514aec714cc2324cc3605a0d9a79238f26a36da | [
"Apache-2.0"
] | null | null | null | scroll_project/scroll_project/views.py | iamrobinhood12345/scroll | 7514aec714cc2324cc3605a0d9a79238f26a36da | [
"Apache-2.0"
] | null | null | null | scroll_project/scroll_project/views.py | iamrobinhood12345/scroll | 7514aec714cc2324cc3605a0d9a79238f26a36da | [
"Apache-2.0"
] | null | null | null | """Views for main app."""
from django.views.generic import TemplateView
class HomeView(TemplateView):
"""Home View."""
template_name = 'scroll_project/home.html'
| 19.222222 | 46 | 0.710983 | 21 | 173 | 5.761905 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150289 | 173 | 8 | 47 | 21.625 | 0.823129 | 0.17341 | 0 | 0 | 0 | 0 | 0.181818 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
71f4d56dd908ba47eb32f2873aea093300d72fe9 | 50 | py | Python | black_scholes_merton/__init__.py | hsjharvey/option-pricing | ad81cd82f5e29cc28040fd543ab148818a167cb7 | [
"MIT"
] | 2 | 2019-10-24T12:06:14.000Z | 2019-12-03T20:20:22.000Z | black_scholes_merton/__init__.py | hsjharvey/option-pricing | ad81cd82f5e29cc28040fd543ab148818a167cb7 | [
"MIT"
] | null | null | null | black_scholes_merton/__init__.py | hsjharvey/option-pricing | ad81cd82f5e29cc28040fd543ab148818a167cb7 | [
"MIT"
] | null | null | null | from black_scholes_merton import BSM_option_class
| 25 | 49 | 0.92 | 8 | 50 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c173c35632e76fa06d8e935434313f98cbf82dc | 743 | py | Python | chapter-10/personal_information_class.py | KwabenaYeboah/Solved-python-programming-Challenges-Source-code | f05621286bd921329805f66f429657d7e1b6d0b4 | [
"MIT"
] | null | null | null | chapter-10/personal_information_class.py | KwabenaYeboah/Solved-python-programming-Challenges-Source-code | f05621286bd921329805f66f429657d7e1b6d0b4 | [
"MIT"
] | null | null | null | chapter-10/personal_information_class.py | KwabenaYeboah/Solved-python-programming-Challenges-Source-code | f05621286bd921329805f66f429657d7e1b6d0b4 | [
"MIT"
] | null | null | null | #This is a Personal class module
class Personal:
def __init__(self,name,address,age,phone_number):
self.__name = name
self.__address = address
self.__age = age
self.__phone_number = phone_number
def set_name(self,name):
self.__name = name
def set_address(self,addr... | 20.638889 | 53 | 0.635262 | 96 | 743 | 4.447917 | 0.177083 | 0.23185 | 0.140515 | 0.093677 | 0.196721 | 0.135831 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288022 | 743 | 35 | 54 | 21.228571 | 0.807183 | 0.041723 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0 | 0 | 0.181818 | 0.636364 | 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 | 1 | 0 | 0 | 4 |
9c19c9014d0b96ddaacfb386c80d7cd174c711d5 | 158 | py | Python | plugins/email_requests/__init__.py | glemercier/electrum-smart | 884bb3eecbba593144b0c77192f2eb7211f97e38 | [
"MIT"
] | 10 | 2018-01-05T16:05:21.000Z | 2020-09-16T15:19:29.000Z | plugins/email_requests/__init__.py | glemercier/electrum-smart | 884bb3eecbba593144b0c77192f2eb7211f97e38 | [
"MIT"
] | 37 | 2018-06-05T17:01:53.000Z | 2022-02-11T10:15:00.000Z | plugins/email_requests/__init__.py | glemercier/electrum-smart | 884bb3eecbba593144b0c77192f2eb7211f97e38 | [
"MIT"
] | 9 | 2018-05-24T05:47:02.000Z | 2021-09-13T11:17:08.000Z | #from electrum_smart.i18n import _
#fullname = _('Email')
#description = _("Send and receive payment request with an email account")
#available_for = ['qt']
| 26.333333 | 74 | 0.734177 | 20 | 158 | 5.55 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.139241 | 158 | 5 | 75 | 31.6 | 0.801471 | 0.943038 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c288f1a9fdba18e66790c1211853abe8dc2dd79 | 60 | py | Python | cinebot_mini/__init__.py | cheng-chi/cinebot_mini | 708a7c80d2f203dfe3b52bf84d9cbafac7673d27 | [
"MIT"
] | null | null | null | cinebot_mini/__init__.py | cheng-chi/cinebot_mini | 708a7c80d2f203dfe3b52bf84d9cbafac7673d27 | [
"MIT"
] | null | null | null | cinebot_mini/__init__.py | cheng-chi/cinebot_mini | 708a7c80d2f203dfe3b52bf84d9cbafac7673d27 | [
"MIT"
] | null | null | null | from .global_config import \
(SERVERS,
TRANSFORMS)
| 15 | 28 | 0.666667 | 6 | 60 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 60 | 3 | 29 | 20 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c302ce14eb73f7bb4b7d32679097d471c366579 | 177 | py | Python | session_03/task_four.py | dravate/spark_python_course | 519389fdb21d78cd6d19e1ad2f7c782bc1449a83 | [
"MIT"
] | null | null | null | session_03/task_four.py | dravate/spark_python_course | 519389fdb21d78cd6d19e1ad2f7c782bc1449a83 | [
"MIT"
] | null | null | null | session_03/task_four.py | dravate/spark_python_course | 519389fdb21d78cd6d19e1ad2f7c782bc1449a83 | [
"MIT"
] | 1 | 2021-07-27T14:16:39.000Z | 2021-07-27T14:16:39.000Z | a = int(input("Enter First Number: "))
b = int(input("Enter Second Number: "))
if b == 0:
print ("You tried to divide {} by zero".format(a))
print("xyz")
print ("Hello")
| 22.125 | 54 | 0.60452 | 28 | 177 | 3.821429 | 0.714286 | 0.149533 | 0.242991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.19209 | 177 | 7 | 55 | 25.285714 | 0.741259 | 0 | 0 | 0 | 0 | 0 | 0.446328 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
9c817154c184001f3a32d91c7550e5a54b333ec9 | 72 | py | Python | modules/fd/__init__.py | axelniklasson/selfstabilizingreconfiguration | 8c32179fe49e863ac46581db9067761d525a3c2a | [
"MIT"
] | 6 | 2019-11-12T01:45:55.000Z | 2022-03-18T10:57:21.000Z | modules/fd/__init__.py | axelniklasson/selfstabilizingreconfiguration | 8c32179fe49e863ac46581db9067761d525a3c2a | [
"MIT"
] | 4 | 2019-02-14T10:57:09.000Z | 2019-03-21T15:22:08.000Z | modules/primary_monitoring/__init__.py | sspbft/BFTList | d73aee5bd0ab05995509f0fcfaf3c0a5944e617a | [
"MIT"
] | 1 | 2019-04-04T15:09:33.000Z | 2019-04-04T15:09:33.000Z | """Package containing code related to the Primary Monitoring module."""
| 36 | 71 | 0.777778 | 9 | 72 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 1 | 72 | 72 | 0.888889 | 0.902778 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92cc050cf4e9db96fdaeb63ee45ee4f08d5bee1f | 85 | py | Python | jet_django/deps/rest_framework/authtoken/__init__.py | lukejamison/jet-dasboard | 5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9 | [
"MIT"
] | 193 | 2018-08-27T06:10:48.000Z | 2022-03-08T13:04:55.000Z | jet_django/deps/rest_framework/authtoken/__init__.py | lukejamison/jet-dasboard | 5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9 | [
"MIT"
] | 23 | 2018-10-21T15:05:41.000Z | 2020-12-20T15:18:58.000Z | jet_django/deps/rest_framework/authtoken/__init__.py | lukejamison/jet-dasboard | 5dce66b6ea2f107d7120e5e0256346d2d3bc8ed9 | [
"MIT"
] | 38 | 2018-10-31T16:19:25.000Z | 2022-02-10T05:08:24.000Z | default_app_config = 'jet_django.deps.rest_framework.authtoken.apps.AuthTokenConfig'
| 42.5 | 84 | 0.870588 | 11 | 85 | 6.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 85 | 1 | 85 | 85 | 0.853659 | 0 | 0 | 0 | 0 | 0 | 0.717647 | 0.717647 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92dc842a3a4d294dba7465ad49d20682635989f2 | 33,444 | py | Python | venv/lib/python3.6/site-packages/ansible_collections/cisco/asa/plugins/modules/asa_ogs.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 1 | 2020-01-22T13:11:23.000Z | 2020-01-22T13:11:23.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/asa/plugins/modules/asa_ogs.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | 12 | 2020-02-21T07:24:52.000Z | 2020-04-14T09:54:32.000Z | venv/lib/python3.6/site-packages/ansible_collections/cisco/asa/plugins/modules/asa_ogs.py | usegalaxy-no/usegalaxy | 75dad095769fe918eb39677f2c887e681a747f3a | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
#############################################
# WARNING #
#############################################
#
# This file is au... | 30.966667 | 120 | 0.567127 | 3,955 | 33,444 | 4.662705 | 0.091783 | 0.086004 | 0.025595 | 0.062903 | 0.737812 | 0.712109 | 0.695461 | 0.677132 | 0.67133 | 0.646494 | 0 | 0.062409 | 0.339792 | 33,444 | 1,079 | 121 | 30.995366 | 0.772781 | 0.017791 | 0 | 0.745729 | 0 | 0.005025 | 0.971011 | 0.008663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001005 | false | 0.00201 | 0.005025 | 0 | 0.00603 | 0.001005 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92e2b59c31eb4cb14b2724a72acad7871664b0ab | 72 | py | Python | organizations/yukitea_ry/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 13 | 2015-11-29T12:19:12.000Z | 2021-02-21T15:42:11.000Z | organizations/yukitea_ry/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 23 | 2015-04-29T19:43:34.000Z | 2021-02-10T05:50:17.000Z | organizations/yukitea_ry/__init__.py | darkismus/kompassi | 35dea2c7af2857a69cae5c5982b48f01ba56da1f | [
"CC-BY-3.0"
] | 11 | 2015-09-20T18:59:00.000Z | 2020-02-07T08:47:34.000Z | default_app_config = 'organizations.yukitea_ry.apps.YukiteaRyAppConfig'
| 36 | 71 | 0.875 | 8 | 72 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 72 | 1 | 72 | 72 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
92e762c19a508f2fc32a1cb2a151117937a5cf5f | 471 | py | Python | scraper/scraper/items.py | anthoitaker/randall | 407f78a3e1d8c8b86d26286c025f8ffda9ba1f40 | [
"MIT"
] | 1 | 2018-08-01T06:08:27.000Z | 2018-08-01T06:08:27.000Z | scraper/scraper/items.py | anthoitaker/randall | 407f78a3e1d8c8b86d26286c025f8ffda9ba1f40 | [
"MIT"
] | 4 | 2020-06-07T09:07:59.000Z | 2021-06-09T17:27:47.000Z | scraper/scraper/items.py | anthoitaker/randall | 407f78a3e1d8c8b86d26286c025f8ffda9ba1f40 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import scrapy
from scrapy.loader.processors import TakeFirst
class TroubleItem(scrapy.Item):
code = scrapy.Field(output_processor=TakeFirst())
title = scrapy.Field(output_processor=TakeFirst())
original_title = scrapy.Field(output_processor=TakeFirst())
system = scrapy.Field(o... | 29.4375 | 63 | 0.721868 | 52 | 471 | 6.442308 | 0.442308 | 0.262687 | 0.202985 | 0.310448 | 0.447761 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0.002506 | 0.152866 | 471 | 15 | 64 | 31.4 | 0.837093 | 0.044586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 1 | 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 | 1 | 0 | 0 | 4 |
13106e42bbc6b0105e332d08ef39e76509ffbe40 | 161 | py | Python | app/urls.py | Josephchinedu/mail-extractor | d46f1394e766c1a0e5f53c7058f70c56af59014a | [
"MIT"
] | 1 | 2021-07-16T08:14:25.000Z | 2021-07-16T08:14:25.000Z | app/urls.py | Josephchinedu/mail-extractor | d46f1394e766c1a0e5f53c7058f70c56af59014a | [
"MIT"
] | 10 | 2021-07-14T10:46:23.000Z | 2021-07-16T08:11:09.000Z | app/urls.py | Josephchinedu/mail-extractor | d46f1394e766c1a0e5f53c7058f70c56af59014a | [
"MIT"
] | null | null | null | from django.urls import path
from .views import *
urlpatterns = [
path('', homepageview),
path('extract/', email_extractor_view, name="extract-email")
] | 23 | 64 | 0.701863 | 19 | 161 | 5.842105 | 0.684211 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15528 | 161 | 7 | 65 | 23 | 0.816176 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
132e52d4b9799dcb491f8c8ddb46cf8ce582763e | 266 | py | Python | tests/testlibraries/analyzer_for_test.py | yukihiko-shinoda/parallel-html-scraper | b2aaab7b31907cf679e78fd1a66828516d504645 | [
"MIT"
] | 1 | 2021-05-10T09:28:57.000Z | 2021-05-10T09:28:57.000Z | tests/testlibraries/analyzer_for_test.py | yukihiko-shinoda/parallel-html-scraper | b2aaab7b31907cf679e78fd1a66828516d504645 | [
"MIT"
] | 5 | 2020-03-24T17:42:52.000Z | 2020-08-08T11:30:38.000Z | tests/testlibraries/analyzer_for_test.py | yukihiko-shinoda/parallel-html-scraper | b2aaab7b31907cf679e78fd1a66828516d504645 | [
"MIT"
] | null | null | null | """Analizer for test."""
from bs4 import BeautifulSoup # type: ignore
from parallelhtmlscraper.html_analyzer import HtmlAnalyzer
class AnalyzerForTest(HtmlAnalyzer):
async def execute(self, soup: BeautifulSoup) -> str:
return soup.find("title").text
| 26.6 | 58 | 0.74812 | 30 | 266 | 6.6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.154135 | 266 | 9 | 59 | 29.555556 | 0.875556 | 0.120301 | 0 | 0 | 0 | 0 | 0.02193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
134ba9019f3a3c0a0bc5a8a7116270a05ea2183f | 124 | py | Python | src/MyAbc.py | sunabove/MyTensor | 1ca68dd9f5cc478a854ce356801ac57d881094d9 | [
"MIT"
] | null | null | null | src/MyAbc.py | sunabove/MyTensor | 1ca68dd9f5cc478a854ce356801ac57d881094d9 | [
"MIT"
] | null | null | null | src/MyAbc.py | sunabove/MyTensor | 1ca68dd9f5cc478a854ce356801ac57d881094d9 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import tensorflow as tf
if __name__ == '__main__':
print( "Hello" )
print( tf.__version__ ) | 17.714286 | 27 | 0.612903 | 15 | 124 | 4.266667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.217742 | 124 | 7 | 27 | 17.714286 | 0.649485 | 0.16129 | 0 | 0 | 0 | 0 | 0.126214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1358c2a7c92c8f7ed8f7f2285cd0826cb9989934 | 204 | py | Python | tests/files/select/serializers.py | wq/xlsform-converter | 3a9ae093db5783aaadf835508aaa948591000573 | [
"MIT"
] | 17 | 2016-01-26T17:53:59.000Z | 2022-02-10T03:05:38.000Z | tests/files/select/serializers.py | wq/xlsform-converter | 3a9ae093db5783aaadf835508aaa948591000573 | [
"MIT"
] | 6 | 2016-01-27T16:54:54.000Z | 2020-09-02T08:16:19.000Z | tests/files/select/serializers.py | wq/xlsform-converter | 3a9ae093db5783aaadf835508aaa948591000573 | [
"MIT"
] | 6 | 2016-07-25T06:24:11.000Z | 2022-03-31T17:33:54.000Z | from wq.db.patterns import serializers as patterns
from .models import Select
class SelectSerializer(patterns.AttachedModelSerializer):
class Meta:
model = Select
fields = "__all__"
| 22.666667 | 57 | 0.735294 | 22 | 204 | 6.636364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 204 | 8 | 58 | 25.5 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0.034314 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
136b8890d8fbd268e58b9edd340d7409646644b4 | 305 | py | Python | learn-to-code-with-python/09-Lists-The-Basics/the-in-and-not-in-operators-on-a-list.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | learn-to-code-with-python/09-Lists-The-Basics/the-in-and-not-in-operators-on-a-list.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | learn-to-code-with-python/09-Lists-The-Basics/the-in-and-not-in-operators-on-a-list.py | MaciejZurek/python_practicing | 0a426f2aed151573e1f8678e0239ff596d92bbde | [
"MIT"
] | null | null | null | print("fast" in "breakfast")
print("fast" in "dinner")
meals = ["breakfast", "lunch", "dinner"]
print("lunch" in meals)
test_scores = [99.0, 35.0, 23.5]
print(99.0 in test_scores)
print(99 in test_scores)
print(26 not in test_scores)
if 100 not in test_scores:
print("That value is not in there") | 20.333333 | 40 | 0.688525 | 54 | 305 | 3.796296 | 0.407407 | 0.243902 | 0.234146 | 0.24878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07393 | 0.157377 | 305 | 15 | 41 | 20.333333 | 0.723735 | 0 | 0 | 0 | 0 | 0 | 0.24183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.7 | 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 | 1 | 0 | 4 |
139cd5031adc998030f14a65d3190e87fe15bd0d | 202 | py | Python | graph4nlp/pytorch/modules/evaluation/base.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | 18 | 2020-09-09T03:33:29.000Z | 2021-07-22T11:17:16.000Z | graph4nlp/pytorch/modules/evaluation/base.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | null | null | null | graph4nlp/pytorch/modules/evaluation/base.py | stjordanis/graph4nlp | c6ebde32bc77d3a7b78f86a93f19b1c057963ffa | [
"Apache-2.0"
] | 1 | 2021-02-19T19:46:03.000Z | 2021-02-19T19:46:03.000Z | class EvaluationMetricBase:
"""
Base class for evaluation metric
"""
def __init__(self):
pass
def calculate_scores(self, **kwargs):
raise NotImplementedError()
| 18.363636 | 41 | 0.618812 | 18 | 202 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292079 | 202 | 10 | 42 | 20.2 | 0.839161 | 0.158416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
13a41b708e4e53b28106d55d4bc936f5e7873602 | 280 | py | Python | gitql/errors.py | mackong/gitql | ca6ca3f99106385ca5876abfa0410a5f216a2444 | [
"MIT"
] | null | null | null | gitql/errors.py | mackong/gitql | ca6ca3f99106385ca5876abfa0410a5f216a2444 | [
"MIT"
] | null | null | null | gitql/errors.py | mackong/gitql | ca6ca3f99106385ca5876abfa0410a5f216a2444 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from . import red
class GitQLError(Exception):
"""Exceptions in gitql."""
def __init__(self, message):
self.message = message
def __str__(self):
return '{}: {}'.format(red('GitQLError'), self.message)
| 18.666667 | 63 | 0.603571 | 32 | 280 | 5.03125 | 0.71875 | 0.204969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004566 | 0.217857 | 280 | 14 | 64 | 20 | 0.730594 | 0.225 | 0 | 0 | 0 | 0 | 0.07619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 4 |
13a6a9e71723b7543fc632840e6aca0017d3cb35 | 438 | py | Python | pipex/ext/tqdm.py | Algy/pipex | 02b958f67b32cad4a492d098a2ed73f971c6ac5f | [
"MIT"
] | 3 | 2018-12-24T03:48:40.000Z | 2018-12-24T04:07:36.000Z | pipex/ext/tqdm.py | Algy/pipex | 02b958f67b32cad4a492d098a2ed73f971c6ac5f | [
"MIT"
] | 2 | 2021-03-18T21:56:12.000Z | 2021-09-08T00:47:14.000Z | pipex/ext/tqdm.py | Algy/pipex | 02b958f67b32cad4a492d098a2ed73f971c6ac5f | [
"MIT"
] | null | null | null | from ..poperators import pipe
class tqdm(pipe):
def transform(self, our, precords):
from tqdm import tqdm
yield from tqdm(precords)
class tqdm_notebook(pipe):
def transform(self, our, precords):
from tqdm import tqdm_notebook
yield from tqdm_notebook(precords)
class tqdm_gui(p... | 25.764706 | 42 | 0.684932 | 58 | 438 | 5.068966 | 0.241379 | 0.163265 | 0.163265 | 0.204082 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | 0 | 0 | 0.242009 | 438 | 16 | 43 | 27.375 | 0.885542 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
13b15eca99ff62d5cd76ae0ee12743c173953811 | 128 | py | Python | LeetCode/Power of Three.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 13 | 2021-09-02T07:30:02.000Z | 2022-03-22T19:32:03.000Z | LeetCode/Apr 2021 Leetcoding Challenge/Power of Three.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | null | null | null | LeetCode/Apr 2021 Leetcoding Challenge/Power of Three.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 3 | 2021-08-24T16:06:22.000Z | 2021-09-17T15:39:53.000Z | class Solution:
def isPowerOfThree(self, n: int) -> bool:
return n == 3 ** round(math.log(n, 3)) if n > 0 else False | 42.666667 | 66 | 0.601563 | 21 | 128 | 3.666667 | 0.809524 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.25 | 128 | 3 | 66 | 42.666667 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
13b800e3914f682dafacb6bb754e916ded8a3bf9 | 17,645 | py | Python | sdk/python/pulumi_azure/servicebus/topic.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/servicebus/topic.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure/servicebus/topic.py | suresh198526/pulumi-azure | bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from .. import _utilitie... | 51.897059 | 201 | 0.673619 | 2,102 | 17,645 | 5.435775 | 0.128449 | 0.051987 | 0.036758 | 0.024943 | 0.741992 | 0.711798 | 0.705846 | 0.697007 | 0.678453 | 0.670313 | 0 | 0.006565 | 0.248909 | 17,645 | 339 | 202 | 52.050147 | 0.85558 | 0.459847 | 0 | 0.277419 | 1 | 0 | 0.161043 | 0.059584 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109677 | false | 0.006452 | 0.032258 | 0.012903 | 0.251613 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
13e4557af7513a92e71d2106ad404985e826fd91 | 89 | py | Python | tests/float/list_index.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/float/list_index.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/float/list_index.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | x = [1, 2]
print(x[1])
try:
print(x[1.0])
except TypeError:
print("TypeError")
| 9.888889 | 22 | 0.561798 | 15 | 89 | 3.333333 | 0.533333 | 0.12 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072464 | 0.224719 | 89 | 8 | 23 | 11.125 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
13e702ba0fd906679f5d840bdd5fbfef5d24e020 | 60 | py | Python | migrate.py | ruo666/weibo | 13f6003ae8de5044d05065ef485980bd3ba2bce9 | [
"Apache-2.0"
] | null | null | null | migrate.py | ruo666/weibo | 13f6003ae8de5044d05065ef485980bd3ba2bce9 | [
"Apache-2.0"
] | null | null | null | migrate.py | ruo666/weibo | 13f6003ae8de5044d05065ef485980bd3ba2bce9 | [
"Apache-2.0"
] | null | null | null | from flask_migrate import Migrate
migrate=Migrate(app,db)
| 12 | 33 | 0.816667 | 9 | 60 | 5.333333 | 0.666667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 4 | 34 | 15 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b932f4f33014489d43f1cda388dd056c4be74c4c | 54 | py | Python | elementary/is_even.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | elementary/is_even.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | elementary/is_even.py | NigrumAquila/py_checkio | df437c2c3ad325d84714665000e3299a70e91f32 | [
"MIT"
] | null | null | null | def is_even(num: int) -> bool:
return num % 2 == 0 | 27 | 30 | 0.574074 | 10 | 54 | 3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.259259 | 54 | 2 | 31 | 27 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
b95731af19a84b27b8c2b011f977960a2543c05e | 13,238 | py | Python | autotest/alg/applyverticalshiftgrid.py | jcphill/gdal | 98c9ecf8513325bb69888d368bd9a0d54b79e72b | [
"Apache-2.0"
] | null | null | null | autotest/alg/applyverticalshiftgrid.py | jcphill/gdal | 98c9ecf8513325bb69888d368bd9a0d54b79e72b | [
"Apache-2.0"
] | 1 | 2022-02-26T19:07:05.000Z | 2022-02-27T00:11:45.000Z | autotest/alg/applyverticalshiftgrid.py | jcphill/gdal | 98c9ecf8513325bb69888d368bd9a0d54b79e72b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env pytest
# -*- coding: utf-8 -*-
###############################################################################
# $Id$
#
# Project: GDAL/OGR Test Suite
# Purpose: Test GDALApplyVerticalShiftGrid algorithm.
# Author: Even Rouault <even dot rouault at spatialys dot com>
#
###############################... | 40.48318 | 126 | 0.609458 | 1,660 | 13,238 | 4.707229 | 0.170482 | 0.05247 | 0.063476 | 0.061428 | 0.743921 | 0.727796 | 0.708088 | 0.700921 | 0.632966 | 0.580369 | 0 | 0.040927 | 0.208189 | 13,238 | 326 | 127 | 40.607362 | 0.704541 | 0.144508 | 0 | 0.734884 | 0 | 0.009302 | 0.078405 | 0.043781 | 0 | 0 | 0 | 0 | 0.148837 | 1 | 0.032558 | false | 0 | 0.009302 | 0 | 0.04186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b968c19a37e21aafc76a0a4941f9a937b81bcceb | 97 | py | Python | python/python/Jetson/Inference/__init__.py | TomEelbode/jetson-inference | a8c2e27e58bc8d9a246f3ba4126c19641c8c2dae | [
"MIT"
] | 3 | 2020-01-31T11:27:17.000Z | 2021-03-18T02:57:26.000Z | python/python/Jetson/Inference/__init__.py | TomEelbode/jetson-inference | a8c2e27e58bc8d9a246f3ba4126c19641c8c2dae | [
"MIT"
] | 1 | 2019-11-13T18:59:44.000Z | 2019-11-13T18:59:44.000Z | python/python/Jetson/Inference/__init__.py | TomEelbode/jetson-inference | a8c2e27e58bc8d9a246f3ba4126c19641c8c2dae | [
"MIT"
] | 1 | 2019-12-15T20:48:06.000Z | 2019-12-15T20:48:06.000Z |
print("Jetson.Inference.__init__.py")
from jetson_inference_python import *
VERSION = '1.0.0'
| 13.857143 | 37 | 0.752577 | 14 | 97 | 4.785714 | 0.785714 | 0.447761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.113402 | 97 | 6 | 38 | 16.166667 | 0.744186 | 0 | 0 | 0 | 0 | 0 | 0.34375 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b96b0c0657a6b80d37989fc2458eb2d3aa307f9f | 69 | py | Python | src/secret_key.py | MattEding/Tile-Pattern | a1e58b9f0600f5a52dd85cd39808b90c0e684e16 | [
"MIT"
] | null | null | null | src/secret_key.py | MattEding/Tile-Pattern | a1e58b9f0600f5a52dd85cd39808b90c0e684e16 | [
"MIT"
] | null | null | null | src/secret_key.py | MattEding/Tile-Pattern | a1e58b9f0600f5a52dd85cd39808b90c0e684e16 | [
"MIT"
] | null | null | null | import secrets
secret_key = secrets.token_hex(16)
print(secret_key)
| 13.8 | 34 | 0.811594 | 11 | 69 | 4.818182 | 0.727273 | 0.339623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.101449 | 69 | 4 | 35 | 17.25 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
b9a9eed80a88934f20ca55923a182a5612daf617 | 292 | py | Python | rstbx/bpcx/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 2 | 2021-03-18T12:31:57.000Z | 2022-03-14T06:27:06.000Z | rstbx/bpcx/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | null | null | null | rstbx/bpcx/__init__.py | hbrunie/cctbx_project | 2d8cb383d50fe20cdbbe4bebae8ed35fabce61e5 | [
"BSD-3-Clause-LBNL"
] | 1 | 2021-03-26T12:52:30.000Z | 2021-03-26T12:52:30.000Z | from __future__ import absolute_import, division, print_function
# usage:
#
# from rstbx.bpcx import sensor
from cctbx.array_family import flex # import dependency
import boost.python
ext = boost.python.import_ext("rstbx_bpcx_detector_model_ext")
from rstbx_bpcx_detector_model_ext import *
| 29.2 | 64 | 0.832192 | 42 | 292 | 5.404762 | 0.5 | 0.118943 | 0.114537 | 0.193833 | 0.220264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106164 | 292 | 9 | 65 | 32.444444 | 0.869732 | 0.184932 | 0 | 0 | 0 | 0 | 0.124464 | 0.124464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
b9ed0148be990a2aee8c12838464a67f043df12a | 209 | py | Python | raven/security/models.py | dantin/raven | 4cf741174532aacbcd71696eafcf1bd302651b2e | [
"BSD-3-Clause"
] | null | null | null | raven/security/models.py | dantin/raven | 4cf741174532aacbcd71696eafcf1bd302651b2e | [
"BSD-3-Clause"
] | null | null | null | raven/security/models.py | dantin/raven | 4cf741174532aacbcd71696eafcf1bd302651b2e | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from flask_appbuilder.security.sqla.models import User
from sqlalchemy import Column, String
class RavenUser(User):
__tablename__ = 'ab_user'
jabber_id = Column(String(255))
| 20.9 | 54 | 0.727273 | 27 | 209 | 5.37037 | 0.777778 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.157895 | 209 | 9 | 55 | 23.222222 | 0.801136 | 0.100478 | 0 | 0 | 0 | 0 | 0.037634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6a00f6233e4ad89124482a1277e1e92100ff8760 | 1,293 | py | Python | lib/models/cnn/__init__.py | pprp/pytorch-cifar-model-zoo | e7e68d8162a77aee2161bcd3cd70c20ddd7ef7ab | [
"MIT"
] | 23 | 2021-12-16T02:08:51.000Z | 2022-03-31T00:21:22.000Z | lib/models/cnn/__init__.py | pprp/pytorch-cifar-tricks | e7e68d8162a77aee2161bcd3cd70c20ddd7ef7ab | [
"MIT"
] | 3 | 2021-12-26T13:28:01.000Z | 2022-03-21T08:31:15.000Z | lib/models/cnn/__init__.py | pprp/pytorch-cifar-tricks | e7e68d8162a77aee2161bcd3cd70c20ddd7ef7ab | [
"MIT"
] | 5 | 2022-01-03T14:53:59.000Z | 2022-02-10T02:24:51.000Z | from .attention import *
from .cbam_resnext import cbam_resnext29_8x64d, cbam_resnext29_16x64d
from .densenet import *
from .dla import *
from .dpn import DPN26
from .efficientnetb0 import *
from .genet import ge_resnext29_8x64d, ge_resnext29_16x64d
from .googlenet import *
from .inceptionv3 import *
from .inceptionv4 ... | 34.026316 | 69 | 0.740913 | 149 | 1,293 | 6.234899 | 0.355705 | 0.258342 | 0.061356 | 0.051668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069066 | 0.20495 | 1,293 | 38 | 70 | 34.026316 | 0.83463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.894737 | 0 | 0.894737 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6a20532991454c5d2b6474a6693ad692d9868b5f | 9,423 | py | Python | flearn/trainers_Extend/local_optimizers.py | GuanxiongLiu/ditto | 9e130f22665d97b7282cf247b41c2deecc04e44d | [
"MIT"
] | null | null | null | flearn/trainers_Extend/local_optimizers.py | GuanxiongLiu/ditto | 9e130f22665d97b7282cf247b41c2deecc04e44d | [
"MIT"
] | null | null | null | flearn/trainers_Extend/local_optimizers.py | GuanxiongLiu/ditto | 9e130f22665d97b7282cf247b41c2deecc04e44d | [
"MIT"
] | 1 | 2022-01-06T17:33:58.000Z | 2022-01-06T17:33:58.000Z | import numpy as np
import tensorflow as tf
from tqdm import tqdm
import copy
class BaseLocalOptimizer(object):
def __init__(self, params):
# transfer parameters to self
for key, val in params.items():
setattr(self, key, val)
def run(self):
RuntimeWarning('run function is n... | 45.965854 | 148 | 0.644593 | 1,364 | 9,423 | 4.145161 | 0.105572 | 0.057305 | 0.050937 | 0.056597 | 0.789883 | 0.753626 | 0.741422 | 0.702865 | 0.679696 | 0.662717 | 0 | 0.01008 | 0.231455 | 9,423 | 204 | 149 | 46.191176 | 0.770643 | 0.01889 | 0 | 0.549669 | 0 | 0 | 0.085535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092715 | false | 0 | 0.02649 | 0 | 0.178808 | 0.05298 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbe4aeeaa5c42d09a3248e9c895ab152bf0512d8 | 122 | py | Python | afpy/models/__init__.py | pilou-/AFPy-site | 10d55339fe6b1d0514c5fa7ac1fe77f25aeda001 | [
"MIT"
] | 3 | 2018-04-23T23:50:09.000Z | 2020-11-08T09:36:17.000Z | afpy/models/__init__.py | pilou-/AFPy-site | 10d55339fe6b1d0514c5fa7ac1fe77f25aeda001 | [
"MIT"
] | 63 | 2018-04-28T09:55:18.000Z | 2022-02-11T08:36:14.000Z | afpy/models/__init__.py | pilou-/AFPy-site | 10d55339fe6b1d0514c5fa7ac1fe77f25aeda001 | [
"MIT"
] | 18 | 2017-09-21T14:27:04.000Z | 2022-03-23T11:27:37.000Z | from peewee import Model
from afpy import database
class BaseModel(Model):
class Meta:
database = database
| 13.555556 | 27 | 0.713115 | 15 | 122 | 5.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245902 | 122 | 8 | 28 | 15.25 | 0.945652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dbe61c527f5893ab99368c8a128d53c2acfd1c82 | 93 | py | Python | functions/adder.py | anliksim/zhaw-pspp-lab12 | c700da75565580905e4cce6a0ed73c783e1a6d57 | [
"MIT"
] | 1 | 2019-12-06T09:06:37.000Z | 2019-12-06T09:06:37.000Z | functions/adder.py | anliksim/zhaw-pspp-lab12 | c700da75565580905e4cce6a0ed73c783e1a6d57 | [
"MIT"
] | null | null | null | functions/adder.py | anliksim/zhaw-pspp-lab12 | c700da75565580905e4cce6a0ed73c783e1a6d57 | [
"MIT"
] | null | null | null | def add(x, y):
return x + y
if __name__ == '__main__':
print('1 + 2 =', add(1, 2))
| 13.285714 | 31 | 0.494624 | 16 | 93 | 2.375 | 0.6875 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0.290323 | 93 | 6 | 32 | 15.5 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
dbf6cf2720ec45579a5b47a0b0bc1f6e5d99d968 | 9,975 | py | Python | teach/learning.py | abccdabfgc/lxf-learn-java | 002d0206f3d173620725abb6bac73fd0c694b4c5 | [
"Apache-2.0"
] | 5 | 2020-01-16T12:50:21.000Z | 2021-11-25T06:20:01.000Z | teach/learning.py | abccdabfgc/lxf-learn-java | 002d0206f3d173620725abb6bac73fd0c694b4c5 | [
"Apache-2.0"
] | 5 | 2021-04-30T21:18:36.000Z | 2022-03-12T00:55:18.000Z | teach/learning.py | abccdabfgc/lxf-learn-java | 002d0206f3d173620725abb6bac73fd0c694b4c5 | [
"Apache-2.0"
] | 2 | 2021-11-10T13:22:34.000Z | 2021-11-25T06:20:06.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
r'''
learning.py
A Python 3 tutorial from https://www.liaoxuefeng.com
Usage:
$ python3 learning.py
'''
# check #######################################################################
import sys
from datetime import datetime
CERT_EXPIRES = '2020-08-07'
def check_ver... | 40.881148 | 109 | 0.778346 | 736 | 9,975 | 10.476902 | 0.514946 | 0.0083 | 0.007262 | 0.007392 | 0.06173 | 0.045908 | 0.030865 | 0.030865 | 0.009078 | 0.009078 | 0 | 0.080216 | 0.110175 | 9,975 | 243 | 110 | 41.049383 | 0.788531 | 0.020451 | 0 | 0.099502 | 0 | 0 | 0.657088 | 0.561764 | 0 | 1 | 0 | 0 | 0 | 1 | 0.054726 | false | 0 | 0.024876 | 0 | 0.129353 | 0.039801 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbfd89ef256e806d456f2672b2c638dc1dff7eaa | 1,402 | py | Python | test.py | ikeikeikeike/scrapy-2ch-summary-spider | 7142693f25025a09390377649a727cfd33d15af3 | [
"MIT"
] | 2 | 2015-01-12T08:23:35.000Z | 2017-07-28T15:02:26.000Z | test.py | ikeikeikeike/scrapy-2ch-summary-spider | 7142693f25025a09390377649a727cfd33d15af3 | [
"MIT"
] | null | null | null | test.py | ikeikeikeike/scrapy-2ch-summary-spider | 7142693f25025a09390377649a727cfd33d15af3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from scrapy.spider import BaseSpider
from scrapy.http.request import Request
from scrapy.utils.response import open_in_browser
class TestSpider(BaseSpider):
""" Testing Spider
"""
name = 'test'
allowed_domains = [
'miru-navi.com',
# 'map-fuzoku.com'
]
... | 21.90625 | 72 | 0.554922 | 148 | 1,402 | 5.121622 | 0.297297 | 0.158311 | 0.197889 | 0.263852 | 0.48153 | 0.41161 | 0.41161 | 0.310026 | 0.310026 | 0.310026 | 0 | 0.001085 | 0.342368 | 1,402 | 63 | 73 | 22.253968 | 0.821041 | 0.122682 | 0 | 0.560976 | 0 | 0 | 0.184838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.073171 | null | null | 0.560976 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e023d4e4a01211e8bdaad272e28faa016d4e00b6 | 148 | py | Python | lin_audream_client/just_test.py | Lavabar/audream | 7af458046bbe16dd9129d2c4fe9f0a7626b9883e | [
"MIT"
] | null | null | null | lin_audream_client/just_test.py | Lavabar/audream | 7af458046bbe16dd9129d2c4fe9f0a7626b9883e | [
"MIT"
] | null | null | null | lin_audream_client/just_test.py | Lavabar/audream | 7af458046bbe16dd9129d2c4fe9f0a7626b9883e | [
"MIT"
] | 1 | 2021-05-07T20:35:14.000Z | 2021-05-07T20:35:14.000Z | import os
path = os.getcwd()
file_list = os.listdir(path + "\\variants")
number_files = len(file_list)
print(file_list)
print(number_files)
| 18.5 | 44 | 0.709459 | 22 | 148 | 4.545455 | 0.545455 | 0.24 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155405 | 148 | 7 | 45 | 21.142857 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.070922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 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 | 4 |
e026217a33dc5adc9dab63d4e392ec11c7d26c6c | 81 | py | Python | Web/SXT/stu/apps.py | JKChang2015/Python_Projects | b90211bc7c662dfbd6760b547209f4cbbf9c0737 | [
"Apache-2.0"
] | null | null | null | Web/SXT/stu/apps.py | JKChang2015/Python_Projects | b90211bc7c662dfbd6760b547209f4cbbf9c0737 | [
"Apache-2.0"
] | null | null | null | Web/SXT/stu/apps.py | JKChang2015/Python_Projects | b90211bc7c662dfbd6760b547209f4cbbf9c0737 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class StuConfig(AppConfig):
name = 'stu'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e03eeff063db08211d757591dd2feff58327808f | 102 | py | Python | Docs/Examples/howtos/understandingContours_00.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 61 | 2015-01-17T10:15:45.000Z | 2018-12-02T13:53:02.000Z | Docs/Examples/howtos/understandingContours_00.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 37 | 2015-01-05T23:44:56.000Z | 2018-03-16T19:05:28.000Z | Docs/Examples/howtos/understandingContours_00.py | Vectro-Type-Foundry/robofab | cd65d78292d24358c98dce53d283314cdc85878e | [
"BSD-3-Clause"
] | 25 | 2015-01-08T19:49:36.000Z | 2018-10-29T00:36:46.000Z | # take a glyph (one with outlines obviously)
g = CurrentGlyph()
# get to contours by index:
print g[0] | 25.5 | 44 | 0.72549 | 17 | 102 | 4.352941 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.176471 | 102 | 4 | 45 | 25.5 | 0.869048 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0ee87600b6873c2e7e34085cb16a92f3f5a8dbd7 | 1,094 | py | Python | src/globus_cli/commands/group/__init__.py | globusonline/globus-cli | 696857baafac198141edc3c1c29c72215f217df1 | [
"Apache-2.0"
] | null | null | null | src/globus_cli/commands/group/__init__.py | globusonline/globus-cli | 696857baafac198141edc3c1c29c72215f217df1 | [
"Apache-2.0"
] | 1 | 2016-04-09T17:26:05.000Z | 2016-04-11T16:13:50.000Z | src/globus_cli/commands/group/__init__.py | globusonline/globus-cli | 696857baafac198141edc3c1c29c72215f217df1 | [
"Apache-2.0"
] | null | null | null | from globus_cli.commands.group.create import group_create
from globus_cli.commands.group.delete import group_delete
from globus_cli.commands.group.invite import group_invite
from globus_cli.commands.group.join import group_join
from globus_cli.commands.group.leave import group_leave
from globus_cli.commands.group.list ... | 37.724138 | 69 | 0.865631 | 168 | 1,094 | 5.309524 | 0.142857 | 0.123318 | 0.160314 | 0.235426 | 0.59417 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063985 | 1,094 | 28 | 70 | 39.071429 | 0.871094 | 0.018282 | 0 | 0 | 0 | 0 | 0.004682 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | true | 0 | 0.478261 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ef3c1f4dd37c31ddac3be3c96e6f5a243a5401b | 159 | py | Python | practice0/simpleClass.py | DeercoderPractice/python | 4a32cc8922f47baea390e8167e34f185f67ae0fd | [
"MIT"
] | null | null | null | practice0/simpleClass.py | DeercoderPractice/python | 4a32cc8922f47baea390e8167e34f185f67ae0fd | [
"MIT"
] | null | null | null | practice0/simpleClass.py | DeercoderPractice/python | 4a32cc8922f47baea390e8167e34f185f67ae0fd | [
"MIT"
] | null | null | null | #! /usr/bin/python
# Filename: simpleClass.python
# Description: A simple demo for python class
class Person:
pass # An empty block
p = Person()
print p
| 15.9 | 45 | 0.710692 | 23 | 159 | 4.913043 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194969 | 159 | 9 | 46 | 17.666667 | 0.882813 | 0.660377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.25 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0ef587e7048b23bd9e2f6ee510c756bf145b54ff | 76 | py | Python | boa3_test/test_sc/built_in_methods_test/PrintManyValues.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 25 | 2020-07-22T19:37:43.000Z | 2022-03-08T03:23:55.000Z | boa3_test/test_sc/built_in_methods_test/PrintManyValues.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 419 | 2020-04-23T17:48:14.000Z | 2022-03-31T13:17:45.000Z | boa3_test/test_sc/built_in_methods_test/PrintManyValues.py | hal0x2328/neo3-boa | 6825a3533384cb01660773050719402a9703065b | [
"Apache-2.0"
] | 15 | 2020-05-21T21:54:24.000Z | 2021-11-18T06:17:24.000Z | from boa3.builtin import public
@public
def Main():
print(1, 2, 3, 4)
| 10.857143 | 31 | 0.644737 | 13 | 76 | 3.769231 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 0.223684 | 76 | 6 | 32 | 12.666667 | 0.745763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
160222a556a7f9df7996709aa14a99ae94a2d4bd | 35 | py | Python | p123.py | space-magician/romote-test | 8bbaae16c90c15988cf1dbbfa727302eca449f6b | [
"MIT"
] | null | null | null | p123.py | space-magician/romote-test | 8bbaae16c90c15988cf1dbbfa727302eca449f6b | [
"MIT"
] | null | null | null | p123.py | space-magician/romote-test | 8bbaae16c90c15988cf1dbbfa727302eca449f6b | [
"MIT"
] | null | null | null | for i in range(1, 4):
print(i)
| 11.666667 | 21 | 0.542857 | 8 | 35 | 2.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.285714 | 35 | 2 | 22 | 17.5 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1634d45868d198018392152f831c162086e79308 | 2,497 | py | Python | test/verifiers/test_uniqueness.py | samadhicsec/threatware | f45068cfbbc2207ffa2b8f1b965b98cfb1ed9096 | [
"Apache-2.0"
] | null | null | null | test/verifiers/test_uniqueness.py | samadhicsec/threatware | f45068cfbbc2207ffa2b8f1b965b98cfb1ed9096 | [
"Apache-2.0"
] | null | null | null | test/verifiers/test_uniqueness.py | samadhicsec/threatware | f45068cfbbc2207ffa2b8f1b965b98cfb1ed9096 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
import pytest
from ruamel.yaml import YAML
from verifiers import field_validation_uniqueness
from pprint import pprint
def get_uniqueness_config():
config_yaml = """
error-texts:
document-unique: "The value '{}' in field '{}' must be unique... | 43.051724 | 154 | 0.677213 | 299 | 2,497 | 5.421405 | 0.240803 | 0.144355 | 0.199877 | 0.135719 | 0.762492 | 0.752005 | 0.711289 | 0.684762 | 0.684762 | 0.684762 | 0 | 0.007816 | 0.180216 | 2,497 | 58 | 155 | 43.051724 | 0.784074 | 0.03324 | 0 | 0.368421 | 0 | 0.105263 | 0.368159 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.236842 | 0.105263 | 0 | 0 | 0 | null | 0 | 1 | 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 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.