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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fac9039944d8a33685485805580c5471e4a19e27 | 6,389 | py | Python | src/DCGMM/layer/Layer.py | anon-scientist/dcgmm | 1d2d96d1d9811c387ee11d462ff0a3819a66e137 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/DCGMM/layer/Layer.py | anon-scientist/dcgmm | 1d2d96d1d9811c387ee11d462ff0a3819a66e137 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/DCGMM/layer/Layer.py | anon-scientist/dcgmm | 1d2d96d1d9811c387ee11d462ff0a3819a66e137 | [
"Apache-2.0",
"MIT"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed u... | 36.718391 | 220 | 0.653467 | 896 | 6,389 | 4.489955 | 0.273438 | 0.020134 | 0.013671 | 0.011931 | 0.184191 | 0.155854 | 0.130997 | 0.130997 | 0.130997 | 0.102908 | 0 | 0.010395 | 0.247144 | 6,389 | 173 | 221 | 36.930636 | 0.825988 | 0.276256 | 0 | 0.075269 | 0 | 0.010753 | 0.045026 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.365591 | false | 0.11828 | 0.053763 | 0.11828 | 0.516129 | 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 |
fada8aa68e6f2be79f13d1f3467eac73bc262ccc | 155 | py | Python | financialdata/__init__.py | stabacco/financial-data | 6965541a18485c17fabbf623f3761ff818ad66ed | [
"Apache-2.0"
] | null | null | null | financialdata/__init__.py | stabacco/financial-data | 6965541a18485c17fabbf623f3761ff818ad66ed | [
"Apache-2.0"
] | null | null | null | financialdata/__init__.py | stabacco/financial-data | 6965541a18485c17fabbf623f3761ff818ad66ed | [
"Apache-2.0"
] | null | null | null | # flake8: noqa
from pathlib import Path
from single_version import get_version
__version__ = get_version("financial-data", Path(__file__).parent.parent)
| 22.142857 | 73 | 0.806452 | 21 | 155 | 5.428571 | 0.619048 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.109677 | 155 | 6 | 74 | 25.833333 | 0.818841 | 0.077419 | 0 | 0 | 0 | 0 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fadff9e099f27bf43ce3aba3df233ec0e6bc808e | 136 | py | Python | lcm/setup.py | liwangGT/crazyflie-tools | ed3ca66d4efd77c7abb321e6f8deeb564da45862 | [
"MIT"
] | 73 | 2015-03-11T05:32:13.000Z | 2022-03-25T23:30:17.000Z | lcm/setup.py | liwangGT/crazyflie-tools | ed3ca66d4efd77c7abb321e6f8deeb564da45862 | [
"MIT"
] | 18 | 2015-01-19T20:23:36.000Z | 2017-02-14T21:03:07.000Z | lcm/setup.py | blandry/drake-crazyflie-tools | ed3ca66d4efd77c7abb321e6f8deeb564da45862 | [
"MIT"
] | 49 | 2015-06-19T03:16:10.000Z | 2021-01-13T08:56:02.000Z | #!/usr/bin/env python
from distutils.core import setup
setup(name='crazyflie_t',
version='1.0',
packages=['crazyflie_t'])
| 17 | 32 | 0.669118 | 19 | 136 | 4.684211 | 0.842105 | 0.224719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.169118 | 136 | 7 | 33 | 19.428571 | 0.769912 | 0.147059 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
87907d2d60536961c53c99675ce603f712b7006a | 191 | py | Python | ctxmutants/modelling/__init__.py | cedricrupb/ctxmutants | 88f5bdc0e320c2e9c74012e8c6fc56f63b6d548d | [
"MIT"
] | null | null | null | ctxmutants/modelling/__init__.py | cedricrupb/ctxmutants | 88f5bdc0e320c2e9c74012e8c6fc56f63b6d548d | [
"MIT"
] | null | null | null | ctxmutants/modelling/__init__.py | cedricrupb/ctxmutants | 88f5bdc0e320c2e9c74012e8c6fc56f63b6d548d | [
"MIT"
] | null | null | null | from .config import TransformerConfig
from .transformer import TransformerEncoder
from .meta_models import (VarMisuseModel,
LocateRepairModel, MaskedRepairModel) | 38.2 | 65 | 0.73822 | 15 | 191 | 9.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225131 | 191 | 5 | 65 | 38.2 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e2101c2c087f00b67a716bde2e0127bb05732cf4 | 82 | py | Python | NHentai-back/main.py | AlexandreSenpai/NHentai-app | b51a443cdc2d56031b0b844284133f6c0206051c | [
"MIT"
] | 5 | 2020-07-12T08:51:16.000Z | 2020-08-18T17:42:01.000Z | NHentai-back/main.py | AlexandreSenpai/NHentai-app | b51a443cdc2d56031b0b844284133f6c0206051c | [
"MIT"
] | 3 | 2020-08-01T19:44:59.000Z | 2022-02-19T04:56:46.000Z | NHentai-back/main.py | AlexandreSenpai/NHentai-app | b51a443cdc2d56031b0b844284133f6c0206051c | [
"MIT"
] | null | null | null | from Routes.routes import app
if __name__ == '__main__':
app.run(port='8080')
| 20.5 | 29 | 0.695122 | 12 | 82 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 0.158537 | 82 | 3 | 30 | 27.333333 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 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 |
355a1fa49da0c9f2ab4237a7e12fd52d559e2dee | 132 | py | Python | scripts/desligar.py | HLFer/EasyHome | 2a40a0dc3c192e544dbb2ac6600829ef63f53d07 | [
"MIT"
] | null | null | null | scripts/desligar.py | HLFer/EasyHome | 2a40a0dc3c192e544dbb2ac6600829ef63f53d07 | [
"MIT"
] | null | null | null | scripts/desligar.py | HLFer/EasyHome | 2a40a0dc3c192e544dbb2ac6600829ef63f53d07 | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import sys
GPIO.setmode(GPIO.BCM)
GPIO.setup(18,GPIO.OUT)
GPIO.output(18,GPIO.HIGH)
GPIO.setwarnings(False) | 18.857143 | 25 | 0.787879 | 24 | 132 | 4.333333 | 0.583333 | 0.115385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.075758 | 132 | 7 | 26 | 18.857143 | 0.819672 | 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 |
356979f0248fdc273ed4ca71499e110ea6f83c10 | 152 | py | Python | 3.7.0/lldb-3.7.0.src/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/lldb-3.7.0.src/test/lang/objcxx/objcxx-ivar-vector/TestIvarVector.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/lldb-3.7.0.src/test/python_api/sbtype_typeclass/TestSBTypeTypeClass.py | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | import lldbinline
import lldbtest
lldbinline.MakeInlineTest(__file__, globals(), [lldbtest.skipIfFreeBSD,lldbtest.skipIfLinux,lldbtest.skipIfWindows])
| 30.4 | 116 | 0.855263 | 14 | 152 | 9 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 152 | 4 | 117 | 38 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3572ce1a41b46d07da02082bf2ade804389ead2d | 2,702 | py | Python | experiments/dist_stat.py | Chen-Cai-OSU/GeometryofEmbedding | ee2faa274a28560f9d3df593dc5e8d07fb4a71a0 | [
"Apache-2.0"
] | 2 | 2019-06-24T23:21:28.000Z | 2020-10-28T02:57:59.000Z | experiments/dist_stat.py | Chen-Cai-OSU/GeometryofEmbedding | ee2faa274a28560f9d3df593dc5e8d07fb4a71a0 | [
"Apache-2.0"
] | null | null | null | experiments/dist_stat.py | Chen-Cai-OSU/GeometryofEmbedding | ee2faa274a28560f9d3df593dc5e8d07fb4a71a0 | [
"Apache-2.0"
] | null | null | null | import sys
from ampligraph.common.aux import rel_rank_stat, precision_format, load_data, eigengap, vmatrix, field_d
import numpy as np
period=1001
lists = []
# lists.append([1,2,3,4,5])
# lists.append([10,20,30,40,50])
# lists.append([50,100,150,200,250])
lists.append([100,200,300,400,500,600])
# lists.append([1,2,3,... | 27.292929 | 108 | 0.630644 | 536 | 2,702 | 3.113806 | 0.248134 | 0.089874 | 0.179149 | 0.204913 | 0.481726 | 0.3571 | 0.22169 | 0.202516 | 0.202516 | 0.159377 | 0 | 0.246983 | 0.141377 | 2,702 | 98 | 109 | 27.571429 | 0.472414 | 0.162842 | 0 | 0.105263 | 0 | 0 | 0.023608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.087719 | 0 | 0.087719 | 0.403509 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
35ad541e726cdb729ca41a383df54058000b1067 | 8,579 | py | Python | acnportal/contrib/acnsim/network/tests/test_stochastic_network.py | zach401/acnportal | 3c76892d78ae7cbdca9017f8e2a4e3114198deba | [
"BSD-3-Clause"
] | 32 | 2019-05-01T03:55:12.000Z | 2022-03-27T06:37:04.000Z | acnportal/contrib/acnsim/network/tests/test_stochastic_network.py | zach401/acnportal | 3c76892d78ae7cbdca9017f8e2a4e3114198deba | [
"BSD-3-Clause"
] | 66 | 2019-08-16T22:13:21.000Z | 2022-03-10T13:50:29.000Z | acnportal/contrib/acnsim/network/tests/test_stochastic_network.py | zach401/acnportal | 3c76892d78ae7cbdca9017f8e2a4e3114198deba | [
"BSD-3-Clause"
] | 21 | 2019-06-04T04:29:56.000Z | 2022-03-27T06:36:46.000Z | # coding=utf-8
""" Tests for StochasticChargingNetwork functionality. """
from unittest import TestCase
from unittest.mock import Mock, patch
from acnportal.contrib.acnsim.network import StochasticNetwork
from acnportal.acnsim.models import EV, EVSE, Battery
RANDOM_CHOICE_PATCH_STR = "acnportal.contrib.acnsim.stochas... | 38.128889 | 85 | 0.665346 | 1,205 | 8,579 | 4.507884 | 0.117012 | 0.133652 | 0.066274 | 0.084683 | 0.747239 | 0.738402 | 0.719809 | 0.701767 | 0.669367 | 0.619661 | 0 | 0.056047 | 0.22217 | 8,579 | 224 | 86 | 38.299107 | 0.75798 | 0.14011 | 0 | 0.616541 | 0 | 0 | 0.048957 | 0.007773 | 0 | 0 | 0 | 0 | 0.165414 | 1 | 0.105263 | false | 0 | 0.030075 | 0 | 0.142857 | 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 |
ea246409b04e7a9e859aa0c735d0518003c6a4ea | 346 | bzl | Python | scala/bloop/bloop.bzl | psilospore/rules_scala-rebloopy | 69327c55e8095882e59e5c0fe948cb31693b4e6f | [
"Apache-2.0"
] | null | null | null | scala/bloop/bloop.bzl | psilospore/rules_scala-rebloopy | 69327c55e8095882e59e5c0fe948cb31693b4e6f | [
"Apache-2.0"
] | null | null | null | scala/bloop/bloop.bzl | psilospore/rules_scala-rebloopy | 69327c55e8095882e59e5c0fe948cb31693b4e6f | [
"Apache-2.0"
] | null | null | null | load(
"//scala:scala_cross_version.bzl",
_default_scala_version = "default_scala_version",
_extract_major_version = "extract_major_version",
_scala_mvn_artifact = "scala_mvn_artifact",
)
load(
"@io_bazel_rules_scala//scala:scala_maven_import_external.bzl",
_scala_maven_import_external = "scala_m... | 28.833333 | 67 | 0.774566 | 43 | 346 | 5.534884 | 0.372093 | 0.12605 | 0.201681 | 0.302521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124277 | 346 | 11 | 68 | 31.454545 | 0.785479 | 0 | 0 | 0.2 | 0 | 0 | 0.515942 | 0.463768 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ea3a29557271c4644a80baa5f1ba05bd0f98b725 | 349 | py | Python | Desafios/Desafio018.py | julianascimentosantos/cursoemvideo-python3 | 34361c9c9cfa3d511257e51608168c1325deaa9e | [
"MIT"
] | null | null | null | Desafios/Desafio018.py | julianascimentosantos/cursoemvideo-python3 | 34361c9c9cfa3d511257e51608168c1325deaa9e | [
"MIT"
] | null | null | null | Desafios/Desafio018.py | julianascimentosantos/cursoemvideo-python3 | 34361c9c9cfa3d511257e51608168c1325deaa9e | [
"MIT"
] | null | null | null | import math
grau = float(input('Digite o ângulo que você deseja: '))
seno = math.sin(math.radians(grau))
print('O ângulo de {} tem o SENO de {:.2f}'.format(grau, seno))
print('O ângulo de {} tem o COSENO de {:.2f}'.format(grau, math.cos(math.radians(grau))))
print('O ângulo de {} tem a TANGENTE de {:.2f}'.format(grau,m... | 58.166667 | 90 | 0.681948 | 61 | 349 | 3.901639 | 0.393443 | 0.117647 | 0.189076 | 0.176471 | 0.5 | 0.34874 | 0.268908 | 0.268908 | 0 | 0 | 0 | 0.009772 | 0.120344 | 349 | 6 | 90 | 58.166667 | 0.765472 | 0 | 0 | 0 | 0 | 0 | 0.411429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ea3f0b54c4edc694c529f26dbed2fd676cf09cd6 | 410 | py | Python | menpo/transform/__init__.py | yuxiang-zhou/menpo | 01deaf3808cbe7a3d9db5542ac9d9f53cd81743a | [
"BSD-3-Clause"
] | null | null | null | menpo/transform/__init__.py | yuxiang-zhou/menpo | 01deaf3808cbe7a3d9db5542ac9d9f53cd81743a | [
"BSD-3-Clause"
] | null | null | null | menpo/transform/__init__.py | yuxiang-zhou/menpo | 01deaf3808cbe7a3d9db5542ac9d9f53cd81743a | [
"BSD-3-Clause"
] | null | null | null | from .base import Transform, TransformChain
from .homogeneous import *
from .thinplatesplines import ThinPlateSplines
from .piecewiseaffine import PiecewiseAffine
from .rbf import R2LogR2RBF, R2LogRRBF
from .groupalign.procrustes import GeneralizedProcrustesAnalysis
from .compositions import (scale_about_centre, rotate... | 45.555556 | 71 | 0.814634 | 42 | 410 | 7.738095 | 0.5 | 0.135385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008571 | 0.146341 | 410 | 8 | 72 | 51.25 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.875 | 0 | 0.875 | 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 |
ea71404316908a06a7bd4da04fec53859c1bb387 | 219 | py | Python | pokermon/training/train_test.py | ghl3/Pokermon | ef4434884ee294fe845c906ab0d2f871af44f406 | [
"MIT"
] | null | null | null | pokermon/training/train_test.py | ghl3/Pokermon | ef4434884ee294fe845c906ab0d2f871af44f406 | [
"MIT"
] | null | null | null | pokermon/training/train_test.py | ghl3/Pokermon | ef4434884ee294fe845c906ab0d2f871af44f406 | [
"MIT"
] | 1 | 2020-11-05T11:57:25.000Z | 2020-11-05T11:57:25.000Z | from pokermon.model import heads_up
from pokermon.training import train
def test_heads_up():
models = {"foo": heads_up.HeadsUpModel("Foo"), "bar": heads_up.HeadsUpModel("Bar")}
train.train_heads_up(models, 2)
| 27.375 | 87 | 0.739726 | 32 | 219 | 4.84375 | 0.46875 | 0.225806 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.127854 | 219 | 7 | 88 | 31.285714 | 0.806283 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5767cba3aca8fc1e4b2721130ddae593c25ef663 | 1,325 | py | Python | tests/torch/test_dataset.py | rlan/pyml | 7d2d411fed6f716db5ad3d904a08951941467dfd | [
"MIT"
] | null | null | null | tests/torch/test_dataset.py | rlan/pyml | 7d2d411fed6f716db5ad3d904a08951941467dfd | [
"MIT"
] | 9 | 2018-06-29T00:50:34.000Z | 2018-12-27T00:39:19.000Z | tests/torch/test_dataset.py | rlan/pyml | 7d2d411fed6f716db5ad3d904a08951941467dfd | [
"MIT"
] | null | null | null | import pyml.torch.dataset as ds
def test_load_mnist():
train_loader, test_loader = ds.load_mnist(batch_size=100, test_batch_size=1000)
def test_load_mnist_with_validation():
train_loader, val_loader, test_loader = ds.load_mnist_with_validation(batch_size=100, test_batch_size=1000, validation_size=50000)
def tes... | 47.321429 | 161 | 0.837736 | 202 | 1,325 | 4.960396 | 0.173267 | 0.125749 | 0.083832 | 0.111776 | 0.815369 | 0.705589 | 0.607784 | 0.578842 | 0.53992 | 0.454092 | 0 | 0.079248 | 0.076226 | 1,325 | 27 | 162 | 49.074074 | 0.739379 | 0 | 0 | 0 | 0 | 0 | 0.024151 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.05 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
578e18619afb84fbc335cfff03f03e988938a049 | 222 | py | Python | gs/group/messages/post/list/__init__.py | groupserver/gs.group.messages.post.list | f5c72d41db1421b04728ddacaa564be162d898d2 | [
"ZPL-2.1"
] | null | null | null | gs/group/messages/post/list/__init__.py | groupserver/gs.group.messages.post.list | f5c72d41db1421b04728ddacaa564be162d898d2 | [
"ZPL-2.1"
] | null | null | null | gs/group/messages/post/list/__init__.py | groupserver/gs.group.messages.post.list | f5c72d41db1421b04728ddacaa564be162d898d2 | [
"ZPL-2.1"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from zope.i18nmessageid import MessageFactory
GSMessageFactory = MessageFactory('gs.group.messages.post.list')
from .queries import PostSearchQuery # lint:ok
| 37 | 64 | 0.797297 | 26 | 222 | 6.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015075 | 0.103604 | 222 | 5 | 65 | 44.4 | 0.849246 | 0.130631 | 0 | 0 | 0 | 0 | 0.142105 | 0.142105 | 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 |
57bfd713e097ef27d20f6fedc21b575f5f9bfa4a | 309 | py | Python | tests/test_constants.py | vinzeebreak/data_fetcher | 51466832b1274d640f71f7ae501d8d40b1c13c79 | [
"MIT"
] | 23 | 2019-03-12T22:14:32.000Z | 2022-03-18T09:16:29.000Z | tests/test_constants.py | vinzeebreak/data_fetcher | 51466832b1274d640f71f7ae501d8d40b1c13c79 | [
"MIT"
] | 50 | 2018-10-12T13:47:48.000Z | 2019-03-08T18:20:50.000Z | tests/test_constants.py | vinzeebreak/data_fetcher | 51466832b1274d640f71f7ae501d8d40b1c13c79 | [
"MIT"
] | 3 | 2019-04-24T14:43:24.000Z | 2019-05-30T12:59:02.000Z | import pytest
from os.path import isdir
from dafter.fetcher import DATASETS_FOLDER
from dafter.fetcher import DATASETS_CONFIG_FOLDER
def test_directories():
assert isdir(DATASETS_FOLDER) == True
assert isdir(DATASETS_CONFIG_FOLDER) == True
if __name__ == "__main__":
pytest.main([__file__]) | 19.3125 | 49 | 0.770227 | 40 | 309 | 5.475 | 0.5 | 0.091324 | 0.155251 | 0.210046 | 0.283105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152104 | 309 | 16 | 50 | 19.3125 | 0.835878 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.111111 | true | 0 | 0.444444 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
57c78ad7a643557dd33b3239389b80c2aaf085ea | 53 | py | Python | test.py | eliacunegatti/NEAT-GPU-RS | 3c369f9bb2e436274661d489853074e8c06e64d7 | [
"Apache-2.0"
] | null | null | null | test.py | eliacunegatti/NEAT-GPU-RS | 3c369f9bb2e436274661d489853074e8c06e64d7 | [
"Apache-2.0"
] | null | null | null | test.py | eliacunegatti/NEAT-GPU-RS | 3c369f9bb2e436274661d489853074e8c06e64d7 | [
"Apache-2.0"
] | null | null | null | import time
print "begin"
time.sleep(10)
print "stop" | 13.25 | 14 | 0.754717 | 9 | 53 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.113208 | 53 | 4 | 15 | 13.25 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | 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 |
57f437e43816c636d2c07d9bc0fd9eaa7f672e3b | 54 | py | Python | tests/components/workday/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/workday/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/workday/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests the Home Assistant workday binary sensor."""
| 27 | 53 | 0.740741 | 7 | 54 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 1 | 54 | 54 | 0.851064 | 0.87037 | 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 |
57fb2ef80d2861c38dc3a81ecf9001dca2baf6b2 | 123 | py | Python | BasicExerciseAndKnowledge/w3cschool/n33_Separate_the_list_by_comma.py | Jonathan1214/learn-python | 19d0299b30e953069f19402bff5c464c4d5580be | [
"MIT"
] | null | null | null | BasicExerciseAndKnowledge/w3cschool/n33_Separate_the_list_by_comma.py | Jonathan1214/learn-python | 19d0299b30e953069f19402bff5c464c4d5580be | [
"MIT"
] | null | null | null | BasicExerciseAndKnowledge/w3cschool/n33_Separate_the_list_by_comma.py | Jonathan1214/learn-python | 19d0299b30e953069f19402bff5c464c4d5580be | [
"MIT"
] | null | null | null | #coding:utf-8
# 题目:按逗号分隔列表。
# 使用join函数
# str.join(sequence)
lt = [1,2,3,4,5]
print ','.join([str(item) for item in lt])
| 12.3 | 42 | 0.617886 | 23 | 123 | 3.304348 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0.154472 | 123 | 9 | 43 | 13.666667 | 0.673077 | 0.422764 | 0 | 0 | 0 | 0 | 0.014925 | 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 |
57fcdbf8ee5e128e833e7e6902ea78babca60276 | 68 | py | Python | Python_ABC/2-5list/2randomGenerateList.py | Chandler-Song/Python_Awesome | a44b8b79de7b429a00ac5798e7ecdc26c79a09ed | [
"MIT"
] | null | null | null | Python_ABC/2-5list/2randomGenerateList.py | Chandler-Song/Python_Awesome | a44b8b79de7b429a00ac5798e7ecdc26c79a09ed | [
"MIT"
] | null | null | null | Python_ABC/2-5list/2randomGenerateList.py | Chandler-Song/Python_Awesome | a44b8b79de7b429a00ac5798e7ecdc26c79a09ed | [
"MIT"
] | null | null | null | import random
rand_num = random.randrange(1, 51)
print(rand_num)
| 9.714286 | 34 | 0.75 | 11 | 68 | 4.454545 | 0.727273 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.147059 | 68 | 6 | 35 | 11.333333 | 0.793103 | 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 |
17ab5c4b2fc01a93d2400c54a1322ca1ad894510 | 590 | py | Python | sarna/init.py | mmagnuski/sarna | 0b4b7a5a9d4747724ff739c4e11bbbda1b286e92 | [
"MIT"
] | 1 | 2017-04-22T02:52:04.000Z | 2017-04-22T02:52:04.000Z | sarna/init.py | mmagnuski/sarna | 0b4b7a5a9d4747724ff739c4e11bbbda1b286e92 | [
"MIT"
] | 10 | 2018-12-22T13:20:45.000Z | 2021-11-03T17:52:57.000Z | sarna/init.py | mmagnuski/sarna | 0b4b7a5a9d4747724ff739c4e11bbbda1b286e92 | [
"MIT"
] | 2 | 2018-06-11T18:40:58.000Z | 2018-08-02T10:09:56.000Z | # this file is just to easily get most common imports at once
# by writing: `from mypy.init import *
import os
import sys
import os.path as op
from pathlib import Path
from glob import glob
import numpy as np
import pandas as pd
import matplotlib as mpl
import matplotlib.pyplot as plt
from scipy.io import loadmat, s... | 19.666667 | 61 | 0.776271 | 97 | 590 | 4.701031 | 0.57732 | 0.078947 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188136 | 590 | 29 | 62 | 20.344828 | 0.951983 | 0.323729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.058824 | 0.882353 | 0 | 0.882353 | 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 |
aa0775039b539bbc50241ab8869ebc6ef07f4989 | 219 | py | Python | commands/__init__.py | filipre/signalbot-example | 7f14a8e38799cf28fec5f8a9e2ca0497e4fd51c8 | [
"MIT"
] | null | null | null | commands/__init__.py | filipre/signalbot-example | 7f14a8e38799cf28fec5f8a9e2ca0497e4fd51c8 | [
"MIT"
] | null | null | null | commands/__init__.py | filipre/signalbot-example | 7f14a8e38799cf28fec5f8a9e2ca0497e4fd51c8 | [
"MIT"
] | null | null | null | from .ping import PingCommand
from .friday import FridayCommand
from .typing import TypingCommand
from .triggered import TriggeredCommand
__all__ = ["PingCommand", "FridayCommand", "TypingCommand", "TriggeredCommand"]
| 31.285714 | 79 | 0.812785 | 21 | 219 | 8.285714 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105023 | 219 | 6 | 80 | 36.5 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.242009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
aa11526d7834e8984e7310d862e5e779746ff802 | 60 | py | Python | butterfree/testing/__init__.py | fossabot/butterfree | 8a7da8c540b51c6560b2825cb926c40a351f202b | [
"Apache-2.0"
] | 208 | 2020-07-17T18:46:10.000Z | 2022-03-21T12:44:12.000Z | butterfree/testing/__init__.py | fossabot/butterfree | 8a7da8c540b51c6560b2825cb926c40a351f202b | [
"Apache-2.0"
] | 124 | 2020-07-17T19:42:47.000Z | 2021-07-21T00:38:05.000Z | butterfree/testing/__init__.py | fossabot/butterfree | 8a7da8c540b51c6560b2825cb926c40a351f202b | [
"Apache-2.0"
] | 30 | 2020-07-17T20:24:09.000Z | 2022-03-17T00:50:37.000Z | """Utilities to make testing of Butterfree tools easier."""
| 30 | 59 | 0.75 | 8 | 60 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 1 | 60 | 60 | 0.865385 | 0.883333 | 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 |
aa1b4e5de204b1277895b8fd4fe5287141ea4bf6 | 133 | py | Python | pandas_addons/addons/__init__.py | ClementWalter/pandas-addons | 3965e19f374aa8f6d38f9a0047e71e8a27bacb1a | [
"MIT"
] | 2 | 2021-01-01T16:00:22.000Z | 2021-02-10T08:36:54.000Z | pandas_addons/addons/__init__.py | ClementWalter/pandas-addons | 3965e19f374aa8f6d38f9a0047e71e8a27bacb1a | [
"MIT"
] | 4 | 2020-12-21T17:06:39.000Z | 2021-01-27T18:09:38.000Z | pandas_addons/addons/__init__.py | ClementWalter/pandas-addons | 3965e19f374aa8f6d38f9a0047e71e8a27bacb1a | [
"MIT"
] | null | null | null | from .assert_ import assert_
from .concat import concat
from .extract import extract
from .map import map
from .to_csv import to_csv
| 22.166667 | 28 | 0.81203 | 22 | 133 | 4.727273 | 0.363636 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150376 | 133 | 5 | 29 | 26.6 | 0.920354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 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 |
aa2ba17b860bdda7313a7db868f37061f288dae3 | 102 | py | Python | movienightbot/exc.py | squirrelo/MovieNightBot | 53fad77d533f13587d47d64fe7583db55529184a | [
"WTFPL"
] | 3 | 2020-02-22T14:22:21.000Z | 2021-02-04T19:44:38.000Z | movienightbot/exc.py | squirrelo/MovieNightBot | 53fad77d533f13587d47d64fe7583db55529184a | [
"WTFPL"
] | 42 | 2020-02-10T03:42:29.000Z | 2022-02-12T23:43:43.000Z | movienightbot/exc.py | squirrelo/MovieNightBot | 53fad77d533f13587d47d64fe7583db55529184a | [
"WTFPL"
] | 3 | 2020-02-14T23:22:24.000Z | 2020-06-06T21:00:14.000Z | class MovieNightBotException(Exception):
pass
class VoteError(MovieNightBotException):
pass
| 14.571429 | 40 | 0.784314 | 8 | 102 | 10 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 6 | 41 | 17 | 0.930233 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
aa3022b42c3460aff1d92603877ef34f64920c88 | 526 | py | Python | Sequence.py | BrokenRobot123/SimpleRaspberryPiPython | 3eb8821c1d945a004522876a36518b98d886d71a | [
"MIT"
] | null | null | null | Sequence.py | BrokenRobot123/SimpleRaspberryPiPython | 3eb8821c1d945a004522876a36518b98d886d71a | [
"MIT"
] | null | null | null | Sequence.py | BrokenRobot123/SimpleRaspberryPiPython | 3eb8821c1d945a004522876a36518b98d886d71a | [
"MIT"
] | null | null | null | import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
GPIO.setup(4, GPIO.OUT)
GPIO.setup(22, GPIO.OUT)
GPIO.setup(27, GPIO.OUT)
while True:
GPIO.output(17, GPIO.HIGH)
time.sleep(1)
GPIO.output(4, GPIO.HIGH)
time.sleep(1)
GPIO.output(22, GPIO.HIGH)
time.sleep(1)
GPIO.output(... | 19.481481 | 28 | 0.686312 | 97 | 526 | 3.721649 | 0.206186 | 0.221607 | 0.221607 | 0.271468 | 0.609418 | 0.573407 | 0.573407 | 0 | 0 | 0 | 0 | 0.064302 | 0.142586 | 526 | 26 | 29 | 20.230769 | 0.736142 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4c29345e10fdfb3ee92fe642d33695b21256094 | 21 | py | Python | bitex/_version.py | shax-xxx/bitex | 1b638aabe84042ff0b047946c8a44b18375f458e | [
"MIT"
] | null | null | null | bitex/_version.py | shax-xxx/bitex | 1b638aabe84042ff0b047946c8a44b18375f458e | [
"MIT"
] | null | null | null | bitex/_version.py | shax-xxx/bitex | 1b638aabe84042ff0b047946c8a44b18375f458e | [
"MIT"
] | 1 | 2018-04-14T00:42:51.000Z | 2018-04-14T00:42:51.000Z | __version__='1.2.12'
| 10.5 | 20 | 0.714286 | 4 | 21 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.047619 | 21 | 1 | 21 | 21 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a4c7224dba7496049b83fc2d9b38bdb52184bbbd | 556 | py | Python | flightdeck/jetpack/templatetags/editor_tags.py | majacQ/FlightDeck | 4ed2e630024374e1ac9f4a8ced8acd0ed7883d76 | [
"MIT"
] | 1 | 2019-12-29T05:58:53.000Z | 2019-12-29T05:58:53.000Z | flightdeck/jetpack/templatetags/editor_tags.py | majacQ/FlightDeck | 4ed2e630024374e1ac9f4a8ced8acd0ed7883d76 | [
"MIT"
] | null | null | null | flightdeck/jetpack/templatetags/editor_tags.py | majacQ/FlightDeck | 4ed2e630024374e1ac9f4a8ced8acd0ed7883d76 | [
"MIT"
] | 2 | 2016-01-16T13:59:52.000Z | 2021-04-25T15:38:26.000Z | from django import template
#from django.utils.safestring import mark_safe
register = template.Library()
@register.filter
def content_link_id(item):
return "%s_content" % item.slug
@register.filter
def manifest_link_id(item):
return "%s_manifest" % item.slug
@register.filter
def dependency_link_id(item):
retur... | 18.533333 | 68 | 0.760791 | 80 | 556 | 5.0875 | 0.3375 | 0.17199 | 0.208845 | 0.157248 | 0.334152 | 0.127764 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115108 | 556 | 29 | 69 | 19.172414 | 0.827236 | 0.080935 | 0 | 0.294118 | 0 | 0 | 0.115914 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.058824 | 0.294118 | 0.647059 | 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 |
a4c922877f336f4c9f36fb4cbb6db3768dce7c7e | 26 | py | Python | homeassistant/components/snmp/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/snmp/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/snmp/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The snmp component."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 |
a4d4b1a6ffe1e0839f5133b620af8b75a58fbc32 | 25 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Spheroidal Wave Functions/obl_rad2 Oblate spheroidal radial function of the second kind and its derivative.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Spheroidal Wave Functions/obl_rad2 Oblate spheroidal radial function of the second kind and its derivative.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Spheroidal Wave Functions/obl_rad2 Oblate spheroidal radial function of the second kind and its derivative.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | special.obl_rad2(m,n,c,x) | 25 | 25 | 0.76 | 7 | 25 | 2.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 25 | 1 | 25 | 25 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a4f4495debf5e06d7ab1c2d1afacae3126b4ba5f | 55 | py | Python | backend/tests/test_webservice/__init__.py | geometalab/highfog-ch-service | 951475376eb11e1f987ac27b3a25f7c5b9a3ac03 | [
"MIT"
] | null | null | null | backend/tests/test_webservice/__init__.py | geometalab/highfog-ch-service | 951475376eb11e1f987ac27b3a25f7c5b9a3ac03 | [
"MIT"
] | 2 | 2020-10-09T07:26:59.000Z | 2020-10-29T10:19:43.000Z | backend/tests/test_webservice/__init__.py | geometalab/highfog-ch-service | 951475376eb11e1f987ac27b3a25f7c5b9a3ac03 | [
"MIT"
] | 1 | 2020-10-09T11:04:02.000Z | 2020-10-09T11:04:02.000Z | '''
Created: 19.03.2015
@author: Dennis Ligtenberg
'''
| 11 | 26 | 0.672727 | 7 | 55 | 5.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.127273 | 55 | 4 | 27 | 13.75 | 0.604167 | 0.836364 | 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 |
35024a07f5c5325c4ef70b25f8e8e97ccdc46d7f | 89 | py | Python | SISTGEDIT/registropersonal/horario/apps.py | Edwineverth/SISGEDIT | 7d433d5e045b71ac087e40d95ec7d26f159e6453 | [
"Apache-2.0"
] | null | null | null | SISTGEDIT/registropersonal/horario/apps.py | Edwineverth/SISGEDIT | 7d433d5e045b71ac087e40d95ec7d26f159e6453 | [
"Apache-2.0"
] | null | null | null | SISTGEDIT/registropersonal/horario/apps.py | Edwineverth/SISGEDIT | 7d433d5e045b71ac087e40d95ec7d26f159e6453 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class HorarioConfig(AppConfig):
name = 'horario'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
350a36df350b15789d03705ce7ac7192923c0c4a | 276 | py | Python | ansys/dpf/post/modal_analysis.py | pyansys/pydpf-post | 1b9242af515b33ce35cdc3448d5c0b8b4aec06ee | [
"MIT"
] | 19 | 2021-10-15T14:15:52.000Z | 2022-03-13T12:15:58.000Z | ansys/dpf/post/modal_analysis.py | lynch1972/pydpf-post | 8fea9103259786067d3451dc12e7c0ae5a38ea33 | [
"MIT"
] | 21 | 2021-10-12T16:28:23.000Z | 2022-03-30T14:22:29.000Z | ansys/dpf/post/modal_analysis.py | pyansys/DPF-Post | 8fea9103259786067d3451dc12e7c0ae5a38ea33 | [
"MIT"
] | 2 | 2022-02-09T13:39:08.000Z | 2022-03-14T09:16:41.000Z | """Module containing the specific Modal Analysis Solution class."""
from ansys.dpf.post.dpf_solution import DpfMecanicComplexSolution
class ModalAnalysisSolution(DpfMecanicComplexSolution):
"""Modal solution class, which will provide all the API for Modal analysis."""
| 34.5 | 82 | 0.804348 | 31 | 276 | 7.129032 | 0.677419 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119565 | 276 | 7 | 83 | 39.428571 | 0.909465 | 0.485507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1054b6da82f96d21f9f1ab300b41682988a52122 | 707 | bzl | Python | source/bazel/deps/QR_Code_generator/get.bzl | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 1 | 2019-01-06T08:45:46.000Z | 2019-01-06T08:45:46.000Z | source/bazel/deps/QR_Code_generator/get.bzl | luxe/CodeLang-compiler | 78837d90bdd09c4b5aabbf0586a5d8f8f0c1e76a | [
"MIT"
] | 264 | 2015-11-30T08:34:00.000Z | 2018-06-26T02:28:41.000Z | source/bazel/deps/QR_Code_generator/get.bzl | UniLang/compiler | c338ee92994600af801033a37dfb2f1a0c9ca897 | [
"MIT"
] | null | null | null | # Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
def qRCodeGenerator():
http_archive(
name = "QR_Code_generator",
... | 41.588235 | 115 | 0.727016 | 75 | 707 | 6.666667 | 0.573333 | 0.048 | 0.12 | 0.076 | 0.172 | 0.172 | 0.172 | 0.172 | 0.172 | 0.172 | 0 | 0.171953 | 0.152758 | 707 | 16 | 116 | 44.1875 | 0.662771 | 0.142857 | 0 | 0 | 1 | 0.083333 | 0.646766 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
106f3d524e30f6a649e2cb52e1acce06d714095c | 97 | py | Python | examples/django/django_basic/ChattingBox/apps.py | fossabot/chatterbox | 43051c6fa71fedd34aa84704e74504899d8f97c6 | [
"MIT"
] | 78 | 2018-02-26T05:56:30.000Z | 2021-09-25T17:02:59.000Z | examples/django/django_basic/ChattingBox/apps.py | fossabot/chatterbox | 43051c6fa71fedd34aa84704e74504899d8f97c6 | [
"MIT"
] | 10 | 2018-02-26T03:13:13.000Z | 2018-10-04T01:00:15.000Z | examples/django/django_basic/ChattingBox/apps.py | fossabot/chatterbox | 43051c6fa71fedd34aa84704e74504899d8f97c6 | [
"MIT"
] | 20 | 2018-02-26T07:06:23.000Z | 2021-03-28T04:29:51.000Z | from django.apps import AppConfig
class ChattingboxConfig(AppConfig):
name = 'ChattingBox'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 |
107c4106cb812dc3391967ce6801683e1a4d152a | 138 | py | Python | example/forms.py | strange/django-country-utils | a5c095686ddbf6d859a699ac4e28c2fbb593fcd7 | [
"BSD-3-Clause"
] | 2 | 2020-05-25T22:30:56.000Z | 2021-07-02T23:40:03.000Z | example/forms.py | strange/django-country-utils | a5c095686ddbf6d859a699ac4e28c2fbb593fcd7 | [
"BSD-3-Clause"
] | null | null | null | example/forms.py | strange/django-country-utils | a5c095686ddbf6d859a699ac4e28c2fbb593fcd7 | [
"BSD-3-Clause"
] | 3 | 2015-01-02T14:08:42.000Z | 2021-10-09T16:28:37.000Z | from django import forms
from example.models import Profile
class ProfileForm(forms.ModelForm):
class Meta:
model = Profile
| 17.25 | 35 | 0.73913 | 17 | 138 | 6 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210145 | 138 | 7 | 36 | 19.714286 | 0.93578 | 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 |
108218385551a4b547fc7dec81c346334bcff542 | 934 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpCef/cli/equal/golden_output_8_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpCef/cli/equal/golden_output_8_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpCef/cli/equal/golden_output_8_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"vrf": {
"default": {
"address_family": {
"ipv4": {
"prefix": {
"10.169.196.241/32": {
"nexthop": {
"10.0.0.10": {
"outg... | 34.592593 | 77 | 0.205567 | 35 | 934 | 5.228571 | 0.714286 | 0.213115 | 0.196721 | 0.251366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.704497 | 934 | 26 | 78 | 35.923077 | 0.532609 | 0 | 0 | 0 | 0 | 0 | 0.191649 | 0.022484 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
52b11c49e335f007fb3d7b986bcb66414a2dc15b | 1,509 | py | Python | molecule/vagrant-test/tests/test_default.py | kirikae/ansible-role-install_foreman | c2491d7fbacca41b591d80056d4797927eb5260c | [
"MIT"
] | 1 | 2019-10-21T13:38:04.000Z | 2019-10-21T13:38:04.000Z | molecule/vagrant-test/tests/test_default.py | kirikae/ansible-role-install_foreman | c2491d7fbacca41b591d80056d4797927eb5260c | [
"MIT"
] | null | null | null | molecule/vagrant-test/tests/test_default.py | kirikae/ansible-role-install_foreman | c2491d7fbacca41b591d80056d4797927eb5260c | [
"MIT"
] | null | null | null | # TODO: Modify below tests with actual ones.
import os
import pytest
import testinfra.utils.ansible_runner
testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')
@pytest.fixture(scope="module")
def AnsibleDistribution(Ansible):
return Ansibl... | 22.522388 | 68 | 0.63552 | 179 | 1,509 | 5.223464 | 0.463687 | 0.041711 | 0.057754 | 0.077005 | 0.180749 | 0.094118 | 0.094118 | 0 | 0 | 0 | 0 | 0.029695 | 0.174288 | 1,509 | 66 | 69 | 22.863636 | 0.720706 | 0.476474 | 0 | 0.157895 | 0 | 0 | 0.176084 | 0.030223 | 0 | 0 | 0 | 0.015152 | 0.052632 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.526316 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
52d5844e3f3609a7e7c352a11f402992db3f1446 | 149,392 | py | Python | mawie/gui/resources/images.py | Grisou13/mawie | d6b7a2f09431ab0d34f366062bf3c26d346169f9 | [
"MIT"
] | 1 | 2020-03-03T16:39:30.000Z | 2020-03-03T16:39:30.000Z | mawie/gui/resources/images.py | Grisou13/mawie | d6b7a2f09431ab0d34f366062bf3c26d346169f9 | [
"MIT"
] | 5 | 2021-03-18T20:17:57.000Z | 2022-01-13T00:37:27.000Z | mawie/gui/resources/images.py | Grisou13/mawie | d6b7a2f09431ab0d34f366062bf3c26d346169f9 | [
"MIT"
] | 2 | 2016-09-30T06:25:57.000Z | 2016-11-25T20:23:46.000Z | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.7.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x8c\x9c\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\xf4\x0... | 65.236681 | 96 | 0.727295 | 36,156 | 149,392 | 3.004591 | 0.008159 | 0.014526 | 0.01077 | 0.005965 | 0.110131 | 0.096876 | 0.084835 | 0.077655 | 0.073126 | 0.070282 | 0 | 0.292597 | 0.015663 | 149,392 | 2,289 | 97 | 65.265181 | 0.446148 | 0.001011 | 0 | 0.039121 | 0 | 0.991209 | 0 | 0 | 0 | 1 | 0.000054 | 0 | 0 | 1 | 0.000879 | false | 0 | 0.00044 | 0 | 0.001319 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e2129c7310f5821f8170c153c0a32a66cb3a72a | 677 | py | Python | drf_schemas/migrations/0008_auto_20200516_1540.py | altest-com/drf-schemas | 12f749579101d34faa60c920cd99fad074f76b6a | [
"MIT"
] | null | null | null | drf_schemas/migrations/0008_auto_20200516_1540.py | altest-com/drf-schemas | 12f749579101d34faa60c920cd99fad074f76b6a | [
"MIT"
] | 2 | 2020-04-29T20:15:32.000Z | 2020-05-03T13:48:00.000Z | drf_schemas/migrations/0008_auto_20200516_1540.py | altest-com/drf-schemas | 12f749579101d34faa60c920cd99fad074f76b6a | [
"MIT"
] | null | null | null | # Generated by Django 3.0.2 on 2020-05-16 20:40
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('drf_schemas', '0007_auto_20200515_1654'),
]
operations = [
migrations.RemoveField(
model_name='booleanfield',
name='represen... | 22.566667 | 51 | 0.553914 | 57 | 677 | 6.438596 | 0.596491 | 0.228883 | 0.283379 | 0.326975 | 0.351499 | 0.351499 | 0 | 0 | 0 | 0 | 0 | 0.069196 | 0.338257 | 677 | 29 | 52 | 23.344828 | 0.75 | 0.06647 | 0 | 0.521739 | 1 | 0 | 0.187302 | 0.036508 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e249782db9bee61cf4ae7a84acef7cfc8eb2eef | 575 | py | Python | wechatpy/client/api/merchant/stock.py | myuanz/wechatpy | f131e1808ffd51f61881188fc080c36523063c2b | [
"MIT"
] | 2 | 2020-04-12T17:28:01.000Z | 2020-04-12T17:28:08.000Z | wechatpy/client/api/merchant/stock.py | myuanz/wechatpy | f131e1808ffd51f61881188fc080c36523063c2b | [
"MIT"
] | null | null | null | wechatpy/client/api/merchant/stock.py | myuanz/wechatpy | f131e1808ffd51f61881188fc080c36523063c2b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from wechatpy.client.api.base import BaseWeChatAPI
class MerchantStock(BaseWeChatAPI):
API_BASE_URL = "https://api.weixin.qq.com/"
def add(self, product_id, quantity, sku_info=""):
return self._post(
"merchant/stock/add", data={"product_id": product_id, "quantity... | 30.263158 | 113 | 0.64 | 71 | 575 | 4.957746 | 0.43662 | 0.153409 | 0.193182 | 0.119318 | 0.607955 | 0.607955 | 0.607955 | 0.607955 | 0.607955 | 0.607955 | 0 | 0.002188 | 0.205217 | 575 | 18 | 114 | 31.944444 | 0.768053 | 0.036522 | 0 | 0.181818 | 0 | 0 | 0.211957 | 0.038043 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5e2e3f31a2dd2edbef9c9fa7c68ca074a517e02e | 4,120 | py | Python | coco/admin/forms.py | ipynbsrv/ipynbsrv | 6cd99719c2a9b3814ee37d87a38adcbf30172141 | [
"BSD-3-Clause"
] | null | null | null | coco/admin/forms.py | ipynbsrv/ipynbsrv | 6cd99719c2a9b3814ee37d87a38adcbf30172141 | [
"BSD-3-Clause"
] | null | null | null | coco/admin/forms.py | ipynbsrv/ipynbsrv | 6cd99719c2a9b3814ee37d87a38adcbf30172141 | [
"BSD-3-Clause"
] | null | null | null | from coco.core.models import BackendUser, CollaborationGroup, Share
from django import forms
from django.contrib.admin.widgets import FilteredSelectMultiple
class CollaborationGroupAdminForm(forms.ModelForm):
"""
:link https://djangosnippets.org/snippets/2452/
"""
admins = forms.ModelMultipleChoiceF... | 33.770492 | 78 | 0.561408 | 422 | 4,120 | 5.279621 | 0.161137 | 0.06912 | 0.070018 | 0.091562 | 0.749551 | 0.749551 | 0.724417 | 0.70018 | 0.576302 | 0.576302 | 0 | 0.007331 | 0.337864 | 4,120 | 121 | 79 | 34.049587 | 0.809384 | 0.03932 | 0 | 0.738095 | 0 | 0 | 0.045668 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.035714 | 0 | 0.202381 | 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 |
5e35293d86e59b569e01fe12eb313901bce2a041 | 194 | py | Python | dependencies/panda/Panda3D-1.10.0-x64/python/Lib/serial/writeblockingtest.py | CrankySupertoon01/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2021-02-13T22:40:50.000Z | 2021-02-13T22:40:50.000Z | dependencies/panda/Panda3D-1.10.0-x64/python/Lib/serial/writeblockingtest.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 1 | 2018-07-28T20:07:04.000Z | 2018-07-30T18:28:34.000Z | dependencies/panda/Panda3D-1.10.0-x64/python/Lib/serial/writeblockingtest.py | CrankySupertoonArchive/Toontown-2 | 60893d104528a8e7eb4aced5d0015f22e203466d | [
"MIT"
] | 2 | 2019-12-02T01:39:10.000Z | 2021-02-13T22:41:00.000Z | import serial
import time
def test():
ser = serial.Serial(0, 300)
print time.time()
ser.write('*' * 120)
print time.time()
ser.close()
if __name__ == '__main__':
test() | 16.166667 | 31 | 0.592784 | 26 | 194 | 4.115385 | 0.576923 | 0.168224 | 0.242991 | 0.299065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047945 | 0.247423 | 194 | 12 | 32 | 16.166667 | 0.684932 | 0 | 0 | 0.2 | 0 | 0 | 0.046154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 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 | 0 | 0 | 4 |
5e3d0d5d4ce80a5e6c6b2ac5072cf7fa007b5ba2 | 259 | py | Python | backpack/core/derivatives/conv_transpose1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 395 | 2019-10-04T09:37:52.000Z | 2022-03-29T18:00:56.000Z | backpack/core/derivatives/conv_transpose1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 78 | 2019-10-11T18:56:43.000Z | 2022-03-23T01:49:54.000Z | backpack/core/derivatives/conv_transpose1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 50 | 2019-10-03T16:31:10.000Z | 2022-03-15T19:36:14.000Z | """Partial derivatives for `torch.nn.ConvTranspose1d`."""
from backpack.core.derivatives.conv_transposend import ConvTransposeNDDerivatives
class ConvTranspose1DDerivatives(ConvTransposeNDDerivatives):
def __init__(self):
super().__init__(N=1)
| 28.777778 | 81 | 0.791506 | 24 | 259 | 8.166667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012987 | 0.108108 | 259 | 8 | 82 | 32.375 | 0.835498 | 0.196911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
eaa7efb1da14ce272608ca37cee37c77616fb95f | 823 | py | Python | app/models/user.py | GOODLIFEZW/zw-flask | 3da8b30cd0367255abbf8efad22fceebbf645779 | [
"MIT"
] | null | null | null | app/models/user.py | GOODLIFEZW/zw-flask | 3da8b30cd0367255abbf8efad22fceebbf645779 | [
"MIT"
] | null | null | null | app/models/user.py | GOODLIFEZW/zw-flask | 3da8b30cd0367255abbf8efad22fceebbf645779 | [
"MIT"
] | null | null | null | from sqlalchemy import Column, String, Integer
from werkzeug.security import generate_password_hash, check_password_hash
from app.models.base import Base
from flask_login import UserMixin
from app import login_manager
class User(Base, UserMixin):
id = Column(Integer, primary_key=True)
username = Colu... | 35.782609 | 74 | 0.749696 | 108 | 823 | 5.527778 | 0.435185 | 0.140704 | 0.100503 | 0.077052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010189 | 0.165249 | 823 | 23 | 75 | 35.782609 | 0.858806 | 0.041312 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0.352941 | 0.294118 | 0.117647 | 0.882353 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
eaa8723dc6247e10a243d704929fd640a275ec01 | 261 | py | Python | lbrynet/txlbryum/errors.py | anon4040/lbry | 1f1b34863805f4954fbef3f163ef65268a66771a | [
"MIT"
] | null | null | null | lbrynet/txlbryum/errors.py | anon4040/lbry | 1f1b34863805f4954fbef3f163ef65268a66771a | [
"MIT"
] | null | null | null | lbrynet/txlbryum/errors.py | anon4040/lbry | 1f1b34863805f4954fbef3f163ef65268a66771a | [
"MIT"
] | 1 | 2018-05-01T09:28:52.000Z | 2018-05-01T09:28:52.000Z | class TransportException(Exception):
pass
class ServiceException(Exception):
code = -2
class RemoteServiceException(Exception):
pass
class ProtocolException(Exception):
pass
class MethodNotFoundException(ServiceException):
code = -3
| 13.736842 | 48 | 0.747126 | 22 | 261 | 8.863636 | 0.5 | 0.2 | 0.276923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.180077 | 261 | 18 | 49 | 14.5 | 0.901869 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.3 | 0 | 0 | 0.7 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
eab5535889451053e2ee6314af5f38f1d8d05de1 | 101 | py | Python | Course-1:Divide-and-Conquer/karger_min_cut.py | karenk1010/Coursera-Algorithms-Specialization | 5d293ff6e74e7d6f2090696d21d282e1734f396a | [
"MIT"
] | null | null | null | Course-1:Divide-and-Conquer/karger_min_cut.py | karenk1010/Coursera-Algorithms-Specialization | 5d293ff6e74e7d6f2090696d21d282e1734f396a | [
"MIT"
] | null | null | null | Course-1:Divide-and-Conquer/karger_min_cut.py | karenk1010/Coursera-Algorithms-Specialization | 5d293ff6e74e7d6f2090696d21d282e1734f396a | [
"MIT"
] | 2 | 2021-02-04T22:20:15.000Z | 2021-02-11T13:27:24.000Z | #!/usr/bin/python3
"""
Compute min cut of the graph with Karger algorithm.
Problem answer: 17
"""
| 11.222222 | 51 | 0.693069 | 15 | 101 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036145 | 0.178218 | 101 | 8 | 52 | 12.625 | 0.807229 | 0.881188 | 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 |
ead6c1e3aacf7ed1fc76e7c019bd3ef9f7f76ea3 | 56 | py | Python | python/testData/qualifiedName/methodReference/pkg/subpkg/mod.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/qualifiedName/methodReference/pkg/subpkg/mod.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/qualifiedName/methodReference/pkg/subpkg/mod.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class MyClass:
def met<caret>hod(self):
pass | 18.666667 | 28 | 0.607143 | 8 | 56 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 56 | 3 | 29 | 18.666667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.333333 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d82d7acb40704826c6fce6005a3e7f15d8e272f9 | 144 | py | Python | Python/Learning/Tips/enumerate.py | prynix/learning-programming | 85aea40a61fb824a2b4e142331d9ac7971fef263 | [
"MIT"
] | 2 | 2017-03-14T16:02:08.000Z | 2017-05-02T13:48:18.000Z | Python/Learning/Tips/enumerate.py | CajetanP/code-learning | 85aea40a61fb824a2b4e142331d9ac7971fef263 | [
"MIT"
] | 4 | 2021-05-20T21:10:13.000Z | 2022-02-26T09:50:19.000Z | Python/Learning/Tips/enumerate.py | CajetanP/code-learning | 85aea40a61fb824a2b4e142331d9ac7971fef263 | [
"MIT"
] | 1 | 2021-06-18T01:31:24.000Z | 2021-06-18T01:31:24.000Z |
my_list = ['apple', 'banana', 'grapes', 'pear']
for c, value in enumerate(my_list, 1):
print(c, value)
print(list(enumerate(my_list, 0)))
| 20.571429 | 47 | 0.645833 | 23 | 144 | 3.913043 | 0.608696 | 0.2 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.152778 | 144 | 6 | 48 | 24 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.146853 | 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 |
dc2214e1f508e78bd7d76d9cbbfdaea6fb07d566 | 30 | py | Python | pineboolib/plugins/dgi/dgi_qt/dgi_objects/__init__.py | juanjosepablos/pineboo | f6ce515aec6e0139821bb9c1d62536d9fb50dae4 | [
"MIT"
] | 2 | 2017-12-10T23:06:16.000Z | 2017-12-10T23:06:23.000Z | pineboolib/plugins/dgi/dgi_qt/dgi_objects/__init__.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 36 | 2017-11-05T21:13:47.000Z | 2020-08-26T15:56:15.000Z | pineboolib/plugins/dgi/dgi_qt/dgi_objects/__init__.py | Aulla/pineboo | 3ad6412d365a6ad65c3bb2bdc03f5798d7c37004 | [
"MIT"
] | 8 | 2017-11-05T15:56:31.000Z | 2019-04-25T16:32:28.000Z | """DGI_QT_OBJECTS package."""
| 15 | 29 | 0.7 | 4 | 30 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.678571 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 |
dc244b293be7c3d7785a9c227810056cb046e34c | 22,578 | py | Python | scenegraph/exp-official/taskographyv2medium2_FF/taskographyv2medium2_FF_test.py | taskography/3dscenegraph-dev | 2c261241230fbea1f1c687ff793478248f25c02c | [
"MIT"
] | 1 | 2022-01-30T22:06:57.000Z | 2022-01-30T22:06:57.000Z | scenegraph/exp-official/taskographyv2medium2_FF/taskographyv2medium2_FF_test.py | taskography/3dscenegraph-dev | 2c261241230fbea1f1c687ff793478248f25c02c | [
"MIT"
] | null | null | null | scenegraph/exp-official/taskographyv2medium2_FF/taskographyv2medium2_FF_test.py | taskography/3dscenegraph-dev | 2c261241230fbea1f1c687ff793478248f25c02c | [
"MIT"
] | null | null | null | STATS = [
{
"num_node_expansions": 51,
"plan_length": 33,
"search_time": 0.04,
"total_time": 0.04
},
{
"num_node_expansions": 87,
"plan_length": 35,
"search_time": 0.07,
"total_time": 0.07
},
{
"num_node_expansions": 104,
... | 21.751445 | 35 | 0.46594 | 2,590 | 22,578 | 3.728571 | 0.048649 | 0.160505 | 0.302786 | 0.035415 | 0.90204 | 0.886093 | 0.675779 | 0.675779 | 0.675779 | 0.666149 | 0 | 0.122234 | 0.381478 | 22,578 | 1,037 | 36 | 21.77242 | 0.56928 | 0 | 0 | 0.545805 | 0 | 0 | 0.38852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc30da47c55900e8eb489787c605a0cf93e9ad9e | 235 | py | Python | api/models.py | dsnull/code-good-parts | 0a16f68271fd6b91ed52bd2188e8fdaa481ed8eb | [
"MIT"
] | null | null | null | api/models.py | dsnull/code-good-parts | 0a16f68271fd6b91ed52bd2188e8fdaa481ed8eb | [
"MIT"
] | null | null | null | api/models.py | dsnull/code-good-parts | 0a16f68271fd6b91ed52bd2188e8fdaa481ed8eb | [
"MIT"
] | null | null | null | from django.db import models
from django.db import models
from django.utils import timezone
class DeviceToken(models.Model):
token = models.CharField(max_length=256)
created_date = models.DateTimeField(default=timezone.now)
| 23.5 | 61 | 0.791489 | 32 | 235 | 5.75 | 0.625 | 0.163043 | 0.130435 | 0.195652 | 0.315217 | 0.315217 | 0.315217 | 0 | 0 | 0 | 0 | 0.014706 | 0.131915 | 235 | 9 | 62 | 26.111111 | 0.887255 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 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 |
dc44451c098779c813068118486826ca6e9afb6a | 136 | py | Python | pyrmbridge/pyrmbridge/apps.py | reid418/pyrmbridge | a85b038f6f1b0659dc5b02cfe78f3541a99cbad7 | [
"MIT"
] | null | null | null | pyrmbridge/pyrmbridge/apps.py | reid418/pyrmbridge | a85b038f6f1b0659dc5b02cfe78f3541a99cbad7 | [
"MIT"
] | null | null | null | pyrmbridge/pyrmbridge/apps.py | reid418/pyrmbridge | a85b038f6f1b0659dc5b02cfe78f3541a99cbad7 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class PyrmbridgeConfig(AppConfig):
name = 'pyrmbridge'
| 17 | 39 | 0.801471 | 15 | 136 | 6.933333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 136 | 7 | 40 | 19.428571 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
dc515378ff56cf27c36da37fc73cb364da744972 | 162 | py | Python | src/lllorigins/home/context.py | AVRC26/blog-ui | fbecbf6f20f3df3da525e9c7963269cd5f4e8e65 | [
"Apache-2.0"
] | null | null | null | src/lllorigins/home/context.py | AVRC26/blog-ui | fbecbf6f20f3df3da525e9c7963269cd5f4e8e65 | [
"Apache-2.0"
] | null | null | null | src/lllorigins/home/context.py | AVRC26/blog-ui | fbecbf6f20f3df3da525e9c7963269cd5f4e8e65 | [
"Apache-2.0"
] | null | null | null | from django.conf import settings
def global_settings(request):
# return any necessary values
return {
'UNSPLASH_ID': settings.UNSPLASH_ID,
} | 20.25 | 44 | 0.697531 | 19 | 162 | 5.789474 | 0.736842 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228395 | 162 | 8 | 45 | 20.25 | 0.88 | 0.166667 | 0 | 0 | 0 | 0 | 0.08209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
dc8a391cdec800e22571e7be2ad03b3c70200fb6 | 676 | py | Python | InvenTree/stock/migrations/0063_auto_20210511_2343.py | inmys/InvenTree | a0d1622926ba9a13839adfe64a8fe21c073692f2 | [
"MIT"
] | 656 | 2017-03-29T22:06:14.000Z | 2022-03-30T11:23:52.000Z | InvenTree/stock/migrations/0063_auto_20210511_2343.py | inmys/InvenTree | a0d1622926ba9a13839adfe64a8fe21c073692f2 | [
"MIT"
] | 1,545 | 2017-04-10T23:26:04.000Z | 2022-03-31T18:32:10.000Z | InvenTree/stock/migrations/0063_auto_20210511_2343.py | fablabbcn/InvenTree | 1d7ea7716cc96c6ffd151c822b01cd1fb5dcfecd | [
"MIT"
] | 196 | 2017-03-28T03:06:21.000Z | 2022-03-28T11:53:29.000Z | # Generated by Django 3.2 on 2021-05-11 13:43
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('stock', '0062_auto_20210511_2151'),
]
operations = [
migrations.RemoveField(
model_name='stockitemtracking',
name='link',
... | 22.533333 | 45 | 0.554734 | 55 | 676 | 6.690909 | 0.581818 | 0.228261 | 0.282609 | 0.326087 | 0.554348 | 0.554348 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 0.338757 | 676 | 29 | 46 | 23.310345 | 0.756152 | 0.063609 | 0 | 0.521739 | 1 | 0 | 0.18859 | 0.03645 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc95b9b1e13ade7e51cf41ef376721f89597de52 | 181 | py | Python | friends/admin.py | Towfiqomi/django-social-media-webapplication | 18b1de119b7d813478408fe978a09f24e9297db9 | [
"MIT"
] | 2 | 2019-05-31T21:11:43.000Z | 2021-05-01T12:39:57.000Z | friends/admin.py | Towfiqomi/django-social-media-webapplication | 18b1de119b7d813478408fe978a09f24e9297db9 | [
"MIT"
] | 14 | 2019-06-10T19:27:00.000Z | 2022-03-11T23:46:32.000Z | friends/admin.py | Towfiqomi/django-social-media-webapplication | 18b1de119b7d813478408fe978a09f24e9297db9 | [
"MIT"
] | 3 | 2020-11-01T10:38:15.000Z | 2021-12-20T16:51:11.000Z | from django.contrib import admin
from friends.models import Friends, FriendRequest
# Register your models here.
admin.site.register(Friends)
admin.site.register(FriendRequest)
| 16.454545 | 49 | 0.812155 | 23 | 181 | 6.391304 | 0.521739 | 0.122449 | 0.231293 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116022 | 181 | 10 | 50 | 18.1 | 0.91875 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f49eb76173fa2cd99cdf817b9d6534ba28809c63 | 30 | py | Python | python modules/realworld.py | dalbergasia/Covid-19-Model | 8d7739761c0f8874f1ba1e114a1be8c0d1caa27b | [
"MIT"
] | null | null | null | python modules/realworld.py | dalbergasia/Covid-19-Model | 8d7739761c0f8874f1ba1e114a1be8c0d1caa27b | [
"MIT"
] | null | null | null | python modules/realworld.py | dalbergasia/Covid-19-Model | 8d7739761c0f8874f1ba1e114a1be8c0d1caa27b | [
"MIT"
] | null | null | null | # IMPORTED CASES |
realworld | 15 | 20 | 0.733333 | 3 | 30 | 7.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 2 | 21 | 15 | 0.916667 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 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 |
f4a5dc04abbee7b476231c3d76e06287d217b79b | 163 | py | Python | Idat_Python2022/Semana_5/examen/2ejemplo.py | Kennethguerra3/Python_Ejercicio_2022 | cf1297cf1e1585eba699e32c02993818c3d9ecbf | [
"MIT"
] | null | null | null | Idat_Python2022/Semana_5/examen/2ejemplo.py | Kennethguerra3/Python_Ejercicio_2022 | cf1297cf1e1585eba699e32c02993818c3d9ecbf | [
"MIT"
] | null | null | null | Idat_Python2022/Semana_5/examen/2ejemplo.py | Kennethguerra3/Python_Ejercicio_2022 | cf1297cf1e1585eba699e32c02993818c3d9ecbf | [
"MIT"
] | null | null | null | edad = int(input("¿Cuántos años tiene? "))
if edad < 18:
print("Es usted menor de edad")
else:
print("Es usted mayor de edad")
print("¡Hasta la próxima!")
| 23.285714 | 42 | 0.644172 | 28 | 163 | 3.821429 | 0.714286 | 0.130841 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015267 | 0.196319 | 163 | 6 | 43 | 27.166667 | 0.78626 | 0 | 0 | 0 | 0 | 0 | 0.509202 | 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 |
f4b472701011fa519b07899ebce92bb55bf1e345 | 193 | py | Python | apps/categories/watson_register.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | apps/categories/watson_register.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | apps/categories/watson_register.py | ExpoAshique/ProveBanking__s | f0b45fffea74d00d14014be27aa50fe5f42f6903 | [
"MIT"
] | null | null | null | from watson import search as watson
from .models import Category
if not watson.is_registered(Category):
watson.register(Category.objects.all(),
fields=("id", "name",))
| 27.571429 | 43 | 0.673575 | 24 | 193 | 5.375 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212435 | 193 | 6 | 44 | 32.166667 | 0.848684 | 0 | 0 | 0 | 0 | 0 | 0.031088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f4b557df1a34c5973128ecc2b6fdc2a621777324 | 1,127 | py | Python | day13_test.py | Elgolfin/adventofcode-2015-py | aa8dc35471c57df3c952233ef5b5ba758dfc0ae3 | [
"MIT"
] | null | null | null | day13_test.py | Elgolfin/adventofcode-2015-py | aa8dc35471c57df3c952233ef5b5ba758dfc0ae3 | [
"MIT"
] | null | null | null | day13_test.py | Elgolfin/adventofcode-2015-py | aa8dc35471c57df3c952233ef5b5ba758dfc0ae3 | [
"MIT"
] | null | null | null | """Day 13 unit tests"""
import unittest
import day13_lib
class Day01TestCase(unittest.TestCase):
"""Tests for `day13_lib.py`"""
def test_(self):
"""Tests for the final floor"""
people, happiness = day13_lib.parse_input("""Alice would gain 54 happiness units by sitting next to Bob.
Alice would... | 40.25 | 112 | 0.757764 | 181 | 1,127 | 4.624309 | 0.309392 | 0.200717 | 0.229391 | 0.329749 | 0.504182 | 0.504182 | 0.504182 | 0.09319 | 0.09319 | 0 | 0 | 0.039046 | 0.181899 | 1,127 | 27 | 113 | 41.740741 | 0.868764 | 0.060337 | 0 | 0 | 0 | 0 | 0.706616 | 0 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0.05 | false | 0 | 0.1 | 0 | 0.2 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
520355c84d12a2f852a63560284c25b927e9cfde | 3,953 | py | Python | tests/test_deploy_strategy.py | Lucas-Kohorst/realized-strangle | 2c5dec8b8abbda0d27dfbccee2d379e89e5849ec | [
"Unlicense"
] | 11 | 2021-07-20T20:48:41.000Z | 2022-02-16T13:22:28.000Z | tests/test_deploy_strategy.py | Lucas-Kohorst/realized-strangle | 2c5dec8b8abbda0d27dfbccee2d379e89e5849ec | [
"Unlicense"
] | null | null | null | tests/test_deploy_strategy.py | Lucas-Kohorst/realized-strangle | 2c5dec8b8abbda0d27dfbccee2d379e89e5849ec | [
"Unlicense"
] | 2 | 2021-08-02T23:50:14.000Z | 2021-11-07T16:14:51.000Z | from brownie import reverts
def test_constructor(RealVolStrategy, StrikeSelection, vault, gov, keeper):
strikeSelection = gov.deploy(
StrikeSelection, "0x966878c047e3e4aDa52Baa93A94bc176FF67b2Dc", 1000, 50)
strategy = gov.deploy(RealVolStrategy, vault, 2400, 1200, 500, 600, keeper,
... | 52.706667 | 100 | 0.687326 | 303 | 3,953 | 8.940594 | 0.161716 | 0.059801 | 0.079734 | 0.129568 | 0.806571 | 0.747139 | 0.719085 | 0.692137 | 0.633075 | 0.538944 | 0 | 0.214145 | 0.227422 | 3,953 | 74 | 101 | 53.418919 | 0.672888 | 0.064002 | 0 | 0.6 | 0 | 0 | 0.253048 | 0.216202 | 0 | 0 | 0.216202 | 0 | 0.145455 | 1 | 0.036364 | false | 0 | 0.018182 | 0 | 0.054545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
520a903220533d191f3cb2b030a311ec4fc59699 | 37 | py | Python | wledpy/__init__.py | DavidM42/wledpy | 8f324debcc59afa9a3af76ea4b7414fadad3fece | [
"Apache-2.0"
] | 5 | 2020-07-09T01:31:28.000Z | 2021-07-22T12:54:04.000Z | wledpy/__init__.py | DavidM42/wledpy | 8f324debcc59afa9a3af76ea4b7414fadad3fece | [
"Apache-2.0"
] | null | null | null | wledpy/__init__.py | DavidM42/wledpy | 8f324debcc59afa9a3af76ea4b7414fadad3fece | [
"Apache-2.0"
] | 2 | 2021-01-06T02:06:12.000Z | 2021-07-22T12:59:14.000Z | name = "wledpy"
import wledpy.wled | 12.333333 | 18 | 0.702703 | 5 | 37 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189189 | 37 | 3 | 18 | 12.333333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
52232ebe5fdb76b9ed8038d29dfc9c7942f851b8 | 74 | py | Python | monitoring/status-page/status/__init__.py | metronotes-testing/harmony-ops | b9cb64fe2fb28ccaf809b8cf75448e13ce449334 | [
"MIT"
] | null | null | null | monitoring/status-page/status/__init__.py | metronotes-testing/harmony-ops | b9cb64fe2fb28ccaf809b8cf75448e13ce449334 | [
"MIT"
] | null | null | null | monitoring/status-page/status/__init__.py | metronotes-testing/harmony-ops | b9cb64fe2fb28ccaf809b8cf75448e13ce449334 | [
"MIT"
] | 1 | 2021-11-08T04:42:05.000Z | 2021-11-08T04:42:05.000Z | from flask import Flask
app = Flask(__name__)
from status import routes
| 12.333333 | 25 | 0.783784 | 11 | 74 | 4.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175676 | 74 | 5 | 26 | 14.8 | 0.885246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
523d8f3cf53d24d664d8f3a88c7203e6cdb9d97c | 91 | py | Python | Project3/inCharge/apps.py | Nakui/PruebaEmpleo | b3cdc8dfeddd1cd24569a291178f2614e42a1eeb | [
"MIT"
] | null | null | null | Project3/inCharge/apps.py | Nakui/PruebaEmpleo | b3cdc8dfeddd1cd24569a291178f2614e42a1eeb | [
"MIT"
] | null | null | null | Project3/inCharge/apps.py | Nakui/PruebaEmpleo | b3cdc8dfeddd1cd24569a291178f2614e42a1eeb | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class InchargeConfig(AppConfig):
name = 'inCharge'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
524c1478776f1bde18cb9a1d01c2e51bb3f5393e | 628 | py | Python | uk_stemmer/__init__.py | Desklop/Uk_Stemmer | a700ae1bd9b69ad84d311d089e8bc95ab7fab44d | [
"Apache-2.0"
] | 8 | 2019-10-28T22:51:22.000Z | 2021-11-30T10:44:13.000Z | uk_stemmer/__init__.py | Desklop/Uk_Stemmer | a700ae1bd9b69ad84d311d089e8bc95ab7fab44d | [
"Apache-2.0"
] | null | null | null | uk_stemmer/__init__.py | Desklop/Uk_Stemmer | a700ae1bd9b69ad84d311d089e8bc95ab7fab44d | [
"Apache-2.0"
] | 7 | 2020-02-28T01:08:30.000Z | 2021-05-12T16:09:31.000Z | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# OS : GNU/Linux Ubuntu 16.04 or 18.04
# LANGUAGE : Python 3.5.2 or later
# AUTHOR : Klim V. O.
# DATE : 28.10.2019
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -... | 34.888889 | 88 | 0.515924 | 74 | 628 | 4.324324 | 0.783784 | 0.0625 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049356 | 0.257962 | 628 | 17 | 89 | 36.941176 | 0.637339 | 0.904459 | 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 |
524cbebfc8c1b5b871ddd46c9d02061077b76fb3 | 63 | py | Python | Cryptocurrency Webhook for Discord/post.py | WonderNote18/py-2.7-Cryptocurrency-Webhook | 1af33eec6a9cb593cfdf2dfc7b14e845b4f9e0ff | [
"MIT"
] | null | null | null | Cryptocurrency Webhook for Discord/post.py | WonderNote18/py-2.7-Cryptocurrency-Webhook | 1af33eec6a9cb593cfdf2dfc7b14e845b4f9e0ff | [
"MIT"
] | null | null | null | Cryptocurrency Webhook for Discord/post.py | WonderNote18/py-2.7-Cryptocurrency-Webhook | 1af33eec6a9cb593cfdf2dfc7b14e845b4f9e0ff | [
"MIT"
] | null | null | null | import coins, times
import requests
from random import randint
| 15.75 | 26 | 0.84127 | 9 | 63 | 5.888889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 27 | 21 | 0.981481 | 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 |
526d854b29236739fd6f3ad03ccd22be30b95e8f | 29,233 | py | Python | pygrim/formulas/bessel.py | mezzarobba/fungrim | 01866a19882d44420e01383165dbb0a9f97680da | [
"MIT"
] | 102 | 2019-03-15T19:57:55.000Z | 2022-03-04T06:56:18.000Z | pygrim/formulas/bessel.py | mezzarobba/fungrim | 01866a19882d44420e01383165dbb0a9f97680da | [
"MIT"
] | 26 | 2019-03-15T03:17:26.000Z | 2022-02-21T17:46:50.000Z | pygrim/formulas/bessel.py | mezzarobba/fungrim | 01866a19882d44420e01383165dbb0a9f97680da | [
"MIT"
] | 12 | 2019-03-15T01:59:04.000Z | 2022-02-24T14:53:35.000Z | # -*- coding: utf-8 -*-
from ..expr import *
def_Topic(
Title("Bessel functions"),
Entries(
"b4165c",
"5bb42e",
"8ac81d",
"ff93d0",
),
Section("Differential equations"),
Entries(
"ad9caa",
"62f23c",
"95e561",
"fd9add",
),
Sect... | 38.063802 | 269 | 0.583382 | 4,230 | 29,233 | 4.009693 | 0.064303 | 0.031307 | 0.057308 | 0.054478 | 0.809858 | 0.749307 | 0.710453 | 0.69648 | 0.646542 | 0.623961 | 0 | 0.050899 | 0.193514 | 29,233 | 767 | 270 | 38.113429 | 0.668519 | 0.000718 | 0 | 0.489521 | 0 | 0.001497 | 0.129001 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.001497 | 0 | 0.001497 | 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 |
5276b68d2f3e9f5d961b37ad31fdf3c9629c989e | 27 | py | Python | data/studio21_generated/introductory/4518/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4518/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4518/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def wheres_wally(string):
| 13.5 | 25 | 0.777778 | 4 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 2 | 26 | 13.5 | 0.833333 | 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 |
528b0719a7088bdf24dff28665d18fd1e2e21e4c | 136 | py | Python | 09_organizing_larger_programs/multi-reader-program/__main__.py | bluehenry/python.best.practices | 99fde3557b0c423d3050e988e82a641ccd75b644 | [
"MIT"
] | null | null | null | 09_organizing_larger_programs/multi-reader-program/__main__.py | bluehenry/python.best.practices | 99fde3557b0c423d3050e988e82a641ccd75b644 | [
"MIT"
] | null | null | null | 09_organizing_larger_programs/multi-reader-program/__main__.py | bluehenry/python.best.practices | 99fde3557b0c423d3050e988e82a641ccd75b644 | [
"MIT"
] | null | null | null | import sys
from demo_reader.multireader import MultiReader
filename = sys.argv[1]
r = MultiReader(filename)
print(r.read())
r.close() | 15.111111 | 47 | 0.764706 | 20 | 136 | 5.15 | 0.65 | 0.368932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.117647 | 136 | 9 | 48 | 15.111111 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5295d006d5a23aab61c77d6c126175d14853af6f | 19 | py | Python | __init__.py | tdincer/ewolm | 4e7baa2a231b54a11e1fb7fa7a238a56622ec61a | [
"MIT"
] | null | null | null | __init__.py | tdincer/ewolm | 4e7baa2a231b54a11e1fb7fa7a238a56622ec61a | [
"MIT"
] | null | null | null | __init__.py | tdincer/ewolm | 4e7baa2a231b54a11e1fb7fa7a238a56622ec61a | [
"MIT"
] | null | null | null | __all__ = ['ewolm'] | 19 | 19 | 0.631579 | 2 | 19 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 1 | 19 | 19 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bff8adfeb9e645deb047adcadda5905d2e8e4355 | 262 | py | Python | VirtualMachine/usage.py | samarthkittur/VirtualMachine | c8eb460d21ffb015428784abe69830157b7815f5 | [
"MIT"
] | 1 | 2021-07-21T16:16:58.000Z | 2021-07-21T16:16:58.000Z | VirtualMachine/usage.py | samarthkittur/VirtualMachine | c8eb460d21ffb015428784abe69830157b7815f5 | [
"MIT"
] | 1 | 2021-07-06T23:13:39.000Z | 2021-07-06T23:13:58.000Z | VirtualMachine/usage.py | samarthkittur/VirtualMachine | c8eb460d21ffb015428784abe69830157b7815f5 | [
"MIT"
] | null | null | null | from vmachine import Machine
Machine([
'"Enter a number: "', "print", "read", "cast_int",
'"The number "', "print", "dup", "print", '" is "', "print",
2, "%", 0, "==", '"even."', '"odd."', "if", "println",
0, "jmp"
]).run()
| 32.75 | 68 | 0.438931 | 28 | 262 | 4.071429 | 0.785714 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015707 | 0.270992 | 262 | 7 | 69 | 37.428571 | 0.581152 | 0 | 0 | 0 | 0 | 0 | 0.381679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.428571 | 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 |
87204691a0aac3c2e5a3c545997a798d593e697c | 34 | py | Python | data/studio21_generated/introductory/3583/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3583/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/3583/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def binary_array_to_number(arr):
| 17 | 32 | 0.823529 | 6 | 34 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 2 | 33 | 17 | 0.806452 | 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 |
875b163e8e779a80f6ef3a0a08d63ff5e4a35032 | 94 | py | Python | test/basic/drivers/tesic_apb/clean.py | sebastien-riou/SATL | b95d0e784d2e8e1384381d4d5b8b448d3d1798cf | [
"Apache-2.0"
] | 4 | 2020-05-13T10:13:55.000Z | 2021-10-20T04:43:07.000Z | test/basic/drivers/tesic_apb/clean.py | TiempoSecure/SATL | b95d0e784d2e8e1384381d4d5b8b448d3d1798cf | [
"Apache-2.0"
] | 4 | 2020-07-22T16:06:31.000Z | 2021-07-25T19:51:41.000Z | test/basic/drivers/tesic_apb/clean.py | TiempoSecure/SATL | b95d0e784d2e8e1384381d4d5b8b448d3d1798cf | [
"Apache-2.0"
] | 2 | 2019-05-12T21:15:00.000Z | 2020-09-23T09:05:24.000Z | #!/usr/bin/env python3
import shutil
shutil.rmtree('../../bin/tesic_apb',ignore_errors=True)
| 18.8 | 55 | 0.734043 | 14 | 94 | 4.785714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.06383 | 94 | 4 | 56 | 23.5 | 0.75 | 0.223404 | 0 | 0 | 0 | 0 | 0.263889 | 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 |
8763bfbba73e7b8edb05f4c9552abf2eabe3f32b | 266 | py | Python | src/garage/tf/samplers/__init__.py | Maltimore/garage | a3f44b37eeddca37d157766a9a72e8772f104bcd | [
"MIT"
] | null | null | null | src/garage/tf/samplers/__init__.py | Maltimore/garage | a3f44b37eeddca37d157766a9a72e8772f104bcd | [
"MIT"
] | null | null | null | src/garage/tf/samplers/__init__.py | Maltimore/garage | a3f44b37eeddca37d157766a9a72e8772f104bcd | [
"MIT"
] | null | null | null | """Samplers which run agents that use Tensorflow in environments."""
from garage.tf.samplers.batch_sampler import BatchSampler
from garage.tf.samplers.ray_sampler import (RaySamplerTF, SamplerWorkerTF)
__all__ = ['BatchSampler', 'RaySamplerTF', 'SamplerWorkerTF']
| 38 | 74 | 0.804511 | 30 | 266 | 6.933333 | 0.666667 | 0.096154 | 0.115385 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093985 | 266 | 6 | 75 | 44.333333 | 0.863071 | 0.233083 | 0 | 0 | 0 | 0 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 |
5e9e1784f67c165d5bf02047bde1137491fbf5d0 | 104 | py | Python | haul/__init__.py | dojekyll/haul | 234024ab8452ea2f41b18561377295cf2879fb20 | [
"MIT"
] | 89 | 2017-01-20T04:27:00.000Z | 2021-11-17T11:02:12.000Z | haul/__init__.py | Python3pkg/haul | 765c22bd69316037534a7bf36b3033b75f7a0682 | [
"MIT"
] | 1 | 2017-11-22T14:36:18.000Z | 2018-12-06T11:50:20.000Z | haul/__init__.py | Python3pkg/haul | 765c22bd69316037534a7bf36b3033b75f7a0682 | [
"MIT"
] | 23 | 2015-04-27T22:45:09.000Z | 2017-01-08T10:35:17.000Z | # coding: utf-8
__version__ = '1.3.1'
from .api import find_images
from .core import Haul, HaulResult
| 14.857143 | 34 | 0.730769 | 17 | 104 | 4.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.163462 | 104 | 6 | 35 | 17.333333 | 0.770115 | 0.125 | 0 | 0 | 0 | 0 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5eba2aace8768cc661d1f29c24ca967146c00613 | 102 | py | Python | recport/main.py | CircleOnCircles/recport | 371f8af612f7a0787eab9267ffe65f372c7badb2 | [
"MIT"
] | null | null | null | recport/main.py | CircleOnCircles/recport | 371f8af612f7a0787eab9267ffe65f372c7badb2 | [
"MIT"
] | null | null | null | recport/main.py | CircleOnCircles/recport | 371f8af612f7a0787eab9267ffe65f372c7badb2 | [
"MIT"
] | 1 | 2020-02-03T13:52:22.000Z | 2020-02-03T13:52:22.000Z | import sys
def run1():
print("hello world!")
print(sys.argv)
def run2():
print("bye")
| 9.272727 | 25 | 0.568627 | 14 | 102 | 4.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.254902 | 102 | 10 | 26 | 10.2 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0d5c9a5866cc843c070c4acfb9ad898cf8e41c0b | 1,337 | py | Python | pyspark_expectations/__init__.py | dm-drogeriemarkt/pyspark-expectations | 0f352190e20c7864fc48e8be88447d24d2362801 | [
"MIT"
] | null | null | null | pyspark_expectations/__init__.py | dm-drogeriemarkt/pyspark-expectations | 0f352190e20c7864fc48e8be88447d24d2362801 | [
"MIT"
] | 1 | 2021-04-30T11:45:57.000Z | 2021-04-30T11:45:57.000Z | pyspark_expectations/__init__.py | dm-drogeriemarkt/pyspark-expectations | 0f352190e20c7864fc48e8be88447d24d2362801 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "0.0.1"
from pyspark.sql import DataFrame
# Add expectations to PySpark DataFrames
from .expectations import (
expect_table_row_count_to_be_between,
expect_column_values_to_be_null,
expect_column_values_to_not_be_null,
expect_column_values_t... | 36.135135 | 91 | 0.866118 | 209 | 1,337 | 4.827751 | 0.220096 | 0.249752 | 0.374628 | 0.356789 | 0.75223 | 0.75223 | 0.681863 | 0.610505 | 0.507433 | 0.450942 | 0 | 0.0033 | 0.093493 | 1,337 | 36 | 92 | 37.138889 | 0.829208 | 0.060583 | 0 | 0 | 0 | 0 | 0.00399 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0d733ef15c540f8fd6bc0082256174bc3cc25e7f | 5,577 | py | Python | example/postgres_tests/models.py | netzkolchose/django-fast-update | 13bfd99b3ac90d3fc04fde1c3350f84dae7a4be4 | [
"MIT"
] | null | null | null | example/postgres_tests/models.py | netzkolchose/django-fast-update | 13bfd99b3ac90d3fc04fde1c3350f84dae7a4be4 | [
"MIT"
] | null | null | null | example/postgres_tests/models.py | netzkolchose/django-fast-update | 13bfd99b3ac90d3fc04fde1c3350f84dae7a4be4 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.postgres.fields import (ArrayField, HStoreField,
IntegerRangeField, DateTimeRangeField, DateRangeField)
from fast_update.query import FastUpdateManager
from datetime import date, datetime, timedelta, time
from decimal import Decimal
from uuid import uuid4
import pytz... | 56.333333 | 126 | 0.75399 | 716 | 5,577 | 5.76257 | 0.164804 | 0.211343 | 0.183228 | 0.244304 | 0.562288 | 0.551381 | 0.527145 | 0.133059 | 0.122637 | 0.122637 | 0 | 0.01606 | 0.117985 | 5,577 | 98 | 127 | 56.908163 | 0.822728 | 0 | 0 | 0.045455 | 0 | 0 | 0.001614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.011364 | 0.079545 | 0 | 0.977273 | 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 |
0d7e48dc9e71ac441344644a5c68665835d17c4e | 41 | py | Python | venv/lib/python3.6/encodings/utf_16_le.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-04-17T13:35:50.000Z | 2021-12-21T00:11:36.000Z | venv/lib/python3.6/encodings/utf_16_le.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2021-03-31T19:51:24.000Z | 2021-06-10T23:05:09.000Z | venv/lib/python3.6/encodings/utf_16_le.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-10-01T08:47:35.000Z | 2020-07-11T06:32:16.000Z | /usr/lib/python3.6/encodings/utf_16_le.py | 41 | 41 | 0.829268 | 9 | 41 | 3.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 0 | 41 | 1 | 41 | 41 | 0.682927 | 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 |
0d8e3f96ed5f8aea634bc1fca96fea88abd73ba3 | 447 | py | Python | utils/storage/interface.py | aircache/AirCache | e68f9432928143a9b535cb8de238391232d9796e | [
"Apache-2.0"
] | 2 | 2021-12-20T09:17:06.000Z | 2021-12-20T09:18:18.000Z | utils/storage/interface.py | aircache/AirCache | e68f9432928143a9b535cb8de238391232d9796e | [
"Apache-2.0"
] | null | null | null | utils/storage/interface.py | aircache/AirCache | e68f9432928143a9b535cb8de238391232d9796e | [
"Apache-2.0"
] | null | null | null | class IStorageOption:
@staticmethod
def config_has_api(request) -> bool:
"""check if the api exists"""
pass
# Create new redis key
@staticmethod
def config_load_headers(cache_key, val, exp):
"""Creates the header object from storage"""
pass
# Get value of key
... | 24.833333 | 53 | 0.626398 | 54 | 447 | 5.037037 | 0.666667 | 0.165441 | 0.231618 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286353 | 447 | 17 | 54 | 26.294118 | 0.852665 | 0.315436 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0d953747ef4d58ab2bcd353fe0b43b65ecf77782 | 792 | py | Python | web/app/webapp/tests/postgres_connection_sqlalchemy_flask.py | mwernli/digilog-crawling | 487553dd7e1b1c46caf12fba67e369e6f7bcf8c9 | [
"Apache-2.0"
] | null | null | null | web/app/webapp/tests/postgres_connection_sqlalchemy_flask.py | mwernli/digilog-crawling | 487553dd7e1b1c46caf12fba67e369e6f7bcf8c9 | [
"Apache-2.0"
] | null | null | null | web/app/webapp/tests/postgres_connection_sqlalchemy_flask.py | mwernli/digilog-crawling | 487553dd7e1b1c46caf12fba67e369e6f7bcf8c9 | [
"Apache-2.0"
] | null | null | null | import os
# def get_connection_string(db = 'postgres'):
# if db = 'postgres':
# try:
# if bool(int(os.environ['OUTSIDE_NETWORK'])):
# host = 'localhost'
# port = '5500'
# except KeyError:
# host = 'digilog-postgres'
# port = '5432... | 30.461538 | 88 | 0.518939 | 72 | 792 | 5.597222 | 0.597222 | 0.158809 | 0.084367 | 0.114144 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015209 | 0.335859 | 792 | 25 | 89 | 31.68 | 0.750951 | 0.921717 | 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 |
0d9e3916f8943dd55f5d2fefaadc35f3eca67b6b | 41 | py | Python | pyca/__init__.py | wangzhe3224/pyca | d23b4620277f21ffc58eeb732232e71153e95d4c | [
"MIT"
] | 17 | 2020-05-22T16:40:09.000Z | 2022-01-23T10:12:44.000Z | pyca/__init__.py | wangzhe3224/pyca | d23b4620277f21ffc58eeb732232e71153e95d4c | [
"MIT"
] | null | null | null | pyca/__init__.py | wangzhe3224/pyca | d23b4620277f21ffc58eeb732232e71153e95d4c | [
"MIT"
] | 6 | 2020-08-16T02:11:32.000Z | 2021-09-28T13:39:02.000Z | from pyca import *
__version__ = "1.0.0" | 13.666667 | 21 | 0.682927 | 7 | 41 | 3.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.170732 | 41 | 3 | 21 | 13.666667 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0daaafd662350698b832c98bdb82197f5f9927fc | 52 | py | Python | revibe/sharing/__init__.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | 2 | 2022-01-24T23:30:18.000Z | 2022-01-26T00:21:22.000Z | revibe/sharing/__init__.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | revibe/sharing/__init__.py | Revibe-Music/core-services | 6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2 | [
"MIT"
] | null | null | null | """
Created: 16 Mar. 2020
Author: Jordan Prechac
""" | 13 | 22 | 0.673077 | 7 | 52 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.153846 | 52 | 4 | 23 | 13 | 0.659091 | 0.846154 | 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 |
0df6d8fb93db26458ee254f6bc6017fd8a14daf6 | 169 | py | Python | module/tracking/plotting.py | benlevyx/covid-tracking | 6f4f159278ebcd346e530f0bd736657e6de15e00 | [
"MIT"
] | 1 | 2021-04-29T07:45:51.000Z | 2021-04-29T07:45:51.000Z | module/tracking/plotting.py | benlevyx/covid-tracking | 6f4f159278ebcd346e530f0bd736657e6de15e00 | [
"MIT"
] | 3 | 2021-05-21T15:44:45.000Z | 2021-05-21T15:45:27.000Z | module/tracking/plotting.py | benlevyx/covid-tracking | 6f4f159278ebcd346e530f0bd736657e6de15e00 | [
"MIT"
] | 1 | 2020-07-16T01:41:00.000Z | 2020-07-16T01:41:00.000Z | import matplotlib.pyplot as plt
def remove_spines(ax, spines=['left', 'right', 'bottom', 'top']):
for spine in spines:
ax.spines[spine].set_visible(False)
| 24.142857 | 65 | 0.674556 | 24 | 169 | 4.666667 | 0.791667 | 0.142857 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171598 | 169 | 6 | 66 | 28.166667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.106509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2185864275a06b55364a4687b25056e3a30530d1 | 496 | py | Python | Some-Examples-of-Simple-Python-Script-master/IP_Checker/get IP Public.py | Aarif1430/Python-Awesome-notes-and-exercises-list | c8ad7f90ebd973025f37d4e79c2f1229a8a2915c | [
"MIT"
] | 2 | 2021-01-13T21:20:57.000Z | 2021-08-18T17:53:53.000Z | Some-Examples-of-Simple-Python-Script-master/IP_Checker/get IP Public.py | Aarif1430/Python-Awesome-notes-and-exercises-list | c8ad7f90ebd973025f37d4e79c2f1229a8a2915c | [
"MIT"
] | null | null | null | Some-Examples-of-Simple-Python-Script-master/IP_Checker/get IP Public.py | Aarif1430/Python-Awesome-notes-and-exercises-list | c8ad7f90ebd973025f37d4e79c2f1229a8a2915c | [
"MIT"
] | 1 | 2020-11-05T09:56:55.000Z | 2020-11-05T09:56:55.000Z | """
Thanks to: http://stackoverflow.com/a/9481595
ip.42.pl
jsonip.com
httpbin.org
ipify.org
"""
from urllib2 import urlopen
my_ip = urlopen('http://ip.42.pl/raw').read()
from json import load
from urllib2 import urlopen
my_ip = load(urlopen('http://jsonip.com'))['ip']
from json import load
from urllib2 import urlope... | 21.565217 | 65 | 0.727823 | 81 | 496 | 4.407407 | 0.333333 | 0.123249 | 0.190476 | 0.268908 | 0.579832 | 0.579832 | 0.501401 | 0.501401 | 0.501401 | 0.501401 | 0 | 0.03386 | 0.106855 | 496 | 22 | 66 | 22.545455 | 0.772009 | 0.175403 | 0 | 0.636364 | 0 | 0 | 0.25187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.636364 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
219404135747f1cb8e62fca2a742e675fc6df365 | 23 | py | Python | message_adapter/version.py | ghrcdaac/cumulus-message-adapter | 96a2d3c2916f5575be258ce2041a30d144e9c351 | [
"Apache-2.0"
] | null | null | null | message_adapter/version.py | ghrcdaac/cumulus-message-adapter | 96a2d3c2916f5575be258ce2041a30d144e9c351 | [
"Apache-2.0"
] | null | null | null | message_adapter/version.py | ghrcdaac/cumulus-message-adapter | 96a2d3c2916f5575be258ce2041a30d144e9c351 | [
"Apache-2.0"
] | null | null | null | __version__ = 'v1.3.0'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21a435af1d8ff467a1edfba217efc602749bdfef | 21,459 | py | Python | Scripts/variation_insert.py | windchasersky/SV-Insert | 45098d614ce80688b58a6a61a762337ad6fb00b4 | [
"Apache-2.0"
] | null | null | null | Scripts/variation_insert.py | windchasersky/SV-Insert | 45098d614ce80688b58a6a61a762337ad6fb00b4 | [
"Apache-2.0"
] | null | null | null | Scripts/variation_insert.py | windchasersky/SV-Insert | 45098d614ce80688b58a6a61a762337ad6fb00b4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# 变异种入相关代码
# 串联变异配置文件 1:变异代号 2:变异染色体名称 3:变异位置 4:重复段长度
# 倒位变异配置文件 1:变异代号 2:变异染色体名称 3:变异位置 4:倒位段长度
# 易位变异配置文件 1:变异代号 2:变异染色体名称 3:变异位置1 4:变异位置2 5:易位段长度 6:易位方向(0前面插入后面,1后面插入前面)
import math
import os
import random
import time
import my_script
# 通过变异配置文件为模板链种入串联重复变异
def tandem_repeats_simulate(... | 62.2 | 120 | 0.588285 | 2,292 | 21,459 | 5.187173 | 0.066754 | 0.155438 | 0.095887 | 0.094794 | 0.852805 | 0.775759 | 0.719236 | 0.682564 | 0.650265 | 0.598536 | 0 | 0.025785 | 0.28431 | 21,459 | 344 | 121 | 62.380814 | 0.748275 | 0.023953 | 0 | 0.389831 | 0 | 0 | 0.103772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.016949 | null | null | 0.064407 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21b4f77340b65b14a443c0245a97cfbd1a979c17 | 202 | py | Python | src/pypdevs/accurate_time.py | MISTCARRYYOU/PythonPDEVS | 53cad29832b3c489ab037bdc487affcbf1e3f408 | [
"Apache-2.0"
] | 1 | 2018-09-19T14:42:28.000Z | 2018-09-19T14:42:28.000Z | src/pypdevs/accurate_time.py | MISTCARRYYOU/PythonPDEVS | 53cad29832b3c489ab037bdc487affcbf1e3f408 | [
"Apache-2.0"
] | null | null | null | src/pypdevs/accurate_time.py | MISTCARRYYOU/PythonPDEVS | 53cad29832b3c489ab037bdc487affcbf1e3f408 | [
"Apache-2.0"
] | 1 | 2021-01-14T12:21:35.000Z | 2021-01-14T12:21:35.000Z | import time as python_time
import sys
def time():
if sys.platform == "win32":
return python_time.clock()
else:
return python_time.time()
def sleep(t):
python_time.sleep(t)
| 16.833333 | 34 | 0.643564 | 29 | 202 | 4.344828 | 0.482759 | 0.31746 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.247525 | 202 | 11 | 35 | 18.363636 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.024752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21d6a97be2a240062624c3925976f57f94172942 | 528 | py | Python | riscemu/IO/IOModule.py | jodalyst/riscemu | cede73c3c93c1d00168aa020dd9d982a213e3572 | [
"MIT"
] | 9 | 2021-07-08T11:22:55.000Z | 2022-01-30T10:32:48.000Z | riscemu/IO/IOModule.py | jodalyst/riscemu | cede73c3c93c1d00168aa020dd9d982a213e3572 | [
"MIT"
] | 8 | 2021-12-03T18:16:19.000Z | 2022-03-31T20:49:09.000Z | riscemu/IO/IOModule.py | jodalyst/riscemu | cede73c3c93c1d00168aa020dd9d982a213e3572 | [
"MIT"
] | 2 | 2022-01-16T05:50:04.000Z | 2022-03-23T21:27:27.000Z | from abc import ABC, abstractmethod
class IOModule(ABC):
addr: int
size: int
def __init__(self, addr: int, size: int):
self.addr = addr
self.size = size
@abstractmethod
def read(self, addr: int, size: int):
pass
@abstractmethod
def write(self, addr: int, data: by... | 22.956522 | 64 | 0.585227 | 69 | 528 | 4.42029 | 0.304348 | 0.236066 | 0.108197 | 0.137705 | 0.118033 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002717 | 0.30303 | 528 | 22 | 65 | 24 | 0.826087 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.0625 | 0.0625 | 0.5625 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
df2a7eb93398221360a86cb4d9d8689088ee59f1 | 77 | py | Python | python/polar-coordinates.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 21 | 2015-02-09T18:08:38.000Z | 2021-11-08T15:00:48.000Z | python/polar-coordinates.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 7 | 2020-04-12T23:00:19.000Z | 2021-01-30T23:44:24.000Z | python/polar-coordinates.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 27 | 2015-07-22T18:08:12.000Z | 2022-02-28T19:50:26.000Z | from cmath import phase;
c = complex(input())
print(abs(c))
print(phase(c))
| 12.833333 | 24 | 0.688312 | 13 | 77 | 4.076923 | 0.692308 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 5 | 25 | 15.4 | 0.791045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
10c7b3354a3465f756c9fd4c7a6dad70a29a7e6c | 34 | py | Python | python/testData/quickFixes/PyRenameElementQuickFixTest/pep8.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyRenameElementQuickFixTest/pep8.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyRenameElementQuickFixTest/pep8.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def foo():
A<caret>BC = "test" | 17 | 23 | 0.529412 | 6 | 34 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235294 | 34 | 2 | 23 | 17 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 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 |
10cc99fd09e6ebaceb91c3f45a2bb3d31b841444 | 114 | py | Python | shapenet/__init__.py | ss18/shapenet | 5a605bee6b2750f3a586ca9a740165e66b5dd7d8 | [
"BSD-2-Clause"
] | null | null | null | shapenet/__init__.py | ss18/shapenet | 5a605bee6b2750f3a586ca9a740165e66b5dd7d8 | [
"BSD-2-Clause"
] | null | null | null | shapenet/__init__.py | ss18/shapenet | 5a605bee6b2750f3a586ca9a740165e66b5dd7d8 | [
"BSD-2-Clause"
] | null | null | null | __version__ = '0.1.0'
from .networks import SingleShapeNetwork
from .layer import HomogeneousTransformationLayer
| 22.8 | 49 | 0.833333 | 12 | 114 | 7.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.105263 | 114 | 4 | 50 | 28.5 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
10d365fb463f6592b336de1f892b803c5ca65f1e | 926 | py | Python | sample/application/example/example/service/contact_service.py | problemfighter/pf-flask | c13a0d13284506cd5543ba596cc1077fe85c1075 | [
"Apache-2.0"
] | 5 | 2021-09-14T18:37:01.000Z | 2022-01-06T06:44:16.000Z | sample/application/example/example/service/contact_service.py | problemfighter/pf-flask | c13a0d13284506cd5543ba596cc1077fe85c1075 | [
"Apache-2.0"
] | null | null | null | sample/application/example/example/service/contact_service.py | problemfighter/pf-flask | c13a0d13284506cd5543ba596cc1077fe85c1075 | [
"Apache-2.0"
] | null | null | null | from example.dto.contact_dto import ContactCreateDto, ContactUpdateDto, ContactDetailsDto
from example.model.contact import Contact
from pf_sqlalchemy.crud.pfs_rest_helper_service import PfsRestHelperService
pfs_rest_helper_service = PfsRestHelperService(Contact)
class ContactService:
def create(self):
... | 31.931034 | 89 | 0.771058 | 115 | 926 | 5.878261 | 0.269565 | 0.08284 | 0.153846 | 0.236686 | 0.340237 | 0.340237 | 0.295858 | 0.195266 | 0.195266 | 0.195266 | 0 | 0 | 0.155508 | 926 | 28 | 90 | 33.071429 | 0.86445 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.277778 | 0.888889 | 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 |
10f0bce19800ceaf7f46546370fb1fd715928beb | 1,509 | py | Python | kobold/compare/hints.py | krieghan/kobold_python | 501703c6dcdc2bbcb5649b910d1d8c23b8e113d7 | [
"MIT"
] | 4 | 2017-04-28T18:59:58.000Z | 2020-01-20T03:15:22.000Z | kobold/compare/hints.py | krieghan/kobold_python | 501703c6dcdc2bbcb5649b910d1d8c23b8e113d7 | [
"MIT"
] | null | null | null | kobold/compare/hints.py | krieghan/kobold_python | 501703c6dcdc2bbcb5649b910d1d8c23b8e113d7 | [
"MIT"
] | null | null | null | import base64
import json
import pickle
import kobold
class ParsingHint(object):
'''Tells the comparison function to parse the
second argument ("actual") in a specific way to
get a simple data-structure'''
def __init__(self, payload):
'''Rules'''
self.payload = payload
d... | 24.33871 | 57 | 0.658714 | 179 | 1,509 | 5.284916 | 0.324022 | 0.118393 | 0.190275 | 0.118393 | 0.302326 | 0.280127 | 0.280127 | 0.280127 | 0.199789 | 0.095137 | 0 | 0.007227 | 0.266402 | 1,509 | 61 | 58 | 24.737705 | 0.847335 | 0.082836 | 0 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.105263 | 0.684211 | 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 |
800c72b30bae97cec087ff37b61e582f346797e4 | 123 | py | Python | castjeeves/__init__.py | dkauf42/bayota | 104ba91746231be10419390a9d7ed8f2593a21bc | [
"BSD-3-Clause"
] | 1 | 2021-07-23T18:09:55.000Z | 2021-07-23T18:09:55.000Z | castjeeves/__init__.py | dkauf42/bayota | 104ba91746231be10419390a9d7ed8f2593a21bc | [
"BSD-3-Clause"
] | null | null | null | castjeeves/__init__.py | dkauf42/bayota | 104ba91746231be10419390a9d7ed8f2593a21bc | [
"BSD-3-Clause"
] | null | null | null | __all__ = ['jeeves', 'sourcehooks', 'sqltables']
from . import jeeves
from .sourcehooks import *
from .sqltables import *
| 20.5 | 48 | 0.723577 | 13 | 123 | 6.538462 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 123 | 5 | 49 | 24.6 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.211382 | 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 |
802f48aec317dee3bb0a3d90558244ec24bf66c0 | 74 | py | Python | init_db_tables.py | kovarus/NvIPAM | 6098e48c6becf7370ac1f2862dc4490bd0a71fc8 | [
"BSD-3-Clause"
] | 3 | 2019-08-10T00:48:25.000Z | 2021-06-02T02:45:09.000Z | init_db_tables.py | kovarus/NvIPAM | 6098e48c6becf7370ac1f2862dc4490bd0a71fc8 | [
"BSD-3-Clause"
] | 7 | 2019-04-02T15:48:46.000Z | 2019-04-02T15:49:20.000Z | init_db_tables.py | kovarus/NvIPAM | 6098e48c6becf7370ac1f2862dc4490bd0a71fc8 | [
"BSD-3-Clause"
] | 2 | 2019-09-19T19:27:08.000Z | 2020-06-18T01:04:35.000Z | '''
Using this for refactoring
'''
from run import db
db.create_all()
| 7.4 | 26 | 0.675676 | 11 | 74 | 4.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 74 | 9 | 27 | 8.222222 | 0.830508 | 0.351351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
338d5c40d3da1f39e968d9023854336f2902bee8 | 79 | py | Python | src/nlplib/core/control/__init__.py | rectangletangle/nlplib | 7dcc0daf050a73c03b7d7f0257ad0b862586a6e3 | [
"BSD-2-Clause"
] | 1 | 2015-11-18T12:59:52.000Z | 2015-11-18T12:59:52.000Z | src/nlplib/core/control/__init__.py | rectangletangle/nlplib | 7dcc0daf050a73c03b7d7f0257ad0b862586a6e3 | [
"BSD-2-Clause"
] | null | null | null | src/nlplib/core/control/__init__.py | rectangletangle/nlplib | 7dcc0daf050a73c03b7d7f0257ad0b862586a6e3 | [
"BSD-2-Clause"
] | null | null | null | ''' This package contains machine learning algorithms specific to the core. ''' | 79 | 79 | 0.772152 | 10 | 79 | 6.1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 1 | 79 | 79 | 0.897059 | 0.898734 | 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 |
33996f65bbfe543d748d345448689ccedb74fd09 | 268 | py | Python | lang/Python/stack-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/stack-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | lang/Python/stack-2.py | ethansaxenian/RosettaDecode | 8ea1a42a5f792280b50193ad47545d14ee371fb7 | [
"MIT"
] | null | null | null | from collections import deque
class Stack:
def __init__(self):
self._items = deque()
def append(self, item):
self._items.append(item)
def pop(self):
return self._items.pop()
def __bool__(self):
return bool(self._items)
| 22.333333 | 32 | 0.623134 | 34 | 268 | 4.558824 | 0.441176 | 0.232258 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 268 | 11 | 33 | 24.363636 | 0.790816 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.8 | 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 |
33ebe9ef284a0c5a8e429f3564cd31557c116eac | 94 | py | Python | modules/disable_builtin.py | orgrinrt/goost | 9dd3cd7f723115939a4590a637c35b05314e6b07 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 323 | 2020-07-14T09:57:03.000Z | 2022-03-26T07:04:03.000Z | modules/disable_builtin.py | orgrinrt/goost | 9dd3cd7f723115939a4590a637c35b05314e6b07 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 57 | 2020-08-21T08:20:47.000Z | 2022-03-31T23:46:17.000Z | modules/disable_builtin.py | orgrinrt/goost | 9dd3cd7f723115939a4590a637c35b05314e6b07 | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 18 | 2020-09-07T14:53:24.000Z | 2022-02-19T10:41:22.000Z | module_gdscript_transpiler_enabled = "no"
module_gif_enabled = "no"
module_git_enabled = "no"
| 23.5 | 41 | 0.808511 | 13 | 94 | 5.307692 | 0.538462 | 0.391304 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095745 | 94 | 3 | 42 | 31.333333 | 0.811765 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 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 |
33f513139591c401733138ab21ab3fac0a6824eb | 3,459 | py | Python | test/single_byte_test.py | salimm/msgpack-pystream | 676158a5a8dd8ff56dca080d597943f67fc4325e | [
"MIT"
] | null | null | null | test/single_byte_test.py | salimm/msgpack-pystream | 676158a5a8dd8ff56dca080d597943f67fc4325e | [
"MIT"
] | null | null | null | test/single_byte_test.py | salimm/msgpack-pystream | 676158a5a8dd8ff56dca080d597943f67fc4325e | [
"MIT"
] | null | null | null | '''
Created on Nov 20, 2017
@author: Salim
'''
import unittest
import msgpack
from _io import BytesIO
from msgpackstream.backend.pyc.stream import unpack as unpackc
from msgpackstream.backend.python.stream import unpack as unpackp
from msgpackstream.defs import EventType, FormatType
from ddt import ddt, data
@ddt
c... | 34.247525 | 94 | 0.626771 | 428 | 3,459 | 5.004673 | 0.168224 | 0.196078 | 0.067227 | 0.071895 | 0.764706 | 0.753035 | 0.753035 | 0.737628 | 0.674603 | 0.674603 | 0 | 0.026933 | 0.248627 | 3,459 | 100 | 95 | 34.59 | 0.79723 | 0.073432 | 0 | 0.486486 | 0 | 0 | 0.002512 | 0 | 0 | 0 | 0 | 0 | 0.378378 | 1 | 0.067568 | false | 0 | 0.094595 | 0 | 0.189189 | 0.013514 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.