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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
520241149108ce5350b1779284131244aace564c | 655 | py | Python | stock_order/views.py | gitCincta/StockTool | 2ae604774cd8c271ffc49a4a39fcc412bcaf4577 | [
"Apache-2.0"
] | null | null | null | stock_order/views.py | gitCincta/StockTool | 2ae604774cd8c271ffc49a4a39fcc412bcaf4577 | [
"Apache-2.0"
] | null | null | null | stock_order/views.py | gitCincta/StockTool | 2ae604774cd8c271ffc49a4a39fcc412bcaf4577 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from stock_register import controller
import json
# checks if user is logged in and linked to order from encrypted_order_id
# if user is not logged-in, show login field (user_name filled in)
# run order_manager.accept_oder, if it returns message... | 36.388889 | 77 | 0.8 | 96 | 655 | 5.3125 | 0.625 | 0.076471 | 0.031373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135878 | 655 | 17 | 78 | 38.529412 | 0.90106 | 0.421374 | 0 | 0 | 0 | 0 | 0.074866 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.444444 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
5203a5db5eb855f0ae2e2a5efc5b54666b8315da | 258 | py | Python | 3.3.1/se34euca/se34euca/runtest_utility.py | eucalyptus/se34euca | af5da36754fccca84b7f260ba7605b8fdc30fa55 | [
"BSD-2-Clause"
] | 8 | 2015-01-08T21:06:08.000Z | 2019-10-26T13:17:16.000Z | 3.3.1/se34euca/se34euca/runtest_utility.py | eucalyptus/se34euca | af5da36754fccca84b7f260ba7605b8fdc30fa55 | [
"BSD-2-Clause"
] | null | null | null | 3.3.1/se34euca/se34euca/runtest_utility.py | eucalyptus/se34euca | af5da36754fccca84b7f260ba7605b8fdc30fa55 | [
"BSD-2-Clause"
] | 7 | 2016-08-31T07:02:21.000Z | 2020-07-18T00:10:36.000Z | #!/usr/bin/python
import se34euca
from se34euca.testcase.testcase_utility import testcase_utility
class Utility(se34euca.TestRunner):
testcase = "change_password"
testclass = testcase_utility
if __name__ == "__main__":
Utility().start_test()
| 19.846154 | 63 | 0.763566 | 29 | 258 | 6.344828 | 0.62069 | 0.244565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.139535 | 258 | 12 | 64 | 21.5 | 0.801802 | 0.062016 | 0 | 0 | 0 | 0 | 0.095833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5215ccaf94dc099e07c282788703dd7aa3e2a732 | 50 | py | Python | lhrhost/util/__init__.py | ethanjli/liquid-handling-robotics | 999ab03c225b4c5382ab9fcac6a4988d0c232c67 | [
"BSD-3-Clause"
] | null | null | null | lhrhost/util/__init__.py | ethanjli/liquid-handling-robotics | 999ab03c225b4c5382ab9fcac6a4988d0c232c67 | [
"BSD-3-Clause"
] | null | null | null | lhrhost/util/__init__.py | ethanjli/liquid-handling-robotics | 999ab03c225b4c5382ab9fcac6a4988d0c232c67 | [
"BSD-3-Clause"
] | 1 | 2018-08-03T17:17:31.000Z | 2018-08-03T17:17:31.000Z | """Various utilities to support other modules."""
| 25 | 49 | 0.74 | 6 | 50 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 50 | 1 | 50 | 50 | 0.840909 | 0.86 | 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 |
5297a5057867ca154794f240d44e7bf3d019a119 | 207 | py | Python | setup.py | ScottWales/xncview | 06ed9fb5036c0078a3f96b8eac42622e317304bd | [
"Apache-2.0"
] | null | null | null | setup.py | ScottWales/xncview | 06ed9fb5036c0078a3f96b8eac42622e317304bd | [
"Apache-2.0"
] | null | null | null | setup.py | ScottWales/xncview | 06ed9fb5036c0078a3f96b8eac42622e317304bd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from setuptools import setup
import versioneer
# See setup.cfg for full metadata
setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
)
| 20.7 | 43 | 0.700483 | 25 | 207 | 5.72 | 0.68 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207729 | 207 | 9 | 44 | 23 | 0.871951 | 0.251208 | 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 |
52980c8e77de04a5abee40ec895f727b509b3549 | 51 | py | Python | albow/containers/__init__.py | hasii2011/albow-python-3 | 04b9d42705b370b62f0e49d10274eebf3ac54bc1 | [
"MIT"
] | 6 | 2019-04-30T23:50:39.000Z | 2019-11-04T06:15:02.000Z | albow/containers/__init__.py | hasii2011/albow-python-3 | 04b9d42705b370b62f0e49d10274eebf3ac54bc1 | [
"MIT"
] | 73 | 2019-05-12T18:43:14.000Z | 2021-04-13T19:19:03.000Z | albow/containers/__init__.py | hasii2011/albow-python-3 | 04b9d42705b370b62f0e49d10274eebf3ac54bc1 | [
"MIT"
] | null | null | null | """"
This package contains the Albow containers
""" | 17 | 42 | 0.72549 | 6 | 51 | 6.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 51 | 3 | 43 | 17 | 0.840909 | 0.862745 | 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 |
8742aa3dcf12c5e80c20fde1e092a37fce1363d0 | 56 | py | Python | mbed_targets/_internal/__init__.py | madchutney/mbed-targets | dab825a7ca20473020dde28fb0c86700f6d10399 | [
"Apache-2.0"
] | null | null | null | mbed_targets/_internal/__init__.py | madchutney/mbed-targets | dab825a7ca20473020dde28fb0c86700f6d10399 | [
"Apache-2.0"
] | null | null | null | mbed_targets/_internal/__init__.py | madchutney/mbed-targets | dab825a7ca20473020dde28fb0c86700f6d10399 | [
"Apache-2.0"
] | null | null | null | """Code not to be accessed by external applications."""
| 28 | 55 | 0.732143 | 8 | 56 | 5.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 1 | 56 | 56 | 0.854167 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8769176e011f6db3a9d4f1ce07d1fa055360ad62 | 1,233 | py | Python | src/cfgmgr32/data/props.py | Mahas1/OCSysInfo | f6179f0b6b37c6ea02e9cdbc8e5514f9c339edf7 | [
"MIT"
] | 6 | 2021-10-16T14:06:11.000Z | 2022-02-12T15:12:51.000Z | src/cfgmgr32/data/props.py | Mahas1/OCSysInfo | f6179f0b6b37c6ea02e9cdbc8e5514f9c339edf7 | [
"MIT"
] | 11 | 2021-10-17T22:44:12.000Z | 2022-02-13T09:13:40.000Z | src/cfgmgr32/data/props.py | Mahas1/OCSysInfo | f6179f0b6b37c6ea02e9cdbc8e5514f9c339edf7 | [
"MIT"
] | 9 | 2021-10-18T05:11:56.000Z | 2021-11-21T03:26:02.000Z | # Full list here: https://github.com/tpn/winsdk-10/blob/master/Include/10.0.16299.0/shared/devpkey.h
#
# Special thank you to [Flagers](https://github.com/flagersgit) for sharing this with me.
props = [
["name", 0xb725f130, 0x47ef, 0x101a, [0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac], 10],
["driver", 0xa45... | 51.375 | 105 | 0.657745 | 171 | 1,233 | 4.701754 | 0.54386 | 0.079602 | 0.109453 | 0.129353 | 0.600746 | 0.600746 | 0.600746 | 0.600746 | 0.600746 | 0.600746 | 0 | 0.324952 | 0.161395 | 1,233 | 24 | 106 | 51.375 | 0.452611 | 0.150852 | 0 | 0 | 0 | 0 | 0.10249 | 0 | 0 | 0 | 0.514368 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e4b5ed091c233d357a6b0f580a36d1e375e5261 | 156 | py | Python | miprometheus/helpers/__init__.py | vincentalbouy/mi-prometheus | 99a0c94b0d0f3476fa021213b3246fda0db8b2db | [
"Apache-2.0"
] | null | null | null | miprometheus/helpers/__init__.py | vincentalbouy/mi-prometheus | 99a0c94b0d0f3476fa021213b3246fda0db8b2db | [
"Apache-2.0"
] | null | null | null | miprometheus/helpers/__init__.py | vincentalbouy/mi-prometheus | 99a0c94b0d0f3476fa021213b3246fda0db8b2db | [
"Apache-2.0"
] | null | null | null | # Helpers.
from .index_splitter import IndexSplitter
from .problem_initializer import ProblemInitializer
__all__ = ['IndexSplitter', 'ProblemInitializer']
| 26 | 51 | 0.826923 | 14 | 156 | 8.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 156 | 5 | 52 | 31.2 | 0.87234 | 0.051282 | 0 | 0 | 0 | 0 | 0.212329 | 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 |
5e5ad542f1a7516a37a727ce75541e2c84b7d673 | 114 | py | Python | ghia/__main__.py | petrnymsa/mi-pyt-ghia | 5a5c939078529a7c422eabea16ce2b4b354b3bd3 | [
"MIT"
] | null | null | null | ghia/__main__.py | petrnymsa/mi-pyt-ghia | 5a5c939078529a7c422eabea16ce2b4b354b3bd3 | [
"MIT"
] | 3 | 2019-11-01T22:11:23.000Z | 2019-12-03T14:25:14.000Z | ghia/__main__.py | petrnymsa/mi-pyt-ghia | 5a5c939078529a7c422eabea16ce2b4b354b3bd3 | [
"MIT"
] | null | null | null | import configparser
import os.path
import os
import click
import re
from .cli import run
run(prog_name='ghia')
| 10.363636 | 21 | 0.780702 | 19 | 114 | 4.631579 | 0.631579 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 114 | 10 | 22 | 11.4 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5e6dafcda0b76029adc94b8dec58bb15b80bfe6f | 478 | py | Python | utils/imports.py | pmandera/snaut | 19f32b204e6fbaf5162f5f788d2128e769bccdb2 | [
"Apache-2.0"
] | 2 | 2016-04-27T14:00:23.000Z | 2019-06-24T16:08:43.000Z | utils/imports.py | pmandera/snaut | 19f32b204e6fbaf5162f5f788d2128e769bccdb2 | [
"Apache-2.0"
] | null | null | null | utils/imports.py | pmandera/snaut | 19f32b204e6fbaf5162f5f788d2128e769bccdb2 | [
"Apache-2.0"
] | 1 | 2019-06-25T20:15:02.000Z | 2019-06-25T20:15:02.000Z | import sys
print((sys.version))
import csv
print((csv.__name__, csv.__version__))
import markdown
print((markdown.__name__, markdown.__version__))
import json
print((json.__name__, json.__version__))
# import cStringIO
# print cStringIO.__name__, cStringIO.__version__
# import ConfigParser
# print ConfigParser.__n... | 19.916667 | 55 | 0.803347 | 54 | 478 | 6.074074 | 0.222222 | 0.277439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09205 | 478 | 23 | 56 | 20.782609 | 0.75576 | 0.288703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
5e765c9e32b9830d54a9b900353688be492302e3 | 203 | py | Python | game/utils.py | smrsan/django-backgammon-server | 02eee8fea2c4aa0e40b333a35b0bb09d7b444230 | [
"MIT"
] | null | null | null | game/utils.py | smrsan/django-backgammon-server | 02eee8fea2c4aa0e40b333a35b0bb09d7b444230 | [
"MIT"
] | 6 | 2021-03-18T22:43:08.000Z | 2021-09-22T18:31:02.000Z | game/utils.py | smrsan/django-backgammon-server | 02eee8fea2c4aa0e40b333a35b0bb09d7b444230 | [
"MIT"
] | null | null | null | from random import choice
from string import ascii_letters, digits
from django.db.models import Q
def get_rand_str(length=12):
return ''.join(choice(ascii_letters + digits) for _ in range(length))
| 25.375 | 73 | 0.773399 | 32 | 203 | 4.75 | 0.71875 | 0.157895 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.142857 | 203 | 7 | 74 | 29 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
5e995e6f2253a201b5340a6a8d644982ed634cda | 22 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/ImportingModules_20210725180654.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/ImportingModules_20210725180654.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/ImportingModules_20210725180654.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | """Importing module""" | 22 | 22 | 0.681818 | 2 | 22 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 22 | 1 | 22 | 22 | 0.714286 | 0.727273 | 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 |
5e9d4bd95c7b4b9bac57d0a54b8248d821ac8d75 | 468 | py | Python | bcdata/__init__.py | NewGraphEnvironment/bcdata | 5f3df4264e6e4409564d14923aed1ce314fe76dc | [
"MIT"
] | null | null | null | bcdata/__init__.py | NewGraphEnvironment/bcdata | 5f3df4264e6e4409564d14923aed1ce314fe76dc | [
"MIT"
] | 3 | 2021-03-04T17:03:40.000Z | 2021-03-25T19:27:42.000Z | bcdata/__init__.py | NewGraphEnvironment/bcdata | 5f3df4264e6e4409564d14923aed1ce314fe76dc | [
"MIT"
] | null | null | null | from .wfs import get_table_name
from .wfs import get_data
from .wfs import get_features
from .wfs import get_count
from .wfs import list_tables
from .wfs import validate_name
from .wfs import define_request
from .wcs import get_dem
__version__ = "0.4.4dev0"
BCDC_API_URL = "https://catalogue.data.gov.bc.ca/api/3/acti... | 27.529412 | 63 | 0.762821 | 85 | 468 | 3.988235 | 0.423529 | 0.144543 | 0.268437 | 0.188791 | 0.19764 | 0.135693 | 0 | 0 | 0 | 0 | 0 | 0.011962 | 0.106838 | 468 | 16 | 64 | 29.25 | 0.799043 | 0 | 0 | 0 | 0 | 0 | 0.339744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.615385 | 0 | 0.615385 | 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 |
5ea1637d5abe6e9964534a3c606e1319b09378de | 111 | py | Python | package.py | TiaVerwega/TestKDE2 | 25758dddf6222029f2fd79bdb529918d40bacb0d | [
"MIT"
] | null | null | null | package.py | TiaVerwega/TestKDE2 | 25758dddf6222029f2fd79bdb529918d40bacb0d | [
"MIT"
] | null | null | null | package.py | TiaVerwega/TestKDE2 | 25758dddf6222029f2fd79bdb529918d40bacb0d | [
"MIT"
] | null | null | null | from scipy import stats
def function(data):
result = stats.gaussian_kde(data)
return result
| 13.875 | 37 | 0.666667 | 14 | 111 | 5.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27027 | 111 | 7 | 38 | 15.857143 | 0.901235 | 0 | 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 |
5eaca8c2e31ce6073e08f893e0562f980e374af7 | 164 | py | Python | problem0446.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0446.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0446.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #446 Retractions B - Project Euler
# https://projecteuler.net/problem=446
#
# Code by Kevin Marciniak
#
###########################
| 18.222222 | 38 | 0.469512 | 14 | 164 | 5.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.115854 | 164 | 8 | 39 | 20.5 | 0.489655 | 0.573171 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5eafec53efed67b9537127df538ca10b1c0dcfb2 | 69 | py | Python | URI1930.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | 2 | 2020-07-21T18:01:37.000Z | 2021-11-29T01:08:14.000Z | URI1930.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | null | null | null | URI1930.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | null | null | null | A, B, C, D = map(int, input().split())
X = A + B + C + D - 3
print(X) | 23 | 38 | 0.463768 | 16 | 69 | 2 | 0.6875 | 0.125 | 0.1875 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.26087 | 69 | 3 | 39 | 23 | 0.607843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5eb0110b97290031eb0adf3f3668cb169852e5aa | 124,036 | py | Python | abcpy/inferences.py | shoshijak/abcpy | ad12808782fa72c0428122fc659fd3ff22d3e854 | [
"BSD-3-Clause-Clear"
] | null | null | null | abcpy/inferences.py | shoshijak/abcpy | ad12808782fa72c0428122fc659fd3ff22d3e854 | [
"BSD-3-Clause-Clear"
] | null | null | null | abcpy/inferences.py | shoshijak/abcpy | ad12808782fa72c0428122fc659fd3ff22d3e854 | [
"BSD-3-Clause-Clear"
] | null | null | null | from abc import ABCMeta, abstractmethod, abstractproperty
from abcpy.graphtools import GraphTools
from abcpy.probabilisticmodels import *
from abcpy.acceptedparametersmanager import *
from abcpy.perturbationkernel import DefaultKernel
from abcpy.jointdistances import LinearCombination
from abcpy.jointapprox_lhd import... | 45.384559 | 228 | 0.643805 | 14,264 | 124,036 | 5.378435 | 0.049986 | 0.079303 | 0.04789 | 0.063127 | 0.781994 | 0.75423 | 0.725436 | 0.705754 | 0.687127 | 0.669556 | 0 | 0.01094 | 0.282926 | 124,036 | 2,732 | 229 | 45.401171 | 0.851523 | 0.272421 | 0 | 0.654728 | 0 | 0 | 0.010523 | 0 | 0 | 0 | 0 | 0.000366 | 0 | 1 | 0.036533 | false | 0 | 0.00788 | 0 | 0.124642 | 0.004298 | 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 |
0d69ec804a8e81e99f84f9bdea1b7fe6ac500cd5 | 207 | py | Python | test/repo/python/some-errors/tests/test.py | ddillinger/runbld | 7afcb1d95a464dc068f95abf3ad8a7566202ce28 | [
"Apache-2.0"
] | 6 | 2015-11-20T14:53:13.000Z | 2017-05-03T01:26:53.000Z | test/repo/python/some-errors/tests/test.py | ddillinger/runbld | 7afcb1d95a464dc068f95abf3ad8a7566202ce28 | [
"Apache-2.0"
] | 110 | 2015-12-18T15:31:15.000Z | 2018-09-25T15:06:47.000Z | test/repo/python/some-errors/tests/test.py | ddillinger/runbld | 7afcb1d95a464dc068f95abf3ad8a7566202ce28 | [
"Apache-2.0"
] | 10 | 2016-02-08T19:55:14.000Z | 2021-11-10T02:00:56.000Z | import unittest
class HelloWorld(unittest.TestCase):
def test_hello(self):
self.assert_('Hello, world!' != 'Hello, world!')
def test_error(self):
raise Exception('Goodbye, world!')
| 23 | 56 | 0.657005 | 24 | 207 | 5.541667 | 0.625 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 207 | 8 | 57 | 25.875 | 0.806061 | 0 | 0 | 0 | 0 | 0 | 0.198068 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0d78f57f156db58f4797b1d7bc9b14e99e6c79f9 | 584 | py | Python | project/proj3_fly/src/RobotControl.py | cyoahs/robotics_tutorial | 3aed846c5e95eb32dbcdeebac0b22e54cd74ea02 | [
"MIT"
] | 1 | 2021-12-23T13:05:26.000Z | 2021-12-23T13:05:26.000Z | project/proj3_fly/src/RobotControl.py | cyoahs/robotics_tutorial | 3aed846c5e95eb32dbcdeebac0b22e54cd74ea02 | [
"MIT"
] | null | null | null | project/proj3_fly/src/RobotControl.py | cyoahs/robotics_tutorial | 3aed846c5e95eb32dbcdeebac0b22e54cd74ea02 | [
"MIT"
] | null | null | null | import pybullet as p
# import AnswerByTA
def generateTraj(robotId):
# work in this function to make a plan before actual control
# the output can be in any data structure you like
plan = None
return plan
def realTimeControl(robotId, plan):
# work in this function to calculate real time control sig... | 30.736842 | 66 | 0.724315 | 82 | 584 | 5.158537 | 0.597561 | 0.042553 | 0.070922 | 0.12766 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.229452 | 584 | 19 | 67 | 30.736842 | 0.935556 | 0.590753 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.111111 | 0.111111 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0d9f5478af4baed537560e6d9b01ae36f3df2e02 | 164 | py | Python | src/apps/portfolio/urls.py | Pewpewarrows/MyModernLife | 5348792b0aedc2bae6c91d688e61391b0656e136 | [
"X11"
] | null | null | null | src/apps/portfolio/urls.py | Pewpewarrows/MyModernLife | 5348792b0aedc2bae6c91d688e61391b0656e136 | [
"X11"
] | null | null | null | src/apps/portfolio/urls.py | Pewpewarrows/MyModernLife | 5348792b0aedc2bae6c91d688e61391b0656e136 | [
"X11"
] | null | null | null | from django.conf import settings
from django.conf.urls.defaults import *
urlpatterns = patterns('portfolio.views',
url(r'^$', 'index', name='project_list'),
)
| 23.428571 | 45 | 0.719512 | 21 | 164 | 5.571429 | 0.809524 | 0.17094 | 0.239316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 164 | 6 | 46 | 27.333333 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0da1b5d831facb027fac2902eaf43d708161e40b | 103 | py | Python | budget_rest_app/apps.py | joyliao07/budget_tool | a20974f47d5bfa8ef2ef285f57c7e1aafde42f29 | [
"MIT"
] | null | null | null | budget_rest_app/apps.py | joyliao07/budget_tool | a20974f47d5bfa8ef2ef285f57c7e1aafde42f29 | [
"MIT"
] | 6 | 2019-01-22T03:54:53.000Z | 2019-01-25T04:49:18.000Z | budget_rest_app/apps.py | joyliao07/budget_tool | a20974f47d5bfa8ef2ef285f57c7e1aafde42f29 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class BudgetRestAppConfig(AppConfig):
name = 'budget_rest_app'
| 17.166667 | 37 | 0.786408 | 12 | 103 | 6.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 5 | 38 | 20.6 | 0.897727 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 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 |
0da89674e31c5ae6130187878cec4367e2c011f7 | 975 | py | Python | test_python_toolbox/test_introspection_tools/test_get_default_args_dict.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 119 | 2015-02-05T17:59:47.000Z | 2022-02-21T22:43:40.000Z | test_python_toolbox/test_introspection_tools/test_get_default_args_dict.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 4 | 2019-04-24T14:01:14.000Z | 2020-05-21T12:03:29.000Z | test_python_toolbox/test_introspection_tools/test_get_default_args_dict.py | hboshnak/python_toolbox | cb9ef64b48f1d03275484d707dc5079b6701ad0c | [
"MIT"
] | 14 | 2015-03-30T06:30:42.000Z | 2021-12-24T23:45:11.000Z | # Copyright 2009-2017 Ram Rachum.
# This program is distributed under the MIT license.
'''Testing for `python_toolbox.introspection_tools.get_default_args_dict`.'''
from __future__ import generator_stop
from python_toolbox.introspection_tools import get_default_args_dict
from python_toolbox.nifty_collections import ... | 26.351351 | 77 | 0.665641 | 136 | 975 | 4.5 | 0.411765 | 0.130719 | 0.183007 | 0.235294 | 0.366013 | 0.271242 | 0.271242 | 0.130719 | 0 | 0 | 0 | 0.015326 | 0.196923 | 975 | 36 | 78 | 27.083333 | 0.766284 | 0.337436 | 0 | 0.277778 | 0 | 0 | 0.020833 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0.111111 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
0db1ba52c345e050e50e475cd98cced39704b9d1 | 1,227 | py | Python | tests/run/pep563_annotations.py | johannes-mueller/cython | b75af38ce5c309cd84c1835220932e53e9a9adb6 | [
"Apache-2.0"
] | 6,663 | 2015-01-02T06:06:43.000Z | 2022-03-31T10:35:02.000Z | tests/run/pep563_annotations.py | johannes-mueller/cython | b75af38ce5c309cd84c1835220932e53e9a9adb6 | [
"Apache-2.0"
] | 3,094 | 2015-01-01T15:44:13.000Z | 2022-03-31T19:49:57.000Z | tests/run/pep563_annotations.py | scoder/cython | ddaaa7b8bfe9885b7bed432cd0a5ab8191d112cd | [
"Apache-2.0"
] | 1,425 | 2015-01-12T07:21:27.000Z | 2022-03-30T14:10:40.000Z | # mode: run
# tag: pep563, pure3.7
from __future__ import annotations
def f(a: 1+2==3, b: list, c: this_cant_evaluate, d: "Hello from inside a string") -> "Return me!":
"""
The absolute exact strings aren't reproducible according to the PEP,
so be careful to avoid being too specific
>>> stypes = (type... | 29.926829 | 98 | 0.621027 | 149 | 1,227 | 4.805369 | 0.563758 | 0.134078 | 0.071229 | 0.047486 | 0.075419 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013655 | 0.224124 | 1,227 | 40 | 99 | 30.675 | 0.738445 | 0.641402 | 0 | 0 | 0 | 0 | 0.12426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.111111 | 0.111111 | 0.777778 | 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 |
0dc275c9d1df095e74886382656bd50994cd7580 | 94 | py | Python | boards/admin.py | onerbs/treux | 3ec3a80a49de2860efcc0b1806e9063975c35023 | [
"MIT"
] | null | null | null | boards/admin.py | onerbs/treux | 3ec3a80a49de2860efcc0b1806e9063975c35023 | [
"MIT"
] | null | null | null | boards/admin.py | onerbs/treux | 3ec3a80a49de2860efcc0b1806e9063975c35023 | [
"MIT"
] | null | null | null | from django.contrib import admin
from boards.models import Board
admin.site.register(Board)
| 15.666667 | 32 | 0.819149 | 14 | 94 | 5.5 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117021 | 94 | 5 | 33 | 18.8 | 0.927711 | 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 |
0df7ab68e99ba0eea962229e2499d43451043c7b | 57 | py | Python | __init__.py | MCTVR/ePyHTML | e1ebcfbafe2c0f1ae8f8d89a891104fe9a65ea2b | [
"MIT"
] | 3 | 2021-02-08T05:15:30.000Z | 2022-01-27T01:09:20.000Z | __init__.py | MCTVR/ePyHTML | e1ebcfbafe2c0f1ae8f8d89a891104fe9a65ea2b | [
"MIT"
] | null | null | null | __init__.py | MCTVR/ePyHTML | e1ebcfbafe2c0f1ae8f8d89a891104fe9a65ea2b | [
"MIT"
] | null | null | null | """
__init__.py for pretending it as a proper library
""" | 19 | 49 | 0.719298 | 9 | 57 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 3 | 50 | 19 | 0.770833 | 0.859649 | 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 |
21700d5f06578d62c8ef03cdc223e7d1c9ba5dc2 | 85 | py | Python | async_rpc_demo_rq/task_queue.py | ak64th/async_rpc_demo | f55feb66956644160b4478ff2f237e4a237cf05e | [
"MIT"
] | null | null | null | async_rpc_demo_rq/task_queue.py | ak64th/async_rpc_demo | f55feb66956644160b4478ff2f237e4a237cf05e | [
"MIT"
] | null | null | null | async_rpc_demo_rq/task_queue.py | ak64th/async_rpc_demo | f55feb66956644160b4478ff2f237e4a237cf05e | [
"MIT"
] | null | null | null | from redis import Redis
from rq import Queue
task_queue = Queue(connection=Redis())
| 17 | 38 | 0.788235 | 13 | 85 | 5.076923 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 85 | 4 | 39 | 21.25 | 0.90411 | 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 |
21dc0c2ead351f02bfb688ef1c5122e6b0c98276 | 28 | py | Python | homeassistant/components/onewire/__init__.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 3 | 2017-09-16T23:34:59.000Z | 2021-12-20T11:11:27.000Z | homeassistant/components/onewire/__init__.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 52 | 2020-07-14T14:12:26.000Z | 2022-03-31T06:24:02.000Z | homeassistant/components/onewire/__init__.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 2 | 2019-08-04T13:39:43.000Z | 2020-02-07T23:01:23.000Z | """The 1-Wire component."""
| 14 | 27 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.107143 | 28 | 1 | 28 | 28 | 0.64 | 0.75 | 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 |
df08ca4f0d421c07d7707dcf965760c5b1a475f6 | 2,266 | py | Python | push/migrations/0005_auto_20161003_2350.py | nnsnodnb/djabaas | 788cea2c26e7e2afc9b7ceb6ddc4934560201c7a | [
"Apache-2.0"
] | 3 | 2017-12-27T09:04:33.000Z | 2019-08-29T13:44:53.000Z | push/migrations/0005_auto_20161003_2350.py | nnsnodnb/djabaas | 788cea2c26e7e2afc9b7ceb6ddc4934560201c7a | [
"Apache-2.0"
] | 1 | 2018-07-30T04:42:24.000Z | 2018-07-30T04:42:24.000Z | push/migrations/0005_auto_20161003_2350.py | nnsnodnb/djabaas | 788cea2c26e7e2afc9b7ceb6ddc4934560201c7a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-10-03 14:50
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('push', '0004_auto_20161003_2346'),
]
operations = [
migrations.AlterField(
... | 31.915493 | 63 | 0.579435 | 206 | 2,266 | 6.199029 | 0.305825 | 0.172279 | 0.215348 | 0.249804 | 0.735317 | 0.735317 | 0.466719 | 0.377447 | 0.377447 | 0.377447 | 0 | 0.037676 | 0.308914 | 2,266 | 70 | 64 | 32.371429 | 0.777778 | 0.029568 | 0 | 0.650794 | 1 | 0 | 0.146175 | 0.020036 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031746 | 0 | 0.079365 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 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 |
df0bd7ccb1a51a66607fdce37e0ebe2ae466df63 | 1,784 | py | Python | django-rest/api/models.py | baseplate-admin/django-react | a3a7c90a49d77e4654eee2dff254fc0c3188cf54 | [
"MIT"
] | null | null | null | django-rest/api/models.py | baseplate-admin/django-react | a3a7c90a49d77e4654eee2dff254fc0c3188cf54 | [
"MIT"
] | 1 | 2021-02-09T19:10:05.000Z | 2022-02-09T13:26:16.000Z | django-rest/api/models.py | baseplate-admin/django-react | a3a7c90a49d77e4654eee2dff254fc0c3188cf54 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.db import models
# Create your models here.
class Url(models.Model):
long = models.CharField(max_length=100)
short = models.CharField(unique=True, max_length=25)
combinations = models.IntegerField(default=100000)
time = models.CharField(max_length=2... | 29.733333 | 69 | 0.723655 | 235 | 1,784 | 5.251064 | 0.259574 | 0.255267 | 0.291734 | 0.388979 | 0.604538 | 0.314425 | 0.06564 | 0 | 0 | 0 | 0 | 0.05 | 0.170404 | 1,784 | 59 | 70 | 30.237288 | 0.783784 | 0.07343 | 0 | 0.175 | 0 | 0 | 0.000607 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.05 | 0.1 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
df1e9f3b461042dff4c402ac73db64d51ddaca56 | 200 | py | Python | test/unit/test-cases/operations/op-output-name.py | JSTransformationBenchmarks/deepforge | 422f47c9440112a3f1a02745ac30646e1b0e681b | [
"Apache-2.0"
] | 726 | 2016-12-06T04:32:45.000Z | 2022-02-22T04:30:17.000Z | test/unit/test-cases/operations/op-output-name.py | JSTransformationBenchmarks/deepforge | 422f47c9440112a3f1a02745ac30646e1b0e681b | [
"Apache-2.0"
] | 685 | 2016-12-06T20:44:00.000Z | 2022-01-26T18:41:31.000Z | test/unit/test-cases/operations/op-output-name.py | JSTransformationBenchmarks/deepforge | 422f47c9440112a3f1a02745ac30646e1b0e681b | [
"Apache-2.0"
] | 72 | 2017-01-13T03:20:44.000Z | 2021-04-12T17:51:22.000Z | from operations import Operation
from typing import Tuple
class ExampleOperation(Operation):
def execute(hello, world, count):
self.myOutput = hello + world
return self.myOutput
| 22.222222 | 37 | 0.725 | 23 | 200 | 6.304348 | 0.695652 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215 | 200 | 8 | 38 | 25 | 0.923567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 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 |
df5e536f9ae7cec91d27bf8d451bc508fe51aa1a | 255 | py | Python | src/marvinbot/messages/parsers.py | osullivryan/marvin-the-discord-bot | ca07f9bf7229ba1576a9ba6b3b1d2393ab20c90d | [
"MIT"
] | null | null | null | src/marvinbot/messages/parsers.py | osullivryan/marvin-the-discord-bot | ca07f9bf7229ba1576a9ba6b3b1d2393ab20c90d | [
"MIT"
] | null | null | null | src/marvinbot/messages/parsers.py | osullivryan/marvin-the-discord-bot | ca07f9bf7229ba1576a9ba6b3b1d2393ab20c90d | [
"MIT"
] | null | null | null | from typing import Dict, Callable
from discord import Message
from marvinbot.messages.message_parser import flip_a_coin, roll_dice
# TODO: Type this Callable fully.
PARSERS: Dict[str, Callable] = {
"flip a coin": flip_a_coin,
"roll": roll_dice,
} | 28.333333 | 68 | 0.756863 | 38 | 255 | 4.894737 | 0.552632 | 0.080645 | 0.145161 | 0.139785 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 255 | 9 | 69 | 28.333333 | 0.865116 | 0.121569 | 0 | 0 | 0 | 0 | 0.067265 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df6b442dd0165de606777ece1515ad97053dc03a | 66 | py | Python | tests/integration/__init__.py | dwayne314/ace-scaffold | 312dab194653f5122181746c252fd9712d5058a2 | [
"MIT"
] | null | null | null | tests/integration/__init__.py | dwayne314/ace-scaffold | 312dab194653f5122181746c252fd9712d5058a2 | [
"MIT"
] | null | null | null | tests/integration/__init__.py | dwayne314/ace-scaffold | 312dab194653f5122181746c252fd9712d5058a2 | [
"MIT"
] | null | null | null | """This module contains integration tests for the application."""
| 33 | 65 | 0.772727 | 8 | 66 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 66 | 1 | 66 | 66 | 0.87931 | 0.893939 | 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 |
df73412834079a28ec5e4db30c5b8cdca97f77e2 | 174 | py | Python | openslides/config/exceptions.py | DerPate/OpenSlides | 2733a47d315fec9b8f3cb746fd5f3739be225d65 | [
"MIT"
] | 1 | 2015-03-22T02:07:23.000Z | 2015-03-22T02:07:23.000Z | openslides/config/exceptions.py | frauenknecht/OpenSlides | 6521d6b095bca33dc0c5f09f59067551800ea1e3 | [
"MIT"
] | null | null | null | openslides/config/exceptions.py | frauenknecht/OpenSlides | 6521d6b095bca33dc0c5f09f59067551800ea1e3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from openslides.utils.exceptions import OpenSlidesError
class ConfigError(OpenSlidesError):
pass
class ConfigNotFound(ConfigError):
pass
| 14.5 | 55 | 0.741379 | 17 | 174 | 7.588235 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.16092 | 174 | 11 | 56 | 15.818182 | 0.876712 | 0.12069 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
df8680e46c69c06d2fd022c5ac2397694b4a0916 | 56 | py | Python | skompiler/toskast/__init__.py | darleybarreto/SKompiler | 9a6c0d1f7134cb98126adc7b4528a4dc08ddd064 | [
"MIT"
] | 112 | 2018-12-12T03:54:28.000Z | 2022-01-14T14:18:42.000Z | skompiler/toskast/__init__.py | darleybarreto/SKompiler | 9a6c0d1f7134cb98126adc7b4528a4dc08ddd064 | [
"MIT"
] | 10 | 2018-12-20T17:21:09.000Z | 2022-03-24T19:31:55.000Z | skompiler/toskast/__init__.py | darleybarreto/SKompiler | 9a6c0d1f7134cb98126adc7b4528a4dc08ddd064 | [
"MIT"
] | 7 | 2019-02-05T05:20:05.000Z | 2021-03-21T16:31:38.000Z | """
Converters from other representations TO SKAST.
"""
| 14 | 47 | 0.732143 | 6 | 56 | 6.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 3 | 48 | 18.666667 | 0.854167 | 0.839286 | 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 |
df921382a18265829910ba2098ecb05167232e00 | 205 | py | Python | py/cidoc_crm_types/properties/p113i_was_removed_by.py | minorg/cidoc-crm-types | 9018bdbf0658e4d28a87bc94543e467be45d8aa5 | [
"Apache-2.0"
] | null | null | null | py/cidoc_crm_types/properties/p113i_was_removed_by.py | minorg/cidoc-crm-types | 9018bdbf0658e4d28a87bc94543e467be45d8aa5 | [
"Apache-2.0"
] | null | null | null | py/cidoc_crm_types/properties/p113i_was_removed_by.py | minorg/cidoc-crm-types | 9018bdbf0658e4d28a87bc94543e467be45d8aa5 | [
"Apache-2.0"
] | null | null | null | from .p12i_was_present_at import P12iWasPresentAt
from dataclasses import dataclass
@dataclass
class P113iWasRemovedBy(P12iWasPresentAt):
URI = "http://erlangen-crm.org/current/P113i_was_removed_by"
| 25.625 | 64 | 0.829268 | 25 | 205 | 6.56 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064865 | 0.097561 | 205 | 7 | 65 | 29.285714 | 0.821622 | 0 | 0 | 0 | 0 | 0 | 0.253659 | 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 |
10c1e9d169bc06b85ae1624f90f7a2ea2f78d376 | 74 | py | Python | problem/01000~09999/01009/1009.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/01000~09999/01009/1009.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/01000~09999/01009/1009.py3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | for _ in range(int(input())):print(pow(*map(int,input().split()),10)or 10) | 74 | 74 | 0.662162 | 14 | 74 | 3.428571 | 0.785714 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057143 | 0.054054 | 74 | 1 | 74 | 74 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 1 | 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 |
10de1012d053db04b4c07f1317b75c15092d03ee | 1,808 | py | Python | app/exchanges/tests/test_models.py | iyanuashiri/exchange-api | 86f7a4e9fb17f71888e6854510618876d1010c19 | [
"MIT"
] | null | null | null | app/exchanges/tests/test_models.py | iyanuashiri/exchange-api | 86f7a4e9fb17f71888e6854510618876d1010c19 | [
"MIT"
] | null | null | null | app/exchanges/tests/test_models.py | iyanuashiri/exchange-api | 86f7a4e9fb17f71888e6854510618876d1010c19 | [
"MIT"
] | null | null | null | import pytest
@pytest.mark.django_db
def test_exchange_model(exchange):
assert exchange.from_currency_code == 'BTC'
assert exchange.from_currency_name == 'Bitcoin'
assert exchange.to_currency_code == 'USD'
assert exchange.to_currency_name == 'United States Dollar'
assert exchange.exchange_rate == ... | 50.222222 | 94 | 0.763274 | 246 | 1,808 | 5.264228 | 0.191057 | 0.248649 | 0.194595 | 0.227027 | 0.555212 | 0.494981 | 0.462548 | 0.379923 | 0.220849 | 0.152896 | 0 | 0.040778 | 0.118363 | 1,808 | 36 | 95 | 50.222222 | 0.771644 | 0 | 0 | 0.1 | 0 | 0 | 0.229961 | 0 | 0 | 0 | 0 | 0 | 0.766667 | 1 | 0.1 | false | 0 | 0.033333 | 0 | 0.133333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10e3c6638501b6803f777e40b13c5a798cce29c4 | 989 | py | Python | openprocurement/auctions/core/tests/bidder.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 2 | 2016-09-15T20:17:43.000Z | 2017-01-08T03:32:43.000Z | openprocurement/auctions/core/tests/bidder.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 183 | 2017-12-21T11:04:37.000Z | 2019-03-27T08:14:34.000Z | openprocurement/auctions/core/tests/bidder.py | EBRD-ProzorroSale/openprocurement.auctions.core | 52bd59f193f25e4997612fca0f87291decf06966 | [
"Apache-2.0"
] | 12 | 2016-09-05T12:07:48.000Z | 2019-02-26T09:24:17.000Z | from openprocurement.auctions.core.tests.base import snitch
from openprocurement.auctions.core.tests.blanks.bidder_blanks import (
# AuctionBidderDocumentResourceTestMixin
not_found,
create_auction_bidder_document,
put_auction_bidder_document,
patch_auction_bidder_document,
# AuctionBidderDocume... | 41.208333 | 90 | 0.85541 | 109 | 989 | 7.201835 | 0.220183 | 0.248408 | 0.401274 | 0.206369 | 0.498089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102123 | 989 | 23 | 91 | 43 | 0.884009 | 0.078868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.588235 | 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 |
8018dd41ac3ab65cdfc99a8944d5b2cb0b108b3a | 1,734 | py | Python | SMM2/keytables.py | MarioPossamato/MariOver | 088adc0c0c9350b5a426093d2efbfce7edf28b24 | [
"MIT"
] | null | null | null | SMM2/keytables.py | MarioPossamato/MariOver | 088adc0c0c9350b5a426093d2efbfce7edf28b24 | [
"MIT"
] | null | null | null | SMM2/keytables.py | MarioPossamato/MariOver | 088adc0c0c9350b5a426093d2efbfce7edf28b24 | [
"MIT"
] | null | null | null | bcd: tuple = (
0x7ab1c9d2, 0xca750936, 0x3003e59c, 0xf261014b,
0x2e25160a, 0xed614811, 0xf1ac6240, 0xd59272cd,
0xf38549bf, 0x6cf5b327, 0xda4db82a, 0x820c435a,
0xc95609ba, 0x19be08b0, 0x738e2b81, 0xed3c349a,
0x045275d1, 0xe0a73635, 0x1debf4da, 0x9924b0de,
0x6a1fc367, 0x71970467, 0xfc55abeb,... | 45.631579 | 52 | 0.747405 | 132 | 1,734 | 9.818182 | 0.992424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.544056 | 0.175317 | 1,734 | 37 | 53 | 46.864865 | 0.362238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.754272 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
802814f97bc9e9a6aa8af76f6f3eb7198b432e9f | 662 | py | Python | cisco_firepower_management_center/setup.py | emartin-merrill-r7/insightconnect-plugins | a589745dbcc9f01d3e601431e77ab7221a84c117 | [
"MIT"
] | 1 | 2020-03-18T09:14:55.000Z | 2020-03-18T09:14:55.000Z | cisco_firepower_management_center/setup.py | OSSSP/insightconnect-plugins | 846758dab745170cf1a8c146211a8bea9592e8ff | [
"MIT"
] | null | null | null | cisco_firepower_management_center/setup.py | OSSSP/insightconnect-plugins | 846758dab745170cf1a8c146211a8bea9592e8ff | [
"MIT"
] | null | null | null | # GENERATED BY KOMAND SDK - DO NOT EDIT
from setuptools import setup, find_packages
setup(name='cisco_firepower_management_center-rapid7-plugin',
version='1.0.1',
description='This plugin utilizes Cisco Firepower Management Center to create a new block URL policy Cisco Firepower Management Center is an ad... | 44.133333 | 231 | 0.740181 | 83 | 662 | 5.771084 | 0.686747 | 0.11691 | 0.200418 | 0.250522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009191 | 0.178248 | 662 | 14 | 232 | 47.285714 | 0.871324 | 0.146526 | 0 | 0 | 1 | 0.090909 | 0.562278 | 0.158363 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8051a9bbaed3357d74f84a1191717f9315aaa6d5 | 395 | py | Python | ui-server/model/rover.py | TomZurales/northernpike | f7d878ad7681456e95e3c480b31bfcb2358aa2d9 | [
"MIT"
] | null | null | null | ui-server/model/rover.py | TomZurales/northernpike | f7d878ad7681456e95e3c480b31bfcb2358aa2d9 | [
"MIT"
] | null | null | null | ui-server/model/rover.py | TomZurales/northernpike | f7d878ad7681456e95e3c480b31bfcb2358aa2d9 | [
"MIT"
] | null | null | null | import csv
class roverState:
def __init__(self):
self.writer = csv.writer(testfile1.csv, dialect='excel')
def getRoverGyro(self):
return "Gyro values x: %d y: %d z: %d" % (self.x, self.y, self.z)
def getRoverCompass(self):
return "Direction: %d" % (self.d)
def readGyroData(self):
return None
def wri... | 14.107143 | 67 | 0.660759 | 64 | 395 | 4.015625 | 0.453125 | 0.116732 | 0.108949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02795 | 0.18481 | 395 | 27 | 68 | 14.62963 | 0.770186 | 0 | 0 | 0 | 0 | 0 | 0.119898 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.0625 | 0.0625 | 0.1875 | 0.875 | 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 |
805979b5d95607a03363ea7a5c64d1b54a61c3d9 | 108 | py | Python | test.py | AlexandreOuellet/halite-bot | 3455f9b57d52aaee542ee0dad45b3b72314ba139 | [
"MIT"
] | 1 | 2017-10-26T20:13:01.000Z | 2017-10-26T20:13:01.000Z | test.py | AlexandreOuellet/halite-bot | 3455f9b57d52aaee542ee0dad45b3b72314ba139 | [
"MIT"
] | null | null | null | test.py | AlexandreOuellet/halite-bot | 3455f9b57d52aaee542ee0dad45b3b72314ba139 | [
"MIT"
] | null | null | null | import operator
x = {1: 2, 3: 4, 4: 3, 2: 1, 0: 0}
sorted_x = sorted(x.items(), key=operator.itemgetter(1))
| 27 | 56 | 0.62037 | 22 | 108 | 3 | 0.545455 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122222 | 0.166667 | 108 | 3 | 57 | 36 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
33c30d50857777710cdb06686172e8d30524a76c | 43 | py | Python | veils/_async_dummy.py | monomonedula/veil | 27615413f477b490580e9e22b2a8748a4b763696 | [
"MIT"
] | 2 | 2021-01-17T15:50:25.000Z | 2021-01-19T11:23:55.000Z | veils/_async_dummy.py | monomonedula/veils | 27615413f477b490580e9e22b2a8748a4b763696 | [
"MIT"
] | null | null | null | veils/_async_dummy.py | monomonedula/veils | 27615413f477b490580e9e22b2a8748a4b763696 | [
"MIT"
] | null | null | null | async def async_dummy(val):
return val
| 14.333333 | 27 | 0.72093 | 7 | 43 | 4.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209302 | 43 | 2 | 28 | 21.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
33dbaa64cb87a2c3d440e080d6a0289e1a3fecf6 | 214 | py | Python | test/mitmproxy/data/scripts/a.py | yatere/mitmproxy | 5c0161886ae03dcd3b4cfc726c7a53408cdb5d71 | [
"MIT"
] | 1 | 2021-01-10T15:48:40.000Z | 2021-01-10T15:48:40.000Z | test/mitmproxy/data/scripts/a.py | yatere/mitmproxy | 5c0161886ae03dcd3b4cfc726c7a53408cdb5d71 | [
"MIT"
] | null | null | null | test/mitmproxy/data/scripts/a.py | yatere/mitmproxy | 5c0161886ae03dcd3b4cfc726c7a53408cdb5d71 | [
"MIT"
] | null | null | null | import sys
from a_helper import parser
var = 0
def start(ctx):
global var
var = parser.parse_args(sys.argv[1:]).var
def here(ctx):
global var
var += 1
return var
def errargs():
pass
| 10.190476 | 45 | 0.621495 | 34 | 214 | 3.852941 | 0.588235 | 0.137405 | 0.183206 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019481 | 0.280374 | 214 | 20 | 46 | 10.7 | 0.831169 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
33fddb72cf9725dc4fdf60ea6945293891929a0f | 103 | py | Python | CMXls.py | pengphei/cinemaman | f2de21e9034f7dc07f25980a653d8af82342136f | [
"Unlicense"
] | null | null | null | CMXls.py | pengphei/cinemaman | f2de21e9034f7dc07f25980a653d8af82342136f | [
"Unlicense"
] | null | null | null | CMXls.py | pengphei/cinemaman | f2de21e9034f7dc07f25980a653d8af82342136f | [
"Unlicense"
] | null | null | null | # -*- coding: utf-8 -*-
from xls import *
class CMXls():
def __init__(self):
pass
| 9.363636 | 23 | 0.504854 | 12 | 103 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.339806 | 103 | 10 | 24 | 10.3 | 0.691176 | 0.203884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
33fdf65c8ead9798d87bee30902209348283c9af | 77 | py | Python | dcinside_cleaner/__main__.py | exportfs/dcinside-cleaner | 2169d85fc08a29ee52c6174567dbd77629ef05b7 | [
"MIT"
] | 15 | 2020-11-30T01:26:39.000Z | 2022-03-26T15:11:01.000Z | dcinside_cleaner/__main__.py | exportfs/dcinside-cleaner | 2169d85fc08a29ee52c6174567dbd77629ef05b7 | [
"MIT"
] | null | null | null | dcinside_cleaner/__main__.py | exportfs/dcinside-cleaner | 2169d85fc08a29ee52c6174567dbd77629ef05b7 | [
"MIT"
] | 10 | 2021-01-26T12:32:23.000Z | 2022-03-05T15:54:12.000Z | from cleaner_console import Console
if __name__ == '__main__':
Console() | 19.25 | 35 | 0.74026 | 9 | 77 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 4 | 36 | 19.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 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 |
1d463fadcbdab0b9f46778b6508cb758f53551e9 | 70 | py | Python | karton/config_extractor/__main__.py | kscieslinski/karton-config-extractor | c0eb0bddeed2b217abe517ca1b8a20e679506dba | [
"BSD-3-Clause"
] | 7 | 2020-12-31T00:53:18.000Z | 2021-12-02T20:36:53.000Z | karton/config_extractor/__main__.py | kscieslinski/karton-config-extractor | c0eb0bddeed2b217abe517ca1b8a20e679506dba | [
"BSD-3-Clause"
] | 11 | 2021-08-22T01:15:23.000Z | 2022-02-26T22:08:40.000Z | karton/config_extractor/__main__.py | kscieslinski/karton-config-extractor | c0eb0bddeed2b217abe517ca1b8a20e679506dba | [
"BSD-3-Clause"
] | 3 | 2021-04-02T09:50:48.000Z | 2021-06-14T11:46:53.000Z | from .config_extractor import ConfigExtractor
ConfigExtractor.main()
| 17.5 | 45 | 0.857143 | 7 | 70 | 8.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 3 | 46 | 23.333333 | 0.921875 | 0 | 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 |
1d5652ad952fb887517475a52da77317fba78e69 | 184 | py | Python | modules/s3/pyvttbl/stats/stats_test.py | unimauro/eden | b739d334e6828d0db14b3790f2f5e2666fc83576 | [
"MIT"
] | 1 | 2019-08-20T16:32:33.000Z | 2019-08-20T16:32:33.000Z | modules/s3/pyvttbl/stats/stats_test.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | null | null | null | modules/s3/pyvttbl/stats/stats_test.py | andygimma/eden | 716d5e11ec0030493b582fa67d6f1c35de0af50d | [
"MIT"
] | null | null | null | from stats import ttest_ind, tinv
a = [62,96,26,121,106,59,50,122,114,89,55,36]
b = [109,117,73,80,113,156,24,73,121,125,37,69]
t,prob = ttest_ind(a,b,1)
print tinv(.05,10)
| 20.444444 | 48 | 0.641304 | 43 | 184 | 2.697674 | 0.837209 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.401274 | 0.146739 | 184 | 8 | 49 | 23 | 0.33758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d71ad92afc1574bbcd13e891515a39fff327e2a | 126 | py | Python | tests/handlers.py | Tijani-Dia/yrouter-websockets | ea5ef8ed6a2143945c8f0736313197dbd6c77896 | [
"BSD-3-Clause"
] | 3 | 2022-01-15T23:36:43.000Z | 2022-01-18T09:06:18.000Z | tests/handlers.py | Tijani-Dia/yrouter-websockets | ea5ef8ed6a2143945c8f0736313197dbd6c77896 | [
"BSD-3-Clause"
] | null | null | null | tests/handlers.py | Tijani-Dia/yrouter-websockets | ea5ef8ed6a2143945c8f0736313197dbd6c77896 | [
"BSD-3-Clause"
] | null | null | null | async def home(ws):
await ws.send("In home")
async def hello_user(ws, username):
await ws.send(f"Hello {username}")
| 18 | 38 | 0.666667 | 21 | 126 | 3.952381 | 0.52381 | 0.192771 | 0.26506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 126 | 6 | 39 | 21 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0.18254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d528d5015d2766a99b7ea62b581ac87fcbfc0dbb | 337 | py | Python | transmit.py | nesbit/BerryStone | 3c7b2e1f4789ad7590b0e208cb59df328c23256f | [
"MIT"
] | null | null | null | transmit.py | nesbit/BerryStone | 3c7b2e1f4789ad7590b0e208cb59df328c23256f | [
"MIT"
] | null | null | null | transmit.py | nesbit/BerryStone | 3c7b2e1f4789ad7590b0e208cb59df328c23256f | [
"MIT"
] | null | null | null | import os
message = "17 02 01 1a 03 03 aa fe 0f 16 aa fe 10 ed 03 64 65 6d 70 73 65 79 73 07 00 00 00 00 00 00 00 00"
#Stop advertising
os.system("sudo hcitool -i hci0 cmd 0x08 0x000a 00")
#Set message
os.system("sudo hcitool -i hci0 cmd 0x08 0x0008 " + message)
#Resume advertising
os.system("sudo hcitool -i hci0 cmd ... | 37.444444 | 107 | 0.721068 | 71 | 337 | 3.422535 | 0.492958 | 0.115226 | 0.148148 | 0.164609 | 0.588477 | 0.588477 | 0.588477 | 0.522634 | 0.395062 | 0.395062 | 0 | 0.298507 | 0.204748 | 337 | 8 | 108 | 42.125 | 0.608209 | 0.133531 | 0 | 0 | 0 | 0.2 | 0.726644 | 0 | 0 | 0 | 0.103806 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d53d91aacd33c04d14c29e96080b07bc24b57c33 | 96 | py | Python | src/config/settings.py | luscafter/bot-telegram | c936020b05923976d203fd33f26facaddddd5013 | [
"MIT"
] | null | null | null | src/config/settings.py | luscafter/bot-telegram | c936020b05923976d203fd33f26facaddddd5013 | [
"MIT"
] | null | null | null | src/config/settings.py | luscafter/bot-telegram | c936020b05923976d203fd33f26facaddddd5013 | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv
load_dotenv()
TOKEN_BOT = os.getenv("TOKEN_BOT") | 16 | 34 | 0.75 | 15 | 96 | 4.533333 | 0.533333 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 6 | 34 | 16 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d546180a3e7e1fa7749957fea4c1fb1c275a7158 | 565 | py | Python | djaveAPI/currency_field.py | dasmith2/djaveAPI | 6cece89bb945a4c8ace1534cc007626a35af3c38 | [
"MIT"
] | null | null | null | djaveAPI/currency_field.py | dasmith2/djaveAPI | 6cece89bb945a4c8ace1534cc007626a35af3c38 | [
"MIT"
] | null | null | null | djaveAPI/currency_field.py | dasmith2/djaveAPI | 6cece89bb945a4c8ace1534cc007626a35af3c38 | [
"MIT"
] | null | null | null | """ Money is a little tricky. In Django models I store it as a single Money
field. However, in the database that's a decimal field for the amount and a
char field for the currency. In the API, it's a float field for the amount and
a text field for the currency. """
def corresponding_currency_value(field, request_data... | 37.666667 | 78 | 0.79115 | 92 | 565 | 4.663043 | 0.402174 | 0.125874 | 0.198135 | 0.079254 | 0.391608 | 0.097902 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146903 | 565 | 14 | 79 | 40.357143 | 0.890041 | 0.454867 | 0 | 0 | 0 | 0 | 0.036667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 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 |
d59685f854e8ccd62e0fa790f91954d7178e71bf | 3,259 | py | Python | L1Trigger/L1THGCalUtilities/python/clustering2d.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | L1Trigger/L1THGCalUtilities/python/clustering2d.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | L1Trigger/L1THGCalUtilities/python/clustering2d.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import dummy_C2d_params, \
distance_C2d_params, \
topological_C2d_params, \
... | 50.921875 | 117 | 0.673826 | 264 | 3,259 | 7.996212 | 0.162879 | 0.072478 | 0.11369 | 0.151587 | 0.759356 | 0.759356 | 0.759356 | 0.728091 | 0.654192 | 0.654192 | 0 | 0.01462 | 0.265419 | 3,259 | 63 | 118 | 51.730159 | 0.867168 | 0.010739 | 0 | 0.444444 | 0 | 0 | 0.0479 | 0.047278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.092593 | false | 0 | 0.055556 | 0 | 0.240741 | 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 |
633573cd077ee1c3b8a545036bc6265189e4e4a1 | 692 | py | Python | help.py | c1c1/SSH-Cisco-Config | 9c425ec3a6e5c5dcdfbca9c4bc20cf1e76f8d96a | [
"MIT"
] | 8 | 2017-02-07T15:56:28.000Z | 2021-11-02T17:33:11.000Z | help.py | c1c1/SSH-Cisco-Config | 9c425ec3a6e5c5dcdfbca9c4bc20cf1e76f8d96a | [
"MIT"
] | null | null | null | help.py | c1c1/SSH-Cisco-Config | 9c425ec3a6e5c5dcdfbca9c4bc20cf1e76f8d96a | [
"MIT"
] | 3 | 2020-06-14T19:15:33.000Z | 2021-11-02T17:33:16.000Z | import bcolors
import os
#######################################################################
# HELP MENU
def help():
os.system("clear")
print "#####################################################################"
print "# #"
print "... | 49.428571 | 136 | 0.245665 | 32 | 692 | 5.3125 | 0.625 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.381503 | 692 | 13 | 137 | 53.230769 | 0.397196 | 0.013006 | 0 | 0.4 | 0 | 0 | 0.686885 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
63431b0c484ebf2f08607739f42be57bdf676a84 | 99 | py | Python | src/universities/apps.py | Busaka/excellence | 1cd19770285584d61aeddd77d6c1dd83e2fd04ba | [
"MIT"
] | 3 | 2019-03-13T00:44:31.000Z | 2019-06-05T08:20:55.000Z | server/universities/apps.py | ShahriarDhruvo/HackTheVerse_SUST_NOOBs | e884e47e5e987eac45f86faacc78be7db6e588ac | [
"MIT"
] | 13 | 2019-03-17T16:53:02.000Z | 2022-03-11T23:42:13.000Z | server/universities/apps.py | ShahriarDhruvo/HackTheVerse_SUST_NOOBs | e884e47e5e987eac45f86faacc78be7db6e588ac | [
"MIT"
] | 4 | 2019-03-17T14:58:46.000Z | 2020-07-05T15:20:28.000Z | from django.apps import AppConfig
class UniversitiesConfig(AppConfig):
name = 'universities'
| 16.5 | 36 | 0.777778 | 10 | 99 | 7.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 99 | 5 | 37 | 19.8 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 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 |
6355661d952d92e1c668b127da8b0bbe16b87d91 | 252 | py | Python | gehomesdk/erd/values/water_filter/erd_waterfilter_life.py | willhayslett/gehome | 7e407a1d31cede1453656eaef948332e808484ea | [
"MIT"
] | 17 | 2021-05-18T01:58:06.000Z | 2022-03-22T20:49:32.000Z | gehomesdk/erd/values/water_filter/erd_waterfilter_life.py | willhayslett/gehome | 7e407a1d31cede1453656eaef948332e808484ea | [
"MIT"
] | 29 | 2021-05-17T21:43:16.000Z | 2022-02-28T22:50:48.000Z | gehomesdk/erd/values/water_filter/erd_waterfilter_life.py | willhayslett/gehome | 7e407a1d31cede1453656eaef948332e808484ea | [
"MIT"
] | 9 | 2021-05-17T04:40:58.000Z | 2022-02-02T17:26:13.000Z | from datetime import timedelta
from typing import NamedTuple, Optional
import humanize
class ErdWaterFilterLifeRemaining(NamedTuple):
life_remaining: int
def stringify(self, **kwargs) -> Optional[str]:
return self.life_remaining
| 22.909091 | 51 | 0.757937 | 27 | 252 | 7 | 0.703704 | 0.137566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 252 | 10 | 52 | 25.2 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
635d34cf8203a37be6ad99b0e72cf732e160246f | 97 | py | Python | project_code_helpers/code_helpers/apps.py | lorenzowind/CodeHelpers | 1f47477256e62d266800fbca6b9ff08d6c32f631 | [
"MIT"
] | null | null | null | project_code_helpers/code_helpers/apps.py | lorenzowind/CodeHelpers | 1f47477256e62d266800fbca6b9ff08d6c32f631 | [
"MIT"
] | 2 | 2021-03-30T13:57:30.000Z | 2021-04-08T21:23:20.000Z | project_code_helpers/code_helpers/apps.py | lorenzowind/CodeHelpers | 1f47477256e62d266800fbca6b9ff08d6c32f631 | [
"MIT"
] | 1 | 2022-03-23T14:37:22.000Z | 2022-03-23T14:37:22.000Z | from django.apps import AppConfig
class CodeHelpersConfig(AppConfig):
name = 'code_helpers'
| 19.4 | 35 | 0.783505 | 11 | 97 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 4 | 36 | 24.25 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 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 |
63737aef735b2cad93633d7ac01f63843bf9c86b | 109 | py | Python | other_tests/funtype.py | nuua-io/Nuua | d74bec22d09d25f2bc0ced8d7c9a154ff84a874d | [
"MIT"
] | 43 | 2018-11-17T02:08:09.000Z | 2022-03-03T14:50:02.000Z | other_tests/funtype.py | nuua-io/Nuua | d74bec22d09d25f2bc0ced8d7c9a154ff84a874d | [
"MIT"
] | 2 | 2019-08-07T03:16:51.000Z | 2021-05-17T03:05:08.000Z | other_tests/funtype.py | nuua-io/Nuua | d74bec22d09d25f2bc0ced8d7c9a154ff84a874d | [
"MIT"
] | 3 | 2019-01-07T18:43:35.000Z | 2021-07-21T12:12:23.000Z | def test():
def test2():
return 0
test3 = lambda: 0
print(test2)
print(test3)
test()
| 13.625 | 21 | 0.53211 | 14 | 109 | 4.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.33945 | 109 | 7 | 22 | 15.571429 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.428571 | 0.285714 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
894cc16431515cb926163397ba4179e1fcdad934 | 1,267 | py | Python | variation/translators/__init__.py | GenomicMedLab/varlex | 9e53906a5f4e41afb4480487a4d03b0c218a1d57 | [
"MIT"
] | null | null | null | variation/translators/__init__.py | GenomicMedLab/varlex | 9e53906a5f4e41afb4480487a4d03b0c218a1d57 | [
"MIT"
] | 3 | 2020-06-26T15:19:31.000Z | 2021-02-04T21:14:37.000Z | variation/translators/__init__.py | GenomicMedLab/varlex | 9e53906a5f4e41afb4480487a4d03b0c218a1d57 | [
"MIT"
] | null | null | null | """Translator package import."""
from .translate import Translate # noqa: F401
from .translator import Translator # noqa: F401
from .amino_acid_substitution import AminoAcidSubstitution # noqa: F401
from .polypeptide_truncation import PolypeptideTruncation # noqa: F401
from .silent_mutation import SilentMutation #... | 60.333333 | 78 | 0.827151 | 146 | 1,267 | 6.979452 | 0.260274 | 0.149166 | 0.211973 | 0.111874 | 0.185476 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051259 | 0.122336 | 1,267 | 20 | 79 | 63.35 | 0.865108 | 0.186267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8962806da9dff786b00552e48563f6c73ab135de | 964 | py | Python | 001_Introduccion/005_listas.py | cobymotion/PythonCourse | 3dcf4ab8cd59210f3d806aa79142fbc94240bc9e | [
"Apache-2.0"
] | null | null | null | 001_Introduccion/005_listas.py | cobymotion/PythonCourse | 3dcf4ab8cd59210f3d806aa79142fbc94240bc9e | [
"Apache-2.0"
] | null | null | null | 001_Introduccion/005_listas.py | cobymotion/PythonCourse | 3dcf4ab8cd59210f3d806aa79142fbc94240bc9e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Jan 24 12:41:16 2019
@author: Luis Cobian
Practia 4: listas
"""
mi_lista = ["cadenas",16,65.2,True]
print(mi_lista)
# Agregar valores a la lista
mi_lista.append(7)
print(mi_lista)
#Inserta valor a la lista
mi_lista.insert(2,"Insertado")
print(mi_lista)
#Remover un valor
mi_... | 22.952381 | 67 | 0.760373 | 172 | 964 | 4.023256 | 0.412791 | 0.263006 | 0.242775 | 0.16474 | 0.228324 | 0.083815 | 0.083815 | 0 | 0 | 0 | 0 | 0.045775 | 0.116183 | 964 | 41 | 68 | 23.512195 | 0.766432 | 0.354772 | 0 | 0.347826 | 0 | 0 | 0.02649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.521739 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
896cf87afcb2e77f62c4cfa1b8f019b14a1d662d | 203 | py | Python | Cards/serializers.py | vabene1111/LearningCards | 00539c8d5d3063eecc306dd68eb3eeeac89dba9f | [
"MIT"
] | 1 | 2020-03-18T15:10:42.000Z | 2020-03-18T15:10:42.000Z | Cards/serializers.py | vabene1111/LearningCards | 00539c8d5d3063eecc306dd68eb3eeeac89dba9f | [
"MIT"
] | 1 | 2020-02-22T20:03:02.000Z | 2020-02-23T16:31:56.000Z | Cards/serializers.py | vabene1111/LearningCards | 00539c8d5d3063eecc306dd68eb3eeeac89dba9f | [
"MIT"
] | null | null | null | from rest_framework import serializers
class SetPinSerializer(serializers.Serializer):
pin = serializers.IntegerField()
mode = serializers.IntegerField()
state = serializers.IntegerField()
| 25.375 | 47 | 0.778325 | 18 | 203 | 8.722222 | 0.666667 | 0.43949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 203 | 7 | 48 | 29 | 0.902299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
899c050cb600bf6773fb636b5138dd3a4b04e0f8 | 71 | py | Python | imutils/ml/models/pl/__init__.py | JacobARose/image-utils | aa0e005c0b4df5198d188b074f4e21f8d8f97962 | [
"MIT"
] | null | null | null | imutils/ml/models/pl/__init__.py | JacobARose/image-utils | aa0e005c0b4df5198d188b074f4e21f8d8f97962 | [
"MIT"
] | null | null | null | imutils/ml/models/pl/__init__.py | JacobARose/image-utils | aa0e005c0b4df5198d188b074f4e21f8d8f97962 | [
"MIT"
] | null | null | null | """
imutils/ml/models/pl/__init__.py
"""
#from .classifier import * | 8.875 | 32 | 0.661972 | 9 | 71 | 4.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140845 | 71 | 8 | 33 | 8.875 | 0.704918 | 0.816901 | 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 |
89bb0a8d5eabcf46c689d0f96d454ff321bb6b14 | 217 | py | Python | section4/video2/functions.py | PacktPublishing/Mastering-Python-3.x-3rd-Edition | addfb6b1ecbc788030be119318386e1261ba6f2a | [
"MIT"
] | 6 | 2019-04-10T17:27:30.000Z | 2021-11-08T13:10:37.000Z | section4/video2/functions.py | PacktPublishing/Mastering-Python-3.x | 526f2d02266fa6c0a5badf892f2db177b2f52f64 | [
"MIT"
] | 2 | 2021-06-01T23:45:41.000Z | 2021-06-02T00:07:56.000Z | section4/video2/functions.py | PacktPublishing/Mastering-Python-3.x | 526f2d02266fa6c0a5badf892f2db177b2f52f64 | [
"MIT"
] | 8 | 2019-05-02T20:56:37.000Z | 2021-09-02T08:55:06.000Z | def add(pair):
return pair[0] + pair[1]
def even(a):
return a % 2 == 0
def map(func, objects):
return [func(x) for x in objects]
def filter(func, objects):
return [x for x in objects if func(x)]
| 14.466667 | 42 | 0.603687 | 39 | 217 | 3.358974 | 0.435897 | 0.167939 | 0.259542 | 0.10687 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0.258065 | 217 | 14 | 43 | 15.5 | 0.78882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
98209252b2c42bf5929f2fffa7e7298613add98f | 716 | py | Python | kinopoisk_unofficial/client/reviews_api_client.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 2 | 2021-11-13T12:23:41.000Z | 2021-12-24T14:09:49.000Z | kinopoisk_unofficial/client/reviews_api_client.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 1 | 2022-03-29T19:13:24.000Z | 2022-03-30T18:57:23.000Z | kinopoisk_unofficial/client/reviews_api_client.py | masterWeber/kinopoisk-api-unofficial-client | 5c95e1ec6e43bd302399b63a1525ee7e61724155 | [
"MIT"
] | 1 | 2021-11-13T12:30:01.000Z | 2021-11-13T12:30:01.000Z | from kinopoisk_unofficial.client.api_client import ApiClient
from kinopoisk_unofficial.request.reviews.review_details_request import ReviewDetailsRequest
from kinopoisk_unofficial.request.reviews.reviews_request import ReviewsRequest
from kinopoisk_unofficial.response.reviews.review_details_response import ReviewDetail... | 51.142857 | 98 | 0.857542 | 76 | 716 | 7.802632 | 0.289474 | 0.109612 | 0.193929 | 0.10118 | 0.347386 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090782 | 716 | 13 | 99 | 55.076923 | 0.910906 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.5 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
982e0ba26d302bcf0055ad821f10034e9954631a | 154 | py | Python | producer/app/config.py | gimmesomethinggood/apache-nifi-kafka | 5cdf58727a450dc2685412bd80c8c4e7379bc163 | [
"Apache-2.0"
] | 2 | 2020-07-07T15:28:05.000Z | 2020-12-23T03:42:05.000Z | producer/app/config.py | gimmesomethinggood/apache-nifi-kafka | 5cdf58727a450dc2685412bd80c8c4e7379bc163 | [
"Apache-2.0"
] | null | null | null | producer/app/config.py | gimmesomethinggood/apache-nifi-kafka | 5cdf58727a450dc2685412bd80c8c4e7379bc163 | [
"Apache-2.0"
] | 7 | 2020-10-14T14:22:07.000Z | 2022-03-27T02:53:05.000Z | import os
class Config(object):
bootstrap_server = os.environ['BOOTSTRAP_SERVER']
topic = os.environ['TOPIC']
covid_api = os.environ['API_COVID']
| 19.25 | 51 | 0.727273 | 21 | 154 | 5.142857 | 0.52381 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 154 | 7 | 52 | 22 | 0.81203 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
983d6f24c6da46a0b6dd04d6203c5d4e34b05d13 | 83 | py | Python | runapp.py | Unixeno/PicMe | 376f486c8c7375d6a43eaed4139988090c679e53 | [
"MIT"
] | 1 | 2019-06-23T03:28:04.000Z | 2019-06-23T03:28:04.000Z | runapp.py | Unixeno/PicMe | 376f486c8c7375d6a43eaed4139988090c679e53 | [
"MIT"
] | 1 | 2019-06-23T03:29:22.000Z | 2019-06-23T03:29:22.000Z | runapp.py | Unixeno/PicMe | 376f486c8c7375d6a43eaed4139988090c679e53 | [
"MIT"
] | 1 | 2019-06-23T03:28:20.000Z | 2019-06-23T03:28:20.000Z | from app import instance
if __name__ == '__main__':
instance.run(debug=True)
| 13.833333 | 28 | 0.710843 | 11 | 83 | 4.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 29 | 16.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 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 |
98469c092125704e51d5dc39fa2ab001c8dd10a1 | 363 | py | Python | app/serializers.py | raptor419/privi | f92b70b98e5d02c553734e8c79969aba9d4158fa | [
"MIT"
] | null | null | null | app/serializers.py | raptor419/privi | f92b70b98e5d02c553734e8c79969aba9d4158fa | [
"MIT"
] | null | null | null | app/serializers.py | raptor419/privi | f92b70b98e5d02c553734e8c79969aba9d4158fa | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import *
class QuestionSerializer(serializers.ModelSerializer):
class Meta:
model = Question
fields = ['content', 'options', 'max_time', 'correct_option']
class SnippetSerializer(serializers.ModelSerializer):
class Meta:
model = Quest... | 25.928571 | 69 | 0.694215 | 34 | 363 | 7.323529 | 0.617647 | 0.208835 | 0.248996 | 0.281125 | 0.433735 | 0.433735 | 0.433735 | 0 | 0 | 0 | 0 | 0 | 0.206612 | 363 | 13 | 70 | 27.923077 | 0.864583 | 0 | 0 | 0.4 | 0 | 0 | 0.132597 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 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 |
9847eb7ca7345f0393c5f63273bee5d2ef4b63cf | 694 | py | Python | clients/python-experimental/generated/openapi_client/api/location_api.py | cliffano/pokeapi-clients | 92af296c68c3e94afac52642ae22057faaf071ee | [
"MIT"
] | null | null | null | clients/python-experimental/generated/openapi_client/api/location_api.py | cliffano/pokeapi-clients | 92af296c68c3e94afac52642ae22057faaf071ee | [
"MIT"
] | null | null | null | clients/python-experimental/generated/openapi_client/api/location_api.py | cliffano/pokeapi-clients | 92af296c68c3e94afac52642ae22057faaf071ee | [
"MIT"
] | null | null | null | # coding: utf-8
"""
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: 20220523
Generated by: https://openapi-generator.tech
"""
from openapi_client.api_client import ApiClient
from openapi_client.... | 25.703704 | 124 | 0.756484 | 86 | 694 | 5.988372 | 0.523256 | 0.15534 | 0.099029 | 0.116505 | 0.186408 | 0.186408 | 0.186408 | 0.186408 | 0 | 0 | 0 | 0.020725 | 0.165706 | 694 | 26 | 125 | 26.692308 | 0.868739 | 0.507205 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.333333 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
988d9cc0f6aeebdb7692d97235402a16fff98a23 | 99 | py | Python | functions.py | DanielAdeyemi/CS50_Web_Python_practice | 435e25c1967d8792c93db162878a7e80832cc32d | [
"MIT"
] | null | null | null | functions.py | DanielAdeyemi/CS50_Web_Python_practice | 435e25c1967d8792c93db162878a7e80832cc32d | [
"MIT"
] | null | null | null | functions.py | DanielAdeyemi/CS50_Web_Python_practice | 435e25c1967d8792c93db162878a7e80832cc32d | [
"MIT"
] | null | null | null | def square(x):
return x*x
for i in range(10):
print(f"Square of {i+1} is {square(i+1)}")
| 14.142857 | 46 | 0.575758 | 21 | 99 | 2.714286 | 0.666667 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.232323 | 99 | 6 | 47 | 16.5 | 0.697368 | 0 | 0 | 0 | 0 | 0 | 0.323232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
988f8cace1ba3b520995f676b9468eab6a0a5ab8 | 208 | py | Python | main_app/forms.py | safatalnur/bookApp | 416db6f268ad00fa992a6d50c0ce5d161b057ace | [
"MIT"
] | null | null | null | main_app/forms.py | safatalnur/bookApp | 416db6f268ad00fa992a6d50c0ce5d161b057ace | [
"MIT"
] | 7 | 2021-03-30T14:06:37.000Z | 2022-03-12T00:41:19.000Z | main_app/forms.py | safatalnur/bookApp | 416db6f268ad00fa992a6d50c0ce5d161b057ace | [
"MIT"
] | null | null | null | from django import forms
from . import models
class CreateBook(forms.ModelForm):
class Meta:
model = models.Book
fields = ['title', 'author', 'illustrated', 'age', 'bookImage', 'bookPdf'] | 29.714286 | 82 | 0.658654 | 23 | 208 | 5.956522 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206731 | 208 | 7 | 82 | 29.714286 | 0.830303 | 0 | 0 | 0 | 0 | 0 | 0.196172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
98b11dcfe7fb52cfcec24b693d650a283184c244 | 22 | py | Python | tests/__init__.py | Nachtfeuer/concept-py | 64e1f82de144f959cdf3c6dcf0f692bbc0ceb20f | [
"MIT"
] | 2 | 2019-03-02T18:50:24.000Z | 2019-12-19T14:15:42.000Z | tests/__init__.py | Nachtfeuer/concept-py | 64e1f82de144f959cdf3c6dcf0f692bbc0ceb20f | [
"MIT"
] | 10 | 2015-07-27T03:24:57.000Z | 2017-03-31T18:11:26.000Z | tests/__init__.py | Nachtfeuer/concept-py | 64e1f82de144f959cdf3c6dcf0f692bbc0ceb20f | [
"MIT"
] | null | null | null | """Package: tests."""
| 11 | 21 | 0.545455 | 2 | 22 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.6 | 0.681818 | 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 |
7f9534f6efe8b2cc66022720f3e2efef5e4398ca | 73 | py | Python | deepfry/__init__.py | skylarr1227/FlameCogs | f75afadaf5f73b97cf5925177597ffee06b81f6a | [
"MIT"
] | null | null | null | deepfry/__init__.py | skylarr1227/FlameCogs | f75afadaf5f73b97cf5925177597ffee06b81f6a | [
"MIT"
] | null | null | null | deepfry/__init__.py | skylarr1227/FlameCogs | f75afadaf5f73b97cf5925177597ffee06b81f6a | [
"MIT"
] | null | null | null | from .deepfry import Deepfry
def setup(bot):
bot.add_cog(Deepfry(bot))
| 14.6 | 28 | 0.753425 | 12 | 73 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 73 | 4 | 29 | 18.25 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f987c12d10531eb278e8a5b85bd2cff5197af3b | 222 | py | Python | gendiff/__init__.py | Zed-chi/python-project-lvl2 | b2c1c23170879ff3be3fb2edc1c41e282abb7405 | [
"MIT"
] | null | null | null | gendiff/__init__.py | Zed-chi/python-project-lvl2 | b2c1c23170879ff3be3fb2edc1c41e282abb7405 | [
"MIT"
] | null | null | null | gendiff/__init__.py | Zed-chi/python-project-lvl2 | b2c1c23170879ff3be3fb2edc1c41e282abb7405 | [
"MIT"
] | null | null | null | from .scripts.parsers import get_differ
from .scripts.utils import diff_to_str
def generate_diff(a, b, format="json"):
differ = get_differ(format)
diff_summary = differ(a, b)
return diff_to_str(diff_summary)
| 24.666667 | 39 | 0.747748 | 35 | 222 | 4.485714 | 0.514286 | 0.140127 | 0.11465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157658 | 222 | 8 | 40 | 27.75 | 0.839572 | 0 | 0 | 0 | 1 | 0 | 0.018018 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7f9b5d1b700de003d475f14f137fc74bf64c6503 | 6,846 | py | Python | covigator/tests/unit_tests/test_precomputer.py | TRON-Bioinformatics/covigator | 59cd5012217cb043d97c77ce5273d8930e74390d | [
"MIT"
] | 7 | 2021-07-23T14:09:51.000Z | 2022-01-26T20:26:27.000Z | covigator/tests/unit_tests/test_precomputer.py | TRON-Bioinformatics/covigator | 59cd5012217cb043d97c77ce5273d8930e74390d | [
"MIT"
] | 2 | 2021-07-27T08:30:22.000Z | 2022-02-22T20:06:05.000Z | covigator/tests/unit_tests/test_precomputer.py | TRON-Bioinformatics/covigator | 59cd5012217cb043d97c77ce5273d8930e74390d | [
"MIT"
] | null | null | null | from sqlalchemy import and_, func
from covigator.database.model import PrecomputedSynonymousNonSynonymousCounts, RegionType, DataSource, \
PrecomputedOccurrence
from covigator.precomputations.load_ns_s_counts import NsSCountsLoader
from covigator.precomputations.load_top_occurrences import TopOccurrencesLoader
fro... | 63.388889 | 120 | 0.69515 | 544 | 6,846 | 8.577206 | 0.147059 | 0.226747 | 0.061723 | 0.192885 | 0.729318 | 0.703601 | 0.685169 | 0.679597 | 0.668453 | 0.668453 | 0 | 0.003778 | 0.226702 | 6,846 | 107 | 121 | 63.981308 | 0.877597 | 0.005697 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22449 | 1 | 0.030612 | false | 0 | 0.071429 | 0 | 0.112245 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7fb7fffb25d732801371b6ac097b20f32a48998c | 3,727 | py | Python | src/backend/tests/fixtures/post_login_page.py | sico/recordexpungPDX | c2f18322014add7c78b27736bde2d29d1d086aa8 | [
"MIT"
] | 38 | 2019-05-09T03:13:43.000Z | 2022-03-16T22:59:25.000Z | src/backend/tests/fixtures/post_login_page.py | sico/recordexpungPDX | c2f18322014add7c78b27736bde2d29d1d086aa8 | [
"MIT"
] | 938 | 2019-05-02T15:13:21.000Z | 2022-02-27T20:59:00.000Z | src/backend/tests/fixtures/post_login_page.py | kenichi/recordexpungPDX | 100d9249473a01953451b83a72ec1b74574acc43 | [
"MIT"
] | 65 | 2019-05-09T03:28:12.000Z | 2022-03-21T00:06:39.000Z | class PostLoginPage:
POST_LOGIN_PAGE = """
<html>
<head>
</head>
<body>
<table cellspacing="0" cellpadding="0" width="100%" height="100%" border="0" style="table-layout: fixed;"><tr><td style="height:83px"><table cellspacing="0" cellpadding="0" width="100%" border="0" style="table-layout: fixed; marg... | 310.583333 | 3,617 | 0.681245 | 531 | 3,727 | 4.768362 | 0.299435 | 0.123223 | 0.161137 | 0.066351 | 0.293049 | 0.249605 | 0.184439 | 0.158373 | 0.114534 | 0.06951 | 0 | 0.053687 | 0.050443 | 3,727 | 11 | 3,618 | 338.818182 | 0.661769 | 0 | 0 | 0 | 0 | 0.1 | 0.986316 | 0.656024 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7fbc73c0e4b649a57a616a432a3e6afb9cadddb5 | 7,591 | py | Python | tests/test_integration_autoload.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 2 | 2019-11-10T18:35:38.000Z | 2020-05-12T10:37:42.000Z | tests/test_integration_autoload.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 5 | 2017-11-27T18:05:25.000Z | 2021-06-01T21:57:48.000Z | tests/test_integration_autoload.py | ColinKennedy/ways | 1eb44e4aa5e35fb839212cd8cb1c59c714ba10d3 | [
"MIT"
] | 1 | 2017-11-27T17:54:53.000Z | 2017-11-27T17:54:53.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''Ways uses a few techniques to automatically load its objects.
Plugin Sheets, Desctiptors, and Python plugin files all have different ways
of being added to the Ways cache so we'll test these methods, in this module.
'''
# IMPORT STANDARD LIBRARIES
import os
import te... | 36.671498 | 91 | 0.514688 | 747 | 7,591 | 5.034806 | 0.212851 | 0.039085 | 0.036161 | 0.020739 | 0.780378 | 0.74076 | 0.738899 | 0.701143 | 0.683595 | 0.683595 | 0 | 0.001967 | 0.397313 | 7,591 | 206 | 92 | 36.849515 | 0.820109 | 0.11013 | 0 | 0.266667 | 0 | 0 | 0.085948 | 0.05457 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.066667 | false | 0 | 0.166667 | 0 | 0.266667 | 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 |
f6bc90298f7da30b3fe0b818a6365514c81e4b1d | 95 | py | Python | dymoesco/estimation/__init__.py | samlaf/dymoesco | 1695333aab8171f7a26062eb8ad7b0be38493d3d | [
"MIT"
] | null | null | null | dymoesco/estimation/__init__.py | samlaf/dymoesco | 1695333aab8171f7a26062eb8ad7b0be38493d3d | [
"MIT"
] | null | null | null | dymoesco/estimation/__init__.py | samlaf/dymoesco | 1695333aab8171f7a26062eb8ad7b0be38493d3d | [
"MIT"
] | null | null | null | """Subpackage for state estimation.
So far only filtering algorithms have been implemented.""" | 31.666667 | 58 | 0.789474 | 12 | 95 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 3 | 58 | 31.666667 | 0.903614 | 0.936842 | 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 |
f6e6cfe0c85551352293303d95f755a33ef09b45 | 156 | py | Python | __main__.py | thaije/gym-super-mario-bros | 5316881097bf6951bf3f9cfa9707a23d459fa2e6 | [
"MIT"
] | null | null | null | __main__.py | thaije/gym-super-mario-bros | 5316881097bf6951bf3f9cfa9707a23d459fa2e6 | [
"MIT"
] | null | null | null | __main__.py | thaije/gym-super-mario-bros | 5316881097bf6951bf3f9cfa9707a23d459fa2e6 | [
"MIT"
] | null | null | null | """The main execution script for this package for testing."""
from gym_super_mario_bros._cli import main
# execute the main entry point of the CLI
main()
| 22.285714 | 61 | 0.769231 | 26 | 156 | 4.461538 | 0.730769 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160256 | 156 | 6 | 62 | 26 | 0.885496 | 0.615385 | 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 |
1006ea8ffd8ac03d1e62b581280868c8a5b24da0 | 1,685 | py | Python | pypy/rpython/microbench/list.py | camillobruni/pygirl | ddbd442d53061d6ff4af831c1eab153bcc771b5a | [
"MIT"
] | 12 | 2016-01-06T07:10:28.000Z | 2021-05-13T23:02:02.000Z | pypy/rpython/microbench/list.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | null | null | null | pypy/rpython/microbench/list.py | woodrow/pyoac | b5dc59e6a38e7912db47f26fb23ffa4764a3c0e7 | [
"MIT"
] | 2 | 2016-07-29T07:09:50.000Z | 2016-10-16T08:50:26.000Z | from pypy.rpython.microbench.microbench import MetaBench
class list__append:
__metaclass__ = MetaBench
def init():
return []
args = ['obj', 'i']
def loop(obj, i):
obj.append(i)
class list__get_item:
__metaclass__ = MetaBench
LOOPS = 100000000
def init():
obj = [... | 21.0625 | 56 | 0.530564 | 206 | 1,685 | 4.087379 | 0.179612 | 0.066508 | 0.083135 | 0.065321 | 0.748219 | 0.748219 | 0.748219 | 0.655582 | 0.629454 | 0.5962 | 0 | 0.089401 | 0.356083 | 1,685 | 79 | 57 | 21.329114 | 0.686636 | 0 | 0 | 0.791667 | 0 | 0 | 0.018991 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.194444 | false | 0 | 0.013889 | 0.069444 | 0.736111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1010d78200749f22d415c401ff780b2f3d269a0b | 18 | py | Python | shopify/version.py | traaan/shopify_python_api | 23516d058963bfd2b98e5295072e984909fdbdc1 | [
"MIT"
] | null | null | null | shopify/version.py | traaan/shopify_python_api | 23516d058963bfd2b98e5295072e984909fdbdc1 | [
"MIT"
] | null | null | null | shopify/version.py | traaan/shopify_python_api | 23516d058963bfd2b98e5295072e984909fdbdc1 | [
"MIT"
] | null | null | null | VERSION = '8.2.0'
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 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 |
120b994ac55684097a9c81d5a31c20406b10db07 | 89 | py | Python | REST_API/config.py | Shafiq-Kyazze/Netflix-Data-Pipeline-and-Rest-API | 9f549a29b8c6a2e5d346235e4f57de6cca8e6dd0 | [
"MIT"
] | null | null | null | REST_API/config.py | Shafiq-Kyazze/Netflix-Data-Pipeline-and-Rest-API | 9f549a29b8c6a2e5d346235e4f57de6cca8e6dd0 | [
"MIT"
] | null | null | null | REST_API/config.py | Shafiq-Kyazze/Netflix-Data-Pipeline-and-Rest-API | 9f549a29b8c6a2e5d346235e4f57de6cca8e6dd0 | [
"MIT"
] | null | null | null | """Config file"""
DATABASE_URI = "postgresql://****:**-***@rogue.db.elephantsql.com/**"
| 22.25 | 69 | 0.595506 | 9 | 89 | 5.777778 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067416 | 89 | 3 | 70 | 29.666667 | 0.626506 | 0.123596 | 0 | 0 | 0 | 0 | 0.722222 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
12146e90f5656d9fa48c4470b9c678213fa9e226 | 16,520 | py | Python | test/test_sql_filter.py | mafrosis/jiracli | 4fbca877ab90a61c8785b7f815c0de59abafbce1 | [
"MIT"
] | 1 | 2019-12-16T14:42:27.000Z | 2019-12-16T14:42:27.000Z | test/test_sql_filter.py | mafrosis/jiracli | 4fbca877ab90a61c8785b7f815c0de59abafbce1 | [
"MIT"
] | 13 | 2020-03-16T04:59:49.000Z | 2020-04-20T22:27:29.000Z | test/test_sql_filter.py | mafrosis/jiracli | 4fbca877ab90a61c8785b7f815c0de59abafbce1 | [
"MIT"
] | null | null | null | from unittest import mock
import pytest
from fixtures import ISSUE_1
from jira_offline.exceptions import FilterQueryEscapingError, FilterQueryParseFailed
from jira_offline.models import CustomFields, Issue, ProjectMeta, Sprint
from jira_offline.sql_filter import IssueFilter
def test_parse__bad_query__double_escapin... | 33.783231 | 128 | 0.618584 | 2,289 | 16,520 | 4.342071 | 0.084753 | 0.053929 | 0.049703 | 0.055338 | 0.798571 | 0.748767 | 0.736291 | 0.708019 | 0.693128 | 0.660429 | 0 | 0.089888 | 0.19661 | 16,520 | 488 | 129 | 33.852459 | 0.658981 | 0.124274 | 0 | 0.472669 | 0 | 0.009646 | 0.293 | 0.052198 | 0 | 0 | 0 | 0 | 0.086817 | 1 | 0.048232 | false | 0 | 0.019293 | 0 | 0.067524 | 0.067524 | 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 |
1229318639650e253625be91207985405526326f | 164 | py | Python | src/wishlist/forms.py | junaidq1/greendot | cd9e7791523317d759e0f5f9cf544deff34a8c79 | [
"MIT"
] | null | null | null | src/wishlist/forms.py | junaidq1/greendot | cd9e7791523317d759e0f5f9cf544deff34a8c79 | [
"MIT"
] | null | null | null | src/wishlist/forms.py | junaidq1/greendot | cd9e7791523317d759e0f5f9cf544deff34a8c79 | [
"MIT"
] | null | null | null |
from django import forms
from .models import Wishlist, Fvote
class Create_wishlist_item(forms.ModelForm):
class Meta:
model = Wishlist
fields = ["feature"]
| 16.4 | 44 | 0.756098 | 21 | 164 | 5.809524 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164634 | 164 | 9 | 45 | 18.222222 | 0.890511 | 0 | 0 | 0 | 0 | 0 | 0.042945 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
89c3e8e28a26d4d06c1efee2b825bdfc6f0c57d6 | 48 | py | Python | snippets_menu_magic/nb_register.py | diramazioni/snippets_menu_magic | e6d68fe0949b045df998015c649913877500703e | [
"Apache-2.0"
] | 1 | 2020-12-12T10:29:28.000Z | 2020-12-12T10:29:28.000Z | snippets_menu_magic/nb_register.py | diramazioni/snippets_menu_magic | e6d68fe0949b045df998015c649913877500703e | [
"Apache-2.0"
] | null | null | null | snippets_menu_magic/nb_register.py | diramazioni/snippets_menu_magic | e6d68fe0949b045df998015c649913877500703e | [
"Apache-2.0"
] | null | null | null | get_ipython().register_magics(SnippetsMenuMagic) | 48 | 48 | 0.895833 | 5 | 48 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 48 | 1 | 48 | 48 | 0.854167 | 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 |
89d7867552c8222452f56ec14f04a184eec55b91 | 150 | py | Python | corehq/apps/cloudcare/exceptions.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | corehq/apps/cloudcare/exceptions.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | corehq/apps/cloudcare/exceptions.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | from __future__ import unicode_literals
class RemoteAppError(Exception):
"""Exception raised when cloudcare attempts to display a remote app"""
| 25 | 74 | 0.793333 | 18 | 150 | 6.333333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 150 | 5 | 75 | 30 | 0.890625 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d63a1498940c476013764880ebfa013833645873 | 8,886 | py | Python | bindings/python/pymongoarrow/api.py | Claire-Eleutheriane/mongo-arrow | 4a054523a36379356aa709257756434c196ee71e | [
"Apache-2.0"
] | null | null | null | bindings/python/pymongoarrow/api.py | Claire-Eleutheriane/mongo-arrow | 4a054523a36379356aa709257756434c196ee71e | [
"Apache-2.0"
] | null | null | null | bindings/python/pymongoarrow/api.py | Claire-Eleutheriane/mongo-arrow | 4a054523a36379356aa709257756434c196ee71e | [
"Apache-2.0"
] | null | null | null | # Copyright 2021-present MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 37.652542 | 95 | 0.701666 | 1,151 | 8,886 | 5.324066 | 0.195482 | 0.029373 | 0.04406 | 0.02154 | 0.770725 | 0.770725 | 0.763871 | 0.739393 | 0.694027 | 0.680646 | 0 | 0.001704 | 0.207405 | 8,886 | 235 | 96 | 37.812766 | 0.86838 | 0.60871 | 0 | 0.422535 | 0 | 0 | 0.158136 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112676 | false | 0 | 0.056338 | 0 | 0.28169 | 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 |
c399cbb3b416c47d45d06a5ad52fa519c1c5a698 | 3,353 | py | Python | src/generaterom.py | yantayga/atsc_verilog | 1fadd800fb0044a90b4739c1394d8466c87525e0 | [
"Unlicense"
] | null | null | null | src/generaterom.py | yantayga/atsc_verilog | 1fadd800fb0044a90b4739c1394d8466c87525e0 | [
"Unlicense"
] | null | null | null | src/generaterom.py | yantayga/atsc_verilog | 1fadd800fb0044a90b4739c1394d8466c87525e0 | [
"Unlicense"
] | null | null | null | import sys
from random import *
f = open('ccurom.hex', 'w')
noop = 0x0000
setupOpcode = 0x0001
readPC = 0x0002
writePC = 0x0004
incPC = 0x0008
readA = 0x0010
writeA = 0x0020
readB = 0x0040
writeB = 0x0080
negateB ... | 28.176471 | 89 | 0.507903 | 300 | 3,353 | 5.676667 | 0.32 | 0.206694 | 0.211392 | 0.169113 | 0.514974 | 0.471521 | 0.280094 | 0.196712 | 0.082208 | 0.082208 | 0 | 0.051484 | 0.356994 | 3,353 | 118 | 90 | 28.415254 | 0.738404 | 0.016105 | 0 | 0.378378 | 0 | 0 | 0.036104 | 0 | 0 | 0 | 0.032767 | 0 | 0 | 0 | null | null | 0.018018 | 0.018018 | null | null | 0.027027 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3a82bfb283465662123ddede54a13bf3b1e2157 | 51 | py | Python | svox2/version.py | QiukuZ/svox2 | 6b4c3b0437da9a273f5d2eff5212daaf88c5c025 | [
"BSD-2-Clause"
] | 1,724 | 2021-12-10T02:02:54.000Z | 2022-03-31T13:41:17.000Z | svox2/version.py | ccxiaotoancai/svox2 | 59984d6c4fd3d713353bafdcb011646e64647cc7 | [
"BSD-2-Clause"
] | 67 | 2021-12-10T04:44:48.000Z | 2022-03-30T13:25:06.000Z | svox2/version.py | ccxiaotoancai/svox2 | 59984d6c4fd3d713353bafdcb011646e64647cc7 | [
"BSD-2-Clause"
] | 228 | 2021-12-10T04:21:37.000Z | 2022-03-29T23:44:58.000Z | __version__ = '0.0.1.dev0+sphtexcub.lincolor.fast'
| 25.5 | 50 | 0.764706 | 8 | 51 | 4.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.058824 | 51 | 1 | 51 | 51 | 0.645833 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c3b5609944febde28a6bcbb5087281f2de1b7a9f | 385 | py | Python | pycmp/ast/node.py | aeroshev/CMP | f4366972dfd752833094920728e4ce11ee58feae | [
"MIT"
] | null | null | null | pycmp/ast/node.py | aeroshev/CMP | f4366972dfd752833094920728e4ce11ee58feae | [
"MIT"
] | null | null | null | pycmp/ast/node.py | aeroshev/CMP | f4366972dfd752833094920728e4ce11ee58feae | [
"MIT"
] | null | null | null | from abc import ABC
from typing import Iterator
class Node(ABC):
"""Base node for AST"""
__slots__ = ()
def __iter__(self) -> Iterator['Node']:
yield self
def __len__(self) -> int:
return len(self.__slots__)
def __str__(self) -> str:
return self.__class__.__name__
d... | 19.25 | 43 | 0.620779 | 47 | 385 | 4.234043 | 0.446809 | 0.080402 | 0.130653 | 0.170854 | 0.261307 | 0.261307 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267532 | 385 | 19 | 44 | 20.263158 | 0.705674 | 0.044156 | 0 | 0.166667 | 0 | 0 | 0.01105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.25 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c3cb75aa222824e76bd4dd04d7b88b5d4186bfd1 | 118 | py | Python | comments.py | kmarcini/Learn-Python---Full-Course-for-Beginners-Tutorial- | 8ea4ef004d86fdf393980fd356edcf5b769bfeac | [
"BSD-3-Clause"
] | null | null | null | comments.py | kmarcini/Learn-Python---Full-Course-for-Beginners-Tutorial- | 8ea4ef004d86fdf393980fd356edcf5b769bfeac | [
"BSD-3-Clause"
] | null | null | null | comments.py | kmarcini/Learn-Python---Full-Course-for-Beginners-Tutorial- | 8ea4ef004d86fdf393980fd356edcf5b769bfeac | [
"BSD-3-Clause"
] | null | null | null |
'''
This is a
multi-line comment
'''
# Single line comment
print("Comments are fun!")
# print("Not going to run")
| 9.833333 | 27 | 0.652542 | 18 | 118 | 4.277778 | 0.833333 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194915 | 118 | 11 | 28 | 10.727273 | 0.810526 | 0.635593 | 0 | 0 | 0 | 0 | 0.515152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
c3eceed2f11cf54ae4736000cd8ab5f0b2cd08d3 | 1,068 | py | Python | tensorflow/python/saved_model/registration/test_util.py | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 7 | 2022-03-04T21:14:47.000Z | 2022-03-22T23:07:39.000Z | tensorflow/python/saved_model/registration/test_util.py | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 3 | 2022-02-06T00:10:55.000Z | 2022-02-06T00:10:55.000Z | tensorflow/python/saved_model/registration/test_util.py | EricRemmerswaal/tensorflow | 141ff27877579c81a213fa113bd1b474c1749aca | [
"Apache-2.0"
] | 1 | 2021-11-21T02:32:27.000Z | 2021-11-21T02:32:27.000Z | # Copyright 2022 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 41.076923 | 87 | 0.736891 | 139 | 1,068 | 5.539568 | 0.654676 | 0.077922 | 0.033766 | 0.041558 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008574 | 0.126404 | 1,068 | 25 | 88 | 42.72 | 0.81672 | 0.685393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c3faf82b7b773e9b97e7d64043ebba1bb608b655 | 71 | py | Python | sub_ln/bitcoin/__init__.py | willcl-ark/go-sat-sub | 3a2eee93b7171ddc94e759edaac41756f30f0b41 | [
"MIT"
] | null | null | null | sub_ln/bitcoin/__init__.py | willcl-ark/go-sat-sub | 3a2eee93b7171ddc94e759edaac41756f30f0b41 | [
"MIT"
] | null | null | null | sub_ln/bitcoin/__init__.py | willcl-ark/go-sat-sub | 3a2eee93b7171ddc94e759edaac41756f30f0b41 | [
"MIT"
] | 2 | 2019-07-22T12:26:13.000Z | 2019-08-03T10:21:57.000Z | from sub_ln.bitcoin.authproxy import AuthServiceProxy, JSONRPCException | 71 | 71 | 0.901408 | 8 | 71 | 7.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 71 | 1 | 71 | 71 | 0.940299 | 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 |
615a27297c3afcd15fcf88ade45289295110c285 | 1,714 | py | Python | PackageTests/knowledge/test_Instances.py | Kieran-Bacon/InfoGain | 621ccd111d474f96f0ba19a8972821becea0c5db | [
"Apache-2.0"
] | 1 | 2019-10-14T00:49:04.000Z | 2019-10-14T00:49:04.000Z | PackageTests/knowledge/test_Instances.py | Kieran-Bacon/InfoGain | 621ccd111d474f96f0ba19a8972821becea0c5db | [
"Apache-2.0"
] | 2 | 2018-06-12T12:46:35.000Z | 2019-02-22T10:52:15.000Z | PackageTests/knowledge/test_Instances.py | Kieran-Bacon/InfoGain | 621ccd111d474f96f0ba19a8972821becea0c5db | [
"Apache-2.0"
] | null | null | null | import unittest
from infogain.knowledge import Instance, Concept
class Test_Instance(unittest.TestCase):
def test_function_behaviour(self):
def concatinate(a, b):
return a + b
example = Instance("x")
example.concatinate = concatinate
self.assertEqual(example.concati... | 31.740741 | 77 | 0.638273 | 164 | 1,714 | 6.603659 | 0.25 | 0.207756 | 0.182825 | 0.193906 | 0.554017 | 0.554017 | 0.554017 | 0.506925 | 0.385042 | 0.385042 | 0 | 0.002235 | 0.217036 | 1,714 | 53 | 78 | 32.339623 | 0.804769 | 0 | 0 | 0.181818 | 0 | 0 | 0.136019 | 0 | 0 | 0 | 0 | 0 | 0.515152 | 1 | 0.181818 | false | 0 | 0.060606 | 0.030303 | 0.30303 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
61785849123efba7d795cd115a22978cfa9db8bd | 91 | py | Python | backend/src/__init__.py | saiamrut/job-search | 8f1c1fff4604e1aec9aa06a7593b5e8e95a27d12 | [
"MIT"
] | null | null | null | backend/src/__init__.py | saiamrut/job-search | 8f1c1fff4604e1aec9aa06a7593b5e8e95a27d12 | [
"MIT"
] | null | null | null | backend/src/__init__.py | saiamrut/job-search | 8f1c1fff4604e1aec9aa06a7593b5e8e95a27d12 | [
"MIT"
] | null | null | null | import sys
import os
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
print(ROOT_DIR) | 18.2 | 53 | 0.791209 | 16 | 91 | 4.125 | 0.625 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 91 | 5 | 54 | 18.2 | 0.795181 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
617e88e3a677af219cdf91115d59d10e0169a40a | 1,713 | py | Python | run_me.py | raiyansarker/SpeedTools | 3453f13daea6a01f9332b81876aaf53ba39c178e | [
"MIT"
] | 1 | 2020-05-26T02:58:07.000Z | 2020-05-26T02:58:07.000Z | run_me.py | raiyansarker/SpeedTools | 3453f13daea6a01f9332b81876aaf53ba39c178e | [
"MIT"
] | null | null | null | run_me.py | raiyansarker/SpeedTools | 3453f13daea6a01f9332b81876aaf53ba39c178e | [
"MIT"
] | null | null | null | from time import sleep
import sys
import time
from answer import a, t, d, u, v
# Logo
print("███████ ██████ ███████ ███████ ██████ ████████ ██████ ██████ ██ ███████ ")
print("██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ")
print("███████ ██████ █████ █████ ... | 34.26 | 101 | 0.395213 | 241 | 1,713 | 3.717842 | 0.323651 | 0.142857 | 0.194196 | 0.232143 | 0.243304 | 0.133929 | 0.133929 | 0.133929 | 0.118304 | 0.118304 | 0 | 0.066176 | 0.285464 | 1,713 | 49 | 102 | 34.959184 | 0.486928 | 0.043783 | 0 | 0 | 0 | 0 | 0.554261 | 0.067443 | 0.027778 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.416667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
61afde042e8e2eac29bf135204449bc464b7dc74 | 1,389 | py | Python | 2-2_parallel_processing.py | tsh/edx_algs201x_data_structures_fundamentals | 7d15c9fa7f5a2232812c13854d54934321211977 | [
"Apache-2.0"
] | null | null | null | 2-2_parallel_processing.py | tsh/edx_algs201x_data_structures_fundamentals | 7d15c9fa7f5a2232812c13854d54934321211977 | [
"Apache-2.0"
] | null | null | null | 2-2_parallel_processing.py | tsh/edx_algs201x_data_structures_fundamentals | 7d15c9fa7f5a2232812c13854d54934321211977 | [
"Apache-2.0"
] | null | null | null | from heapq import *
def main(threads, tasks):
heap = [(0, thread) for thread in range(threads)]
res = []
for task in tasks:
time, thread = heappop(heap)
res.append(str(thread))
res.append(str(time))
heappush(heap, (time + task, thread))
print(' '.join(res))
if __name_... | 81.705882 | 1,021 | 0.799856 | 155 | 1,389 | 7.116129 | 0.858065 | 0.016319 | 0.021759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.758883 | 0.149028 | 1,389 | 17 | 1,021 | 81.705882 | 0.174281 | 0.017279 | 0 | 0 | 0 | 0.083333 | 0.730205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
61b8d48b2a4beee9166ee2f19d1eca60abf947b7 | 1,019 | py | Python | axis/axis.py | calebsanfo/axis | 46c9700fffaa7a85ab742ff0a64e052121b203d5 | [
"Apache-2.0"
] | null | null | null | axis/axis.py | calebsanfo/axis | 46c9700fffaa7a85ab742ff0a64e052121b203d5 | [
"Apache-2.0"
] | null | null | null | axis/axis.py | calebsanfo/axis | 46c9700fffaa7a85ab742ff0a64e052121b203d5 | [
"Apache-2.0"
] | null | null | null | import serial
class Axis:
def __init__(self, COM_port):
self.connection = serial.Serial(COM_port, 9600, timeout=5)
def get_x_pos(self):
message = "get x".encode()
self.connection.write(message)
return float(self.connection.readline())
def get_y_pos(self):
... | 29.970588 | 70 | 0.610402 | 124 | 1,019 | 4.870968 | 0.258065 | 0.301325 | 0.188742 | 0.206954 | 0.539735 | 0.470199 | 0.347682 | 0.347682 | 0.347682 | 0.347682 | 0 | 0.00657 | 0.253189 | 1,019 | 34 | 71 | 29.970588 | 0.787122 | 0 | 0 | 0.36 | 0 | 0 | 0.039514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0 | 0.04 | 0 | 0.6 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f613e522ec970cae855fe92daf909cc1d697bbd9 | 364 | py | Python | applications/iLife/models/iLife.py | manohar899/iLife | cf193686fd0fad810fa56f720e872fa6d6c2baa1 | [
"BSD-3-Clause"
] | null | null | null | applications/iLife/models/iLife.py | manohar899/iLife | cf193686fd0fad810fa56f720e872fa6d6c2baa1 | [
"BSD-3-Clause"
] | null | null | null | applications/iLife/models/iLife.py | manohar899/iLife | cf193686fd0fad810fa56f720e872fa6d6c2baa1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
db.define_table('Journal_Events', Field('Title'), Field('Description','text'),Field('Reminder','datetime'),Field('upload', 'upload'),Field('mail_id'),Field('status'),auth.signature)
db.define_table('Tag',Field('tagged_by','reference auth_user'),Field('tagged','reference auth_user'),Field('post',... | 91 | 181 | 0.728022 | 48 | 364 | 5.354167 | 0.541667 | 0.062257 | 0.101167 | 0.171206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002849 | 0.035714 | 364 | 3 | 182 | 121.333333 | 0.729345 | 0.057692 | 0 | 0 | 0 | 0 | 0.466276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f62cf81bd23ea2f65d8f04d9b8c6cf836306d58b | 100 | py | Python | hubcare/metrics/issue_metrics/activity_rate/apps.py | aleronupe/2019.1-hubcare-api | 3f031eac9559a10fdcf70a88ee4c548cf93e4ac2 | [
"MIT"
] | 7 | 2019-03-31T17:58:45.000Z | 2020-02-29T22:44:27.000Z | hubcare/metrics/issue_metrics/activity_rate/apps.py | aleronupe/2019.1-hubcare-api | 3f031eac9559a10fdcf70a88ee4c548cf93e4ac2 | [
"MIT"
] | 90 | 2019-03-26T01:14:54.000Z | 2021-06-10T21:30:25.000Z | hubcare/metrics/issue_metrics/activity_rate/apps.py | aleronupe/2019.1-hubcare-api | 3f031eac9559a10fdcf70a88ee4c548cf93e4ac2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ActivityRateConfig(AppConfig):
name = 'activity_rate'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 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 |
f654f851a76a43ec16cfb632c1f3cbe72aa60189 | 153 | py | Python | apps/resource/forms.py | vishalpandeyvip/GURU-LMS | bc566e7cd390d5b76c0cf6a72f4b686df1938e36 | [
"Apache-2.0"
] | null | null | null | apps/resource/forms.py | vishalpandeyvip/GURU-LMS | bc566e7cd390d5b76c0cf6a72f4b686df1938e36 | [
"Apache-2.0"
] | null | null | null | apps/resource/forms.py | vishalpandeyvip/GURU-LMS | bc566e7cd390d5b76c0cf6a72f4b686df1938e36 | [
"Apache-2.0"
] | null | null | null | from django import forms
from .models import Note
class NoteForm(forms.ModelForm):
class Meta:
model = Note
fields = ['topic','file','description'] | 21.857143 | 41 | 0.732026 | 20 | 153 | 5.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150327 | 153 | 7 | 41 | 21.857143 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.