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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1949f67880a122aecf5127270425d8254c407d36 | 511 | py | Python | pyuavcan/transport/can/media/__init__.py | pcarranzav2/pyuavcan | 1d5dbf07b6acc64576ca4f1deaae3b35bd7df377 | [
"MIT"
] | null | null | null | pyuavcan/transport/can/media/__init__.py | pcarranzav2/pyuavcan | 1d5dbf07b6acc64576ca4f1deaae3b35bd7df377 | [
"MIT"
] | null | null | null | pyuavcan/transport/can/media/__init__.py | pcarranzav2/pyuavcan | 1d5dbf07b6acc64576ca4f1deaae3b35bd7df377 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2019 UAVCAN Development Team
# This software is distributed under the terms of the MIT License.
# Author: Pavel Kirienko <pavel.kirienko@zubax.com>
#
from ._media import Media as Media
from ._frame import FrameFormat as FrameFormat
from ._frame import DataFrame as DataFrame
from ._frame import Times... | 34.066667 | 85 | 0.833659 | 64 | 511 | 6.5 | 0.515625 | 0.064904 | 0.108173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008969 | 0.127202 | 511 | 14 | 86 | 36.5 | 0.923767 | 0.307241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
19517354b277b0e7ed9e2654f3f3bd6220a98f97 | 109 | py | Python | util/state.py | xxh160/pithon | 712dca6affd139176f9bba4efefcb3c5618291ba | [
"MIT"
] | null | null | null | util/state.py | xxh160/pithon | 712dca6affd139176f9bba4efefcb3c5618291ba | [
"MIT"
] | null | null | null | util/state.py | xxh160/pithon | 712dca6affd139176f9bba4efefcb3c5618291ba | [
"MIT"
] | null | null | null | from enum import Enum, unique
@unique
class State(Enum):
set_param = 1
auto_run = 2
manual = 3
| 12.111111 | 29 | 0.642202 | 17 | 109 | 4 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.284404 | 109 | 8 | 30 | 13.625 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
19a5ee42c6ca30cd002cf63a2e0d823fe0df436f | 2,735 | py | Python | thermo/flash/__init__.py | RoryKurek/thermo | 985279467faa028234ab422a19b69385e5100149 | [
"MIT"
] | 380 | 2016-07-04T09:45:20.000Z | 2022-03-20T18:09:45.000Z | thermo/flash/__init__.py | RoryKurek/thermo | 985279467faa028234ab422a19b69385e5100149 | [
"MIT"
] | 104 | 2016-07-10T20:47:12.000Z | 2022-03-22T20:43:39.000Z | thermo/flash/__init__.py | RoryKurek/thermo | 985279467faa028234ab422a19b69385e5100149 | [
"MIT"
] | 96 | 2016-07-05T20:54:05.000Z | 2022-02-23T03:06:02.000Z | # -*- coding: utf-8 -*-
'''Chemical Engineering Design Library (ChEDL). Utilities for process modeling.
Copyright (C) 2019, 2020 Caleb Bell <Caleb.Andrew.Bell@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to... | 32.559524 | 79 | 0.740768 | 370 | 2,735 | 5.291892 | 0.483784 | 0.044944 | 0.038304 | 0.039837 | 0.072523 | 0.072523 | 0.072523 | 0.050051 | 0 | 0 | 0 | 0.003889 | 0.153931 | 2,735 | 83 | 80 | 32.951807 | 0.842264 | 0.853748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
5fdf36e1b5858aed1b21aea586e2dab8f04aa885 | 455 | py | Python | Hello/main.py | Cybermals/Kivy-Basics | 8df3309c2e96b20a47c473fc8c0002e1576b524f | [
"MIT"
] | null | null | null | Hello/main.py | Cybermals/Kivy-Basics | 8df3309c2e96b20a47c473fc8c0002e1576b524f | [
"MIT"
] | null | null | null | Hello/main.py | Cybermals/Kivy-Basics | 8df3309c2e96b20a47c473fc8c0002e1576b524f | [
"MIT"
] | null | null | null | #!/usr/bin/python3
"""A basic hello world app."""
from kivy.app import App
from kivy.uix.label import Label
#Classes
#===============================================================================
class HelloApp(App):
"""A basic Kivy app."""
def build(self):
"""Build the UI."""
return Label(... | 23.947368 | 80 | 0.402198 | 42 | 455 | 4.357143 | 0.619048 | 0.065574 | 0.120219 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002558 | 0.140659 | 455 | 19 | 81 | 23.947368 | 0.465473 | 0.549451 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
27033c0ceee2e4a7e6cf007f8e8d595aaa51b663 | 2,339 | py | Python | aiautomation/log/abstract_log.py | marvinren/aiautomation | 639f57f502104dd170dca24dd9ff15d80c031e21 | [
"MIT"
] | null | null | null | aiautomation/log/abstract_log.py | marvinren/aiautomation | 639f57f502104dd170dca24dd9ff15d80c031e21 | [
"MIT"
] | null | null | null | aiautomation/log/abstract_log.py | marvinren/aiautomation | 639f57f502104dd170dca24dd9ff15d80c031e21 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
# coding=utf-8
import abc
from aiautomation.testcase.test_case_module import CaseInfo
from aiautomation.testcase.test_plan import PlanInfo
from aiautomation.utils.log import get_logger
class AbstractLog:
"""
该类为执行日志的基类,可以根据不同需要实现不同的的日志记录类实现相关方法
"""
__metaclass__ = abc.ABCMeta
... | 25.988889 | 131 | 0.65156 | 294 | 2,339 | 4.921769 | 0.268707 | 0.033863 | 0.08293 | 0.055287 | 0.386317 | 0.335176 | 0.268832 | 0.232896 | 0.194886 | 0.131306 | 0 | 0.003964 | 0.244976 | 2,339 | 90 | 132 | 25.988889 | 0.815402 | 0.028645 | 0 | 0.222222 | 0 | 0 | 0.032416 | 0.021314 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253968 | false | 0.095238 | 0.063492 | 0.031746 | 0.507937 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
270e16323cf48556c4896637ba90b0d3017a74a6 | 496 | py | Python | GUI Visualization/color.py | RezaFirouzii/a-star_algorithm_visualization | 08be4dca454c1125c7f6bd96df6f61959c5ef777 | [
"MIT"
] | null | null | null | GUI Visualization/color.py | RezaFirouzii/a-star_algorithm_visualization | 08be4dca454c1125c7f6bd96df6f61959c5ef777 | [
"MIT"
] | null | null | null | GUI Visualization/color.py | RezaFirouzii/a-star_algorithm_visualization | 08be4dca454c1125c7f6bd96df6f61959c5ef777 | [
"MIT"
] | null | null | null |
# bunch of color constants
class Color:
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
RED = (255, 0, 0)
BLUE = (0, 128, 255)
GREEN = (0, 153, 0)
YELLOW = (255, 255, 0)
BROWN = (204, 102, 0)
PINK = (255, 102, 178)
PURPLE = (153, 51, 255)
GREY = (128, 128, 128)
colors = {
... | 18.37037 | 27 | 0.425403 | 67 | 496 | 3.149254 | 0.507463 | 0.085308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280702 | 0.425403 | 496 | 26 | 28 | 19.076923 | 0.459649 | 0.048387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.521739 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
271b37ad2f25ae5c76e4c2871ab8f6cebf7bd137 | 219 | py | Python | MonteCarloMarginalizeCode/Code/bin/util_CacheFileConvert.py | spfanning/research-projects-RIT | 34afc69ccb502825c81285733dac8ff993f79503 | [
"MIT"
] | 8 | 2019-10-23T01:18:44.000Z | 2021-07-09T18:24:36.000Z | MonteCarloMarginalizeCode/Code/bin/util_CacheFileConvert.py | spfanning/research-projects-RIT | 34afc69ccb502825c81285733dac8ff993f79503 | [
"MIT"
] | 7 | 2020-01-03T14:38:26.000Z | 2022-01-17T16:57:02.000Z | MonteCarloMarginalizeCode/Code/bin/util_CacheFileConvert.py | spfanning/research-projects-RIT | 34afc69ccb502825c81285733dac8ff993f79503 | [
"MIT"
] | 11 | 2019-10-23T01:19:50.000Z | 2021-11-20T23:35:39.000Z | #! /usr/bin/python
from __future__ import print_function
from glue.lal import Cache
from glue.lal import CacheEntry
import sys
for line in sys.stdin:
c = CacheEntry.from_T050017(line)
print(str(c), end=' ')
| 16.846154 | 37 | 0.730594 | 34 | 219 | 4.529412 | 0.617647 | 0.103896 | 0.142857 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033149 | 0.173516 | 219 | 12 | 38 | 18.25 | 0.81768 | 0.077626 | 0 | 0 | 0 | 0 | 0.005 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
27363662ac09381de379eccb556f5b97e3bce1e9 | 125 | py | Python | pytools/setup.py | ouyangxx10/my-skeleton | e32e33784a1883ee4528b17617df14f3114b0f5e | [
"Apache-2.0"
] | null | null | null | pytools/setup.py | ouyangxx10/my-skeleton | e32e33784a1883ee4528b17617df14f3114b0f5e | [
"Apache-2.0"
] | null | null | null | pytools/setup.py | ouyangxx10/my-skeleton | e32e33784a1883ee4528b17617df14f3114b0f5e | [
"Apache-2.0"
] | null | null | null | from distutils.core import setup
setup(name='pytools',
version='1.0',
scripts=['obmcutil', 'gpioutil'],
)
| 17.857143 | 39 | 0.608 | 14 | 125 | 5.428571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.224 | 125 | 6 | 40 | 20.833333 | 0.762887 | 0 | 0 | 0 | 0 | 0 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2742c70b0e2c158744925fc82a65ac6880e322b4 | 53 | py | Python | src/timer/constant/decimals.py | jakob-bagterp/timer-for-python | a48b60c8782bbf6d368d6ca2be249054c3b66c21 | [
"MIT"
] | 2 | 2022-03-22T11:14:37.000Z | 2022-03-24T14:27:13.000Z | src/timer/constant/decimals.py | jakob-bagterp/timer-for-python | a48b60c8782bbf6d368d6ca2be249054c3b66c21 | [
"MIT"
] | null | null | null | src/timer/constant/decimals.py | jakob-bagterp/timer-for-python | a48b60c8782bbf6d368d6ca2be249054c3b66c21 | [
"MIT"
] | null | null | null | DEFAULT: int = 2
MINIMUM: int = 0
MAXIMUM: int = 9
| 8.833333 | 16 | 0.622642 | 9 | 53 | 3.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.264151 | 53 | 5 | 17 | 10.6 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
274426dab3adfbed7d3f7083b61cc7c29bb99e8f | 341 | py | Python | hard_way/ex18.py | kodywilson/lp3thw | bd8f399e807b3a6a9d0ab9aed538ba1a5f4ada8a | [
"MIT"
] | null | null | null | hard_way/ex18.py | kodywilson/lp3thw | bd8f399e807b3a6a9d0ab9aed538ba1a5f4ada8a | [
"MIT"
] | null | null | null | hard_way/ex18.py | kodywilson/lp3thw | bd8f399e807b3a6a9d0ab9aed538ba1a5f4ada8a | [
"MIT"
] | null | null | null | def print_two(*args):
arg1, arg2 = args
print(f"arg1: {arg1}, arg2: {arg2}")
def print_two_again(arg1, arg2):
print(f"arg1: {arg1}, arg2: {arg2}")
def print_one(arg1):
print(f"arg1: {arg1}")
def print_none():
print("I got nothing.")
print_two("Kody", "Wilson")
print_two_again("Kody", "Wilson")
print_one("... | 20.058824 | 38 | 0.659824 | 54 | 341 | 3.981481 | 0.296296 | 0.148837 | 0.139535 | 0.195349 | 0.27907 | 0.27907 | 0.27907 | 0.27907 | 0 | 0 | 0 | 0.050676 | 0.131965 | 341 | 17 | 39 | 20.058824 | 0.675676 | 0 | 0 | 0.153846 | 0 | 0 | 0.304094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.307692 | 0.923077 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
2757dfc4e16b9233a2282c48178ae83163bc1b38 | 70 | py | Python | 07 - Listas/ex001.py | Ivoneideduarte/python-para-raspberryPi | 3ed5c78b8c3277a350c696216a664c4b827ea46e | [
"MIT"
] | 3 | 2021-04-22T18:11:31.000Z | 2021-08-17T12:06:22.000Z | 07 - Listas/ex001.py | Ivoneideduarte/python-para-raspberryPi | 3ed5c78b8c3277a350c696216a664c4b827ea46e | [
"MIT"
] | null | null | null | 07 - Listas/ex001.py | Ivoneideduarte/python-para-raspberryPi | 3ed5c78b8c3277a350c696216a664c4b827ea46e | [
"MIT"
] | null | null | null | palavras = ["brincando", "com", "ideias", "flavio"]
print(palavras[2]) | 35 | 51 | 0.657143 | 8 | 70 | 5.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0.085714 | 70 | 2 | 52 | 35 | 0.703125 | 0 | 0 | 0 | 0 | 0 | 0.338028 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
275ebe650969c73da54c5df04ea02e6c1a5aaf33 | 1,265 | py | Python | Generate_Tile_Cache_Tiling_Scheme_from_Mosaic.py | mcfoi/arcpy-toolbox | 348ef55c7235b7c1eeece06aa4a0a244674f893e | [
"Apache-2.0"
] | 3 | 2015-04-24T15:36:33.000Z | 2020-08-06T16:53:56.000Z | Generate_Tile_Cache_Tiling_Scheme_from_Mosaic.py | mcfoi/arcpy-toolbox | 348ef55c7235b7c1eeece06aa4a0a244674f893e | [
"Apache-2.0"
] | null | null | null | Generate_Tile_Cache_Tiling_Scheme_from_Mosaic.py | mcfoi/arcpy-toolbox | 348ef55c7235b7c1eeece06aa4a0a244674f893e | [
"Apache-2.0"
] | 1 | 2020-07-21T00:11:51.000Z | 2020-07-21T00:11:51.000Z | # -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# Generate_Tile_Cache_Tiling_Scheme_from_Mosaic.py
# Created on: 2015-04-08 16:06:58.00000
# (generated by ArcGIS/ModelBuilder)
# Description:
# -----------------------------------------------------------------------... | 57.5 | 400 | 0.705138 | 151 | 1,265 | 5.615894 | 0.609272 | 0.049528 | 0.070755 | 0.084906 | 0.444575 | 0.376179 | 0.376179 | 0.293632 | 0.275943 | 0.158019 | 0 | 0.211814 | 0.063241 | 1,265 | 21 | 401 | 60.238095 | 0.503797 | 0.456126 | 0 | 0 | 1 | 0.2 | 0.522963 | 0.428148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
27af82a7b2f73bd8c45c83d382d5ccbe8842d88c | 304 | py | Python | tests/conftest.py | evrardjp/osa-cli | 7aff5eede4898ad3532a26abc6b54c9a45e108f5 | [
"Apache-2.0"
] | null | null | null | tests/conftest.py | evrardjp/osa-cli | 7aff5eede4898ad3532a26abc6b54c9a45e108f5 | [
"Apache-2.0"
] | 55 | 2018-12-16T14:12:01.000Z | 2020-08-10T07:35:14.000Z | tests/conftest.py | evrardjp/osa-cli | 7aff5eede4898ad3532a26abc6b54c9a45e108f5 | [
"Apache-2.0"
] | null | null | null | """ Global testing fixtures """
import pytest
import click
import osa.defaults
import osa.utils
@pytest.fixture(scope="session")
def clickrunner():
""" Initialize a cli runner function with a standard env"""
osa.utils.mktestdir(osa.defaults.folder_defaults)
return click.testing.CliRunner() | 25.333333 | 63 | 0.75 | 39 | 304 | 5.820513 | 0.666667 | 0.079295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138158 | 304 | 12 | 64 | 25.333333 | 0.866412 | 0.25 | 0 | 0 | 0 | 0 | 0.032558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
27bea6dafbf20766967293a5e6d16f19e32aa17f | 157 | py | Python | visda/evaluation_metrics/__init__.py | zhoufengfan/MMT-plus | e95db1452d3480518a851dd7ffa07208522f2614 | [
"MIT"
] | 30 | 2020-10-12T16:48:59.000Z | 2022-02-02T14:53:22.000Z | visda/evaluation_metrics/__init__.py | zhoufengfan/MMT-plus | e95db1452d3480518a851dd7ffa07208522f2614 | [
"MIT"
] | 4 | 2021-01-12T11:37:45.000Z | 2021-03-07T04:06:55.000Z | visda/evaluation_metrics/__init__.py | zhoufengfan/MMT-plus | e95db1452d3480518a851dd7ffa07208522f2614 | [
"MIT"
] | 9 | 2020-10-27T14:37:43.000Z | 2022-02-18T08:35:49.000Z | from __future__ import absolute_import
from .classification import accuracy
from .eval_reid import eval_func
__all__ = [
'accuracy',
'eval_func'
]
| 15.7 | 38 | 0.757962 | 19 | 157 | 5.631579 | 0.526316 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178344 | 157 | 9 | 39 | 17.444444 | 0.829457 | 0 | 0 | 0 | 0 | 0 | 0.10828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
27d3fa0314a08753e1ee5daa571ab7ea075e8118 | 527 | py | Python | simpletrello/exceptions.py | csansone/simpletrello | 1315145f5c30e4c27b3238493596fcaeb3734c22 | [
"MIT"
] | null | null | null | simpletrello/exceptions.py | csansone/simpletrello | 1315145f5c30e4c27b3238493596fcaeb3734c22 | [
"MIT"
] | 7 | 2017-12-11T09:15:44.000Z | 2018-03-29T03:51:22.000Z | simpletrello/exceptions.py | csansone/simpletrello | 1315145f5c30e4c27b3238493596fcaeb3734c22 | [
"MIT"
] | null | null | null | # coding: utf-8
"""exceptions.py"""
from __future__ import print_function, unicode_literals
class RateLimitExceeded(Exception):
"""Raise when an http request returns status code 429.
There is a limit of 300 requests per 10 seconds for each API key
and no more than 100 requests per 10 second interval for ... | 27.736842 | 72 | 0.728653 | 76 | 527 | 4.973684 | 0.789474 | 0.074074 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04067 | 0.206831 | 527 | 18 | 73 | 29.277778 | 0.863636 | 0.624288 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.4 | 0.2 | 0 | 0.6 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7e01b590397d247c9153e4759baabfca3df6a652 | 5,837 | py | Python | static/emoji.py | soran-ghadri/Chromusic_search_engine | 1f30e2627c78ef07ae5be868967ee547f45e365f | [
"MIT"
] | 2 | 2020-11-29T23:35:34.000Z | 2020-11-29T23:36:06.000Z | static/emoji.py | soran-ghadri/Chromusic_search_engine | 1f30e2627c78ef07ae5be868967ee547f45e365f | [
"MIT"
] | null | null | null | static/emoji.py | soran-ghadri/Chromusic_search_engine | 1f30e2627c78ef07ae5be868967ee547f45e365f | [
"MIT"
] | null | null | null | """####################################################################
# Copyright (C) #
# 2020 Soran Ghadri(soran.gdr.cs@gmail.com) #
# Permission given to modify the code as long as you keep this #
# declaration at the top ... | 51.654867 | 104 | 0.716635 | 700 | 5,837 | 5.392857 | 0.258571 | 0.217219 | 0.30596 | 0.448742 | 0.243444 | 0.038676 | 0.038676 | 0 | 0 | 0 | 0 | 0.000748 | 0.083776 | 5,837 | 112 | 105 | 52.116071 | 0.705123 | 0.151105 | 0 | 0 | 0 | 0 | 0.217382 | 0.05301 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012346 | 0 | 0.012346 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd6a3064e8c029a5ddac91976a2d60ab543c1375 | 166 | py | Python | scripts/npc/2210013.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/npc/2210013.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/npc/2210013.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Chino (2210013) | Colossus Road : Chino's Lift: The Road Up & Down
sm.setPlayerAsSpeaker()
sm.sendNext("Hey..")
sm.setSpeakerID(parentID)
sm.sendSayOkay("No.") | 23.714286 | 71 | 0.704819 | 22 | 166 | 5.318182 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048611 | 0.13253 | 166 | 7 | 72 | 23.714286 | 0.763889 | 0.415663 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd6b7c3f62a3250d575e4b2254ab267c73e3079b | 52 | py | Python | features/environment.py | lazaromer97/fizz-buzz-test | 875a19e1ca415a30f137bb803358f758ebf9f368 | [
"MIT"
] | 1 | 2020-12-19T03:43:38.000Z | 2020-12-19T03:43:38.000Z | features/environment.py | lazaromer97/fizz-buzz-test | 875a19e1ca415a30f137bb803358f758ebf9f368 | [
"MIT"
] | null | null | null | features/environment.py | lazaromer97/fizz-buzz-test | 875a19e1ca415a30f137bb803358f758ebf9f368 | [
"MIT"
] | null | null | null | def django_ready(context):
context.django = True | 26 | 26 | 0.75 | 7 | 52 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 27 | 26 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fd6d00265b1e027417c67d9089bc8d85e697c1cb | 646 | py | Python | astro_scripts/__init__.py | DanielAndreasen/astro_scripts | 03f2d405beebfe5cb4ee65d4939ff0992ffc8032 | [
"MIT"
] | 8 | 2015-12-11T13:46:34.000Z | 2018-12-13T07:36:23.000Z | astro_scripts/__init__.py | DanielAndreasen/astro_scripts | 03f2d405beebfe5cb4ee65d4939ff0992ffc8032 | [
"MIT"
] | 72 | 2015-03-25T11:45:19.000Z | 2021-12-27T15:01:06.000Z | astro_scripts/__init__.py | DanielAndreasen/astro_scripts | 03f2d405beebfe5cb4ee65d4939ff0992ffc8032 | [
"MIT"
] | 2 | 2015-08-28T13:21:14.000Z | 2015-12-11T13:46:01.000Z | from astro_scripts.plot_fits import runner as plot_fits
from astro_scripts.numpy2moog import runner as numpy2moog
from astro_scripts.fitsHeader import main as fitsheader
from astro_scripts.ascii2fits import main as ascii2fits
from astro_scripts.CRIRES2ARES import runner as CRIRES2ARES
from astro_scripts.linelist_filter... | 53.833333 | 65 | 0.880805 | 96 | 646 | 5.729167 | 0.229167 | 0.18 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010345 | 0.102167 | 646 | 11 | 66 | 58.727273 | 0.937931 | 0 | 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 | 0 | 0 | 0 | 3 |
fd6f27b7b74ff908668803a1f6d0bfaf4effdb48 | 274 | py | Python | Detection_Cheating/api_v1/analysis.py | kimheejoo/Detection_Cheating_Server | 488a9c61ab5c3030c7949695549f2edc34f20be1 | [
"MIT"
] | 2 | 2022-01-04T05:50:50.000Z | 2022-03-10T05:57:56.000Z | Detection_Cheating/api_v1/analysis.py | kimheejoo/Detection_Cheating_Server | 488a9c61ab5c3030c7949695549f2edc34f20be1 | [
"MIT"
] | null | null | null | Detection_Cheating/api_v1/analysis.py | kimheejoo/Detection_Cheating_Server | 488a9c61ab5c3030c7949695549f2edc34f20be1 | [
"MIT"
] | 2 | 2021-01-05T15:50:32.000Z | 2021-09-28T06:23:35.000Z | from api_v1 import api
from flask import request
from flask import jsonify
from controllers.analysis_con import network_analysis_con
@api.route("/network/<student_id>", methods=["POST"])
def network_analysis(student_id):
return jsonify(network_analysis_con(student_id)) | 34.25 | 57 | 0.817518 | 40 | 274 | 5.35 | 0.45 | 0.154206 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004032 | 0.094891 | 274 | 8 | 58 | 34.25 | 0.858871 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0.076364 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
fdaec5f11c32cf41cbe3d052dc554211511ead80 | 296 | py | Python | tests/forms.py | Timusan/wtforms-dynamic-fields | d984a646075219a6f8a0e931c96035ca3e44be56 | [
"BSD-3-Clause"
] | 20 | 2015-08-02T13:01:26.000Z | 2021-06-02T18:28:09.000Z | tests/forms.py | Timusan/wtforms-dynamic-fields | d984a646075219a6f8a0e931c96035ca3e44be56 | [
"BSD-3-Clause"
] | 3 | 2015-06-25T11:06:32.000Z | 2016-04-19T07:45:36.000Z | tests/forms.py | Timusan/wtforms-dynamic-fields | d984a646075219a6f8a0e931c96035ca3e44be56 | [
"BSD-3-Clause"
] | 5 | 2016-05-07T16:10:37.000Z | 2020-09-07T20:33:30.000Z | from wtforms import Form, TextField
from wtforms.validators import InputRequired, ValidationError
class SimpleForm(Form):
""" The basic test form. """
first_name = TextField("First name", validators=[InputRequired()])
last_name = TextField("Last name", validators=[InputRequired()])
| 37 | 70 | 0.743243 | 32 | 296 | 6.8125 | 0.5 | 0.100917 | 0.247706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138514 | 296 | 7 | 71 | 42.285714 | 0.854902 | 0.067568 | 0 | 0 | 0 | 0 | 0.070896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 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 | 0 | 0 | 0 | 0 | 3 |
fdd1954dc362263587f0b6cb5a04bb73da5e4406 | 221 | py | Python | resources_portal/tests/views/test_user.py | AlexsLemonade/python-flask-demo | 247780aa5ecfd6ce9b876514f96b2048549857d2 | [
"BSD-3-Clause"
] | null | null | null | resources_portal/tests/views/test_user.py | AlexsLemonade/python-flask-demo | 247780aa5ecfd6ce9b876514f96b2048549857d2 | [
"BSD-3-Clause"
] | null | null | null | resources_portal/tests/views/test_user.py | AlexsLemonade/python-flask-demo | 247780aa5ecfd6ce9b876514f96b2048549857d2 | [
"BSD-3-Clause"
] | null | null | null | from resources_portal.tests.test_utils import ApiTestCase
class UserTestCase(ApiTestCase):
def test_list_empty(self):
user_list = self.client.get("/users")
self.assertEqual([], user_list.get_json())
| 27.625 | 57 | 0.728507 | 28 | 221 | 5.5 | 0.714286 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158371 | 221 | 7 | 58 | 31.571429 | 0.827957 | 0 | 0 | 0 | 0 | 0 | 0.027149 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
fde4085c9d49149058f2f70fc5b942d0b4be3966 | 1,751 | py | Python | sortingview/experimental/SpikeSortingView/old/SpikeSortingView.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 2 | 2021-11-19T04:51:42.000Z | 2022-03-12T23:36:19.000Z | sortingview/experimental/SpikeSortingView/old/SpikeSortingView.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 172 | 2021-05-10T17:39:15.000Z | 2022-03-18T21:46:15.000Z | sortingview/experimental/SpikeSortingView/old/SpikeSortingView.py | magland/sortingview | 0b1be9d55048cd4b8a0b6b6733bd7d35cb440aa7 | [
"Apache-2.0"
] | 2 | 2021-08-29T20:13:57.000Z | 2022-03-12T23:36:34.000Z | import math
from typing import Union
from sortingview.extractors import LabboxEphysRecordingExtractor, LabboxEphysSortingExtractor
class SpikeSortingView:
def __init__(self, *,
recording: LabboxEphysRecordingExtractor,
sorting: LabboxEphysSortingExtractor,
segment_duration_minutes: float
... | 39.795455 | 134 | 0.720731 | 198 | 1,751 | 6.035354 | 0.227273 | 0.125523 | 0.14728 | 0.108787 | 0.340586 | 0.143933 | 0.082008 | 0.082008 | 0 | 0 | 0 | 0.005043 | 0.20731 | 1,751 | 44 | 135 | 39.795455 | 0.855908 | 0 | 0 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.232558 | false | 0 | 0.093023 | 0.186047 | 0.55814 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fde7760fc0d79203ff07f07390126df57f300819 | 600 | py | Python | test.py | microgravitas/platypus | e42bd960636437c8d057307905eb46c9b5038a3e | [
"MIT"
] | null | null | null | test.py | microgravitas/platypus | e42bd960636437c8d057307905eb46c9b5038a3e | [
"MIT"
] | null | null | null | test.py | microgravitas/platypus | e42bd960636437c8d057307905eb46c9b5038a3e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import math, sys
import platypus
from platypus import *
from collections import Counter, defaultdict
print(K(5,5).is_bipartite())
print(K(2).is_bipartite())
print(K(3).is_bipartite())
print(P(11).is_bipartite())
# path = "../../data/network-corpus/networks/{}.txt.gz"
# G = EditGraph.from_... | 15 | 55 | 0.66 | 93 | 600 | 4.172043 | 0.537634 | 0.113402 | 0.123711 | 0.087629 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023166 | 0.136667 | 600 | 39 | 56 | 15.384615 | 0.725869 | 0.571667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 3 |
fdea651dae1763dcb7d4abaa9eb1253c75e9149f | 131,633 | py | Python | large-repo-master/test-3/nb31.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | large-repo-master/test-3/nb31.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | large-repo-master/test-3/nb31.py | victorsun123/numpy | 1fb036758b4035ab2c132d26f420e5bc3ffc917e | [
"BSD-3-Clause"
] | null | null | null | # Databricks notebook source
LWILIOBCIMDGCHFASADRRGZCLIILUWO
RAZOIMPPJWANJOYLINMNWZBNP
ZGJJDFPYWBFLTPDCBSYJNCJLHEJLZASADWKGDWRMJCBBBOCJBPWLLGBPKTLMNQTFQKMHEEICHICAMKGNLTSAYULKKXJFNPLKAALUFPSLDWIHHUGNWKEMGMXWBDG
GSTFBJXBKRCGZHILZPJRUOFWRVWWKVAIDTEK
NIKIMPVFKIFHNJSLWLJZOHICCULWGGJJSWLHQFHQQUCDPJRBGAS
OBARCRYIKLKKEZ
LTMF... | 71.891316 | 578 | 0.983401 | 1,723 | 131,633 | 75.129425 | 0.98491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014335 | 131,633 | 1,831 | 579 | 71.891316 | 0.997703 | 0.004095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8bf0d33ff91915f2ee853c91761766aa549d374a | 25,600 | py | Python | pysnmp/CISCO-IETF-SCTP-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/CISCO-IETF-SCTP-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/CISCO-IETF-SCTP-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CISCO-IETF-SCTP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-IETF-SCTP-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:43:56 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default... | 131.958763 | 4,028 | 0.761602 | 2,806 | 25,600 | 6.947612 | 0.085887 | 0.009644 | 0.01308 | 0.01744 | 0.371275 | 0.322596 | 0.247705 | 0.234111 | 0.182508 | 0.166556 | 0 | 0.065788 | 0.081445 | 25,600 | 193 | 4,029 | 132.642487 | 0.763258 | 0.012969 | 0 | 0.038043 | 0 | 0 | 0.191575 | 0.044539 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.423913 | 0.043478 | 0 | 0.054348 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e30945dc60a9c7915e4ce9c21c13f6e2c5939f00 | 589 | py | Python | tests/unit/api/slack/test_Slack_Dialog_Submissions.py | pbx-gs/OSBot-jira | 7677afee1f80398ddcccd6b45423bf6adc20b970 | [
"Apache-2.0"
] | 1 | 2019-08-06T15:40:45.000Z | 2019-08-06T15:40:45.000Z | tests/unit/api/slack/test_Slack_Dialog_Submissions.py | pbx-gs/OSBot-jira | 7677afee1f80398ddcccd6b45423bf6adc20b970 | [
"Apache-2.0"
] | 1 | 2021-09-03T09:55:39.000Z | 2021-09-03T09:55:39.000Z | tests/unit/api/slack/test_Slack_Dialog_Submissions.py | filetrust/OSBot-jira | d753fff59cf938cf94a51bf8bc7981691524b686 | [
"Apache-2.0"
] | 2 | 2021-04-02T05:58:29.000Z | 2021-09-03T09:43:29.000Z | from unittest import TestCase
from gw_bot.Deploy import Deploy
from osbot_utils.utils.Dev import Dev
from osbot_jira.api.slack.Slack_Dialog_Submissions import Slack_Dialog_Submissions
class test_Slack_Dialog_Submissions(TestCase):
def setUp(self):
self.result = None
def tearDown(self):
if ... | 24.541667 | 91 | 0.730051 | 80 | 589 | 5.1375 | 0.4125 | 0.107056 | 0.214112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 589 | 23 | 92 | 25.608696 | 0.865263 | 0.039049 | 0 | 0 | 0 | 0 | 0.065719 | 0.065719 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.642857 | 0.071429 | 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 | 0 | 1 | 0 | 0 | 3 |
e32207485adc855073a3944f97e7da646dd86c05 | 1,101 | py | Python | Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/bitwise_ops.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 1 | 2022-01-08T12:30:44.000Z | 2022-01-08T12:30:44.000Z | Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/bitwise_ops.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | Python_OCR_JE/venv/Lib/site-packages/numpy/typing/tests/data/pass/bitwise_ops.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | 1 | 2021-04-26T22:41:56.000Z | 2021-04-26T22:41:56.000Z | import numpy as np
i8 = np.int64(1)
u8 = np.uint64(1)
i4 = np.int32(1)
u4 = np.uint32(1)
b_ = np.bool_(1)
b = bool(1)
i = int(1)
AR = np.array([0, 1, 2], dtype=np.int32)
AR.setflags(write=False)
i8 << i8
i8 >> i8
i8 | i8
i8 ^ i8
i8 & i8
i8 << AR
i8 >> AR
i8 | AR
i8 ^ AR
i8 & AR
i4 ... | 8.340909 | 41 | 0.421435 | 229 | 1,101 | 1.860262 | 0.10917 | 0.098592 | 0.133803 | 0.159624 | 0.692488 | 0.692488 | 0.692488 | 0.692488 | 0.556338 | 0.403756 | 0 | 0.200942 | 0.421435 | 1,101 | 131 | 42 | 8.40458 | 0.467818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009434 | 0 | 0.009434 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e337d185c8cc0f7f9d746551929da69f63a29d18 | 31,135 | py | Python | pysnmp/Nortel-Magellan-Passport-VnetMcdnSigMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/Nortel-Magellan-Passport-VnetMcdnSigMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/Nortel-Magellan-Passport-VnetMcdnSigMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-Magellan-Passport-VnetMcdnSigMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-VnetMcdnSigMIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:19:17 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwan... | 151.140777 | 5,046 | 0.775237 | 3,345 | 31,135 | 7.215845 | 0.078326 | 0.015661 | 0.012305 | 0.016406 | 0.484816 | 0.429672 | 0.396818 | 0.374363 | 0.354725 | 0.342918 | 0 | 0.089009 | 0.078047 | 31,135 | 205 | 5,047 | 151.878049 | 0.751855 | 0.011948 | 0 | 0 | 0 | 0 | 0.139136 | 0.054074 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.09596 | 0.050505 | 0 | 0.050505 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
e33f7bb155cb9df4eef3cfe88095950bdff15639 | 1,831 | py | Python | python/binarybrain/system.py | ryuz/BinaryBrain | 362fbd7ff6539e081af89e9fced05f3a85089914 | [
"MIT"
] | 71 | 2018-09-02T10:01:07.000Z | 2022-02-24T12:05:55.000Z | python/binarybrain/system.py | ryuz/lut_classifier | c12fc5267013246b7389fc97f8e759a7f10e35c2 | [
"MIT"
] | 2 | 2019-04-11T11:58:00.000Z | 2022-02-19T23:34:57.000Z | python/binarybrain/system.py | ryuz/lut_classifier | c12fc5267013246b7389fc97f8e759a7f10e35c2 | [
"MIT"
] | 8 | 2019-02-02T05:21:00.000Z | 2021-04-06T08:19:50.000Z | # -*- coding: utf-8 -*-
import binarybrain as bb
import binarybrain.core as core
def get_version_string():
"""バージョン文字列取得
Returns:
version (str) : バージョン文字列
"""
return core.get_version_string()
def omp_set_num_threads(threads: int):
"""omp_set_num_threads
omp_set_num... | 20.806818 | 66 | 0.69361 | 225 | 1,831 | 5.311111 | 0.306667 | 0.075314 | 0.065272 | 0.079498 | 0.294561 | 0.128033 | 0 | 0 | 0 | 0 | 0 | 0.000692 | 0.210268 | 1,831 | 87 | 67 | 21.045977 | 0.825726 | 0.38722 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.458333 | false | 0 | 0.083333 | 0.166667 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e3749cc0bc2dceb32c68d640c48aa2fe378b29bb | 205 | py | Python | example/models.py | ojayyezzir/django-admin-shuffle | 614553a83bbbbe391bbca29be349ad3575fc54b8 | [
"MIT"
] | 4 | 2020-07-19T10:23:58.000Z | 2020-07-20T01:21:36.000Z | tests/models.py | ojayyezzir/django-admin-shuffle | 614553a83bbbbe391bbca29be349ad3575fc54b8 | [
"MIT"
] | 11 | 2020-08-17T09:17:35.000Z | 2020-10-07T01:08:52.000Z | tests/models.py | ojayyezzir/django-admin-shuffle | 614553a83bbbbe391bbca29be349ad3575fc54b8 | [
"MIT"
] | null | null | null | from django.db import models
class Article(models.Model):
title = models.CharField(max_length=128)
content = models.TextField(blank=True)
created_at = models.DateTimeField(auto_now_add=True)
| 25.625 | 56 | 0.760976 | 28 | 205 | 5.428571 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017045 | 0.141463 | 205 | 7 | 57 | 29.285714 | 0.846591 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8b70a734901cce7dee5fef3bc69926dd85f8c9e6 | 707 | py | Python | locustfile2.py | valerybriz/api_tests | ba66df69fbd422d0c4c9e292350302ea442d2336 | [
"MIT"
] | null | null | null | locustfile2.py | valerybriz/api_tests | ba66df69fbd422d0c4c9e292350302ea442d2336 | [
"MIT"
] | null | null | null | locustfile2.py | valerybriz/api_tests | ba66df69fbd422d0c4c9e292350302ea442d2336 | [
"MIT"
] | null | null | null | '''Read https://docs.locust.io/en/stable/quickstart.html
for examples on how to run the tests'''
from locust import HttpLocust, TaskSet, task
import config as conf
class UserBehavior(TaskSet):
def on_start(self):
""" on_start is called when a Locust start before any task is scheduled """
self.login... | 26.185185 | 108 | 0.66761 | 98 | 707 | 4.744898 | 0.591837 | 0.051613 | 0.090323 | 0.073118 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017794 | 0.205092 | 707 | 26 | 109 | 27.192308 | 0.809609 | 0.224894 | 0 | 0 | 0 | 0 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0.058824 | 0.117647 | 0 | 0.647059 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
8b9b1fb4e2b56624bddb8ae803975d54aba7ea54 | 361 | py | Python | shadow4/syned/absorbers/absorber.py | srio/minishadow | 019bf46106f09f89297e01c273784e8059e02014 | [
"MIT"
] | 1 | 2019-10-30T10:04:43.000Z | 2019-10-30T10:04:43.000Z | shadow4/syned/absorbers/absorber.py | srio/minishadow | 019bf46106f09f89297e01c273784e8059e02014 | [
"MIT"
] | 9 | 2020-09-02T16:13:01.000Z | 2020-09-30T15:09:44.000Z | shadow4/syned/absorbers/absorber.py | srio/shadow4 | 019bf46106f09f89297e01c273784e8059e02014 | [
"MIT"
] | null | null | null |
from syned.beamline.optical_element import OpticalElement
from syned.beamline.shape import BoundaryShape
class Absorber(OpticalElement):
def __init__(self, name="Undefined", boundary_shape=None):
if boundary_shape is None:
boundary_shape = BoundaryShape()
OpticalElement.__init__(self, ... | 40.111111 | 79 | 0.767313 | 41 | 361 | 6.414634 | 0.487805 | 0.247148 | 0.129278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 361 | 9 | 79 | 40.111111 | 0.865132 | 0 | 0 | 0 | 0 | 0 | 0.024931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8bb5f48cfb16eb8c46ca3caf935f2207cba1d1ed | 343 | py | Python | lt_toolbox/__init__.py | oj-tooth/lt_toolbox | e6521fc0c243d1ff84599c418ae43271c6bd746c | [
"MIT"
] | 5 | 2021-02-03T09:42:47.000Z | 2021-02-05T02:15:35.000Z | lt_toolbox/__init__.py | oj-tooth/lt_toolbox | e6521fc0c243d1ff84599c418ae43271c6bd746c | [
"MIT"
] | 2 | 2020-12-15T12:20:30.000Z | 2020-12-22T14:14:32.000Z | lt_toolbox/__init__.py | oj-tooth/lt_toolbox | e6521fc0c243d1ff84599c418ae43271c6bd746c | [
"MIT"
] | null | null | null | ##############################################################################
# __init__.py
#
# Description:
# __init__ file in order for lt_toolbox directory to be treated
# as a package of modules.
#
# Last Edited:
# 2021-01-07
#
# Created By:
# Ollie Tooth
#
#########################################################... | 22.866667 | 79 | 0.376093 | 28 | 343 | 4.285714 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02623 | 0.110787 | 343 | 14 | 80 | 24.5 | 0.367213 | 0.463557 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8bc5e62495f2f15d7b3782000262cb4da5459d45 | 740 | py | Python | maintain_frontend/main.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2019-10-03T13:58:29.000Z | 2019-10-03T13:58:29.000Z | maintain_frontend/main.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | null | null | null | maintain_frontend/main.py | LandRegistry/maintain-frontend | d92446a9972ebbcd9a43a7a7444a528aa2f30bf7 | [
"MIT"
] | 1 | 2021-04-11T05:24:57.000Z | 2021-04-11T05:24:57.000Z | # This file is the entry point.
# First we import the app object, which will get initialised as we do it. Then import methods we're about to use.
from maintain_frontend.app import app
from maintain_frontend.extensions import register_extensions
from maintain_frontend.blueprints import register_blueprints
from maintain_... | 43.529412 | 113 | 0.843243 | 109 | 740 | 5.587156 | 0.431193 | 0.098522 | 0.164204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122973 | 740 | 16 | 114 | 46.25 | 0.938367 | 0.455405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8bc78795fb7090fc535264fdc0bf7ed94d893e28 | 125 | py | Python | quizzer/__init__.py | mrillusi0n/quiz | 05d2ef4d0f3dd852f3caa74bcd9be7c12f6858e9 | [
"MIT"
] | null | null | null | quizzer/__init__.py | mrillusi0n/quiz | 05d2ef4d0f3dd852f3caa74bcd9be7c12f6858e9 | [
"MIT"
] | null | null | null | quizzer/__init__.py | mrillusi0n/quiz | 05d2ef4d0f3dd852f3caa74bcd9be7c12f6858e9 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
app.config['SECRET_KEY'] = '802394YHFRIUAOERY5T0287345'
from . import routes | 17.857143 | 55 | 0.776 | 15 | 125 | 6.133333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 0.128 | 125 | 7 | 56 | 17.857143 | 0.715596 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4737a933bca048506fd27ca1212419f74c4ee43b | 1,205 | py | Python | python-threatexchange/threatexchange/signal_type/url.py | Samyakk123/ThreatExchange | 447b5e9738aff5d1cc895f6208a0d3bc15a14ebc | [
"BSD-3-Clause"
] | 1 | 2022-02-08T01:32:58.000Z | 2022-02-08T01:32:58.000Z | python-threatexchange/threatexchange/signal_type/url.py | Samyakk123/ThreatExchange | 447b5e9738aff5d1cc895f6208a0d3bc15a14ebc | [
"BSD-3-Clause"
] | null | null | null | python-threatexchange/threatexchange/signal_type/url.py | Samyakk123/ThreatExchange | 447b5e9738aff5d1cc895f6208a0d3bc15a14ebc | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
"""
Wrapper around the URL signal type.
"""
import typing as t
from threatexchange.content_type.content_base import ContentType
from threatexchange.content_type.url import URLContent
from threatexchange.signal_type import si... | 28.023256 | 87 | 0.727801 | 136 | 1,205 | 6.308824 | 0.536765 | 0.058275 | 0.037296 | 0.067599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172614 | 1,205 | 42 | 88 | 28.690476 | 0.860582 | 0.165975 | 0 | 0.166667 | 0 | 0 | 0.079592 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 1 | 0.125 | false | 0 | 0.208333 | 0.125 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4739be4bdf135e45ae184e8be3c16a37e041c3d7 | 272 | py | Python | output/models/nist_data/atomic/hex_binary/schema_instance/nistschema_sv_iv_atomic_hex_binary_min_length_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/hex_binary/schema_instance/nistschema_sv_iv_atomic_hex_binary_min_length_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/hex_binary/schema_instance/nistschema_sv_iv_atomic_hex_binary_min_length_1_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.hex_binary.schema_instance.nistschema_sv_iv_atomic_hex_binary_min_length_1_xsd.nistschema_sv_iv_atomic_hex_binary_min_length_1 import NistschemaSvIvAtomicHexBinaryMinLength1
__all__ = [
"NistschemaSvIvAtomicHexBinaryMinLength1",
]
| 45.333333 | 209 | 0.900735 | 33 | 272 | 6.69697 | 0.606061 | 0.122172 | 0.20362 | 0.180995 | 0.352941 | 0.352941 | 0.352941 | 0.352941 | 0.352941 | 0 | 0 | 0.015504 | 0.051471 | 272 | 5 | 210 | 54.4 | 0.841085 | 0 | 0 | 0 | 0 | 0 | 0.143382 | 0.143382 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
473bd01167550c46ea29f7e4dbe04a9fc91de444 | 399 | py | Python | watchdog_kj_kultura/main/context_processors.py | watchdogpolska/watchdog-kj-kultura | ea1a5c52ef2a174c012cc08eff5fdd7aa3b911b0 | [
"MIT"
] | null | null | null | watchdog_kj_kultura/main/context_processors.py | watchdogpolska/watchdog-kj-kultura | ea1a5c52ef2a174c012cc08eff5fdd7aa3b911b0 | [
"MIT"
] | 138 | 2016-12-10T19:18:18.000Z | 2019-06-10T19:32:40.000Z | watchdog_kj_kultura/main/context_processors.py | watchdogpolska/watchdog-kj-kultura | ea1a5c52ef2a174c012cc08eff5fdd7aa3b911b0 | [
"MIT"
] | null | null | null | from django.contrib.sites.shortcuts import get_current_site
from .models import Settings
def settings(request):
"""A context processor which provide current site ``Settings`` in ``settings`` template variable
Parameters
----------
request : HttpRequest
A django standard request object
"""... | 28.5 | 100 | 0.711779 | 46 | 399 | 6.086957 | 0.586957 | 0.117857 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177945 | 399 | 13 | 101 | 30.692308 | 0.853659 | 0.438596 | 0 | 0 | 0 | 0 | 0.040609 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
473d1ccc5f01ce26666b5ade449e37fa19d62fe5 | 391 | py | Python | moneta/exceptions.py | geneanet/moneta | 609a28eb72c3d4dcb768a965a591946cab064ea4 | [
"BSD-3-Clause"
] | 6 | 2015-04-28T17:26:11.000Z | 2019-09-18T19:03:56.000Z | moneta/exceptions.py | geneanet/moneta | 609a28eb72c3d4dcb768a965a591946cab064ea4 | [
"BSD-3-Clause"
] | null | null | null | moneta/exceptions.py | geneanet/moneta | 609a28eb72c3d4dcb768a965a591946cab064ea4 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
class ExecutionDisabled(Exception):
""" Exception thrown if the manager cannot execute task because execution is disabled """
pass
class NotFound(Exception):
""" Exception thrown if a requested object is not found in a collection """
pass
class ProcessNotFound(NotFound):
"... | 27.928571 | 93 | 0.703325 | 48 | 391 | 5.729167 | 0.604167 | 0.163636 | 0.174545 | 0.189091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003215 | 0.204604 | 391 | 13 | 94 | 30.076923 | 0.881029 | 0.588235 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4749a1dfd5f9c36050cf1479001469842933b622 | 5,751 | py | Python | OldCode/FM/Demo-selenium.py | lovemybabyxuan/PythonLearning | 38eedeec72bb80c8497ab70970c429945ccdeb31 | [
"MulanPSL-1.0"
] | null | null | null | OldCode/FM/Demo-selenium.py | lovemybabyxuan/PythonLearning | 38eedeec72bb80c8497ab70970c429945ccdeb31 | [
"MulanPSL-1.0"
] | null | null | null | OldCode/FM/Demo-selenium.py | lovemybabyxuan/PythonLearning | 38eedeec72bb80c8497ab70970c429945ccdeb31 | [
"MulanPSL-1.0"
] | null | null | null | #chromedriver各版本下载地址:http://chromedriver.storage.googleapis.com/index.html
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.support.select import Select
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
f... | 46.756098 | 272 | 0.700052 | 651 | 5,751 | 5.963134 | 0.447005 | 0.030912 | 0.049459 | 0.061824 | 0.16203 | 0.11051 | 0.033488 | 0.033488 | 0 | 0 | 0 | 0.057164 | 0.075291 | 5,751 | 123 | 273 | 46.756098 | 0.672809 | 0.727178 | 0 | 0 | 0 | 0.058824 | 0.195676 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0.529412 | 0 | 0.529412 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
479096d35b952436ea91aeb44925ae2cfaba8f84 | 112,036 | py | Python | mapsci/multipole_mie_combining_rules.py | jaclark5/mapsci | 993bead13615f351ca3a1605967a14d06585a1d0 | [
"BSD-3-Clause"
] | null | null | null | mapsci/multipole_mie_combining_rules.py | jaclark5/mapsci | 993bead13615f351ca3a1605967a14d06585a1d0 | [
"BSD-3-Clause"
] | 2 | 2020-09-02T17:04:29.000Z | 2021-09-17T18:21:02.000Z | mapsci/multipole_mie_combining_rules.py | jaclark5/mapsci | 993bead13615f351ca3a1605967a14d06585a1d0 | [
"BSD-3-Clause"
] | null | null | null | """
MAPSCI: Multipole Approach of Predicting and Scaling Cross Interactions
Handles the primary functions
"""
import numpy as np
import scipy.optimize as spo
import logging
logger = logging.getLogger(__name__)
def calc_distance_array(bead_dict, tol=0.01, max_factor=2, lower_bound="rmin"):
r"""
Calculation... | 53.631403 | 379 | 0.643516 | 14,025 | 112,036 | 5.005205 | 0.039287 | 0.028035 | 0.009174 | 0.037408 | 0.781262 | 0.745192 | 0.710918 | 0.682427 | 0.66113 | 0.648565 | 0 | 0.019938 | 0.241208 | 112,036 | 2,088 | 380 | 53.657088 | 0.805804 | 0.545503 | 0 | 0.4324 | 0 | 0.00609 | 0.134148 | 0.002485 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037759 | false | 0 | 0.004872 | 0 | 0.081608 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
47a1064da90cdd4be68ec774bce6e12ebc6bb300 | 680 | py | Python | server/src/police_lineups/configurations/auth_token.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | server/src/police_lineups/configurations/auth_token.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | 2 | 2021-09-24T11:43:58.000Z | 2021-09-24T12:00:21.000Z | server/src/police_lineups/configurations/auth_token.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | import secrets
from typing import Mapping
class AuthTokenConfiguration:
@property
def issuer(self) -> str:
return self._issuer
@property
def lifetime(self) -> int:
return self._lifetime
@property
def secret(self) -> str:
return self._secret
@property
def alg... | 24.285714 | 79 | 0.654412 | 79 | 680 | 5.379747 | 0.443038 | 0.103529 | 0.091765 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.242647 | 680 | 27 | 80 | 25.185185 | 0.815534 | 0.05 | 0 | 0.2 | 0 | 0 | 0.051242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1 | 0.2 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
47b322783da72a23545011b9888d8758fe1f067b | 810 | py | Python | platform/core/polyaxon/conf/options/core.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/conf/options/core.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | platform/core/polyaxon/conf/options/core.py | hackerwins/polyaxon | ff56a098283ca872abfbaae6ba8abba479ffa394 | [
"Apache-2.0"
] | null | null | null | import conf
from options.registry import core
conf.subscribe(core.PasswordLength)
conf.subscribe(core.AdminViewEnabled)
conf.subscribe(core.Logging)
conf.subscribe(core.Debug)
conf.subscribe(core.Protocol)
conf.subscribe(core.ApiHost)
conf.subscribe(core.LoginUrl)
conf.subscribe(core.AccountActivationDays)
conf.subsc... | 32.4 | 48 | 0.865432 | 87 | 810 | 8.057471 | 0.310345 | 0.370899 | 0.485021 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034568 | 810 | 24 | 49 | 33.75 | 0.896419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.045455 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
47b42090fa5d2fd3693bae05b79376fdf1b08e5e | 249 | py | Python | ods_python/tests/test0.py | jvanoost/ods-cookbook | 9a5180214593bf1be16db35bd77f3db6f745a4ce | [
"MIT"
] | 1 | 2020-12-02T07:43:10.000Z | 2020-12-02T07:43:10.000Z | ods_python/tests/test0.py | jvanoost/ods-cookbook | 9a5180214593bf1be16db35bd77f3db6f745a4ce | [
"MIT"
] | null | null | null | ods_python/tests/test0.py | jvanoost/ods-cookbook | 9a5180214593bf1be16db35bd77f3db6f745a4ce | [
"MIT"
] | null | null | null | from ods_python import ods_python
portailMEL = readODS("http://opendata.lillemetropole.fr/")
print(portailMEL.getCatalog())
print(portailMEL.getCatalogMonitoring())
ret = portailMEL.getDataset("vlille-realtime")
print(type(ret))
print(ret) | 27.666667 | 59 | 0.771084 | 28 | 249 | 6.785714 | 0.642857 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092369 | 249 | 9 | 60 | 27.666667 | 0.840708 | 0 | 0 | 0 | 0 | 0 | 0.202479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
47be73d4b27d67861138a141c0f2b84ad9fdbf90 | 446 | py | Python | app/schemas/User.py | nanoMFG/gr-resq-webapp-backend | 51cbd7bcda054199b4556cdc7377a1252438d7b7 | [
"MIT"
] | null | null | null | app/schemas/User.py | nanoMFG/gr-resq-webapp-backend | 51cbd7bcda054199b4556cdc7377a1252438d7b7 | [
"MIT"
] | 1 | 2022-02-09T21:55:43.000Z | 2022-02-09T21:55:43.000Z | app/schemas/User.py | nanoMFG/gr-resq-webapp-backend | 51cbd7bcda054199b4556cdc7377a1252438d7b7 | [
"MIT"
] | 1 | 2022-02-09T20:58:57.000Z | 2022-02-09T20:58:57.000Z | from pydantic import BaseModel, Field, EmailStr
from typing import Optional, Literal
from uuid import UUID
class User(BaseModel):
email: EmailStr = Field(...)
class UserInDB(User):
ID: UUID = Field(...)
passwordHash: str = Field(...)
role: Literal[
"basic_user",
"system_admin",
... | 23.473684 | 66 | 0.639013 | 49 | 446 | 5.734694 | 0.591837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226457 | 446 | 18 | 67 | 24.777778 | 0.814493 | 0 | 0 | 0 | 0 | 0 | 0.130045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.071429 | 0.214286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
47c1048769a3773f35618025c178a24450b40d9e | 420 | py | Python | authentication/migrations/0002_auto_20201215_0859.py | NonsoAmadi10/BRT | 61b787cd0bd5ad4e81f9853c8fa978ac32bfe777 | [
"MIT"
] | null | null | null | authentication/migrations/0002_auto_20201215_0859.py | NonsoAmadi10/BRT | 61b787cd0bd5ad4e81f9853c8fa978ac32bfe777 | [
"MIT"
] | null | null | null | authentication/migrations/0002_auto_20201215_0859.py | NonsoAmadi10/BRT | 61b787cd0bd5ad4e81f9853c8fa978ac32bfe777 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-15 07:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('authentication', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='user',
name='city',
),
... | 19.090909 | 47 | 0.547619 | 40 | 420 | 5.675 | 0.725 | 0.185022 | 0.229075 | 0.264317 | 0.334802 | 0.334802 | 0 | 0 | 0 | 0 | 0 | 0.0681 | 0.335714 | 420 | 21 | 48 | 20 | 0.74552 | 0.107143 | 0 | 0.4 | 1 | 0 | 0.115282 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
47d8e665a6968fc7468bbb061f6780750c0a0299 | 1,249 | py | Python | password_field/fields.py | thedrow/django-password-field | f3a1b641c670cac63e799f756b1eff378a0ad9ff | [
"BSD-3-Clause"
] | 2 | 2018-03-02T12:57:16.000Z | 2019-06-07T20:14:24.000Z | password_field/fields.py | thedrow/django-password-field | f3a1b641c670cac63e799f756b1eff378a0ad9ff | [
"BSD-3-Clause"
] | null | null | null | password_field/fields.py | thedrow/django-password-field | f3a1b641c670cac63e799f756b1eff378a0ad9ff | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
from django.contrib.auth.hashers import make_password, check_password
from django.db.models import CharField
from django.utils import six
from django.utils.encoding import smart_text
class PasswordFieldDescriptor(object):
def __init__(self):
self.value = None
def... | 29.738095 | 83 | 0.689351 | 157 | 1,249 | 5.203822 | 0.375796 | 0.066095 | 0.03672 | 0.051408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004044 | 0.208167 | 1,249 | 41 | 84 | 30.463415 | 0.822042 | 0.027222 | 0 | 0 | 0 | 0 | 0.008244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.407407 | 0.148148 | 0.037037 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
47f9f05ca6bf85c5ad5e11b96fd11cd3b8f201fc | 277 | py | Python | APICanalLuciernaga/lugar/views.py | ErickMurillo/canal-luciernaga | 3839b2bf03aea4f5336e0b2899845dc6ec38ee04 | [
"MIT"
] | null | null | null | APICanalLuciernaga/lugar/views.py | ErickMurillo/canal-luciernaga | 3839b2bf03aea4f5336e0b2899845dc6ec38ee04 | [
"MIT"
] | 12 | 2020-02-12T01:04:09.000Z | 2022-02-10T12:22:14.000Z | APICanalLuciernaga/lugar/views.py | ErickMurillo/canal-luciernaga | 3839b2bf03aea4f5336e0b2899845dc6ec38ee04 | [
"MIT"
] | 3 | 2019-07-04T19:51:17.000Z | 2019-07-30T17:23:13.000Z | from django.shortcuts import render
from rest_framework import viewsets
from .models import Pais
from .serializers import PaisSerializer
# Create your views here.
class PaisViewSet(viewsets.ModelViewSet):
queryset = Pais.objects.all()
serializer_class = PaisSerializer
| 30.777778 | 41 | 0.812274 | 33 | 277 | 6.757576 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133574 | 277 | 8 | 42 | 34.625 | 0.929167 | 0.083032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9a0075a295976c6945ec613e318e808b514d82e5 | 2,705 | py | Python | funowl/prefix_declarations.py | clin113jhu/funowl | 805963c9d2718598c85a1213106161b59f5a8dd3 | [
"CC0-1.0"
] | null | null | null | funowl/prefix_declarations.py | clin113jhu/funowl | 805963c9d2718598c85a1213106161b59f5a8dd3 | [
"CC0-1.0"
] | null | null | null | funowl/prefix_declarations.py | clin113jhu/funowl | 805963c9d2718598c85a1213106161b59f5a8dd3 | [
"CC0-1.0"
] | null | null | null | from dataclasses import dataclass
from typing import Optional, List, Union
from rdflib import Graph
from rdflib.namespace import NamespaceManager, OWL
from rdflib.term import Node, URIRef
from funowl.base.fun_owl_base import FunOwlBase, FunOwlRoot
from funowl.writers.FunctionalWriter import FunctionalWriter
from funo... | 38.098592 | 106 | 0.661368 | 348 | 2,705 | 5.031609 | 0.310345 | 0.022844 | 0.017133 | 0.021702 | 0.06739 | 0.06739 | 0.06739 | 0.06739 | 0.06739 | 0 | 0 | 0.000482 | 0.233272 | 2,705 | 70 | 107 | 38.642857 | 0.84378 | 0.156007 | 0 | 0.046512 | 0 | 0 | 0.011251 | 0 | 0 | 0 | 0 | 0.014286 | 0 | 1 | 0.232558 | false | 0 | 0.186047 | 0.046512 | 0.604651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9a16d8426e9331fbff9bd632be1a055724f3b5bc | 123 | py | Python | kektrade/exchange/binance_futures.py | flamingrickpat/kektrade | 7bf5e0607605852c5f0c9116134ad61e2fd572d7 | [
"MIT"
] | null | null | null | kektrade/exchange/binance_futures.py | flamingrickpat/kektrade | 7bf5e0607605852c5f0c9116134ad61e2fd572d7 | [
"MIT"
] | null | null | null | kektrade/exchange/binance_futures.py | flamingrickpat/kektrade | 7bf5e0607605852c5f0c9116134ad61e2fd572d7 | [
"MIT"
] | null | null | null | from kektrade.exchange.interface import *
logger = logging.getLogger(__name__)
class BinanceFutures(IExchange):
pass
| 17.571429 | 41 | 0.788618 | 13 | 123 | 7.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130081 | 123 | 6 | 42 | 20.5 | 0.869159 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9a2e25d517e4de311c7c70c9e442e63fc2225b1c | 16,480 | py | Python | visualization.py | avysogorets/Effective-Sparsity | d78e227b040785392750fe39b608c18c8a6cb9ac | [
"MIT"
] | 4 | 2021-07-18T08:39:30.000Z | 2022-02-22T04:38:58.000Z | visualization.py | avysogorets/Effective-Sparsity | d78e227b040785392750fe39b608c18c8a6cb9ac | [
"MIT"
] | null | null | null | visualization.py | avysogorets/Effective-Sparsity | d78e227b040785392750fe39b608c18c8a6cb9ac | [
"MIT"
] | null | null | null | import matplotlib as mpl
import numpy as np
import os
import math
import argparse
import matplotlib.pyplot as plt
fig,ax=plt.subplots(nrows=1,ncols=1,figsize=[6,4])
parser=argparse.ArgumentParser()
parser.add_argument('--architecture',type=str,default='lenet300100',help='network type (choose one of: lenet300100, lenet... | 96.941176 | 393 | 0.741141 | 2,313 | 16,480 | 5.089062 | 0.102464 | 0.045875 | 0.047575 | 0.043327 | 0.768924 | 0.750573 | 0.727041 | 0.685413 | 0.6725 | 0.63529 | 0 | 0.015433 | 0.111408 | 16,480 | 169 | 394 | 97.514793 | 0.788377 | 0.0071 | 0 | 0.46875 | 0 | 0.0125 | 0.142307 | 0.022515 | 0 | 0 | 0 | 0 | 0.0125 | 1 | 0.0125 | false | 0 | 0.0375 | 0 | 0.05 | 0.00625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a3a5b0bd84d4b2598b688c74fb811a629c5cf1c | 143 | py | Python | flowroutenumbersandmessaging/controllers/__init__.py | kevinhippert/flowroute-sdk-v3-python | a7c3f63f45668327f01970e820a192e0a80d6790 | [
"MIT"
] | 6 | 2018-03-07T20:11:06.000Z | 2021-11-21T16:11:18.000Z | flowroutenumbersandmessaging/controllers/__init__.py | kevinhippert/flowroute-sdk-v3-python | a7c3f63f45668327f01970e820a192e0a80d6790 | [
"MIT"
] | 6 | 2018-03-09T05:56:10.000Z | 2021-05-10T19:16:16.000Z | flowroutenumbersandmessaging/controllers/__init__.py | kevinhippert/flowroute-sdk-v3-python | a7c3f63f45668327f01970e820a192e0a80d6790 | [
"MIT"
] | 3 | 2018-05-08T17:55:33.000Z | 2020-05-22T17:19:58.000Z | __all__ = [
'base_controller',
'cdrs_controller',
'numbers_controller',
'routes_controller',
'messages_controller',
] | 20.428571 | 27 | 0.636364 | 11 | 143 | 7.454545 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237762 | 143 | 7 | 28 | 20.428571 | 0.752294 | 0 | 0 | 0 | 0 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a61fb8fce43766353ecd78e450f4a8f4dddaba2 | 866 | py | Python | tests/tools/bin2pat_test_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | tests/tools/bin2pat_test_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | tests/tools/bin2pat_test_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Tests for the :mod:`regression_tests.tools.bin2pat_test` module.
"""
import unittest
from unittest import mock
from regression_tests.tools.bin2pat import Bin2Pat
from regression_tests.tools.bin2pat_test import Bin2PatTest
from regression_tests.tools.bin2pat_test_settings import Bin2PatTestSettings
class Bin... | 33.307692 | 77 | 0.747113 | 110 | 866 | 5.654545 | 0.418182 | 0.088424 | 0.128617 | 0.173633 | 0.212219 | 0.11254 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.162818 | 866 | 25 | 78 | 34.64 | 0.830345 | 0.202079 | 0 | 0 | 0 | 0 | 0.017831 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 1 | 0.153846 | false | 0 | 0.384615 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
9a70977618e3f575be0c3a89b9637143fbe66a51 | 23 | py | Python | data_store/data/WarnoConfig/tests/__init__.py | ARM-DOE/warno | 231f0eb87fa3011133f361ebac780fc21d0968c6 | [
"BSD-3-Clause"
] | 4 | 2017-08-09T15:27:19.000Z | 2021-03-11T07:16:09.000Z | data_store/__init__.py | ARM-DOE/warno | 231f0eb87fa3011133f361ebac780fc21d0968c6 | [
"BSD-3-Clause"
] | null | null | null | data_store/__init__.py | ARM-DOE/warno | 231f0eb87fa3011133f361ebac780fc21d0968c6 | [
"BSD-3-Clause"
] | 2 | 2017-08-09T15:27:28.000Z | 2019-05-22T16:09:06.000Z | __author__ = 'hard505'
| 11.5 | 22 | 0.73913 | 2 | 23 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d024b2f5edf62e26cbbf70f8935705397365e2f4 | 180 | py | Python | tests/conftest.py | deeprob-org/deeprob-kit | c46050eb8047dcfa0cc2420887624184c042e32e | [
"MIT"
] | 38 | 2021-09-27T11:39:23.000Z | 2022-02-09T15:33:44.000Z | tests/conftest.py | deeprob-org/deeprob-kit | c46050eb8047dcfa0cc2420887624184c042e32e | [
"MIT"
] | 14 | 2021-09-27T15:04:46.000Z | 2021-12-08T21:08:01.000Z | tests/conftest.py | deeprob-org/deeprob-kit | c46050eb8047dcfa0cc2420887624184c042e32e | [
"MIT"
] | 3 | 2021-09-30T08:05:06.000Z | 2022-01-02T04:44:19.000Z | import pytest
import numpy as np
import torch
@pytest.fixture(autouse=True)
def random_seed():
np.random.seed(42)
torch.manual_seed(42)
torch.set_grad_enabled(False)
| 16.363636 | 33 | 0.744444 | 28 | 180 | 4.642857 | 0.642857 | 0.153846 | 0.169231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 180 | 10 | 34 | 18 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.375 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d056011f8336dc2a983b4a290773d5fc83671963 | 555 | py | Python | lec4.py | bprice5318/ia241-github-1 | b2295c4290e1673a863df0716068494d5e302f8b | [
"MIT"
] | null | null | null | lec4.py | bprice5318/ia241-github-1 | b2295c4290e1673a863df0716068494d5e302f8b | [
"MIT"
] | null | null | null | lec4.py | bprice5318/ia241-github-1 | b2295c4290e1673a863df0716068494d5e302f8b | [
"MIT"
] | null | null | null | '''
lec4
dict
tuple
'''
my_tuple = 'a','b','c','d','e'
print(my_tuple)
my_2nd_tuple= ('a','b','c','d','e')
print (my_2nd_tuple)
is_a_tuple= ('a',)
print ( type(is_a_tuple) )
print (my_tuple[1])
my_car = {
'color' : 'red',
'maker': 'toyota',
'year': 2015
}
print (my_car)
print (my_car ['color'])... | 12.613636 | 35 | 0.596396 | 93 | 555 | 3.301075 | 0.311828 | 0.211726 | 0.29316 | 0.052117 | 0.110749 | 0.110749 | 0.110749 | 0.110749 | 0 | 0 | 0 | 0.02603 | 0.169369 | 555 | 43 | 36 | 12.906977 | 0.639913 | 0.027027 | 0 | 0.12 | 0 | 0 | 0.118421 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d06f0ed4c57e06db2fd04820efbb9aafbd8653b2 | 294 | py | Python | Pacote Download/Apenas Testes Python/ex001.py | ItalloZoldyck/TestPython | e8c225291d89c002c3beb68673055a931e6836a2 | [
"MIT"
] | null | null | null | Pacote Download/Apenas Testes Python/ex001.py | ItalloZoldyck/TestPython | e8c225291d89c002c3beb68673055a931e6836a2 | [
"MIT"
] | null | null | null | Pacote Download/Apenas Testes Python/ex001.py | ItalloZoldyck/TestPython | e8c225291d89c002c3beb68673055a931e6836a2 | [
"MIT"
] | null | null | null | print('Olá, seja bem vindo ao meu site!')
print('Estarei lhe redirecionando para nosso sistema')
nome = input('Qual seu nome ?')
idade = input('Quantos anos você tem?')
print('É um grande prazer te conhecer,{}! você está bem velhio hein?! HAHA'.format(nome))
print('Como eu posso lhe ajudar?')
| 42 | 89 | 0.721088 | 47 | 294 | 4.510638 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 294 | 6 | 90 | 49 | 0.84127 | 0 | 0 | 0 | 0 | 0 | 0.70068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
d095e43566c7798955426dac5bc88baa83763912 | 184 | py | Python | mothpy/__init__.py | alexliberzonlab/mothpy | 6e0924b758201da988a3f4dac9559113fe695d20 | [
"MIT"
] | 2 | 2019-07-14T19:43:37.000Z | 2020-02-18T10:30:43.000Z | mothpy/__init__.py | alexliberzonlab/mothpy | 6e0924b758201da988a3f4dac9559113fe695d20 | [
"MIT"
] | 7 | 2019-05-08T21:07:30.000Z | 2021-11-17T18:37:19.000Z | mothpy/__init__.py | alexliberzonlab/mothpy | 6e0924b758201da988a3f4dac9559113fe695d20 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
mothpy - moth-inspired navigation models flying in `pompy` (Puff Odour-plume Model in Python)
@author: Noam Benelli and Alex Liberzon
"""
name = "mothpy"
| 20.444444 | 93 | 0.684783 | 25 | 184 | 5.04 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.168478 | 184 | 8 | 94 | 23 | 0.816993 | 0.858696 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d09df29400bd07a5f8f3a1633b9cd9beb186ad3e | 307 | py | Python | boucanpy/db/migrate/show.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 34 | 2019-11-16T17:22:15.000Z | 2022-02-11T23:12:46.000Z | boucanpy/db/migrate/show.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 1 | 2021-02-09T09:34:55.000Z | 2021-02-10T21:46:20.000Z | boucanpy/db/migrate/show.py | bbhunter/boucanpy | 7d2fb105e7b1e90653a511534fb878bb62d02f17 | [
"MIT"
] | 9 | 2019-11-18T22:18:07.000Z | 2021-02-08T13:23:51.000Z | from boucanpy.db.migrate.config import get_config
# late import of alembic because it destroys loggers
def show(directory=None, revision="head"):
from alembic import command
"""Show the revision denoted by the given symbol."""
config = get_config(directory)
command.show(config, revision)
| 30.7 | 56 | 0.749186 | 42 | 307 | 5.428571 | 0.619048 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166124 | 307 | 9 | 57 | 34.111111 | 0.890625 | 0.162866 | 0 | 0 | 0 | 0 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d09fd0a2e9651bf99c8db18e200a1afde00d92fd | 339 | py | Python | 02/client.py | asmodehn/caerbannog | 47bb1138190748041a4c0d02e522c0924a9af962 | [
"MIT"
] | 1 | 2019-01-22T20:57:45.000Z | 2019-01-22T20:57:45.000Z | 02/client.py | asmodehn/functional-python | 47bb1138190748041a4c0d02e522c0924a9af962 | [
"MIT"
] | 3 | 2019-03-14T17:33:39.000Z | 2019-03-14T18:09:42.000Z | 02/client.py | asmodehn/caerbannog | 47bb1138190748041a4c0d02e522c0924a9af962 | [
"MIT"
] | null | null | null | import time
import abstle
def triangle():
state = abstle.create()
dist = 200
abstle.move(dist, state)
abstle.left(120, state)
abstle.move(dist, state)
abstle.left(120, state)
abstle.move(dist, state)
if __name__ == '__main__':
triangle()
time.sleep(5) # hack to have the time t... | 16.95 | 62 | 0.640118 | 46 | 339 | 4.543478 | 0.5 | 0.263158 | 0.200957 | 0.272727 | 0.444976 | 0.444976 | 0.444976 | 0.444976 | 0.444976 | 0.444976 | 0 | 0.03861 | 0.235988 | 339 | 19 | 63 | 17.842105 | 0.76834 | 0.120944 | 0 | 0.384615 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.153846 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d0a1972f9f536800aa8574ae5b03b609a0230eb8 | 130 | py | Python | Bronze/Bronze_V/10807.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/10807.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/10807.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | from collections import Counter
N = int(input())
nums = Counter(list(map(int, input().split())))
v = int(input())
print(nums[v]) | 18.571429 | 47 | 0.669231 | 20 | 130 | 4.35 | 0.65 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 130 | 7 | 48 | 18.571429 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d0ac368b00652d0154611c23e25a88250aedf9f2 | 79 | py | Python | uplink/compat.py | lust4life/uplink | 44d7dcce1b40029e325c831c9e5683c41081c524 | [
"MIT"
] | 918 | 2017-10-20T10:47:40.000Z | 2022-03-27T19:10:21.000Z | uplink/compat.py | lust4life/uplink | 44d7dcce1b40029e325c831c9e5683c41081c524 | [
"MIT"
] | 248 | 2017-10-20T03:58:20.000Z | 2022-03-13T18:39:16.000Z | uplink/compat.py | lust4life/uplink | 44d7dcce1b40029e325c831c9e5683c41081c524 | [
"MIT"
] | 66 | 2017-10-21T02:56:34.000Z | 2022-02-15T08:27:50.000Z | # Third-party imports
import six
__all__ = ["reraise"]
reraise = six.reraise
| 11.285714 | 21 | 0.721519 | 10 | 79 | 5.3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164557 | 79 | 6 | 22 | 13.166667 | 0.80303 | 0.240506 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d0baa01e34edffdfdd0b1242e871c3ddd8921c86 | 1,493 | py | Python | aiotdlib/api/types/sponsored_message.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | null | null | null | aiotdlib/api/types/sponsored_message.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | null | null | null | aiotdlib/api/types/sponsored_message.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | null | null | null | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 33.931818 | 169 | 0.554588 | 140 | 1,493 | 5.814286 | 0.464286 | 0.054054 | 0.047912 | 0.036855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276624 | 1,493 | 43 | 170 | 34.72093 | 0.753704 | 0.586738 | 0 | 0 | 1 | 0 | 0.039033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.4 | 0.066667 | 0.933333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d0ec6142a956bc833e018d53636a5c1bb3c3fc0a | 848 | py | Python | api/utils/responses.py | odbalogun/areavas-bl | bde6696e52cc1b1f780b26803f4071edcc6ca428 | [
"Apache-2.0"
] | null | null | null | api/utils/responses.py | odbalogun/areavas-bl | bde6696e52cc1b1f780b26803f4071edcc6ca428 | [
"Apache-2.0"
] | null | null | null | api/utils/responses.py | odbalogun/areavas-bl | bde6696e52cc1b1f780b26803f4071edcc6ca428 | [
"Apache-2.0"
] | null | null | null | from flask import make_response, jsonify
from .error_codes import ERROR_CODE_UNAUTHORIZED
JSON_MIME_TYPE = 'application/json'
def error(code, message):
return {
'code': code,
'error': message
}
def json_response(data = None, status = 200, headers = None):
headers = headers or {}
if ... | 22.918919 | 71 | 0.696934 | 106 | 848 | 5.396226 | 0.311321 | 0.078671 | 0.083916 | 0.059441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017725 | 0.201651 | 848 | 36 | 72 | 23.555556 | 0.827179 | 0 | 0 | 0 | 0 | 0 | 0.071934 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0.086957 | 0.173913 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1901300202425e97be7510d7375a2b665a025111 | 3,493 | py | Python | tests/test_surfaceconvectionalgorithminsideusercurve.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 19 | 2015-12-08T23:33:51.000Z | 2022-01-31T04:41:10.000Z | tests/test_surfaceconvectionalgorithminsideusercurve.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 2 | 2019-10-04T10:57:00.000Z | 2021-10-01T06:46:17.000Z | tests/test_surfaceconvectionalgorithminsideusercurve.py | marcelosalles/pyidf | c2f744211572b5e14e29522aac1421ba88addb0e | [
"Apache-2.0"
] | 7 | 2015-11-04T02:25:01.000Z | 2021-12-08T03:14:28.000Z | import os
import tempfile
import unittest
import logging
from pyidf import ValidationLevel
import pyidf
from pyidf.idf import IDF
from pyidf.advanced_construction import SurfaceConvectionAlgorithmInsideUserCurve
log = logging.getLogger(__name__)
class TestSurfaceConvectionAlgorithmInsideUserCurve(unittest.TestCase):
... | 60.224138 | 255 | 0.818208 | 441 | 3,493 | 5.956916 | 0.176871 | 0.091359 | 0.109631 | 0.068519 | 0.749144 | 0.725542 | 0.700419 | 0.679863 | 0.653597 | 0.641035 | 0 | 0.004303 | 0.135127 | 3,493 | 58 | 255 | 60.224138 | 0.865276 | 0.016891 | 0 | 0 | 0 | 0 | 0.091015 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.071429 | false | 0 | 0.190476 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1908d44c3de17b95fa84f4eb323b529111f5c146 | 9,461 | py | Python | pyrobot1/pinmap.py | gtraines/robot1-rpi | 24c85f991a169c9b667e42e133b9ddea7301ea1d | [
"MIT"
] | null | null | null | pyrobot1/pinmap.py | gtraines/robot1-rpi | 24c85f991a169c9b667e42e133b9ddea7301ea1d | [
"MIT"
] | null | null | null | pyrobot1/pinmap.py | gtraines/robot1-rpi | 24c85f991a169c9b667e42e133b9ddea7301ea1d | [
"MIT"
] | null | null | null | from collections import namedtuple
from itertools import chain
class RowNames:
OUTER="outer"
INNER="inner"
class PinTypes:
GPIO="gpio"
POWER_5V="5V+"
POWER_3V3="3V3+"
GND="GND"
I2C="i2c"
EEPROM="EEPROM"
Pin = namedtuple("Pin", "coords, id, pin_type, special_func")
PinCoords = namedtu... | 29.291022 | 77 | 0.532502 | 1,085 | 9,461 | 4.363134 | 0.100461 | 0.106886 | 0.08872 | 0.17744 | 0.772919 | 0.740811 | 0.71673 | 0.645543 | 0.597381 | 0.58027 | 0 | 0.023948 | 0.364444 | 9,461 | 323 | 78 | 29.291022 | 0.763346 | 0 | 0 | 0.531561 | 0 | 0 | 0.042063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0.003322 | 0.006645 | 0.006645 | 0.086379 | 0.019934 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ef774b736844f0f67bcae7c911911a8e0b196be7 | 311 | py | Python | rest_api/models.py | aop4/heroku-django-REST-template | f5e7ec845c957938101fc59b3f1df166fd8649a6 | [
"MIT"
] | null | null | null | rest_api/models.py | aop4/heroku-django-REST-template | f5e7ec845c957938101fc59b3f1df166fd8649a6 | [
"MIT"
] | null | null | null | rest_api/models.py | aop4/heroku-django-REST-template | f5e7ec845c957938101fc59b3f1df166fd8649a6 | [
"MIT"
] | null | null | null | from django.db import models
from django.conf import settings
from shortuuidfield import ShortUUIDField
# A useless example model
class Student(models.Model):
uuid = ShortUUIDField(editable=False)
name = models.CharField(max_length=100, default="")
def __str__(self):
return 'Student: ' + self.name
| 19.4375 | 52 | 0.765273 | 40 | 311 | 5.825 | 0.675 | 0.085837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011278 | 0.144695 | 311 | 15 | 53 | 20.733333 | 0.864662 | 0.073955 | 0 | 0 | 0 | 0 | 0.031802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
ef8ddc46e498a265a4cb84e15757fc2d19cedbfe | 237 | py | Python | testsuite/MaterialX/mx_absval/mx_absval_vector2/run.py | FrankFirsching/OpenShadingLanguage | 2789d4345a2865af669c8b3bb402a5bff9faf927 | [
"BSD-3-Clause"
] | 2 | 2019-10-05T20:01:05.000Z | 2021-07-29T19:28:18.000Z | testsuite/MaterialX/mx_absval/mx_absval_vector2/run.py | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | null | null | null | testsuite/MaterialX/mx_absval/mx_absval_vector2/run.py | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import os
loc = os.environ["OSLHOME"] + os.environ["MATERIALX_OSOS"]+ "/"
command = testshade("--print -param:type=float in.x -0.1 -param:type=float in.y -0.2 %smx_absval_vector2 -o out mx.exr") %loc
command = None | 47.4 | 126 | 0.696203 | 41 | 237 | 3.95122 | 0.756098 | 0.111111 | 0.17284 | 0.197531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.113924 | 237 | 5 | 127 | 47.4 | 0.747619 | 0.084388 | 0 | 0 | 0 | 0.25 | 0.552995 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
efb9feda726b81d94b342ae16af4ec9f189b0c61 | 537 | py | Python | sockfilter/real.py | cardforcoin/sockfilter | 431249e1351055e35e6411a695f9bab3bdaba0f6 | [
"MIT"
] | 1 | 2015-07-10T06:43:47.000Z | 2015-07-10T06:43:47.000Z | sockfilter/real.py | thesis/sockfilter | 431249e1351055e35e6411a695f9bab3bdaba0f6 | [
"MIT"
] | 1 | 2015-03-19T18:56:51.000Z | 2015-03-19T19:00:51.000Z | sockfilter/real.py | thesis/sockfilter | 431249e1351055e35e6411a695f9bab3bdaba0f6 | [
"MIT"
] | 2 | 2017-06-16T17:05:23.000Z | 2017-06-16T17:05:42.000Z | __all__ = ['restore', 'socket', 'socks', 'socket__socket']
import socket
socket__socket = socket.socket
socks__socksocket = None
try:
import socks
socks__socksocket = socks.socksocket
except ImportError:
socks = None
from .util import apply_attr_and_dict
def restore():
apply_attr_and_dict(socket, ... | 24.409091 | 64 | 0.763501 | 67 | 537 | 5.58209 | 0.283582 | 0.320856 | 0.240642 | 0.213904 | 0.315508 | 0.256684 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0.143389 | 537 | 21 | 65 | 25.571429 | 0.813043 | 0 | 0 | 0 | 0 | 0 | 0.132216 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.266667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
efbf35de402e69c6a3c11a516ea2acb88491a5fc | 334 | py | Python | unit_tests/gui_tester.py | ISoirar/pypp11 | 7f929064766a48d9cb3f3b29c93fdc938b83bac5 | [
"BSL-1.0"
] | 9 | 2016-06-07T19:14:53.000Z | 2020-02-28T09:06:19.000Z | unit_tests/gui_tester.py | ISoirar/pypp11 | 7f929064766a48d9cb3f3b29c93fdc938b83bac5 | [
"BSL-1.0"
] | 1 | 2018-08-15T11:33:40.000Z | 2018-08-15T11:33:40.000Z | unit_tests/gui_tester.py | ISoirar/pypp11 | 7f929064766a48d9cb3f3b29c93fdc938b83bac5 | [
"BSL-1.0"
] | 5 | 2016-06-23T09:37:00.000Z | 2019-12-18T13:51:29.000Z | # Copyright 2004-2008 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import os
import sys
import unittest
import autoconfig
from pyplusplus import gui
if __name__ == "__main__":
g... | 25.692308 | 66 | 0.745509 | 50 | 334 | 4.72 | 0.74 | 0.025424 | 0.076271 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050725 | 0.173653 | 334 | 13 | 67 | 25.692308 | 0.804348 | 0.547904 | 0 | 0 | 0 | 0 | 0.059259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.714286 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
efcce3ec5e0dfe4337cd3ff74728af38403ba45d | 3,872 | py | Python | tests/viz/api/test_smoke.py | vshulyak/ts-eval | 2049b1268cf4272f5fa1471851523f8da14dd84c | [
"MIT"
] | 1 | 2021-07-12T08:58:07.000Z | 2021-07-12T08:58:07.000Z | tests/viz/api/test_smoke.py | vshulyak/ts-eval | 2049b1268cf4272f5fa1471851523f8da14dd84c | [
"MIT"
] | null | null | null | tests/viz/api/test_smoke.py | vshulyak/ts-eval | 2049b1268cf4272f5fa1471851523f8da14dd84c | [
"MIT"
] | null | null | null | import pytest
from ts_eval.viz import metrics, time_slices
from ts_eval.viz.api import ts_inspect_2d, ts_inspect_3d
from ts_eval.viz.data_containers import xr_3d_factory
HOLIDAY_TEST_LOCATION = dict(country="DE", prov="BW")
def test_api__smoke(dataset_2d, dataset_3d):
dataset_3d_naive = dataset_3d - 1
data... | 25.986577 | 85 | 0.619318 | 507 | 3,872 | 4.299803 | 0.153846 | 0.111468 | 0.095413 | 0.082569 | 0.803211 | 0.75 | 0.68945 | 0.672936 | 0.672936 | 0.635321 | 0 | 0.057021 | 0.27531 | 3,872 | 148 | 86 | 26.162162 | 0.719886 | 0.01782 | 0 | 0.60177 | 0 | 0 | 0.021842 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 1 | 0.061947 | false | 0 | 0.035398 | 0 | 0.097345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eff8d4fdb4c04038eb2e4629eee264511e5c597d | 234 | py | Python | exercicios_python_brasil/estrutura_sequencial/03_soma_dois_valores.py | MartinaLima/Python | 94dee598bd799cfe8de4c6369cea84e97e5ed024 | [
"MIT"
] | null | null | null | exercicios_python_brasil/estrutura_sequencial/03_soma_dois_valores.py | MartinaLima/Python | 94dee598bd799cfe8de4c6369cea84e97e5ed024 | [
"MIT"
] | null | null | null | exercicios_python_brasil/estrutura_sequencial/03_soma_dois_valores.py | MartinaLima/Python | 94dee598bd799cfe8de4c6369cea84e97e5ed024 | [
"MIT"
] | null | null | null | print('POR FAVOR, INFORME DOIS VALORES!')
n1 = int(input('VALOR 1: '))
n2 = int(input('VALOR 2: '))
print('_'*40)
print('\033[1:33m{:^40}'.format('RESULTADO'))
print(f'\033[m>>> A soma de {n1} e {n2} é igual a \033[1m{n1+n2}.')
| 33.428571 | 68 | 0.589744 | 42 | 234 | 3.261905 | 0.642857 | 0.116788 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.145299 | 234 | 6 | 69 | 39 | 0.56 | 0 | 0 | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
5600eb0b06b6eba9803bc8dfc37330ed58ab0537 | 2,805 | py | Python | monitor/portal/models.py | zbonce/PromAnsible | 3dd98b535040e5758236159fb1028705d05d130d | [
"Apache-2.0"
] | 210 | 2018-04-23T04:09:52.000Z | 2022-03-23T06:40:20.000Z | monitor/portal/models.py | zbonce/PromAnsible | 3dd98b535040e5758236159fb1028705d05d130d | [
"Apache-2.0"
] | 16 | 2018-04-22T12:58:07.000Z | 2021-04-29T06:37:05.000Z | monitor/portal/models.py | zbonce/PromAnsible | 3dd98b535040e5758236159fb1028705d05d130d | [
"Apache-2.0"
] | 98 | 2018-04-23T03:26:20.000Z | 2021-12-21T07:54:09.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
# Create your models here.
# system parameters
class mn_DeviceType(models.Model):
type_name = models.CharField(max_length=30)
class mn_ServerGroup(models.Model):
group_name = models.CharField(max_length=30)
liste... | 35.506329 | 90 | 0.745455 | 384 | 2,805 | 5.226563 | 0.291667 | 0.254111 | 0.304933 | 0.406577 | 0.558047 | 0.401096 | 0.244145 | 0.138515 | 0.138515 | 0.091679 | 0 | 0.046571 | 0.157932 | 2,805 | 78 | 91 | 35.961538 | 0.803133 | 0.129768 | 0 | 0.14 | 0 | 0 | 0.026359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.02 | 0.04 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ef0718a97b61e29ded49fd5611a347e31e1691d3 | 101 | py | Python | kolibri_app_desktop_xdg_plugin/__init__.py | endlessm/kolibri-app-desktop-xdg-plugin | eb9f710f9dcf3604024004931407151a224b1ee2 | [
"MIT"
] | null | null | null | kolibri_app_desktop_xdg_plugin/__init__.py | endlessm/kolibri-app-desktop-xdg-plugin | eb9f710f9dcf3604024004931407151a224b1ee2 | [
"MIT"
] | 6 | 2021-03-15T23:51:34.000Z | 2021-09-29T00:21:53.000Z | kolibri_app_desktop_xdg_plugin/__init__.py | endlessm/kolibri-app-desktop-xdg-plugin | eb9f710f9dcf3604024004931407151a224b1ee2 | [
"MIT"
] | null | null | null | __version__ = "1.1.4"
default_app_config = "kolibri_app_desktop_xdg_plugin.apps.AppDesktopXDGConfig"
| 33.666667 | 78 | 0.841584 | 14 | 101 | 5.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031579 | 0.059406 | 101 | 2 | 79 | 50.5 | 0.757895 | 0 | 0 | 0 | 0 | 0 | 0.594059 | 0.544554 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ef0dc0cd65d8b401a310654cb6fd4ece56538acd | 403 | py | Python | lib/config/factory.py | dev1x-org/python-example | ad6b100d87d1ba8d5b77f160854dd3c387ded222 | [
"MIT"
] | null | null | null | lib/config/factory.py | dev1x-org/python-example | ad6b100d87d1ba8d5b77f160854dd3c387ded222 | [
"MIT"
] | null | null | null | lib/config/factory.py | dev1x-org/python-example | ad6b100d87d1ba8d5b77f160854dd3c387ded222 | [
"MIT"
] | null | null | null | #coding:utf-8
class ConfigFactory(object):
@staticmethod
def createSystemConfig():
from system import SystemConfig
return SystemConfig()
@staticmethod
def createViewConfig():
from view import ViewConfig
return ViewConfig()
@staticmethod
def createTemplateCon... | 23.705882 | 43 | 0.672457 | 33 | 403 | 8.212121 | 0.606061 | 0.166052 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.26799 | 403 | 16 | 44 | 25.1875 | 0.915254 | 0.029777 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0 | 0.230769 | 0 | 0.769231 | 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 | 0 | 1 | 0 | 0 | 3 |
ef3f0cba5ec724334c69a55e4dff34c018e35357 | 2,351 | py | Python | tests/conftest.py | pacdao/bonus-nft | a4a6dfa590dc2356eaf1172a499cf28f4fc9d692 | [
"MIT"
] | null | null | null | tests/conftest.py | pacdao/bonus-nft | a4a6dfa590dc2356eaf1172a499cf28f4fc9d692 | [
"MIT"
] | null | null | null | tests/conftest.py | pacdao/bonus-nft | a4a6dfa590dc2356eaf1172a499cf28f4fc9d692 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
import pytest
from brownie import Contract, PACDaoBonus1
@pytest.fixture(scope="function", autouse=True)
def isolate(fn_isolation):
# perform a chain rewind after completing each test, to ensure proper isolation
# https://eth-brownie.readthedocs.io/en/v1.10.3/tests-pytest-intro.html#isolat... | 24.747368 | 94 | 0.73373 | 265 | 2,351 | 6.441509 | 0.316981 | 0.114236 | 0.158172 | 0.152314 | 0.35208 | 0.246046 | 0.146456 | 0.059754 | 0.059754 | 0.059754 | 0 | 0.109744 | 0.135687 | 2,351 | 94 | 95 | 25.010638 | 0.730315 | 0.091876 | 0 | 0.271186 | 0 | 0 | 0.215898 | 0.158043 | 0 | 0 | 0.158043 | 0 | 0 | 1 | 0.254237 | false | 0.016949 | 0.033898 | 0.152542 | 0.525424 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ef5315a4269a5557fe12bc65ca3c8b262b2c0f63 | 336 | py | Python | libft/metrics/accuracy.py | kcosta42/Multilayer_Perceptron | 51e2f9e0532c6e1e9b826b12171903b780e0ba4f | [
"MIT"
] | 1 | 2020-09-26T10:40:45.000Z | 2020-09-26T10:40:45.000Z | libft/metrics/accuracy.py | kcosta42/Multilayer_Perceptron | 51e2f9e0532c6e1e9b826b12171903b780e0ba4f | [
"MIT"
] | null | null | null | libft/metrics/accuracy.py | kcosta42/Multilayer_Perceptron | 51e2f9e0532c6e1e9b826b12171903b780e0ba4f | [
"MIT"
] | null | null | null | import libft.backend.math as M
from libft.metrics.metric import MeanMetricWrapper
class Accuracy(MeanMetricWrapper):
"""Calculates how often predictions matches labels."""
def __init__(self):
super(Accuracy, self).__init__(self.accuracy)
def accuracy(self, y_true, y_pred):
return M.equal(... | 28 | 58 | 0.729167 | 44 | 336 | 5.295455 | 0.613636 | 0.06867 | 0.051502 | 0.085837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172619 | 336 | 11 | 59 | 30.545455 | 0.83813 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ef54c50ae35a5075a0b036ab01f075c4373b7997 | 99 | py | Python | src/app/scraper/__init__.py | glucn/tofino | 64c603b2356f22eecbf8fd592f3656a613646c53 | [
"MIT"
] | 1 | 2021-01-04T10:07:41.000Z | 2021-01-04T10:07:41.000Z | src/app/scraper/__init__.py | glucn/tofino | 64c603b2356f22eecbf8fd592f3656a613646c53 | [
"MIT"
] | 231 | 2020-11-05T06:37:11.000Z | 2022-03-28T03:02:49.000Z | src/app/scraper/__init__.py | glucn/tofino | 64c603b2356f22eecbf8fd592f3656a613646c53 | [
"MIT"
] | null | null | null | """ Scrapper Module """
from .scraper_manager import ScraperManager
__all__ = ['ScraperManager']
| 16.5 | 43 | 0.747475 | 9 | 99 | 7.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131313 | 99 | 5 | 44 | 19.8 | 0.802326 | 0.151515 | 0 | 0 | 0 | 0 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3263c2843156a7bd9ef22c1885ebdfe935cf8215 | 865 | py | Python | harvardit/harvardit/models.py | arochaga/harvardit | 67e2661942fb5be8bd8a68e078fd11c8899c59de | [
"Apache-2.0"
] | 4 | 2018-05-22T20:56:00.000Z | 2018-08-16T07:14:05.000Z | harvardit/harvardit/models.py | arochaga/harvardit | 67e2661942fb5be8bd8a68e078fd11c8899c59de | [
"Apache-2.0"
] | null | null | null | harvardit/harvardit/models.py | arochaga/harvardit | 67e2661942fb5be8bd8a68e078fd11c8899c59de | [
"Apache-2.0"
] | 4 | 2018-05-23T13:54:16.000Z | 2018-09-07T19:30:09.000Z | from django.db import models
from django.contrib.auth.models import User
class Student(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE, primary_key=True)
sc_tx = models.CharField(max_length=66)
sc_address = models.CharField(max_length=50, null=True, blank=True)
def __str__(s... | 30.892857 | 81 | 0.717919 | 116 | 865 | 5.12931 | 0.327586 | 0.10084 | 0.121008 | 0.161345 | 0.694118 | 0.694118 | 0.638655 | 0.638655 | 0.579832 | 0.579832 | 0 | 0.01105 | 0.163006 | 865 | 27 | 82 | 32.037037 | 0.810773 | 0 | 0 | 0.578947 | 0 | 0 | 0.006944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.105263 | 0.157895 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
32c1fab1f3c0b097c0a2d6522e6857ef548adf4a | 55 | py | Python | backend-project/small_eod/notes/__init__.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 64 | 2019-12-30T11:24:03.000Z | 2021-06-24T01:04:56.000Z | backend-project/small_eod/notes/__init__.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 465 | 2018-06-13T21:43:43.000Z | 2022-01-04T23:33:56.000Z | backend-project/small_eod/notes/__init__.py | WlodzimierzKorza/small_eod | 027022bd71122a949a2787d0fb86518df80e48cd | [
"MIT"
] | 72 | 2018-12-02T19:47:03.000Z | 2022-01-04T22:54:49.000Z | default_app_config = "small_eod.notes.apps.NoteConfig"
| 27.5 | 54 | 0.836364 | 8 | 55 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.563636 | 0.563636 | 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 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
086a2bf99dd626f255e2fad89852bcaef905bec7 | 314 | py | Python | src/001-050/P040-Champernowne.py | lord483/Project-Euler-Solutions | ba9e9451460d631774dfa75d61cedc1918a462c2 | [
"MIT"
] | null | null | null | src/001-050/P040-Champernowne.py | lord483/Project-Euler-Solutions | ba9e9451460d631774dfa75d61cedc1918a462c2 | [
"MIT"
] | null | null | null | src/001-050/P040-Champernowne.py | lord483/Project-Euler-Solutions | ba9e9451460d631774dfa75d61cedc1918a462c2 | [
"MIT"
] | null | null | null | s = ''
i = 1
while (True):
s = s + str(i)
i = i + 1
if len(s) > 1000000:
break
print(i)
r = 1
r = r * int(s[1 - 1])
r = r * int(s[10 - 1])
r = r * int(s[100 - 1])
r = r * int(s[1000 - 1])
r = r * int(s[10000 - 1])
r = r * int(s[100000 - 1])
r = r * int(s[1000000 - 1])
print("result = ", r)
| 14.952381 | 27 | 0.433121 | 66 | 314 | 2.060606 | 0.287879 | 0.102941 | 0.154412 | 0.308824 | 0.360294 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21327 | 0.328025 | 314 | 20 | 28 | 15.7 | 0.43128 | 0 | 0 | 0 | 0 | 0 | 0.028662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
088bb4878d0772169782c0380c56925b0f9161c1 | 245 | py | Python | software/reachy/utils/__init__.py | pollen-robotics/reachy-2.0 | 1721c2d93737e576e328bfdb78376d1b0163d3d6 | [
"Apache-1.1"
] | 167 | 2018-02-07T21:42:13.000Z | 2021-03-06T08:25:45.000Z | software/reachy/utils/__init__.py | pollen-robotics/reachy-2.0 | 1721c2d93737e576e328bfdb78376d1b0163d3d6 | [
"Apache-1.1"
] | 39 | 2019-11-27T13:11:59.000Z | 2021-01-12T09:33:26.000Z | software/reachy/utils/__init__.py | pollen-robotics/reachy-2.0 | 1721c2d93737e576e328bfdb78376d1b0163d3d6 | [
"Apache-1.1"
] | 47 | 2018-05-27T02:59:28.000Z | 2021-03-07T14:56:10.000Z | """Utility toolbox submodules."""
import numpy as np
from scipy.spatial.transform import Rotation as R
def rot(axis, deg):
"""Compute 3D rotation matrix given euler rotation."""
return R.from_euler(axis, np.deg2rad(deg)).as_matrix()
| 22.272727 | 58 | 0.722449 | 36 | 245 | 4.861111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009662 | 0.155102 | 245 | 10 | 59 | 24.5 | 0.835749 | 0.310204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
08a3e6beafccb25eb6b296548b0692bd68282967 | 8,627 | py | Python | gc3_query/lib/open_api/swagger_formats/sec_lists_formats.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | gc3_query/lib/open_api/swagger_formats/sec_lists_formats.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | gc3_query/lib/open_api/swagger_formats/sec_lists_formats.py | ericmharris/gc3-query | 0bf5226130aafbb1974aeb96d93ee1996833e87d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
gc3-query.sec_list [9/9/2018 11:47 AM]
~~~~~~~~~~~~~~~~
<DESCR SHORT>
<DESCR>
"""
# ################################################################################
# ## Standard Library Imports
# import sys, os
# from typing import List, Optional, Any, Callable, Dict, Tuple, Union, S... | 38.004405 | 171 | 0.673003 | 1,098 | 8,627 | 4.958106 | 0.229508 | 0.022043 | 0.038024 | 0.022043 | 0.521492 | 0.486591 | 0.44471 | 0.404115 | 0.404115 | 0.404115 | 0 | 0.029387 | 0.179553 | 8,627 | 226 | 172 | 38.172566 | 0.739757 | 0.450562 | 0 | 0.164706 | 0 | 0.011765 | 0.138734 | 0.063303 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.070588 | 0.117647 | 0.541176 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
08ac1b6653f4da4fbfcc76bc4caf2ec32a37819a | 1,185 | py | Python | 001383WiseplatMarathPyBegin/day6_igra-kamen-nozhnicy-bumaga.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001383WiseplatMarathPyBegin/day6_igra-kamen-nozhnicy-bumaga.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 001383WiseplatMarathPyBegin/day6_igra-kamen-nozhnicy-bumaga.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | igrok1 = 0
igrok2 = 0
win = 0
draw = 0
lose = 0
list_choises = ['Камень', 'Ножницы', 'Бумага']
print("(Камень - 1, Ножницы - 2, Бумага - 3) Игрок 1, введите ваш номер:")
igrok1 = int(input())
while 1 < igrok1 > 3:
print("Введен некорректный номер")
print("(Камень - 1, Ножницы - 2, Бумага - 3) Игрок 1, введите... | 29.625 | 82 | 0.618565 | 178 | 1,185 | 4.078652 | 0.224719 | 0.106061 | 0.090909 | 0.14876 | 0.772727 | 0.772727 | 0.713499 | 0.713499 | 0.669421 | 0.570248 | 0 | 0.069869 | 0.227004 | 1,185 | 39 | 83 | 30.384615 | 0.722707 | 0 | 0 | 0.454545 | 0 | 0 | 0.403376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.393939 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
08b193a8407c0a1b09e074112ec348c78937e984 | 1,253 | py | Python | test/test_issue1055.py | achaudhary997/rdflib | 5d07a19d02cde77b38e7fa6303c5dcdd368b805b | [
"BSD-3-Clause"
] | null | null | null | test/test_issue1055.py | achaudhary997/rdflib | 5d07a19d02cde77b38e7fa6303c5dcdd368b805b | [
"BSD-3-Clause"
] | null | null | null | test/test_issue1055.py | achaudhary997/rdflib | 5d07a19d02cde77b38e7fa6303c5dcdd368b805b | [
"BSD-3-Clause"
] | null | null | null | import unittest
from rdflib import Graph, URIRef
class TestIssue1055(unittest.TestCase):
def test_issue_1055(self):
exp_tuple1 = (URIRef('http://example.com/foo'), URIRef('http://example.com/p1'),
URIRef('http://example.com/bar1'))
exp_tuple2 = (URIRef('http://example.co... | 41.766667 | 92 | 0.597765 | 152 | 1,253 | 4.796053 | 0.302632 | 0.233196 | 0.396433 | 0.466392 | 0.508916 | 0.508916 | 0.477366 | 0.392318 | 0.392318 | 0.392318 | 0 | 0.025253 | 0.209896 | 1,253 | 29 | 93 | 43.206897 | 0.711111 | 0 | 0 | 0 | 0 | 0 | 0.312909 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
08f8d53de23537dd5ccf7ca1fc133c331721d7eb | 689 | py | Python | src/core/tests/test_position.py | weisongye/saycbridge | 3cc4e3363008d7d9232bcde18db28823dae042ae | [
"BSD-3-Clause"
] | 16 | 2015-03-19T09:21:00.000Z | 2021-08-13T08:21:39.000Z | src/core/tests/test_position.py | weisongye/saycbridge | 3cc4e3363008d7d9232bcde18db28823dae042ae | [
"BSD-3-Clause"
] | 19 | 2015-01-05T06:13:49.000Z | 2016-08-11T00:00:25.000Z | src/core/tests/test_position.py | weisongye/saycbridge | 3cc4e3363008d7d9232bcde18db28823dae042ae | [
"BSD-3-Clause"
] | 10 | 2015-09-03T00:48:55.000Z | 2020-11-09T09:29:59.000Z | # Copyright (c) 2013 The SAYCBridge Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest2
from core.position import *
class PositionTest(unittest2.TestCase):
def test_partner(self):
self.assertEquals(NORTH.part... | 29.956522 | 72 | 0.719884 | 91 | 689 | 5.285714 | 0.582418 | 0.199584 | 0.218295 | 0.216216 | 0.274428 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019538 | 0.182874 | 689 | 22 | 73 | 31.318182 | 0.834814 | 0.233672 | 0 | 0 | 0 | 0 | 0.015267 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 1 | 0.153846 | false | 0 | 0.153846 | 0 | 0.384615 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3e9694567fc62fec32f908ba0ef224e185fcec4d | 32 | py | Python | __init__.py | thelahunginjeet/pyica | 5a409717048ad61d700d399267b8944d64f35374 | [
"BSD-3-Clause"
] | 7 | 2016-12-06T23:51:35.000Z | 2021-04-20T13:08:02.000Z | __init__.py | thelahunginjeet/pyica | 5a409717048ad61d700d399267b8944d64f35374 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | thelahunginjeet/pyica | 5a409717048ad61d700d399267b8944d64f35374 | [
"BSD-3-Clause"
] | 9 | 2015-05-05T12:51:57.000Z | 2020-02-10T18:19:55.000Z | __all__ = ['fastica','sources']
| 16 | 31 | 0.65625 | 3 | 32 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3ef1272fbb17a8ad3d0b2d48b45a9888f8640d78 | 368 | py | Python | app/utils/times.py | albert-lii/myzone | 401acb84320b717e59860d95ad4aa4742b762158 | [
"MIT"
] | null | null | null | app/utils/times.py | albert-lii/myzone | 401acb84320b717e59860d95ad4aa4742b762158 | [
"MIT"
] | 1 | 2021-03-31T19:51:33.000Z | 2021-03-31T19:51:33.000Z | app/utils/times.py | albert-lii/myzone | 401acb84320b717e59860d95ad4aa4742b762158 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
"""
:author: Albert Li
:copyright: © 2019 Albert Li
:time: 2020/2/13 14:29
"""
import arrow
def timestamp_to_str(timestamp: int, pattern: str = "YYYY-MM-DD HH:mm"):
"""时间戳转格式化日期字符串
:param timestamp: 时间戳
:param pattern: 日期格式
:return: 格式化后的日期字符串
"""
return a... | 19.368421 | 72 | 0.619565 | 49 | 368 | 4.632653 | 0.734694 | 0.070485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.217391 | 368 | 18 | 73 | 20.444444 | 0.729167 | 0.461957 | 0 | 0 | 0 | 0 | 0.134615 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
411d922c4962ee94d1a26a9ac135f1b8c8a3d4ba | 175 | py | Python | wdbfrontend/beddit/urls.py | lrmreyes/Beddit | c393fce7917a20746e64638e8d2517c716ed40aa | [
"MIT"
] | null | null | null | wdbfrontend/beddit/urls.py | lrmreyes/Beddit | c393fce7917a20746e64638e8d2517c716ed40aa | [
"MIT"
] | null | null | null | wdbfrontend/beddit/urls.py | lrmreyes/Beddit | c393fce7917a20746e64638e8d2517c716ed40aa | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('', views.homepage, name='homepage'),
path('posts/<int:pk>/', views.postpage, name='post'),
]
| 17.5 | 57 | 0.651429 | 22 | 175 | 5.181818 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165714 | 175 | 9 | 58 | 19.444444 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f5c3b90e1114a45f174270cf9eaad673133db889 | 858 | py | Python | gmpy_cffi/version.py | sn6uv/gmpy_cffi | d076e2cfe5d1c5dc0d274c008034995d36d7ecca | [
"BSD-3-Clause"
] | 5 | 2016-04-27T05:07:22.000Z | 2018-12-31T00:11:18.000Z | gmpy_cffi/version.py | sn6uv/gmpy_cffi | d076e2cfe5d1c5dc0d274c008034995d36d7ecca | [
"BSD-3-Clause"
] | 3 | 2016-04-28T12:53:21.000Z | 2018-07-27T17:10:40.000Z | gmpy_cffi/version.py | sn6uv/gmpy_cffi | d076e2cfe5d1c5dc0d274c008034995d36d7ecca | [
"BSD-3-Clause"
] | 5 | 2016-04-28T12:05:22.000Z | 2019-09-03T01:58:39.000Z | from gmpy_cffi.interface import ffi, gmp
__version__ = '0.0.1'
def version():
"""
version() -> string
Return string giving current GMPY2 version.
"""
return __version__
def mp_version():
"""
mp_version() -> string
Return string giving the name and version of the multiple precision... | 19.953488 | 71 | 0.649184 | 111 | 858 | 4.837838 | 0.315315 | 0.096834 | 0.141527 | 0.18622 | 0.476723 | 0.212291 | 0 | 0 | 0 | 0 | 0 | 0.010622 | 0.231935 | 858 | 42 | 72 | 20.428571 | 0.804249 | 0.462704 | 0 | 0 | 0 | 0 | 0.072581 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f5eab8c0114af68baf68b0d1934d9a4af8b35bef | 381 | py | Python | docsie_universal_importer/providers/google_cloud_storage/serializers.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | docsie_universal_importer/providers/google_cloud_storage/serializers.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | docsie_universal_importer/providers/google_cloud_storage/serializers.py | Zarif99/test-universal | 062972ed64d9f048de702ab1edf4025cffca2abb | [
"BSD-3-Clause"
] | null | null | null | from rest_framework import serializers
from docsie_universal_importer.providers.base import StorageTreeRequestSerializer, DownloaderRequestSerializer
class GoogleCloudStorageTreeRequestSerializer(StorageTreeRequestSerializer):
bucket = serializers.CharField()
class GoogleCloudStorageDownloaderSerializer(Downlo... | 31.75 | 110 | 0.871391 | 26 | 381 | 12.653846 | 0.653846 | 0.103343 | 0.158055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08399 | 381 | 11 | 111 | 34.636364 | 0.942693 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
eb275f71091aff4badff39bbe782c325f1bc9389 | 4,925 | gyp | Python | binding.gyp | Digt/trusted-crypto | 79a9eb21ff10b9facc95f162d089f614b127c89a | [
"Apache-2.0"
] | 17 | 2017-07-27T11:25:11.000Z | 2018-11-23T09:05:57.000Z | binding.gyp | TrustedPlus/trusted-crypto | 79a9eb21ff10b9facc95f162d089f614b127c89a | [
"Apache-2.0"
] | 12 | 2016-07-13T08:14:00.000Z | 2017-02-02T12:52:33.000Z | binding.gyp | Digt/trusted-crypto | 79a9eb21ff10b9facc95f162d089f614b127c89a | [
"Apache-2.0"
] | 8 | 2017-02-07T12:55:59.000Z | 2019-05-07T15:49:49.000Z | {
"targets": [
{
"target_name": "trusted",
"dependencies": [
"deps/wrapper/wrapper.gyp:wrapper",
],
"sources": [
"src/node/main.cpp",
"src/node/helper.cpp",
"src/node/stdafx.cpp",
... | 38.476563 | 97 | 0.329746 | 339 | 4,925 | 4.663717 | 0.342183 | 0.168248 | 0.227704 | 0.15623 | 0.283365 | 0.175838 | 0.107527 | 0.053131 | 0 | 0 | 0 | 0.006679 | 0.543959 | 4,925 | 127 | 98 | 38.779528 | 0.69724 | 0 | 0 | 0.24 | 0 | 0 | 0.376244 | 0.233503 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
eb45f7387c1748069a71dc1513f29bbd0756c28d | 409 | py | Python | wms/encryption/hash_password.py | minhlong94/SWE_IT1706IU | 8ab5004abbd1965a14088f608a600726dfd6ca83 | [
"MIT"
] | null | null | null | wms/encryption/hash_password.py | minhlong94/SWE_IT1706IU | 8ab5004abbd1965a14088f608a600726dfd6ca83 | [
"MIT"
] | null | null | null | wms/encryption/hash_password.py | minhlong94/SWE_IT1706IU | 8ab5004abbd1965a14088f608a600726dfd6ca83 | [
"MIT"
] | null | null | null | import base64
import hashlib
import bcrypt
def hash_password(password="python", encryption_file=None):
"""Hash password function
This file helps to hash the password using bcrypt.
Returns:
None
"""
hashed_pw = bcrypt.hashpw(base64.b64encode(hashlib.sha512(password.encode()).digest()), ... | 21.526316 | 109 | 0.691932 | 53 | 409 | 5.245283 | 0.622642 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027356 | 0.195599 | 409 | 18 | 110 | 22.722222 | 0.817629 | 0.227384 | 0 | 0 | 0 | 0 | 0.030717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.285714 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
de19302815b496d6f9578dcb3dbd6c1461b75ab2 | 1,190 | py | Python | env/Lib/site-packages/OpenGL/GL/SGIX/pixel_texture.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/GL/SGIX/pixel_texture.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/GL/SGIX/pixel_texture.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension SGIX.pixel_texture
This module customises the behaviour of the
OpenGL.raw.GL.SGIX.pixel_texture to provide a more
Python-friendly API
Overview (from the spec)
This extension allows the color components of pixel groups to be used as
texture coordinates, effectively converting a color image in... | 37.1875 | 73 | 0.811765 | 163 | 1,190 | 5.858896 | 0.521472 | 0.062827 | 0.08377 | 0.04712 | 0.105759 | 0.105759 | 0.077487 | 0.077487 | 0 | 0 | 0 | 0 | 0.137815 | 1,190 | 32 | 74 | 37.1875 | 0.930799 | 0.711765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
de2432ff982c00687caf0482e48159872c49c4a0 | 2,815 | py | Python | _from_pydot/sync_server/rest_apis/jira_issues.py | owasp-sbot/pbx-gs-python-utils | f448aa36c4448fc04d30c3a5b25640ea4d44a267 | [
"Apache-2.0"
] | 3 | 2018-12-14T15:43:46.000Z | 2019-04-25T07:44:58.000Z | _from_pydot/sync_server/rest_apis/jira_issues.py | owasp-sbot/pbx-gs-python-utils | f448aa36c4448fc04d30c3a5b25640ea4d44a267 | [
"Apache-2.0"
] | 1 | 2019-05-11T14:19:37.000Z | 2019-05-11T14:51:04.000Z | _from_pydot/sync_server/rest_apis/jira_issues.py | owasp-sbot/pbx-gs-python-utils | f448aa36c4448fc04d30c3a5b25640ea4d44a267 | [
"Apache-2.0"
] | 4 | 2018-12-27T04:54:14.000Z | 2019-05-11T14:07:47.000Z | from flask_restplus import Namespace, Resource
from osbot_jira.api.jira_server.API_Jira import API_Jira
from API_Elastic_Jira import API_Elastic_Jira
api = Namespace('jira', description='JIRA issues related operations')
jira_api = API_Jira()
# @api.route('/jira-web-... | 35.632911 | 99 | 0.630906 | 346 | 2,815 | 4.82659 | 0.184971 | 0.111976 | 0.092216 | 0.079641 | 0.581437 | 0.441916 | 0.441916 | 0.441916 | 0.416766 | 0.354491 | 0 | 0.002291 | 0.224867 | 2,815 | 78 | 100 | 36.089744 | 0.763061 | 0.846536 | 0 | 0 | 0 | 0 | 0.092896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
de280e8eb5e3b65a1c0a965376904ef843232b3e | 81 | py | Python | lib/__init__.py | jwilk/urlycue | 51b6ed6f9f7c98a52b92a4eccd04f10fbc575ae6 | [
"MIT"
] | 1 | 2017-12-14T18:31:22.000Z | 2017-12-14T18:31:22.000Z | lib/__init__.py | jwilk/urlycue | 51b6ed6f9f7c98a52b92a4eccd04f10fbc575ae6 | [
"MIT"
] | 1 | 2022-01-29T20:40:23.000Z | 2022-01-29T20:40:23.000Z | lib/__init__.py | jwilk/urlycue | 51b6ed6f9f7c98a52b92a4eccd04f10fbc575ae6 | [
"MIT"
] | 1 | 2019-09-19T11:02:22.000Z | 2019-09-19T11:02:22.000Z | '''
urlycue's private modules
'''
type(1 or 0 @ 0) # Python >= 3.5 is required
| 13.5 | 45 | 0.604938 | 14 | 81 | 3.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 0.222222 | 81 | 5 | 46 | 16.2 | 0.698413 | 0.641975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
de4dd57c3748743beca6545301c969abd747157b | 661 | py | Python | minions/models.py | sara/Assemble-the-Minions | e061c067e855fd54dffdc1b1b5a8be6db661a851 | [
"MIT"
] | null | null | null | minions/models.py | sara/Assemble-the-Minions | e061c067e855fd54dffdc1b1b5a8be6db661a851 | [
"MIT"
] | null | null | null | minions/models.py | sara/Assemble-the-Minions | e061c067e855fd54dffdc1b1b5a8be6db661a851 | [
"MIT"
] | null | null | null | #!venv/bin/python
from minions import db
from flask.ext.login import UserMixin
class Ambassador(db.Model):
__tablename__ = 'ambassadors'
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(45))
phone = db.Column(db.String)
ethnicity = db.Column(db.String(45))
gender = db.Col... | 30.045455 | 48 | 0.677761 | 98 | 661 | 4.469388 | 0.377551 | 0.219178 | 0.273973 | 0.292237 | 0.438356 | 0.150685 | 0.150685 | 0.150685 | 0 | 0 | 0 | 0.025641 | 0.173979 | 661 | 21 | 49 | 31.47619 | 0.776557 | 0.024206 | 0 | 0.111111 | 0 | 0 | 0.031056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
de53ea7b94cf04d71240795e1eed9c129d97a054 | 503 | py | Python | speedinfo/managers.py | IgorCode/django-speedinfo | dd3c25e0a6fe2ab640c1010bd12d54ae74749093 | [
"MIT"
] | 50 | 2017-11-08T16:07:28.000Z | 2022-03-27T09:47:12.000Z | speedinfo/managers.py | IgorCode/django-speedinfo | dd3c25e0a6fe2ab640c1010bd12d54ae74749093 | [
"MIT"
] | 8 | 2018-02-01T15:56:52.000Z | 2021-01-19T06:04:00.000Z | speedinfo/managers.py | IgorCode/django-speedinfo | dd3c25e0a6fe2ab640c1010bd12d54ae74749093 | [
"MIT"
] | 9 | 2017-11-26T17:39:21.000Z | 2021-06-10T20:29:13.000Z | # coding: utf-8
from django.db import models
from speedinfo import profiler
class ViewProfilerQuerySet(models.QuerySet):
"""
Overrides standard QuerySet behaviour to return objects
from profiler storage. Hack is working only for `all()`,
`order_by()` and `count()` methods and was made for integratio... | 25.15 | 76 | 0.701789 | 66 | 503 | 5.242424 | 0.651515 | 0.086705 | 0.069364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002513 | 0.208748 | 503 | 19 | 77 | 26.473684 | 0.866834 | 0.417495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
de54594f7694b23e8b843a5336c31082bad692bd | 23,538 | py | Python | intersight/model/inventory_base_all_of.py | CiscoDevNet/intersight-python | 04b721f37c3044646a91c185c7259edfb991557a | [
"Apache-2.0"
] | 5 | 2021-12-16T15:13:32.000Z | 2022-03-29T16:09:54.000Z | intersight/model/inventory_base_all_of.py | CiscoDevNet/intersight-python | 04b721f37c3044646a91c185c7259edfb991557a | [
"Apache-2.0"
] | 4 | 2022-01-25T19:05:51.000Z | 2022-03-29T20:18:37.000Z | intersight/model/inventory_base_all_of.py | CiscoDevNet/intersight-python | 04b721f37c3044646a91c185c7259edfb991557a | [
"Apache-2.0"
] | 2 | 2020-07-07T15:01:08.000Z | 2022-01-31T04:27:35.000Z | """
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environments in more advan... | 55.253521 | 1,678 | 0.62979 | 2,110 | 23,538 | 6.934597 | 0.227962 | 0.008201 | 0.005467 | 0.00328 | 0.649399 | 0.646938 | 0.640787 | 0.640787 | 0.640787 | 0.636003 | 0 | 0.003599 | 0.268035 | 23,538 | 425 | 1,679 | 55.383529 | 0.845667 | 0.261874 | 0 | 0.740741 | 0 | 0 | 0.571809 | 0.266035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009259 | false | 0.003086 | 0.009259 | 0.003086 | 0.049383 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.