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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a9b4b297a8e8c01403f41616577e0326ef465c6 | 2,078 | py | Python | tests/architectures/test_octagons.py | QuantMarkFramework/circuit-analyser | 45b0bc8916964234510c0378cc71c6a902937044 | [
"MIT"
] | null | null | null | tests/architectures/test_octagons.py | QuantMarkFramework/circuit-analyser | 45b0bc8916964234510c0378cc71c6a902937044 | [
"MIT"
] | null | null | null | tests/architectures/test_octagons.py | QuantMarkFramework/circuit-analyser | 45b0bc8916964234510c0378cc71c6a902937044 | [
"MIT"
] | null | null | null | import unittest
from analyser.architectures import octagons
class TestOctagons(unittest.TestCase):
def test_7_qubits(self):
oneOctagon = [(0, 1), (1, 2), (2, 3), (3, 4), (4, 5), (5, 6), (6, 7), (7, 0)]
self.assertEqual(sorted(octagons(7, aslist=True)), sorted(oneOctagon))
def test_24_qubits(self):
oct1 = [(0... | 50.682927 | 89 | 0.499038 | 368 | 2,078 | 2.782609 | 0.165761 | 0.03418 | 0.014648 | 0.019531 | 0.770508 | 0.761719 | 0.624023 | 0.624023 | 0.532227 | 0.532227 | 0 | 0.244643 | 0.19153 | 2,078 | 40 | 90 | 51.95 | 0.364881 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 1 | 0.147059 | false | 0 | 0.058824 | 0 | 0.235294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 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 |
4aa90b674bb278ca883c067b723e6ae6f52ccc8e | 1,477 | py | Python | cards/Cards.py | Meowcolm024/FGO-One | 7b93f1923f08f8964c6b4720cf769fe72061860c | [
"MIT"
] | 57 | 2018-10-30T11:53:18.000Z | 2021-11-24T08:11:40.000Z | cards/Cards.py | PowerOlive/FGO-One | 7b93f1923f08f8964c6b4720cf769fe72061860c | [
"MIT"
] | 3 | 2019-01-22T11:57:21.000Z | 2019-07-25T07:40:53.000Z | cards/Cards.py | PowerOlive/FGO-One | 7b93f1923f08f8964c6b4720cf769fe72061860c | [
"MIT"
] | 19 | 2019-02-11T08:32:13.000Z | 2020-08-31T06:31:50.000Z | __metaclass__ = type
from cards.attack import *
from cards.kind import *
class Card:
def __init__(self):
self.crd = []
self.mark = ""
self.type = ""
self.priority = []
self.atk = 1.0
self.chain = 0
self.servant = []
self.serial = ""
def get_atk(... | 27.867925 | 44 | 0.507109 | 187 | 1,477 | 3.930481 | 0.240642 | 0.257143 | 0.194558 | 0.247619 | 0.265306 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.383886 | 1,477 | 52 | 45 | 28.403846 | 0.792308 | 0.088016 | 0 | 0 | 0 | 0 | 0.007457 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.125 | 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 |
4aab9a71f7bf932ece916ac735c37d73fb6c9b93 | 928 | py | Python | insights/parsers/tests/test_keystone_log.py | mglantz/insights-core | 6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4 | [
"Apache-2.0"
] | 121 | 2017-05-30T20:23:25.000Z | 2022-03-23T12:52:15.000Z | insights/parsers/tests/test_keystone_log.py | mglantz/insights-core | 6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4 | [
"Apache-2.0"
] | 1,977 | 2017-05-26T14:36:03.000Z | 2022-03-31T10:38:53.000Z | insights/parsers/tests/test_keystone_log.py | mglantz/insights-core | 6f20bbbe03f53ee786f483b2a28d256ff1ad0fd4 | [
"Apache-2.0"
] | 244 | 2017-05-30T20:22:57.000Z | 2022-03-26T10:09:39.000Z | from insights.parsers.keystone_log import KeystoneLog
from insights.tests import context_wrap
from datetime import datetime
KEYSTONE_LOG = """
2016-11-09 14:31:48.681 1082 WARNING oslo_config.cfg [-] Option "rabbit_userid" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignore... | 51.555556 | 193 | 0.757543 | 151 | 928 | 4.549669 | 0.456954 | 0.043668 | 0.046579 | 0.058224 | 0.518195 | 0.454148 | 0.43377 | 0.43377 | 0.43377 | 0.43377 | 0 | 0.146584 | 0.132543 | 928 | 17 | 194 | 54.588235 | 0.706832 | 0 | 0 | 0 | 0 | 0.307692 | 0.641164 | 0.09375 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.076923 | false | 0.076923 | 0.230769 | 0 | 0.307692 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4aad9dab4e863f94473ddc050b9d0ac1a04d713a | 453 | py | Python | tests/functional/pages/index.py | SergeyNazarovSam/SergeyPythonfirst | fd2bddf1f5ba28c6802be921177917f369f7ef2e | [
"MIT"
] | 2 | 2020-12-17T20:19:21.000Z | 2020-12-22T12:46:43.000Z | tests/functional/pages/index.py | alexander-sidorov/tms-z43 | 61ecd204f5de4e97ff0300f6ef91c36c2bcda31c | [
"MIT"
] | 4 | 2021-04-20T08:40:30.000Z | 2022-02-10T07:50:30.000Z | tests/functional/pages/index.py | SergeyNazarovSam/SergeyPythonfirst | fd2bddf1f5ba28c6802be921177917f369f7ef2e | [
"MIT"
] | 1 | 2021-02-10T06:42:19.000Z | 2021-02-10T06:42:19.000Z | from selenium.webdriver.common.by import By
from .abstract import PageElement
from .abstract import PageObject
class IndexPage(PageObject):
nav = PageElement(By.CSS_SELECTOR, "nav")
nav_content = PageElement(By.ID, "navbarSupportedContent")
nav_items = PageElement(By.CSS_SELECTOR, "#navbarSupportedConten... | 34.846154 | 74 | 0.768212 | 55 | 453 | 6.181818 | 0.4 | 0.191176 | 0.188235 | 0.282353 | 0.2 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130243 | 453 | 12 | 75 | 37.75 | 0.862944 | 0 | 0 | 0 | 0 | 0 | 0.16777 | 0.099338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4353b74395869f31297d6df1e43df202dc8b30de | 204 | py | Python | mWindowsMacros/SUCCEEDED.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | 2 | 2019-08-01T15:08:25.000Z | 2021-01-30T07:29:34.000Z | mWindowsMacros/SUCCEEDED.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | null | null | null | mWindowsMacros/SUCCEEDED.py | SkyLined/mWindowsSDK | 931cc9d30316893662a3dc4e200dabe97122d216 | [
"CC-BY-4.0"
] | null | null | null | from ..mWindowsPrimitives import HRESULT;
def SUCCEEDED(oHResult):
assert isinstance(oHResult, HRESULT), \
"oHResult %s is not an HRESULT" % repr(oHResult);
return oHResult.value < 0x80000000;
| 29.142857 | 55 | 0.735294 | 23 | 204 | 6.521739 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.161765 | 204 | 6 | 56 | 34 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.142157 | 0 | 0 | 0 | 0.04902 | 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 |
4354a4f85dcf298b6b6945d9b561bef66bd68954 | 1,750 | py | Python | venv/Lib/site-packages/dcase_util/tools/__init__.py | AlexBruBuxo/TFG--ASC-Deep-Learning | 589ec7179e99ddb27b1f0a77e084d556db9fc75f | [
"MIT"
] | null | null | null | venv/Lib/site-packages/dcase_util/tools/__init__.py | AlexBruBuxo/TFG--ASC-Deep-Learning | 589ec7179e99ddb27b1f0a77e084d556db9fc75f | [
"MIT"
] | null | null | null | venv/Lib/site-packages/dcase_util/tools/__init__.py | AlexBruBuxo/TFG--ASC-Deep-Learning | 589ec7179e99ddb27b1f0a77e084d556db9fc75f | [
"MIT"
] | null | null | null | # !/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Tools
=====
Utility classes for specific purpose, mainly for processing DCASE challenge submissions for publishing.
DatasetPacker
^^^^^^^^^^^^^
*dcase_util.tools.DatasetPacker*
DatasetPacker class can be used to create DCASE styled dataset packages where different ... | 24.305556 | 113 | 0.764 | 177 | 1,750 | 7.40678 | 0.531073 | 0.070175 | 0.032037 | 0.021358 | 0.024409 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000675 | 0.153714 | 1,750 | 71 | 114 | 24.647887 | 0.884537 | 0.919429 | 0 | 0 | 0 | 0 | 0.007634 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
436039c0ef60380e5233a549f45d62031e1c8e30 | 1,192 | py | Python | release/stubs.min/Autodesk/Revit/DB/__init___parts/NavisworksExportScope.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/NavisworksExportScope.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Autodesk/Revit/DB/__init___parts/NavisworksExportScope.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class NavisworksExportScope(Enum, IComparable, IFormattable, IConvertible):
"""
An enumerated type listing possible "Element Scopes" of Navisworks Exporter.
enum NavisworksExportScope,values: Model (0),SelectedElements (2),View (1)
"""
def __eq__(self, *args):
""" x.__eq__(y) <==> x==y... | 25.361702 | 221 | 0.582215 | 131 | 1,192 | 4.572519 | 0.381679 | 0.133556 | 0.140234 | 0.15025 | 0.215359 | 0.215359 | 0.215359 | 0.188648 | 0.188648 | 0.188648 | 0 | 0.003521 | 0.285235 | 1,192 | 46 | 222 | 25.913043 | 0.699531 | 0.404362 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.4 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
43649822b6dd9fb446e590b7b8646f28ecd4d4e6 | 265 | py | Python | tests/pdk/finfet/test_resistor.py | kkunal1408/ALIGN-public | 51ab942d393f19346bc179b991d42b4e35285e08 | [
"BSD-3-Clause"
] | 119 | 2019-05-14T18:44:34.000Z | 2022-03-17T01:01:02.000Z | tests/pdk/finfet/test_resistor.py | kkunal1408/ALIGN-public | 51ab942d393f19346bc179b991d42b4e35285e08 | [
"BSD-3-Clause"
] | 717 | 2019-04-03T15:36:35.000Z | 2022-03-31T21:56:47.000Z | tests/pdk/finfet/test_resistor.py | kkunal1408/ALIGN-public | 51ab942d393f19346bc179b991d42b4e35285e08 | [
"BSD-3-Clause"
] | 34 | 2019-04-01T21:21:27.000Z | 2022-03-21T09:46:57.000Z | from align.pdk.finfet import tfr_prim
try:
from .utils import export_to_viewer
except BaseException:
from utils import export_to_viewer
def test_zero():
pg = tfr_prim()
data = pg.generate(ports=['a', 'b'])
export_to_viewer("test_tfr_0", data)
| 22.083333 | 40 | 0.713208 | 41 | 265 | 4.341463 | 0.585366 | 0.134831 | 0.235955 | 0.235955 | 0.325843 | 0.325843 | 0 | 0 | 0 | 0 | 0 | 0.004608 | 0.181132 | 265 | 11 | 41 | 24.090909 | 0.815668 | 0 | 0 | 0 | 0 | 0 | 0.045283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
438852286da20dfdb88bf7a06a41cb1598a47b16 | 482 | py | Python | python-threatexchange/threatexchange/content_type/text.py | dxdc/ThreatExchange | f9aff6dd0c90e6c47ffe4151bced4de1676d84f6 | [
"BSD-3-Clause"
] | 1 | 2022-02-08T01:32:58.000Z | 2022-02-08T01:32:58.000Z | python-threatexchange/threatexchange/content_type/text.py | Samyakk123/ThreatExchange | 447b5e9738aff5d1cc895f6208a0d3bc15a14ebc | [
"BSD-3-Clause"
] | null | null | null | python-threatexchange/threatexchange/content_type/text.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 text content type.
"""
from threatexchange.content_type.content_base import ContentType
class TextContent(ContentType):
"""
Content that represents static blobs of text.
Examples might be... | 22.952381 | 70 | 0.705394 | 64 | 482 | 5.28125 | 0.78125 | 0.04142 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213693 | 482 | 20 | 71 | 24.1 | 0.891821 | 0.682573 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
43c1d6789152b5e608bb2f044ee165cbdcec8a3e | 14,384 | py | Python | transcribers/nmea0183.py | fkie-cad/ipal_transcriber | c0d38e0118e3e64bbc2baf5e53b895dc613a6024 | [
"MIT"
] | 7 | 2021-11-08T16:57:50.000Z | 2022-01-03T16:00:44.000Z | transcribers/nmea0183.py | fkie-cad/ipal_transcriber | c0d38e0118e3e64bbc2baf5e53b895dc613a6024 | [
"MIT"
] | null | null | null | transcribers/nmea0183.py | fkie-cad/ipal_transcriber | c0d38e0118e3e64bbc2baf5e53b895dc613a6024 | [
"MIT"
] | null | null | null | from enum import Enum, auto
from transcriber.messages import IpalMessage, Activity
from transcribers.transcriber import Transcriber
from transcribers.ais import decode_ais
import transcriber.settings as settings
class VariableType(Enum):
NUMBER = auto()
STRING = auto()
class NMEA0183(Transcriber):
# A... | 30.866953 | 94 | 0.516963 | 1,193 | 14,384 | 6.186924 | 0.182733 | 0.31703 | 0.499932 | 0.326785 | 0.572822 | 0.553854 | 0.530551 | 0.505352 | 0.495597 | 0.486113 | 0 | 0.009494 | 0.392241 | 14,384 | 465 | 95 | 30.933333 | 0.83482 | 0.058537 | 0 | 0.626263 | 0 | 0 | 0.028998 | 0 | 0 | 0 | 0.000296 | 0 | 0.005051 | 1 | 0.015152 | false | 0 | 0.012626 | 0.002525 | 0.080808 | 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 |
43dca61fdb176b134354f4971c834f51136b629f | 6,808 | py | Python | src/p4p/wrapper.py | hhslepicka/p4p | 3dee1053ddbf319891119160672b547af9cf6bd8 | [
"BSD-3-Clause"
] | null | null | null | src/p4p/wrapper.py | hhslepicka/p4p | 3dee1053ddbf319891119160672b547af9cf6bd8 | [
"BSD-3-Clause"
] | 3 | 2019-04-11T01:40:02.000Z | 2020-03-24T20:21:29.000Z | src/p4p/wrapper.py | hhslepicka/p4p | 3dee1053ddbf319891119160672b547af9cf6bd8 | [
"BSD-3-Clause"
] | 2 | 2019-04-11T01:28:20.000Z | 2020-01-27T22:25:37.000Z | # This module defines sub-classes of C extension classes
# which add functionality that is better expressed in python.
# These types are then pushed (by _magic) down into extension
# code where they will be used as the types passed to callbacks.
from ._p4p import TypeBase, ValueBase
__all__ = (
'Type',
'Value'... | 30.123894 | 126 | 0.569771 | 873 | 6,808 | 4.379152 | 0.300115 | 0.014648 | 0.035574 | 0.04813 | 0.194088 | 0.150144 | 0.128695 | 0.102537 | 0.082919 | 0.05807 | 0 | 0.007265 | 0.312573 | 6,808 | 225 | 127 | 30.257778 | 0.809615 | 0.626175 | 0 | 0.119403 | 0 | 0 | 0.043719 | 0 | 0 | 0 | 0 | 0.004444 | 0 | 1 | 0.223881 | false | 0.014925 | 0.014925 | 0.134328 | 0.58209 | 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 |
78e9cb2008ddd052ff8424814443b63065f2537f | 109 | py | Python | url_short/extensions.py | drishtigehi/url_shortener | 939e19024518dbd3c9fd3fa33f9c5d4188cabdce | [
"MIT"
] | null | null | null | url_short/extensions.py | drishtigehi/url_shortener | 939e19024518dbd3c9fd3fa33f9c5d4188cabdce | [
"MIT"
] | null | null | null | url_short/extensions.py | drishtigehi/url_shortener | 939e19024518dbd3c9fd3fa33f9c5d4188cabdce | [
"MIT"
] | null | null | null | from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy() #hover over sql alchemy to get good debug info
| 27.25 | 65 | 0.779817 | 16 | 109 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183486 | 109 | 3 | 66 | 36.333333 | 0.94382 | 0.412844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
78f94f3c45829e23dcfee53700d66c06569cb968 | 50 | py | Python | tiktokpy/__init__.py | sourcery-ai-bot/tiktokpy | d95e610b25fbb0b6faaf8c7044781e95f3007939 | [
"MIT"
] | 324 | 2020-06-08T18:29:34.000Z | 2022-03-31T18:27:20.000Z | tiktokpy/__init__.py | sourcery-ai-bot/tiktokpy | d95e610b25fbb0b6faaf8c7044781e95f3007939 | [
"MIT"
] | 198 | 2020-06-27T13:29:11.000Z | 2022-03-29T01:58:10.000Z | tiktokpy/__init__.py | sourcery-ai-bot/tiktokpy | d95e610b25fbb0b6faaf8c7044781e95f3007939 | [
"MIT"
] | 68 | 2020-08-10T23:46:19.000Z | 2022-03-30T19:33:50.000Z | from .bot import TikTokPy
__all__ = ["TikTokPy"]
| 12.5 | 25 | 0.72 | 6 | 50 | 5.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 3 | 26 | 16.666667 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.16 | 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 |
600c2b34016888b89b14c36d8fa5ca1abe086982 | 4,084 | py | Python | tests/test_ansi_values.py | technikian/sty | 4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a | [
"Apache-2.0"
] | 170 | 2018-02-10T18:21:21.000Z | 2022-03-16T17:50:12.000Z | tests/test_ansi_values.py | technikian/sty | 4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a | [
"Apache-2.0"
] | 44 | 2018-02-26T15:41:44.000Z | 2022-02-05T13:34:25.000Z | tests/test_ansi_values.py | technikian/sty | 4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a | [
"Apache-2.0"
] | 13 | 2018-05-24T17:49:12.000Z | 2022-03-25T06:42:07.000Z | from sty import rs
from sty.renderfunc import sgr
items = [
sgr(1) + "1 bold" + rs.all,
sgr(2) + "2 faint" + rs.all,
sgr(3) + "3 italic" + rs.all,
sgr(4) + "4 underl" + rs.all,
sgr(5) + "5 blink" + rs.all,
sgr(6) + "6 ?????" + rs.all,
sgr(7) + "7 inverse" + rs.all,
sgr(8) + "8 hidden" +... | 32.935484 | 88 | 0.366552 | 586 | 4,084 | 2.542662 | 0.228669 | 0.369128 | 0.585235 | 0.01745 | 0.021477 | 0.021477 | 0.021477 | 0.021477 | 0 | 0 | 0 | 0.13933 | 0.275955 | 4,084 | 123 | 89 | 33.203252 | 0.364559 | 0 | 0 | 0.016667 | 0 | 0 | 0.241675 | 0.020078 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.016667 | 0 | 0.016667 | 0.025 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
60159f6f96ebfc292316764dcacc163bd7d48b8f | 561 | py | Python | py/tests/testKaratsubaMultiply/test_KaratsubaMultiply.py | zcemycl/algoTest | 9518fb2b60fd83c85aeb2ab809ff647aaf643f0a | [
"MIT"
] | 1 | 2022-01-26T16:33:45.000Z | 2022-01-26T16:33:45.000Z | py/tests/testKaratsubaMultiply/test_KaratsubaMultiply.py | zcemycl/algoTest | 9518fb2b60fd83c85aeb2ab809ff647aaf643f0a | [
"MIT"
] | null | null | null | py/tests/testKaratsubaMultiply/test_KaratsubaMultiply.py | zcemycl/algoTest | 9518fb2b60fd83c85aeb2ab809ff647aaf643f0a | [
"MIT"
] | 1 | 2022-01-26T16:35:44.000Z | 2022-01-26T16:35:44.000Z |
import unittest
from parameterized import parameterized as p
from solns.karatsubaMultiply.karatsubaMultiply import *
class UnitTest_KaratsubaMultiply(unittest.TestCase):
@p.expand([
[3141592653589793238462643383279502884197169399375105820974944592,
2718281828459045235360287471352662497757247093699... | 40.071429 | 136 | 0.823529 | 37 | 561 | 12.432432 | 0.621622 | 0.008696 | 0.013043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.517241 | 0.121212 | 561 | 13 | 137 | 43.153846 | 0.415822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.272727 | 0 | 0.454545 | 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 |
6018454614580668feac50d139b50b2c8483ae4e | 206 | py | Python | ui/__init__.py | AndrewWasHere/photobooth | eb34e5125ab0631e564503b579158d5766112ee1 | [
"BSD-3-Clause"
] | 4 | 2016-12-27T15:41:25.000Z | 2018-01-17T09:10:34.000Z | ui/__init__.py | AndrewWasHere/photobooth | eb34e5125ab0631e564503b579158d5766112ee1 | [
"BSD-3-Clause"
] | 1 | 2018-01-13T20:10:33.000Z | 2018-11-18T23:19:57.000Z | ui/__init__.py | AndrewWasHere/photobooth | eb34e5125ab0631e564503b579158d5766112ee1 | [
"BSD-3-Clause"
] | null | null | null | """
Copyright 2015, Andrew Lin
All rights reserved.
This software is licensed under the BSD 3-Clause License.
See LICENSE.txt at the root of the project or
https://opensource.org/licenses/BSD-3-Clause
"""
| 22.888889 | 57 | 0.76699 | 34 | 206 | 4.647059 | 0.823529 | 0.050633 | 0.126582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.140777 | 206 | 8 | 58 | 25.75 | 0.858757 | 0.956311 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
601b6faad6e401f11c66ebf6009fc4290e1acc53 | 176 | py | Python | TWED_c/setup.py | vishalbelsare/TWED | e0758762ab0a7b7ac0b974a99d5ab187793b3d54 | [
"MIT"
] | 4 | 2020-12-28T13:28:02.000Z | 2022-03-26T13:46:20.000Z | TWED_c/setup.py | vishalbelsare/TWED | e0758762ab0a7b7ac0b974a99d5ab187793b3d54 | [
"MIT"
] | 1 | 2022-03-26T13:45:56.000Z | 2022-03-26T16:39:15.000Z | TWED_c/setup.py | vishalbelsare/TWED | e0758762ab0a7b7ac0b974a99d5ab187793b3d54 | [
"MIT"
] | 3 | 2020-12-28T13:28:05.000Z | 2021-02-24T20:25:02.000Z | from distutils.core import setup, Extension
import numpy
# define the extension module
TWED = Extension('TWED', sources=['TWED.c'])
# run the setup
setup(ext_modules=[TWED])
| 19.555556 | 44 | 0.75 | 25 | 176 | 5.24 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130682 | 176 | 8 | 45 | 22 | 0.856209 | 0.232955 | 0 | 0 | 0 | 0 | 0.076336 | 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 |
60242460b72302ab5f9e02ed87c2e27bac1260fc | 108 | py | Python | arquivos/2.py | marcospb19/python_brasil_19_talk | f55f8a6508c3c6db5c319c0aa7488fcda708d8f4 | [
"MIT"
] | 4 | 2019-10-24T01:46:14.000Z | 2020-11-28T18:06:46.000Z | arquivos/2.py | marcospb19/python_brasil_19_talk | f55f8a6508c3c6db5c319c0aa7488fcda708d8f4 | [
"MIT"
] | null | null | null | arquivos/2.py | marcospb19/python_brasil_19_talk | f55f8a6508c3c6db5c319c0aa7488fcda708d8f4 | [
"MIT"
] | null | null | null | from re import findall
pattern = "[xu]"
text = "uxxuxuu"
result = findall(pattern , text)
print(result)
| 10.8 | 32 | 0.685185 | 14 | 108 | 5.285714 | 0.714286 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 108 | 9 | 33 | 12 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 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 |
603452c5a24d89d0e0748c2b3dede760a0c20315 | 119 | py | Python | src/superdense_coding_example/eveTest.py | tudorsmt/QChat | f940d556898eea3b97490f0df7b8878d712cd837 | [
"MIT"
] | null | null | null | src/superdense_coding_example/eveTest.py | tudorsmt/QChat | f940d556898eea3b97490f0df7b8878d712cd837 | [
"MIT"
] | null | null | null | src/superdense_coding_example/eveTest.py | tudorsmt/QChat | f940d556898eea3b97490f0df7b8878d712cd837 | [
"MIT"
] | null | null | null | from QChat.server import QChatServer
# Set up the root server and spin
root = QChatServer("Eve")
while True:
pass
| 17 | 36 | 0.739496 | 18 | 119 | 4.888889 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193277 | 119 | 6 | 37 | 19.833333 | 0.916667 | 0.260504 | 0 | 0 | 0 | 0 | 0.034884 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
603f0b3561df2bbbca7b1a3ebed528d0f4e63780 | 8,625 | py | Python | ABXpy/test/test_task.py | primatelang/ABXpy | 03efdae83edaf54cf071418637d66d54c95ac627 | [
"MIT"
] | null | null | null | ABXpy/test/test_task.py | primatelang/ABXpy | 03efdae83edaf54cf071418637d66d54c95ac627 | [
"MIT"
] | null | null | null | ABXpy/test/test_task.py | primatelang/ABXpy | 03efdae83edaf54cf071418637d66d54c95ac627 | [
"MIT"
] | null | null | null | """This test script contains tests for the basic parameters of task.py
"""
# -*- coding: utf-8 -*-
import os
import sys
import warnings
package_path = os.path.dirname(os.path.dirname(
os.path.dirname(os.path.realpath(__file__))))
if not(package_path in sys.path):
sys.path.append(package_path)
import ABXpy.tas... | 33.560311 | 75 | 0.578203 | 1,127 | 8,625 | 4.269743 | 0.12866 | 0.0399 | 0.064838 | 0.024938 | 0.721114 | 0.71675 | 0.701787 | 0.693267 | 0.655029 | 0.644223 | 0 | 0.038734 | 0.278609 | 8,625 | 256 | 76 | 33.691406 | 0.734651 | 0.081739 | 0 | 0.65534 | 0 | 0 | 0.133865 | 0 | 0 | 0 | 0 | 0 | 0.179612 | 1 | 0.053398 | false | 0.038835 | 0.033981 | 0 | 0.106796 | 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 |
604c5b2fb3a52238f2196bc5df87ef2b172c06e6 | 1,579 | py | Python | observables.py | PapStatMechMat/SeaPy | 1b30792c011a23172a1ce33fe8ebea976561d59a | [
"BSD-2-Clause"
] | 1 | 2021-05-26T05:16:05.000Z | 2021-05-26T05:16:05.000Z | observables.py | PapStatMechMat/SeaPy | 1b30792c011a23172a1ce33fe8ebea976561d59a | [
"BSD-2-Clause"
] | null | null | null | observables.py | PapStatMechMat/SeaPy | 1b30792c011a23172a1ce33fe8ebea976561d59a | [
"BSD-2-Clause"
] | null | null | null | # Authors: Stefanos Papanikolaou <stefanos.papanikolaou@mail.wvu.edu>
# BSD 2-Clause License
# Copyright (c) 2019, PapStatMechMat
# All rights reserved.
# How to cite SeaPy:
# S. Papanikolaou, Data-Rich, Equation-Free Predictions of Plasticity and Damage in Solids, (under review in Phys. Rev. Materials) arXiv:1905.1128... | 30.960784 | 154 | 0.49715 | 219 | 1,579 | 3.493151 | 0.3379 | 0.156863 | 0.027451 | 0.047059 | 0.231373 | 0.163399 | 0.143791 | 0.143791 | 0.143791 | 0.143791 | 0 | 0.114574 | 0.309056 | 1,579 | 50 | 155 | 31.58 | 0.586618 | 0.383154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.045455 | 0.272727 | 0.681818 | 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 |
605677ab2ff8f30cabea97e8f690c9e65a861c20 | 230 | py | Python | tests/endtoend/blob_functions/put_blob_trigger/main.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | 277 | 2018-01-25T23:13:03.000Z | 2022-02-22T06:12:04.000Z | tests/endtoend/blob_functions/put_blob_trigger/main.py | gohar94/azure-functions-python-worker | 4322e53ddbcc1eea40c1b061b42653336d9003f6 | [
"MIT"
] | 731 | 2018-01-18T18:54:38.000Z | 2022-03-29T00:01:46.000Z | tests/endtoend/blob_functions/put_blob_trigger/main.py | YunchuWang/azure-functions-python-worker | 1f23e038a506c6412e4efbf07eb471a6afab0c2a | [
"MIT"
] | 109 | 2018-01-18T02:22:57.000Z | 2022-02-15T18:59:54.000Z | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import azure.functions as azf
def main(req: azf.HttpRequest, file: azf.Out[str]) -> str:
file.set(req.get_body())
return 'OK'
| 25.555556 | 59 | 0.713043 | 34 | 230 | 4.794118 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165217 | 230 | 8 | 60 | 28.75 | 0.848958 | 0.386957 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6057e7b21e9369294c3c2b556bcdcc3420bfb1a0 | 34 | py | Python | Lily/sum.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 4 | 2022-03-20T10:59:53.000Z | 2022-03-25T18:28:04.000Z | Lily/sum.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | null | null | null | Lily/sum.py | asumit499/Python-BootCamp | 0b99f9cb862189d13ad291eac12a8be6c46357f5 | [
"MIT"
] | 15 | 2022-03-12T11:49:10.000Z | 2022-03-15T06:22:55.000Z | a=2
b=5
sum=a+b
print("Sum=",sum)
| 6.8 | 17 | 0.588235 | 10 | 34 | 2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.117647 | 34 | 4 | 18 | 8.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
60917d051b3c8b3a8e428553d91890834123326c | 7,761 | py | Python | backend/labels/migrations/0001_initial.py | alairice/doccano | 27eff5caec1ec6ad31f1e74bd1b73b1dd43228dc | [
"MIT"
] | 2,082 | 2018-05-09T07:16:21.000Z | 2019-12-01T16:41:50.000Z | backend/labels/migrations/0001_initial.py | alairice/doccano | 27eff5caec1ec6ad31f1e74bd1b73b1dd43228dc | [
"MIT"
] | 365 | 2018-07-31T13:49:05.000Z | 2019-11-29T11:25:17.000Z | backend/labels/migrations/0001_initial.py | alairice/doccano | 27eff5caec1ec6ad31f1e74bd1b73b1dd43228dc | [
"MIT"
] | 476 | 2018-08-17T06:43:57.000Z | 2019-12-01T09:47:08.000Z | # Generated by Django 3.2.11 on 2022-01-27 00:32
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.db.models.expressions
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(sett... | 44.603448 | 120 | 0.39415 | 498 | 7,761 | 5.963855 | 0.210843 | 0.040404 | 0.065993 | 0.088889 | 0.67037 | 0.67037 | 0.67037 | 0.67037 | 0.654882 | 0.654882 | 0 | 0.012083 | 0.50947 | 7,761 | 173 | 121 | 44.861272 | 0.768059 | 0.005927 | 0 | 0.626506 | 1 | 0 | 0.08933 | 0.002982 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.024096 | 0 | 0.048193 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 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 |
60924245bc2b85700af637f48d08a52d3bd162b8 | 161 | py | Python | profil_penerima/apps.py | PBP-A07/pedulilindungi2.0 | d94d680cc04cedc363db2a889a1f6a1e10177b1e | [
"Unlicense"
] | 1 | 2021-12-18T04:14:43.000Z | 2021-12-18T04:14:43.000Z | profil_penerima/apps.py | ridjkytgr/pedulilindungi2.0 | 7dcaf90b99d301800bf3c019fd373cedb1734678 | [
"Unlicense"
] | 2 | 2021-11-03T10:04:17.000Z | 2021-11-04T18:15:51.000Z | profil_penerima/apps.py | ridjkytgr/pedulilindungi2.0 | 7dcaf90b99d301800bf3c019fd373cedb1734678 | [
"Unlicense"
] | 2 | 2021-10-13T06:42:47.000Z | 2021-11-07T11:43:42.000Z | from django.apps import AppConfig
class ProfilPenerimaConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'profil_penerima'
| 23 | 56 | 0.782609 | 18 | 161 | 6.833333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136646 | 161 | 6 | 57 | 26.833333 | 0.884892 | 0 | 0 | 0 | 0 | 0 | 0.273292 | 0.180124 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 |
60a1557e6a6979fd9f117302b75bb0819322487d | 99 | py | Python | tests/apps/debug/healthcheck_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | 55 | 2019-05-05T01:20:58.000Z | 2022-01-10T18:03:05.000Z | tests/apps/debug/healthcheck_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | 222 | 2019-05-03T16:31:26.000Z | 2021-08-28T23:49:03.000Z | tests/apps/debug/healthcheck_test.py | BinSquare/busy-beaver | b8063a7e434eb47e638697719896880781f9783f | [
"MIT"
] | 19 | 2019-04-27T19:49:32.000Z | 2020-06-30T19:52:09.000Z | def test_healthcheck(client):
rv = client.get("/healthcheck")
assert rv.status_code == 200
| 24.75 | 35 | 0.69697 | 13 | 99 | 5.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.171717 | 99 | 3 | 36 | 33 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
60c15f2155c17a5ca7cbff1d97a51c34265afec2 | 21,682 | py | Python | dataloader.py | Kamino666/Video-Captioning-Transformer | 06e6c95d9bf11d61f5825be3c640e489521f9934 | [
"Apache-2.0"
] | 14 | 2021-10-17T00:30:51.000Z | 2022-03-21T09:37:09.000Z | dataloader.py | Kamino666/Video-Captioning-Transformer | 06e6c95d9bf11d61f5825be3c640e489521f9934 | [
"Apache-2.0"
] | 11 | 2021-11-07T08:54:50.000Z | 2022-03-17T08:42:40.000Z | dataloader.py | Kamino666/Video-Captioning-Transformer | 06e6c95d9bf11d61f5825be3c640e489521f9934 | [
"Apache-2.0"
] | 5 | 2022-01-04T03:08:30.000Z | 2022-03-16T12:30:49.000Z | import numpy as np
from torch.utils.data import Dataset, DataLoader
from torch.utils.data.distributed import DistributedSampler
import torch
from torch import Tensor
import json
import pathlib as plb
from tqdm import tqdm
import random
import abc
from typing import List, Tuple, Any, Callable, Union, Dict
# out of d... | 40.679174 | 111 | 0.608754 | 2,983 | 21,682 | 4.143144 | 0.070734 | 0.020633 | 0.027348 | 0.023384 | 0.7855 | 0.740513 | 0.703212 | 0.68177 | 0.659196 | 0.654988 | 0 | 0.009716 | 0.27848 | 21,682 | 532 | 112 | 40.755639 | 0.780299 | 0.051932 | 0 | 0.639706 | 0 | 0 | 0.044678 | 0 | 0 | 0 | 0 | 0 | 0.009804 | 1 | 0.090686 | false | 0 | 0.026961 | 0.007353 | 0.230392 | 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 |
60cb7b71b1655682b83fffa27dbbcd10681d3803 | 201 | py | Python | tests/distributed/test_remote_flows/executors/container_executor/executor.py | hirakjyoti08/jina | 437943dd2dab87e22b0662b2081f13250918ec01 | [
"Apache-2.0"
] | 1 | 2022-02-09T14:14:06.000Z | 2022-02-09T14:14:06.000Z | tests/distributed/test_remote_flows/executors/container_executor/executor.py | hirakjyoti08/jina | 437943dd2dab87e22b0662b2081f13250918ec01 | [
"Apache-2.0"
] | 1 | 2022-03-08T18:46:28.000Z | 2022-03-08T18:47:24.000Z | tests/distributed/test_remote_flows/executors/container_executor/executor.py | hirakjyoti08/jina | 437943dd2dab87e22b0662b2081f13250918ec01 | [
"Apache-2.0"
] | 1 | 2022-03-17T04:50:07.000Z | 2022-03-17T04:50:07.000Z | from jina import Executor, requests
class ContainerExecutor(Executor):
@requests
def foo(self, docs, **kwargs):
for idx, doc in enumerate(docs):
doc.tags['counter'] = idx
| 22.333333 | 40 | 0.641791 | 24 | 201 | 5.375 | 0.791667 | 0.248062 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248756 | 201 | 8 | 41 | 25.125 | 0.854305 | 0 | 0 | 0 | 0 | 0 | 0.034826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
60d45bf1c72529956763e7cb3e486630b4520be6 | 695 | py | Python | setup.py | jhsoby/stemmeberettigelse | 04dd20073b5e06945ae532094a5e6946d53d82e2 | [
"Unlicense"
] | null | null | null | setup.py | jhsoby/stemmeberettigelse | 04dd20073b5e06945ae532094a5e6946d53d82e2 | [
"Unlicense"
] | null | null | null | setup.py | jhsoby/stemmeberettigelse | 04dd20073b5e06945ae532094a5e6946d53d82e2 | [
"Unlicense"
] | 2 | 2020-11-13T12:12:07.000Z | 2020-11-16T08:05:54.000Z | #!/usr/bin/env python
# encoding=utf-8
from setuptools import setup
import os, sys
setup(
name='stemmeberettigelse',
version='1.0.0',
author='Dan Michael O. Heggø',
author_email='danmichaelo@gmail.com',
url='https://github.com/danmichaelo/stemmeberettigelse',
license='MIT',
pack... | 24.821429 | 62 | 0.57554 | 68 | 695 | 5.852941 | 0.691176 | 0.190955 | 0.251256 | 0.19598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019841 | 0.27482 | 695 | 27 | 63 | 25.740741 | 0.769841 | 0.05036 | 0 | 0 | 0 | 0 | 0.468085 | 0.031915 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
60dde42649804921528c43f82c53b24cd3d8cb05 | 445 | py | Python | Chap 1/Favorite-Quote-(project3).py | dwhickox/NCHS-Programming-1-Python-Programs | 96eba3826585a81a015740f59329c7a06afc9db7 | [
"MIT"
] | null | null | null | Chap 1/Favorite-Quote-(project3).py | dwhickox/NCHS-Programming-1-Python-Programs | 96eba3826585a81a015740f59329c7a06afc9db7 | [
"MIT"
] | null | null | null | Chap 1/Favorite-Quote-(project3).py | dwhickox/NCHS-Programming-1-Python-Programs | 96eba3826585a81a015740f59329c7a06afc9db7 | [
"MIT"
] | null | null | null | # David Hickox
# Jan 12 17
# HickoxProject3
# Displayes Favorite Quote
# prints my Favorite Quote
print("A turbo is God's way of saying there isn't enough cylinders!")
print("-The American (Mike Skinner)")
print()
#waits for an enter press to exit the program
input("Press Enter to continue")
#this should work too
#in... | 29.666667 | 127 | 0.750562 | 75 | 445 | 4.453333 | 0.6 | 0.077844 | 0.047904 | 0.065868 | 0.281437 | 0.281437 | 0.281437 | 0.281437 | 0.281437 | 0.281437 | 0 | 0.013333 | 0.157303 | 445 | 14 | 128 | 31.785714 | 0.877333 | 0.622472 | 0 | 0 | 0 | 0 | 0.698113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.75 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
60e5e2e95ec1e64c4adfb3913e7ce8c14a2b07c2 | 116 | py | Python | Ex_1007.py | dpsaraiva/Exercises_Python_Training | edd4c6449cc0bb0afd643d01ca34d352d4404edb | [
"MIT"
] | null | null | null | Ex_1007.py | dpsaraiva/Exercises_Python_Training | edd4c6449cc0bb0afd643d01ca34d352d4404edb | [
"MIT"
] | null | null | null | Ex_1007.py | dpsaraiva/Exercises_Python_Training | edd4c6449cc0bb0afd643d01ca34d352d4404edb | [
"MIT"
] | null | null | null | a = int(input())
b = int(input())
c = int(input())
d = int(input())
dif = a * b - c * d
print(f'DIFERENCA = {dif}')
| 16.571429 | 27 | 0.525862 | 21 | 116 | 2.904762 | 0.47619 | 0.52459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 116 | 6 | 28 | 19.333333 | 0.663043 | 0 | 0 | 0 | 0 | 0 | 0.146552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
60e6939dda35d4e60ef7205afa2f333915a5e8f3 | 32,113 | py | Python | sdk/python/pulumi_talos/cluster_config.py | frezbo/pulumi-provider-talos | ee4867569269e4376aefd6cf227e7ff8a34dae90 | [
"Apache-2.0"
] | 2 | 2022-02-07T11:06:49.000Z | 2022-02-22T10:39:11.000Z | sdk/python/pulumi_talos/cluster_config.py | frezbo/pulumi-provider-talos | ee4867569269e4376aefd6cf227e7ff8a34dae90 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_talos/cluster_config.py | frezbo/pulumi-provider-talos | ee4867569269e4376aefd6cf227e7ff8a34dae90 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by pulumigen. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from . import _utilities
from . import output... | 44.477839 | 161 | 0.651232 | 3,527 | 32,113 | 5.672526 | 0.066062 | 0.082471 | 0.081671 | 0.038936 | 0.82836 | 0.750787 | 0.665467 | 0.638477 | 0.580697 | 0.480982 | 0 | 0.002184 | 0.244356 | 32,113 | 721 | 162 | 44.539528 | 0.822303 | 0.234889 | 0 | 0.483444 | 1 | 0 | 0.142399 | 0.035351 | 0 | 0 | 0 | 0 | 0 | 1 | 0.145695 | false | 0.002208 | 0.015453 | 0 | 0.258278 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
60fbe820099ba9b81d1c5930445d236a9f282538 | 334 | py | Python | forums/filters.py | yanwarsolah/ourforums | af4c0464b8f960dda0e1d352590b8a7d981d6cc7 | [
"MIT"
] | 3 | 2020-05-21T16:52:25.000Z | 2020-05-26T02:31:00.000Z | forums/filters.py | yanwarsolah/ourforums | af4c0464b8f960dda0e1d352590b8a7d981d6cc7 | [
"MIT"
] | 9 | 2021-03-19T03:40:24.000Z | 2022-01-13T02:45:09.000Z | forums/filters.py | yanwarsolah/ourforums | af4c0464b8f960dda0e1d352590b8a7d981d6cc7 | [
"MIT"
] | 1 | 2020-05-21T20:07:34.000Z | 2020-05-21T20:07:34.000Z | import django_filters
from forums.models import Category, Topic
class CategoryFilter(django_filters.FilterSet):
class Meta:
model = Category
fields = ['name', 'user__username',]
class TopicFilter(django_filters.FilterSet):
class Meta:
model = Topic
fields = ['subject', 'auth... | 22.266667 | 48 | 0.688623 | 35 | 334 | 6.371429 | 0.571429 | 0.174888 | 0.197309 | 0.242152 | 0.32287 | 0.32287 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218563 | 334 | 15 | 48 | 22.266667 | 0.854406 | 0 | 0 | 0.2 | 0 | 0 | 0.122388 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8807530741fb0991092fe19da6c4a51521880020 | 232 | py | Python | froide/foirequestfollower/admin.py | manonthemat/froide | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | [
"MIT"
] | null | null | null | froide/foirequestfollower/admin.py | manonthemat/froide | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | [
"MIT"
] | null | null | null | froide/foirequestfollower/admin.py | manonthemat/froide | 698c49935eaf2e922f3c9f6a46af0fd545ccbbbb | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import FoiRequestFollower
class FoiRequestFollowerAdmin(admin.ModelAdmin):
raw_id_fields = ('user', 'request',)
admin.site.register(FoiRequestFollower, FoiRequestFollowerAdmin)
| 21.090909 | 64 | 0.806034 | 23 | 232 | 8.043478 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107759 | 232 | 10 | 65 | 23.2 | 0.89372 | 0 | 0 | 0 | 0 | 0 | 0.047414 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
88132f86a0dfcc3ed7f5a653bf51eb2ce8355481 | 684 | py | Python | imperial/imperial/core/util/util.py | jorgesaw/imperial | ed4d33d1bcc71eb5f497b3cfed52d1fed48b0a7a | [
"Unlicense"
] | null | null | null | imperial/imperial/core/util/util.py | jorgesaw/imperial | ed4d33d1bcc71eb5f497b3cfed52d1fed48b0a7a | [
"Unlicense"
] | null | null | null | imperial/imperial/core/util/util.py | jorgesaw/imperial | ed4d33d1bcc71eb5f497b3cfed52d1fed48b0a7a | [
"Unlicense"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Created on 14/02/2015
@author: jorgesaw
'''
from __future__ import absolute_import, print_function, unicode_literals
import logging
import importlib
logger = logging.getLogger('import_class')
def import_class(cl):
"""Método que importa una clase dada una cadena... | 26.307692 | 79 | 0.649123 | 94 | 684 | 4.5 | 0.521277 | 0.056738 | 0.056738 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024911 | 0.178363 | 684 | 26 | 80 | 26.307692 | 0.727758 | 0.48538 | 0 | 0 | 0 | 0 | 0.042424 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.142857 | false | 0 | 0.857143 | 0 | 1.142857 | 0.142857 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
7154f5a1ab6d8bf8179af65f3182d18b282a6759 | 1,325 | py | Python | python/tvm/relay/frontend/__init__.py | mwillsey/incubator-tvm | e02dc69fef294eb73dd65d18949ed9e108f60cda | [
"Apache-2.0"
] | 4 | 2019-05-08T04:46:07.000Z | 2019-11-11T19:43:04.000Z | python/tvm/relay/frontend/__init__.py | mwillsey/incubator-tvm | e02dc69fef294eb73dd65d18949ed9e108f60cda | [
"Apache-2.0"
] | 3 | 2020-04-20T15:37:55.000Z | 2020-05-13T05:34:28.000Z | python/tvm/relay/frontend/__init__.py | mwillsey/incubator-tvm | e02dc69fef294eb73dd65d18949ed9e108f60cda | [
"Apache-2.0"
] | 2 | 2019-08-08T01:48:03.000Z | 2019-09-27T06:49:16.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 35.810811 | 66 | 0.801509 | 200 | 1,325 | 5.195 | 0.515 | 0.105871 | 0.025024 | 0.030799 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005333 | 0.150943 | 1,325 | 36 | 67 | 36.805556 | 0.918222 | 0.645283 | 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 |
71651266b9276dbb6d89647250b9b0d469db8edc | 1,245 | py | Python | src/exercises/excercsie10/exercise10_solution.py | paramraghavan/beginners-py-learn | 120db42b3ad304915d5be172f4ebc555ef2cb405 | [
"MIT"
] | null | null | null | src/exercises/excercsie10/exercise10_solution.py | paramraghavan/beginners-py-learn | 120db42b3ad304915d5be172f4ebc555ef2cb405 | [
"MIT"
] | null | null | null | src/exercises/excercsie10/exercise10_solution.py | paramraghavan/beginners-py-learn | 120db42b3ad304915d5be172f4ebc555ef2cb405 | [
"MIT"
] | null | null | null | '''
Given a array of tuples find the tuple with max value based on the first tuple value.
There is an array of range of values [(10,20),(21,30),(40,60),(70,90),(91,100)]
In this case it should print (91,100)
'''
'''
max tuple based on the second tuple value.
'''
def print_max_value_tuple(tuple_list):
return max(tu... | 31.125 | 94 | 0.698795 | 212 | 1,245 | 3.839623 | 0.29717 | 0.108108 | 0.143735 | 0.199017 | 0.428747 | 0.404177 | 0.262899 | 0.115479 | 0.115479 | 0.115479 | 0 | 0.062261 | 0.161446 | 1,245 | 39 | 95 | 31.923077 | 0.717433 | 0.24257 | 0 | 0.25 | 0 | 0 | 0.337224 | 0.265888 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0 | 0.1875 | 0.375 | 0.625 | 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 | 0 | 1 | 0 | 3 |
7166d20dae1149ca7c9740c0f3c6f7c4bd8dce8e | 211 | py | Python | aldryn_django/urls_redirect.py | vladox/aldryn-django | 41f48ed32b63dfaf347fb73c915f49eeadcedd6b | [
"BSD-3-Clause"
] | null | null | null | aldryn_django/urls_redirect.py | vladox/aldryn-django | 41f48ed32b63dfaf347fb73c915f49eeadcedd6b | [
"BSD-3-Clause"
] | null | null | null | aldryn_django/urls_redirect.py | vladox/aldryn-django | 41f48ed32b63dfaf347fb73c915f49eeadcedd6b | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.urls import re_path, reverse_lazy
from django.views.generic import RedirectView
urlpatterns = [
re_path(r'^$', RedirectView.as_view(url=reverse_lazy('admin:index'))),
]
| 23.444444 | 74 | 0.720379 | 29 | 211 | 5.068966 | 0.724138 | 0.136054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.123223 | 211 | 8 | 75 | 26.375 | 0.789189 | 0.099526 | 0 | 0 | 0 | 0 | 0.069149 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
717b6445a0b573b4a16a83ae95bda643d3c264c3 | 165 | py | Python | applications/posts/urls.py | isankadn/sms | 724e3f7caa242cb1d711ef43712d46245255f105 | [
"MIT"
] | null | null | null | applications/posts/urls.py | isankadn/sms | 724e3f7caa242cb1d711ef43712d46245255f105 | [
"MIT"
] | null | null | null | applications/posts/urls.py | isankadn/sms | 724e3f7caa242cb1d711ef43712d46245255f105 | [
"MIT"
] | null | null | null | from rest_framework.routers import DefaultRouter
from .views import PostViewSet
router = DefaultRouter()
router.register('posts', PostViewSet, base_name='posts')
| 20.625 | 56 | 0.806061 | 19 | 165 | 6.894737 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10303 | 165 | 7 | 57 | 23.571429 | 0.885135 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 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 |
719c71b4b7fc429a39bb5d486b929894addaca2a | 19,052 | py | Python | api/applications/tests/tests_adding_goods.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | api/applications/tests/tests_adding_goods.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | api/applications/tests/tests_adding_goods.py | django-doctor/lite-api | 1ba278ba22ebcbb977dd7c31dd3701151cd036bf | [
"MIT"
] | null | null | null | import uuid
from django.urls import reverse
from parameterized import parameterized
from rest_framework import status
from api.applications.models import GoodOnApplication
from api.audit_trail.models import Audit
from api.cases.enums import CaseTypeEnum
from api.goods.enums import ItemType
from lite_content.lite_api ... | 42.243902 | 120 | 0.639303 | 2,225 | 19,052 | 5.251685 | 0.104719 | 0.051348 | 0.05905 | 0.068892 | 0.769961 | 0.745229 | 0.727 | 0.698331 | 0.659649 | 0.63252 | 0 | 0.028171 | 0.236091 | 19,052 | 450 | 121 | 42.337778 | 0.774701 | 0.060414 | 0 | 0.532738 | 0 | 0 | 0.139216 | 0.040642 | 0 | 0 | 0 | 0 | 0.151786 | 1 | 0.053571 | false | 0 | 0.03869 | 0 | 0.10119 | 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 |
71a0db9a06140d73d5b8a5c67714e4b832eb7849 | 252 | py | Python | edx_lint/pylint/unittest_assert/__init__.py | eduNEXT/edx-lint | e129a8b5478469f44737cb7ba1afc93b5a994bba | [
"Apache-2.0"
] | 43 | 2015-05-30T21:35:34.000Z | 2021-09-21T07:15:05.000Z | edx_lint/pylint/unittest_assert/__init__.py | eduNEXT/edx-lint | e129a8b5478469f44737cb7ba1afc93b5a994bba | [
"Apache-2.0"
] | 106 | 2015-02-02T17:43:55.000Z | 2021-12-20T03:05:16.000Z | edx_lint/pylint/unittest_assert/__init__.py | eduNEXT/edx-lint | e129a8b5478469f44737cb7ba1afc93b5a994bba | [
"Apache-2.0"
] | 22 | 2015-08-28T16:19:41.000Z | 2021-09-01T10:36:54.000Z | """edx_lint unittest_assert module (optional plugin for unittest assertion checks).
Add this to your pylintrc::
load-plugins=edx_lint.pylint.unittest_assert
"""
from .unittest_assert_check import register_checkers
register = register_checkers
| 21 | 83 | 0.805556 | 33 | 252 | 5.909091 | 0.69697 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 252 | 11 | 84 | 22.909091 | 0.886364 | 0.630952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
71b6a001f40f378fa4465a641b68153c8b9ac33b | 1,190 | py | Python | basil/TL/SiTransferLayer.py | thirono/basil | 99052482d9334dd1f5598eb2d2fb4d5399a32291 | [
"BSD-3-Clause"
] | 38 | 2015-02-15T20:56:44.000Z | 2022-02-09T11:06:43.000Z | basil/TL/SiTransferLayer.py | thirono/basil | 99052482d9334dd1f5598eb2d2fb4d5399a32291 | [
"BSD-3-Clause"
] | 152 | 2015-02-28T14:15:24.000Z | 2022-03-10T08:54:24.000Z | basil/TL/SiTransferLayer.py | thirono/basil | 99052482d9334dd1f5598eb2d2fb4d5399a32291 | [
"BSD-3-Clause"
] | 35 | 2015-02-19T17:30:26.000Z | 2022-02-09T10:41:28.000Z | #
# ------------------------------------------------------------
# Copyright (c) All rights reserved
# SiLab, Institute of Physics, University of Bonn
# ------------------------------------------------------------
#
from basil.TL.TransferLayer import TransferLayer
class SiTransferLayer(TransferLayer):
'''Multipl... | 24.285714 | 72 | 0.537815 | 117 | 1,190 | 5.401709 | 0.529915 | 0.022152 | 0.03481 | 0.088608 | 0.161392 | 0.161392 | 0.161392 | 0.161392 | 0.161392 | 0.161392 | 0 | 0 | 0.273109 | 1,190 | 48 | 73 | 24.791667 | 0.730636 | 0.566387 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0.1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
71b9c49a1f4561b35019d7332c0f0e98c3acc785 | 846 | py | Python | core_collection/be_like/code_axs.py | krai/axs | a8070ca41f4631793e0495a2495a01853c3b96de | [
"MIT"
] | 4 | 2021-12-22T10:48:28.000Z | 2021-12-22T11:06:10.000Z | core_collection/be_like/code_axs.py | krai/axs | a8070ca41f4631793e0495a2495a01853c3b96de | [
"MIT"
] | null | null | null | core_collection/be_like/code_axs.py | krai/axs | a8070ca41f4631793e0495a2495a01853c3b96de | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
""" Example entry that is not a part of any collection.
It contains text substitution examples.
"""
def meme(does, quality, person, be, person2):
""" Construct the stick-figure Bill meme from supplied parameters
Usage examples:
axs byname be_like , meme "finds and... | 33.84 | 163 | 0.654846 | 123 | 846 | 4.414634 | 0.601626 | 0.044199 | 0.036832 | 0.073665 | 0.176796 | 0.176796 | 0.176796 | 0.176796 | 0.176796 | 0.176796 | 0 | 0.005988 | 0.210402 | 846 | 24 | 164 | 35.25 | 0.806886 | 0.508274 | 0 | 0 | 0 | 0.5 | 0.675749 | 0.057221 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0.25 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
71bdc3039b117e948ea0e4d04f90280c425edcfb | 183 | py | Python | b5/__init__.py | team23/b5 | 90f45e86966eeb7a259667bbe06a5555648d012d | [
"BSD-3-Clause"
] | 14 | 2018-11-24T23:33:35.000Z | 2022-02-04T23:46:49.000Z | b5/__init__.py | team23/b5 | 90f45e86966eeb7a259667bbe06a5555648d012d | [
"BSD-3-Clause"
] | 3 | 2020-02-10T11:05:11.000Z | 2020-03-04T08:42:11.000Z | b5/__init__.py | team23/b5 | 90f45e86966eeb7a259667bbe06a5555648d012d | [
"BSD-3-Clause"
] | 1 | 2020-02-11T19:45:13.000Z | 2020-02-11T19:45:13.000Z | import os
VERSION = '1.3.1'
B5_PATH = os.path.realpath(os.path.dirname(__file__))
B5_BASH_PATH = os.path.join(B5_PATH, 'bash')
B5_TEMPLATES_PATH = os.path.join(B5_PATH, 'templates')
| 26.142857 | 54 | 0.743169 | 33 | 183 | 3.787879 | 0.393939 | 0.192 | 0.24 | 0.224 | 0.32 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.092896 | 183 | 6 | 55 | 30.5 | 0.704819 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 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 |
e09aa343f1a129cc81320619ea3a1d75857a22ae | 194 | py | Python | scripts/simr.py | fossabot/Simr | 9ce90387329fae683413b7e3f292918a4f3af32c | [
"MIT"
] | 1 | 2021-12-06T01:55:01.000Z | 2021-12-06T01:55:01.000Z | scripts/simr.py | fossabot/Simr | 9ce90387329fae683413b7e3f292918a4f3af32c | [
"MIT"
] | 7 | 2018-08-29T15:08:28.000Z | 2021-12-07T22:15:43.000Z | scripts/simr.py | fossabot/Simr | 9ce90387329fae683413b7e3f292918a4f3af32c | [
"MIT"
] | 2 | 2015-11-24T16:20:21.000Z | 2021-10-14T21:43:33.000Z | __author__ = 'Sander Krause <sanderkrause@gmail.com>'
__author__ = 'Roel van Nuland <roel@kompjoefriek.nl>'
print("Nothing happens in this script yet -- intended as a startup script for Simr")
| 38.8 | 84 | 0.762887 | 27 | 194 | 5.185185 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134021 | 194 | 4 | 85 | 48.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.778351 | 0.237113 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e0a512135aece97c9dc9b08deefc12418751c4b1 | 228 | py | Python | beetsplug/__init__.py | JOJ0/BeetsPluginYearFixer | 3d039238c4da2bbfb7365d26335920c3af80eb80 | [
"MIT"
] | 1 | 2022-01-13T08:01:12.000Z | 2022-01-13T08:01:12.000Z | beetsplug/__init__.py | JOJ0/BeetsPluginYearFixer | 3d039238c4da2bbfb7365d26335920c3af80eb80 | [
"MIT"
] | 3 | 2020-03-29T21:18:25.000Z | 2022-03-02T21:38:42.000Z | beetsplug/__init__.py | JOJ0/BeetsPluginYearFixer | 3d039238c4da2bbfb7365d26335920c3af80eb80 | [
"MIT"
] | 1 | 2022-01-10T20:04:36.000Z | 2022-01-10T20:04:36.000Z | # Copyright: Copyright (c) 2020., Adam Jakab
#
# Author: Adam Jakab <adam at jakab dot pro>
# Created: 3/27/20, 9:48 AM
# License: See LICENSE.txt
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| 22.8 | 45 | 0.719298 | 35 | 228 | 4.285714 | 0.714286 | 0.12 | 0.186667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06383 | 0.175439 | 228 | 9 | 46 | 25.333333 | 0.734043 | 0.609649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 |
e0b119952f96a47df274f2263028da1571ecf72f | 153 | py | Python | example.py | jazzyjackson/conda-vision | 759e12e0c4a4d8cd41f03d85631e548c2215f451 | [
"Unlicense"
] | null | null | null | example.py | jazzyjackson/conda-vision | 759e12e0c4a4d8cd41f03d85631e548c2215f451 | [
"Unlicense"
] | null | null | null | example.py | jazzyjackson/conda-vision | 759e12e0c4a4d8cd41f03d85631e548c2215f451 | [
"Unlicense"
] | null | null | null | #!/bin/bash condavision
import pandas as pd
import numpy
samples = pd.DataFrame(numpy.random.rand(3, 5))
print(samples.to_csv(index=False, header=False)) | 30.6 | 48 | 0.777778 | 25 | 153 | 4.72 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.084967 | 153 | 5 | 48 | 30.6 | 0.828571 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 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 |
e0b195ef8fa9e000ddd31bd6f110e97941ffa2ac | 1,259 | py | Python | src/transformation/transform_2014_2017.py | renan-cunha/KDD-Enade-Computing | 0af6cfa98767e7ae763987a52ee171ab2b4cde51 | [
"MIT"
] | 2 | 2021-07-16T00:39:20.000Z | 2021-07-23T14:50:11.000Z | src/transformation/transform_2014_2017.py | renan-cunha/KDD-Enade-Computing | 0af6cfa98767e7ae763987a52ee171ab2b4cde51 | [
"MIT"
] | 15 | 2021-03-23T23:56:18.000Z | 2021-07-15T23:05:04.000Z | src/transformation/transform_2014_2017.py | renan-cunha/KDD-Enade-Computing | 0af6cfa98767e7ae763987a52ee171ab2b4cde51 | [
"MIT"
] | 3 | 2021-08-09T23:57:13.000Z | 2022-01-22T03:31:12.000Z | from typing import List
import os
import sys
parent = os.path.abspath(os.path.join(os.path.dirname(__file__), '../..')) #this should give you absolute location of my_project folder.
sys.path.append(parent)
from src.transformation.transform_abstract import Transform
class Transform2014_2017(Transform):
@property
... | 29.27907 | 136 | 0.71247 | 161 | 1,259 | 5.322981 | 0.329193 | 0.102684 | 0.089848 | 0.138856 | 0.589265 | 0.351225 | 0.298716 | 0.109685 | 0.109685 | 0 | 0 | 0.027264 | 0.184273 | 1,259 | 42 | 137 | 29.97619 | 0.807205 | 0.047657 | 0 | 0.258065 | 0 | 0 | 0.004177 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0 | 0.129032 | 0.258065 | 0.677419 | 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 |
e0c32a096d03c76f0f5efd0f72bd3624ae229794 | 1,097 | py | Python | core/basic/model_material.py | szmingyao/smpy | f898e11a2e832a93c779e629ac75fc096c48fead | [
"MIT"
] | null | null | null | core/basic/model_material.py | szmingyao/smpy | f898e11a2e832a93c779e629ac75fc096c48fead | [
"MIT"
] | null | null | null | core/basic/model_material.py | szmingyao/smpy | f898e11a2e832a93c779e629ac75fc096c48fead | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
"""
@software: smpy
@author: Ming
@license: MIT Licence
@contact: mingy.aser@gmail.com
@file: model_material.py
@created at: 16/4/21
"""
def func():
pass
class MaterialBase():
"Material Base Class"
def __init__(self):
pass
def get_EA(self, u = 0):
... | 18.59322 | 52 | 0.561531 | 147 | 1,097 | 3.952381 | 0.37415 | 0.061962 | 0.041308 | 0.082616 | 0.213425 | 0.151463 | 0.151463 | 0 | 0 | 0 | 0 | 0.021108 | 0.309025 | 1,097 | 59 | 53 | 18.59322 | 0.745383 | 0.18505 | 0 | 0.342857 | 0 | 0 | 0.052004 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.085714 | 0 | 0.171429 | 0.542857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
e0ca35e19d242a37c28a4e63245a7dcb720d5aa1 | 255 | py | Python | formaloo/forms/__init__.py | formaloo/formaloo-python | bf283136949c93f4e6434bee456c7b36c58ca9b7 | [
"MIT"
] | 12 | 2021-04-13T10:57:53.000Z | 2022-03-24T22:18:30.000Z | formaloo/forms/__init__.py | formaloo/formaloo-python | bf283136949c93f4e6434bee456c7b36c58ca9b7 | [
"MIT"
] | null | null | null | formaloo/forms/__init__.py | formaloo/formaloo-python | bf283136949c93f4e6434bee456c7b36c58ca9b7 | [
"MIT"
] | 2 | 2021-06-03T15:59:38.000Z | 2022-03-24T22:18:33.000Z | from .form import Form
from .form_display import FormDisplay
from .category import FormCategory
from .field import Field
from .payment_method import PaymentMethod
from .row_tag import RowTag
from .row_vote import RowVote
from .template import FormTemplate | 31.875 | 41 | 0.847059 | 36 | 255 | 5.888889 | 0.5 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121569 | 255 | 8 | 42 | 31.875 | 0.946429 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e0f7747c79d8110ca3975c9fcdca0b775a329789 | 83 | py | Python | monetio/profile/__init__.py | zmoon/monetio | c8326750fa5d2404ccec726a5088f9a0e7fd4c4a | [
"MIT"
] | 1 | 2022-02-18T22:49:23.000Z | 2022-02-18T22:49:23.000Z | monetio/profile/__init__.py | zmoon/monetio | c8326750fa5d2404ccec726a5088f9a0e7fd4c4a | [
"MIT"
] | null | null | null | monetio/profile/__init__.py | zmoon/monetio | c8326750fa5d2404ccec726a5088f9a0e7fd4c4a | [
"MIT"
] | 1 | 2022-02-04T19:09:32.000Z | 2022-02-04T19:09:32.000Z | from . import icartt, tolnet
__all__ = ["tolnet", "icartt"]
__name__ = "profile"
| 13.833333 | 30 | 0.674699 | 9 | 83 | 5.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168675 | 83 | 5 | 31 | 16.6 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.228916 | 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 |
1c9dcb1ef14310e43f58c58f687a37fe3d702f78 | 352 | py | Python | genword/lib/__init__.py | di3g0bs0n/genword | b65882398585973c0efa38b3903f45b6c4d1ca49 | [
"MIT"
] | null | null | null | genword/lib/__init__.py | di3g0bs0n/genword | b65882398585973c0efa38b3903f45b6c4d1ca49 | [
"MIT"
] | null | null | null | genword/lib/__init__.py | di3g0bs0n/genword | b65882398585973c0efa38b3903f45b6c4d1ca49 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup
from bs4.element import Tag
from component import wComponent
from element import wElement
from r import wR
from text import wText
from paragraph import wParagraph
from page import wPage
from tableCell import wTableCell
from tableRow import wTableRow
from table import wTable
from image imp... | 25.142857 | 32 | 0.849432 | 53 | 352 | 5.641509 | 0.509434 | 0.046823 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006667 | 0.147727 | 352 | 14 | 33 | 25.142857 | 0.99 | 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 | 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 |
1cac9be32cff324578b8857ba4c21dfd29e0791a | 524 | py | Python | mywebsite/dashboard/dashboard_admin.py | Zadigo/tumblr_website | e5fe49547eaaf177521f8768bf2482bb5c67e829 | [
"MIT"
] | null | null | null | mywebsite/dashboard/dashboard_admin.py | Zadigo/tumblr_website | e5fe49547eaaf177521f8768bf2482bb5c67e829 | [
"MIT"
] | null | null | null | mywebsite/dashboard/dashboard_admin.py | Zadigo/tumblr_website | e5fe49547eaaf177521f8768bf2482bb5c67e829 | [
"MIT"
] | null | null | null | class Base(type):
def __new__(cls, name, bases, attrs):
new_class = super().__new__(cls, name, bases, attrs)
return new_class
class BaseAdmin(Base):
def __init__(self):
pass
def get_queryset(self, request):
queryset = self.model._default_manager.get_queryset()
retu... | 22.782609 | 61 | 0.641221 | 62 | 524 | 4.935484 | 0.419355 | 0.088235 | 0.065359 | 0.098039 | 0.130719 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255725 | 524 | 22 | 62 | 23.818182 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.0625 | 0 | 0 | 0.625 | 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 |
1cacf8bd07a39d1254a3991dc22d3dd723502ebc | 154 | py | Python | challenges-quizzes/paliArrange.py | JacobMGEvans/test-field | a9d940a71918728634aefed86fc978f82dbeb734 | [
"MIT"
] | 1 | 2022-03-23T06:53:13.000Z | 2022-03-23T06:53:13.000Z | challenges-quizzes/paliArrange.py | JacobMGEvans/test-field | a9d940a71918728634aefed86fc978f82dbeb734 | [
"MIT"
] | 7 | 2021-08-31T19:15:39.000Z | 2021-09-15T21:40:12.000Z | challenges-quizzes/paliArrange.py | JacobMGEvans/experiments-and-research | a9d940a71918728634aefed86fc978f82dbeb734 | [
"MIT"
] | null | null | null | def palindromeRearranging(inputString):
return sum([inputString.count(i)%2 for i in set(inputString)]) <= 1
print palindromeRearranging('aabb') | 25.666667 | 71 | 0.733766 | 18 | 154 | 6.277778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.142857 | 154 | 6 | 72 | 25.666667 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1cb9c2b53c95d11b74d539b9e51c99d9ab37ed0d | 113 | py | Python | config.py | ky99123/Ponzified | 55a341d2945c748a761772d7c9630a084c7c18bd | [
"MIT"
] | null | null | null | config.py | ky99123/Ponzified | 55a341d2945c748a761772d7c9630a084c7c18bd | [
"MIT"
] | null | null | null | config.py | ky99123/Ponzified | 55a341d2945c748a761772d7c9630a084c7c18bd | [
"MIT"
] | null | null | null | import os
apikey = 'R63INQIAZW9HGVSG83R63M477H4YMXDH6Q'
#secret key for session flask
secretkey = os.urandom(24) | 22.6 | 45 | 0.814159 | 13 | 113 | 7.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 0.115044 | 113 | 5 | 46 | 22.6 | 0.78 | 0.247788 | 0 | 0 | 0 | 0 | 0.4 | 0.4 | 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 |
1ccf1aea0b2b2c611f3120437c863d7c340af394 | 45 | py | Python | src/gitfix/__init__.py | lucasmelin/gitfix | ff5d61f59f666811659861e966e276cbc5eb74c1 | [
"MIT"
] | null | null | null | src/gitfix/__init__.py | lucasmelin/gitfix | ff5d61f59f666811659861e966e276cbc5eb74c1 | [
"MIT"
] | null | null | null | src/gitfix/__init__.py | lucasmelin/gitfix | ff5d61f59f666811659861e966e276cbc5eb74c1 | [
"MIT"
] | null | null | null | """Git Fix version."""
__version__ = "0.2.3"
| 15 | 22 | 0.6 | 7 | 45 | 3.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.133333 | 45 | 2 | 23 | 22.5 | 0.512821 | 0.355556 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
1ce9301a9651f572940f89c84be6e659119874c2 | 127 | py | Python | barbados_stockex_scraper/items.py | chrisdev/barbados_stockex_scraper | ecc59f1a9492f409569cf32e544cd1313fd8ce12 | [
"BSD-2-Clause"
] | 1 | 2021-02-23T18:16:53.000Z | 2021-02-23T18:16:53.000Z | barbados_stockex_scraper/items.py | chrisdev/barbados_stockex_scraper | ecc59f1a9492f409569cf32e544cd1313fd8ce12 | [
"BSD-2-Clause"
] | null | null | null | barbados_stockex_scraper/items.py | chrisdev/barbados_stockex_scraper | ecc59f1a9492f409569cf32e544cd1313fd8ce12 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import scrapy
class PDFItem(scrapy.Item):
file_urls = scrapy.Field()
files = scrapy.Field()
| 14.111111 | 30 | 0.629921 | 16 | 127 | 4.9375 | 0.75 | 0.278481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.204724 | 127 | 8 | 31 | 15.875 | 0.772277 | 0.165354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1cecd347bffb6ab289f27e0f9bbab91c3a5d4bd8 | 301 | py | Python | mmseg/core/seg/builder.py | weiyx16/mmsegmentation | 6d35d76195f173fbc6b119a7d7815e67d78024c6 | [
"Apache-2.0"
] | 103 | 2022-02-20T17:12:54.000Z | 2022-03-30T07:09:48.000Z | mmseg/core/seg/builder.py | weiyx16/mmsegmentation | 6d35d76195f173fbc6b119a7d7815e67d78024c6 | [
"Apache-2.0"
] | 13 | 2022-02-15T20:05:18.000Z | 2022-02-15T20:05:21.000Z | mmseg/core/seg/builder.py | weiyx16/mmsegmentation | 6d35d76195f173fbc6b119a7d7815e67d78024c6 | [
"Apache-2.0"
] | 17 | 2022-02-22T06:29:50.000Z | 2022-03-30T05:03:06.000Z | # Copyright (c) OpenMMLab. All rights reserved.
from mmcv.utils import Registry, build_from_cfg
PIXEL_SAMPLERS = Registry('pixel sampler')
def build_pixel_sampler(cfg, **default_args):
"""Build pixel sampler for segmentation map."""
return build_from_cfg(cfg, PIXEL_SAMPLERS, default_args)
| 30.1 | 60 | 0.770764 | 41 | 301 | 5.414634 | 0.560976 | 0.162162 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13289 | 301 | 9 | 61 | 33.444444 | 0.850575 | 0.292359 | 0 | 0 | 0 | 0 | 0.062802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1cf19b91583240ba8642ff9d179b070ca7fc1294 | 12,903 | py | Python | tests/shakelib/correlation/dummy_test.py | cbworden/shakemap | f0a49317ce3e98d8cce5ba148797ace47dd1d898 | [
"CC0-1.0"
] | null | null | null | tests/shakelib/correlation/dummy_test.py | cbworden/shakemap | f0a49317ce3e98d8cce5ba148797ace47dd1d898 | [
"CC0-1.0"
] | null | null | null | tests/shakelib/correlation/dummy_test.py | cbworden/shakemap | f0a49317ce3e98d8cce5ba148797ace47dd1d898 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python
import numpy as np
import pytest
from shakelib.correlation.dummy import DummyCorrelation
def test_dummy_correlation():
#
# Pick some common periods
#
t1 = np.array([0.01, 0.3, 1.0, 2.0, 3.0])
dummy = DummyCorrelation(t1)
#
# Distances from 0 to 400
#
d = np.... | 19.490937 | 55 | 0.273347 | 1,181 | 12,903 | 2.973751 | 0.240474 | 0.015376 | 0.007688 | 0.005695 | 0.120444 | 0.093109 | 0.065205 | 0.044419 | 0.042141 | 0.042141 | 0 | 0.572919 | 0.635976 | 12,903 | 661 | 56 | 19.520424 | 0.174792 | 0.010773 | 0 | 0.644201 | 0 | 0 | 0.000627 | 0 | 0 | 0 | 0 | 0 | 0.001567 | 1 | 0.001567 | false | 0 | 0.004702 | 0 | 0.00627 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
1cf4ea579c6b176673baf5eeb3c5ccff4d65ddaa | 181 | py | Python | python/mzcloud/models/deployment_size.py | benesch/cloud-sdks | 21e69b8eacc74d64131fc4d5d543ff0d889c87e4 | [
"Apache-2.0"
] | null | null | null | python/mzcloud/models/deployment_size.py | benesch/cloud-sdks | 21e69b8eacc74d64131fc4d5d543ff0d889c87e4 | [
"Apache-2.0"
] | null | null | null | python/mzcloud/models/deployment_size.py | benesch/cloud-sdks | 21e69b8eacc74d64131fc4d5d543ff0d889c87e4 | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class DeploymentSize(str, Enum):
XS = "XS"
S = "S"
M = "M"
L = "L"
XL = "XL"
def __str__(self) -> str:
return str(self.value) | 16.454545 | 32 | 0.513812 | 26 | 181 | 3.423077 | 0.576923 | 0.157303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.337017 | 181 | 11 | 33 | 16.454545 | 0.741667 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.111111 | 0.111111 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1cf60ff3d18eb10ecde9c58ce0195d7d58a6044a | 67,341 | py | Python | template_container_human/labels/slice_134.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_134.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | template_container_human/labels/slice_134.py | lkondratova/Brainplot | 3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d | [
"MIT"
] | null | null | null | coordinates_E0E1E1 = ((126, 111),
(127, 93), (127, 107), (127, 108), (127, 110), (128, 92), (128, 94), (128, 105), (128, 109), (129, 93), (129, 95), (129, 105), (129, 107), (129, 109), (130, 81), (130, 93), (130, 105), (130, 108), (131, 80), (131, 82), (131, 93), (131, 96), (131, 105), (131, 108), (132, 82), (132, 93... | 522.023256 | 865 | 0.47953 | 11,608 | 67,341 | 2.779204 | 0.013008 | 0.000558 | 0.000558 | 0.00062 | 0.003782 | 0.001116 | 0 | 0 | 0 | 0 | 0 | 0.57404 | 0.176178 | 67,341 | 128 | 866 | 526.101563 | 0.007481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e801c51e2b2cce31c7673c67073749a01ee8218f | 821 | py | Python | crud.py | SanchithHegde/lcc-ecommerce-api | 11c7ddcbb8131bb7d38eb60fc659109a4b1d8025 | [
"MIT"
] | null | null | null | crud.py | SanchithHegde/lcc-ecommerce-api | 11c7ddcbb8131bb7d38eb60fc659109a4b1d8025 | [
"MIT"
] | null | null | null | crud.py | SanchithHegde/lcc-ecommerce-api | 11c7ddcbb8131bb7d38eb60fc659109a4b1d8025 | [
"MIT"
] | null | null | null | from sqlalchemy import and_, select
from models import Category, Product, ProductCategory
def get_categories(db_session):
return db_session.execute(select(Category)).scalars().all()
def get_category_by_id(db_session, category_id):
return db_session.get(Category, category_id)
def get_products_by_category(... | 24.878788 | 63 | 0.724726 | 103 | 821 | 5.466019 | 0.223301 | 0.159858 | 0.133215 | 0.117229 | 0.257549 | 0.131439 | 0.131439 | 0 | 0 | 0 | 0 | 0 | 0.177832 | 821 | 32 | 64 | 25.65625 | 0.834074 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
e817cc3318098cb60722594808dde2ced0044a21 | 307 | py | Python | ipycanvas/__init__.py | deeplook/ipycanvas | c42a5540c55534f919da0fd462cef4593ac7d755 | [
"BSD-3-Clause"
] | null | null | null | ipycanvas/__init__.py | deeplook/ipycanvas | c42a5540c55534f919da0fd462cef4593ac7d755 | [
"BSD-3-Clause"
] | null | null | null | ipycanvas/__init__.py | deeplook/ipycanvas | c42a5540c55534f919da0fd462cef4593ac7d755 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# Copyright (c) Martin Renou.
# Distributed under the terms of the Modified BSD License.
from .canvas import Canvas, MultiCanvas, hold_canvas # noqa
from ._version import __version__, version_info # noqa
from .nbextension import _jupyter_nbextension_paths # noqa
| 27.909091 | 60 | 0.771987 | 42 | 307 | 5.404762 | 0.714286 | 0.070485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003846 | 0.153094 | 307 | 10 | 61 | 30.7 | 0.869231 | 0.436482 | 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 |
e836111c62860474c36b0113d25f2ea064a43261 | 140 | py | Python | nifcloud/__init__.py | tottoto/nifcloud-sdk-python | 8f105b89ea813c5500d595193b718475867646b4 | [
"Apache-2.0"
] | null | null | null | nifcloud/__init__.py | tottoto/nifcloud-sdk-python | 8f105b89ea813c5500d595193b718475867646b4 | [
"Apache-2.0"
] | null | null | null | nifcloud/__init__.py | tottoto/nifcloud-sdk-python | 8f105b89ea813c5500d595193b718475867646b4 | [
"Apache-2.0"
] | null | null | null | from . import (auth, configprovider, credentials, loaders, # noqa: F401
parsers, serialize, session)
__version__ = '1.1.0'
| 28 | 72 | 0.65 | 15 | 140 | 5.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.235714 | 140 | 4 | 73 | 35 | 0.757009 | 0.071429 | 0 | 0 | 0 | 0 | 0.039063 | 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 |
e8366394752e0fa6e8e3ab262c82ba53d1a27673 | 2,164 | py | Python | python_client/tests/integration/test_make.py | zachradtka/Data-Profiler | 034b8eddabf9b66b2862aa452c737e20f65effc5 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-12-30T13:05:51.000Z | 2022-03-25T18:13:54.000Z | python_client/tests/integration/test_make.py | zachradtka/Data-Profiler | 034b8eddabf9b66b2862aa452c737e20f65effc5 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-02-25T22:13:41.000Z | 2022-03-10T19:38:52.000Z | python_client/tests/integration/test_make.py | zachradtka/Data-Profiler | 034b8eddabf9b66b2862aa452c737e20f65effc5 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-12-13T16:32:19.000Z | 2022-01-24T17:21:49.000Z | """
Copyright 2021 Merck & Co., Inc. Kenilworth, NJ, USA.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the ... | 37.964912 | 141 | 0.73475 | 310 | 2,164 | 4.974194 | 0.5 | 0.038911 | 0.028534 | 0.042802 | 0.175097 | 0.158236 | 0.119326 | 0.089494 | 0.089494 | 0.089494 | 0 | 0.017299 | 0.171904 | 2,164 | 57 | 142 | 37.964912 | 0.843192 | 0.867837 | 0 | 0 | 0 | 0 | 0.365449 | 0.083056 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
1c074bded782602999fcd0f89cacd570644772f9 | 102 | py | Python | esercizi/listaWhile.py | gdv/python-alfabetizzazione | d87561222de8a230db11d8529c49cf1702aec326 | [
"MIT"
] | null | null | null | esercizi/listaWhile.py | gdv/python-alfabetizzazione | d87561222de8a230db11d8529c49cf1702aec326 | [
"MIT"
] | null | null | null | esercizi/listaWhile.py | gdv/python-alfabetizzazione | d87561222de8a230db11d8529c49cf1702aec326 | [
"MIT"
] | 1 | 2019-03-26T11:14:33.000Z | 2019-03-26T11:14:33.000Z | lista = [7, 3.0 + 5, 'pippo', 2 +1j]
i = 0
while (i < len(lista)):
print lista[i]
i = i + 1
| 12.75 | 36 | 0.460784 | 20 | 102 | 2.35 | 0.65 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 0.323529 | 102 | 7 | 37 | 14.571429 | 0.565217 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c0a3e9e9b80903c31534ce8959d14997f48bc12 | 302 | py | Python | cribbage/cribbage/player.py | ebenpack/laboratory | 75b83be52e2cefc2050f243b9c036eb061714829 | [
"MIT"
] | 8 | 2015-03-23T15:36:06.000Z | 2021-02-19T22:23:09.000Z | cribbage/cribbage/player.py | ebenpack/laboratory | 75b83be52e2cefc2050f243b9c036eb061714829 | [
"MIT"
] | null | null | null | cribbage/cribbage/player.py | ebenpack/laboratory | 75b83be52e2cefc2050f243b9c036eb061714829 | [
"MIT"
] | 1 | 2019-06-07T22:51:19.000Z | 2019-06-07T22:51:19.000Z | class Player(object):
def __init__(self, name):
self.name = name
self.score = 0
self.hand = None
def __repr__(self):
return "Player: {}, score: {}, hand: {}".format(self.name, self.score, self.hand)
def add_score(self, points):
self.score += points | 27.454545 | 89 | 0.576159 | 38 | 302 | 4.342105 | 0.421053 | 0.145455 | 0.145455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.278146 | 302 | 11 | 90 | 27.454545 | 0.752294 | 0 | 0 | 0 | 0 | 0 | 0.10231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1c0cf7567e9a002f8cb75cd38b2e4d9f975a4d13 | 94 | py | Python | tests/SimpleIncludeAndMacros/slwaivers.py | bsp13/Surelog | 3a04f7f59791390c69f1e3b69609db4ede7668b9 | [
"Apache-2.0"
] | null | null | null | tests/SimpleIncludeAndMacros/slwaivers.py | bsp13/Surelog | 3a04f7f59791390c69f1e3b69609db4ede7668b9 | [
"Apache-2.0"
] | null | null | null | tests/SimpleIncludeAndMacros/slwaivers.py | bsp13/Surelog | 3a04f7f59791390c69f1e3b69609db4ede7668b9 | [
"Apache-2.0"
] | null | null | null |
SLsetWaiver("WARNI:PP0103", "top_2.v", 15, "multipl")
SLsetWaiver("INFO :PP0122", "lib.v")
| 15.666667 | 53 | 0.659574 | 13 | 94 | 4.692308 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130952 | 0.106383 | 94 | 5 | 54 | 18.8 | 0.595238 | 0 | 0 | 0 | 0 | 0 | 0.472527 | 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 |
1c2def4561651ae473540f97572120d8637b7556 | 431 | py | Python | u3dunpack/file/serialized/SerializedFileHeader.py | smalls0098/u3d-studio | b5fb9875afdebaf457ee75c3ab42e4e828a88680 | [
"MIT"
] | 1 | 2020-07-27T03:43:47.000Z | 2020-07-27T03:43:47.000Z | u3dunpack/file/serialized/SerializedFileHeader.py | smalls0098/u3d-assets-tools | b5fb9875afdebaf457ee75c3ab42e4e828a88680 | [
"MIT"
] | null | null | null | u3dunpack/file/serialized/SerializedFileHeader.py | smalls0098/u3d-assets-tools | b5fb9875afdebaf457ee75c3ab42e4e828a88680 | [
"MIT"
] | 1 | 2021-10-03T11:23:14.000Z | 2021-10-03T11:23:14.000Z | from ...streams import EndianBinaryReader
class SerializedFileHeader:
metadataSize: int
fileSize: int
version: int
dataOffset: int
endian: bytes
reserved: bytes
def __init__(self, reader: EndianBinaryReader):
self.metadataSize = reader.readUInt()
self.fileSi... | 23.944444 | 52 | 0.651972 | 39 | 431 | 7.102564 | 0.487179 | 0.202166 | 0.194946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266821 | 431 | 17 | 53 | 25.352941 | 0.876582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1c328ca537430d8d2940418bb3fd2f878a054306 | 239 | py | Python | Exercicios/007-media-aritmetica.py | fernandaveiga/Curso-em-Video | ea8956fce6e16cbaa8a83106ffa45071cbdc617e | [
"MIT"
] | null | null | null | Exercicios/007-media-aritmetica.py | fernandaveiga/Curso-em-Video | ea8956fce6e16cbaa8a83106ffa45071cbdc617e | [
"MIT"
] | null | null | null | Exercicios/007-media-aritmetica.py | fernandaveiga/Curso-em-Video | ea8956fce6e16cbaa8a83106ffa45071cbdc617e | [
"MIT"
] | null | null | null | # 007 - Desenvolva um programa que leia as duas notas de um aluno e calcule e mostre a sua média:
n1 = float(input('Digite a primeira nota: '))
n2 = float(input('Digite a segunda nota: '))
print(f'A médias entre as notas é: {(n1+n2)/2}') | 39.833333 | 97 | 0.694561 | 44 | 239 | 3.772727 | 0.704545 | 0.120482 | 0.192771 | 0.204819 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.179916 | 239 | 6 | 98 | 39.833333 | 0.806122 | 0.39749 | 0 | 0 | 0 | 0 | 0.594406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c47a5a2c3724fb74c6a56157c990c41856f9b53 | 401 | py | Python | tweepy/error.py | skoczen/tweepy | 3b4bbabe1ecafee40d9d5942fbd59c4056c8997c | [
"MIT"
] | 24 | 2015-11-12T06:33:24.000Z | 2019-04-16T11:11:13.000Z | tweepy/error.py | skoczen/tweepy | 3b4bbabe1ecafee40d9d5942fbd59c4056c8997c | [
"MIT"
] | 3 | 2015-11-12T22:16:22.000Z | 2021-08-09T07:00:27.000Z | tweepy/error.py | skoczen/tweepy | 3b4bbabe1ecafee40d9d5942fbd59c4056c8997c | [
"MIT"
] | 7 | 2015-11-12T20:09:56.000Z | 2020-12-16T17:59:02.000Z | # Tweepy
# Copyright 2009-2010 Joshua Roesslein
# See LICENSE for details.
from __future__ import print_function
import six
class TweepError(Exception):
"""Tweepy exception"""
def __init__(self, reason, response=None):
self.reason = six.text_type(reason)
self.response = response
Exc... | 20.05 | 46 | 0.693267 | 47 | 401 | 5.531915 | 0.617021 | 0.153846 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025559 | 0.219451 | 401 | 19 | 47 | 21.105263 | 0.805112 | 0.214464 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1c49e72eda40b3456987582ab05a77a3b7b4b840 | 318 | py | Python | pajbot/tests/modules/test_two_word_variations.py | UVClay/SkookumBot | 69679c78475662e2b7948fe63d529a755c47fc80 | [
"MIT"
] | 1 | 2021-10-02T10:19:38.000Z | 2021-10-02T10:19:38.000Z | pajbot/tests/modules/test_two_word_variations.py | UVClay/SkookumBot | 69679c78475662e2b7948fe63d529a755c47fc80 | [
"MIT"
] | 64 | 2021-01-09T21:28:05.000Z | 2022-03-31T10:07:05.000Z | pajbot/tests/modules/test_two_word_variations.py | UVClay/SkookumBot | 69679c78475662e2b7948fe63d529a755c47fc80 | [
"MIT"
] | 1 | 2020-03-11T19:37:10.000Z | 2020-03-11T19:37:10.000Z | from pajbot.modules.bingo import two_word_variations
def test_two_word_variations():
assert two_word_variations("abc", "def", "KKona") == {
"abc-def": "KKona",
"abc_def": "KKona",
"abcdef": "KKona",
"def-abc": "KKona",
"def_abc": "KKona",
"defabc": "KKona",
}
| 24.461538 | 58 | 0.559748 | 36 | 318 | 4.694444 | 0.416667 | 0.12426 | 0.301775 | 0.16568 | 0.195266 | 0.195266 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261006 | 318 | 12 | 59 | 26.5 | 0.719149 | 0 | 0 | 0 | 0 | 0 | 0.254717 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.1 | true | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c4f4f3726d44919c592ef5bf42ced7d57faa243 | 345 | py | Python | tests/test_chronqc.py | nilesh-tawari/ClinicalSeqQC | 60f60a0d6115edab4a15be27509cd4861f06b81a | [
"MIT"
] | 17 | 2017-07-22T15:18:13.000Z | 2022-03-10T11:48:41.000Z | tests/test_chronqc.py | nilesh-tawari/ClinicalSeqQC | 60f60a0d6115edab4a15be27509cd4861f06b81a | [
"MIT"
] | 5 | 2019-04-05T00:54:24.000Z | 2020-04-21T03:01:16.000Z | tests/test_chronqc.py | nilesh-tawari/ClinicalSeqQC | 60f60a0d6115edab4a15be27509cd4861f06b81a | [
"MIT"
] | 7 | 2017-09-12T08:31:16.000Z | 2019-12-27T11:39:11.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_chronqc
----------------------------------
Tests for `chronqc` module.
"""
import unittest
import chronqc
class TestChronqc(unittest.TestCase):
def setUp(self):
pass
def test_something(self):
assert(chronqc.__version__)
def tear... | 13.269231 | 37 | 0.571014 | 36 | 345 | 5.305556 | 0.694444 | 0.08377 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003704 | 0.217391 | 345 | 25 | 38 | 13.8 | 0.703704 | 0.344928 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.333333 | false | 0.222222 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
1c50ccc67b37354cbc5712c910d399a035e7b3df | 224 | py | Python | octoprint_marlin_flasher/validation/validators/unsupported.py | thinkyhead/OctoPrint-Marlin-Flasher | c43110226d1b9d4aa0df2fdfb8cffab47d687957 | [
"MIT"
] | 1 | 2021-09-20T22:17:22.000Z | 2021-09-20T22:17:22.000Z | octoprint_marlin_flasher/validation/validators/unsupported.py | thinkyhead/OctoPrint-Marlin-Flasher | c43110226d1b9d4aa0df2fdfb8cffab47d687957 | [
"MIT"
] | null | null | null | octoprint_marlin_flasher/validation/validators/unsupported.py | thinkyhead/OctoPrint-Marlin-Flasher | c43110226d1b9d4aa0df2fdfb8cffab47d687957 | [
"MIT"
] | 1 | 2021-12-10T03:37:29.000Z | 2021-12-10T03:37:29.000Z | from flask_babel import gettext
from marshmallow import Schema
class UnsupportedSchema(Schema):
def validate(self, _):
return dict(
error=gettext("The configured platform is not supported. Check your settings")
)
| 20.363636 | 81 | 0.772321 | 28 | 224 | 6.107143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 224 | 10 | 82 | 22.4 | 0.909574 | 0 | 0 | 0 | 0 | 0 | 0.272321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1c66d0560c59aaf85136531448b5fb629e98b496 | 1,941 | py | Python | problems/csplib-prob038/params/generateSubset111.py | conjure-cp/EssenceCatalog | 188c933c75e38fa7aad41f5c7a63835714a22db4 | [
"CC-BY-4.0"
] | 6 | 2016-05-12T06:01:23.000Z | 2020-08-16T08:19:20.000Z | problems/csplib-prob038/params/generateSubset111.py | conjure-cp/EssenceCatalog | 188c933c75e38fa7aad41f5c7a63835714a22db4 | [
"CC-BY-4.0"
] | 1 | 2018-06-20T16:48:15.000Z | 2018-06-20T16:48:15.000Z | problems/csplib-prob038/params/generateSubset111.py | conjure-cp/EssenceCatalog | 188c933c75e38fa7aad41f5c7a63835714a22db4 | [
"CC-BY-4.0"
] | 2 | 2018-05-09T09:12:07.000Z | 2018-06-05T11:14:00.000Z | #!/usr/bin/env python3
import sys
# Take subsets of the famous 111 instance by taking the first n orders.
n_orders=int(sys.argv[1])
slabSizes=[12, 14, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 32, 35, 39, 42, 43, 44]
orderSize=[
4 ,
22 ,
9 ,
5 ,
8 ,
3 ,
3 ,
4 ,
7 ,
7 ,
3 ,
2 ,
2 ,
8 ,
5 ,
7 ,
4 ,
7 ,
5 ,
7 ... | 7.215613 | 98 | 0.526018 | 387 | 1,941 | 2.607235 | 0.356589 | 0.069376 | 0.041625 | 0.047572 | 0.216056 | 0.204163 | 0.204163 | 0.166501 | 0.116947 | 0.116947 | 0 | 0.314505 | 0.261206 | 1,941 | 268 | 99 | 7.242537 | 0.389121 | 0.047398 | 0 | 0.712 | 0 | 0 | 0.106775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004 | 0 | 0.004 | 0.044 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c68e59653f5a1aecfd118e7ce3732bf9d50e42e | 9,751 | py | Python | stest/main.py | hotswwkyo/stest | 4b420abdc25d8618e0e154b3df0fefa6be8ef39a | [
"MIT"
] | null | null | null | stest/main.py | hotswwkyo/stest | 4b420abdc25d8618e0e154b3df0fefa6be8ef39a | [
"MIT"
] | null | null | null | stest/main.py | hotswwkyo/stest | 4b420abdc25d8618e0e154b3df0fefa6be8ef39a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@Author: 思文伟
@Date: 2021/09/17
'''
import os
import sys
import datetime
import unittest
from unittest.signals import installHandler
from .conf import settings
from .core.seven_runner import SevenTestRunner
from .core.seven_loader import SevenTestLoader
from .core.rep... | 49.247475 | 181 | 0.590914 | 1,099 | 9,751 | 5.031847 | 0.147407 | 0.036166 | 0.055335 | 0.027667 | 0.768897 | 0.731646 | 0.716456 | 0.691139 | 0.690416 | 0.674503 | 0 | 0.002334 | 0.297098 | 9,751 | 197 | 182 | 49.497462 | 0.804494 | 0.034868 | 0 | 0.47619 | 0 | 0 | 0.148803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.053571 | 0 | 0.130952 | 0.011905 | 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 |
1c68e8f54d120fa4f7f6607b5ea3ee3e240cce50 | 2,687 | py | Python | sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | 1 | 2022-01-24T08:54:57.000Z | 2022-01-24T08:54:57.000Z | sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | sdk/containerregistry/azure-containerregistry/azure/containerregistry/_base_client.py | vincenttran-msft/azure-sdk-for-python | 348b56f9f03eeb3f7b502eed51daf494ffff874d | [
"MIT"
] | null | null | null | # coding=utf-8
# ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from enum import Enum
from typing import TYPE_CHECKING, Dict, Any, Optional
from azure.core.pipeline.transport import HttpTransport
from ._authenticatio... | 30.885057 | 108 | 0.678452 | 291 | 2,687 | 6.027491 | 0.429553 | 0.018244 | 0.031927 | 0.017104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000947 | 0.213993 | 2,687 | 86 | 109 | 31.244186 | 0.829545 | 0.397469 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.095238 | 0.166667 | 0.02381 | 0.547619 | 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 |
1c72cf4efaefc0ca1c4a021e5f31e2863a04c528 | 1,576 | py | Python | manuscript/audio/audio.py | anterokangas/ManuscriptManagerOld | 194bc6c7b899bb4ab61966af3ba1e619fc74c20c | [
"MIT"
] | null | null | null | manuscript/audio/audio.py | anterokangas/ManuscriptManagerOld | 194bc6c7b899bb4ab61966af3ba1e619fc74c20c | [
"MIT"
] | null | null | null | manuscript/audio/audio.py | anterokangas/ManuscriptManagerOld | 194bc6c7b899bb4ab61966af3ba1e619fc74c20c | [
"MIT"
] | null | null | null | # TODO: make speak and say and Sound.audio be audio-elements
from pydub.audio_segment import AudioSegment
import os
import playsound
from manuscript.tools.counter import Counter
class Audio:
""" Otherwise AudioSegment but emty == None """
def __init__(self, audio_segment=None):
self.audio_segment = ... | 29.185185 | 60 | 0.614213 | 188 | 1,576 | 4.941489 | 0.335106 | 0.258342 | 0.206674 | 0.077503 | 0.22605 | 0.142088 | 0 | 0 | 0 | 0 | 0 | 0.004562 | 0.304569 | 1,576 | 54 | 61 | 29.185185 | 0.843066 | 0.089467 | 0 | 0.2 | 0 | 0 | 0.015537 | 0 | 0 | 0 | 0 | 0.018519 | 0 | 1 | 0.175 | false | 0 | 0.1 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1c86b980845320587dbdf30717902a9aa1f69170 | 13,264 | py | Python | src/test_bst.py | morganelle/data-structures | 08c62f14c5f5e85ba8baf42d03bf6a08c9291ace | [
"MIT"
] | null | null | null | src/test_bst.py | morganelle/data-structures | 08c62f14c5f5e85ba8baf42d03bf6a08c9291ace | [
"MIT"
] | 1 | 2017-06-27T23:06:31.000Z | 2017-06-27T23:06:31.000Z | src/test_bst.py | morganelle/data-structures | 08c62f14c5f5e85ba8baf42d03bf6a08c9291ace | [
"MIT"
] | null | null | null | """Tests for binary search tree."""
# from bst import Node
from bst import BinarySearchTree
import pytest
@pytest.fixture
def empty_tree():
"""Init empty tree fixture."""
return BinarySearchTree()
@pytest.fixture
def tree_init_list():
"""Init with numbers 1-7 tree fixture."""
return BinarySearchTree... | 29.607143 | 70 | 0.714189 | 2,131 | 13,264 | 4.083998 | 0.055842 | 0.137883 | 0.140641 | 0.134436 | 0.809836 | 0.756521 | 0.638975 | 0.494312 | 0.415604 | 0.359531 | 0 | 0.025118 | 0.18358 | 13,264 | 447 | 71 | 29.673378 | 0.778558 | 0.11633 | 0 | 0.491694 | 0 | 0 | 0.000871 | 0 | 0 | 0 | 0 | 0 | 0.538206 | 1 | 0.159468 | false | 0 | 0.006645 | 0 | 0.202658 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
98d928ead06de290866a28d6f83ed9fda78d0740 | 907 | py | Python | python/enry/__init__.py | softagram/go-enry | 0fb4b8a76851e1a350b31645352bd6086858cab0 | [
"Apache-2.0"
] | 272 | 2020-03-19T17:00:53.000Z | 2022-03-28T13:03:46.000Z | python/enry/__init__.py | softagram/go-enry | 0fb4b8a76851e1a350b31645352bd6086858cab0 | [
"Apache-2.0"
] | 70 | 2020-03-20T13:46:09.000Z | 2022-03-24T11:19:43.000Z | python/enry/__init__.py | softagram/go-enry | 0fb4b8a76851e1a350b31645352bd6086858cab0 | [
"Apache-2.0"
] | 38 | 2020-03-21T12:17:35.000Z | 2022-03-17T14:23:24.000Z | from enry.definitions import get_color, get_language, get_language_by_content, get_language_by_emacs_modeline, \
get_language_by_extension, get_language_by_filename, get_language_by_modeline, get_language_by_shebang, \
get_language_by_vim_modeline, get_languages, get_mime_type, is_binary, is_configuration, is_d... | 33.592593 | 112 | 0.758545 | 119 | 907 | 5.109244 | 0.243697 | 0.325658 | 0.299342 | 0.172697 | 0.725329 | 0.654605 | 0.417763 | 0.279605 | 0.194079 | 0.194079 | 0 | 0 | 0.151047 | 907 | 26 | 113 | 34.884615 | 0.78961 | 0 | 0 | 0 | 0 | 0 | 0.361632 | 0.220507 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 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 |
98df8729ee30332187d9ac26ecf28b50142b5fbb | 366 | py | Python | src/blackjack/hand.py | Broderick-Westrope/Blackjack | b88ccd639ad8e5fdde8e4099b1ed1dbfa73f878b | [
"MIT"
] | null | null | null | src/blackjack/hand.py | Broderick-Westrope/Blackjack | b88ccd639ad8e5fdde8e4099b1ed1dbfa73f878b | [
"MIT"
] | null | null | null | src/blackjack/hand.py | Broderick-Westrope/Blackjack | b88ccd639ad8e5fdde8e4099b1ed1dbfa73f878b | [
"MIT"
] | null | null | null | class Hand:
# Each card should be a tuple of the structure (card, value), where card is the literal card (ie. 2, A, K) and the value is the numeric value of that card (ie. 2, 11, 10)
def __init__(self):
self.cards = []
def addCard(self, card):
self.cards.append(card)
def getLast(self):... | 33.272727 | 174 | 0.63388 | 60 | 366 | 3.8 | 0.55 | 0.157895 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.254098 | 366 | 10 | 175 | 36.6 | 0.809524 | 0.459016 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
98eb7107231a054686414513429c7004ffb5f8e0 | 62 | py | Python | tushare/03 Classic/0104 get_sme_classified.py | CoderDream/python-best-practice | 40e6b5315daefb37c59daa1a1990ac1ae10f8cca | [
"MIT"
] | null | null | null | tushare/03 Classic/0104 get_sme_classified.py | CoderDream/python-best-practice | 40e6b5315daefb37c59daa1a1990ac1ae10f8cca | [
"MIT"
] | null | null | null | tushare/03 Classic/0104 get_sme_classified.py | CoderDream/python-best-practice | 40e6b5315daefb37c59daa1a1990ac1ae10f8cca | [
"MIT"
] | null | null | null | import tushare as ts
df = ts.get_sme_classified()
print(df)
| 10.333333 | 28 | 0.741935 | 11 | 62 | 4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 62 | 5 | 29 | 12.4 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 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 |
98f523274a82dd42039f6a894e368a5334dd4a80 | 7,259 | py | Python | dev/mirroring_test.py | usuaero/MachLine | dacc984e8430bcbff2773ff325bb471503ff47fc | [
"MIT"
] | 2 | 2022-02-17T21:41:11.000Z | 2022-03-07T23:11:43.000Z | dev/mirroring_test.py | usuaero/MachLine | dacc984e8430bcbff2773ff325bb471503ff47fc | [
"MIT"
] | 1 | 2022-01-26T02:04:43.000Z | 2022-02-07T17:07:23.000Z | dev/mirroring_test.py | usuaero/MachLine | dacc984e8430bcbff2773ff325bb471503ff47fc | [
"MIT"
] | null | null | null | # Tests the matching achieved by mirroring
import json
import subprocess as sp
import numpy as np
def get_min_max_cp():
# Gets the min and max pressure coefficients from the report file
with open('dev/report.txt', 'r') as report_file:
lines = report_file.readlines()
C_p_max = float(lines[3... | 37.807292 | 149 | 0.565092 | 963 | 7,259 | 3.971963 | 0.137072 | 0.082353 | 0.018301 | 0.084706 | 0.744052 | 0.726536 | 0.709542 | 0.659608 | 0.659608 | 0.633464 | 0 | 0.038168 | 0.296184 | 7,259 | 192 | 150 | 37.807292 | 0.710511 | 0.133903 | 0 | 0.536842 | 0 | 0 | 0.132308 | 0.016178 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010526 | false | 0 | 0.031579 | 0 | 0.052632 | 0.126316 | 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 |
c734fd9f52fcd3bcd7590a63727ea1f1c571b7f0 | 471 | py | Python | system/tests/data/test_12.py | TioWang/stash | a214cbc4c8a2be2cfe44977947f02bc37068329b | [
"MIT"
] | null | null | null | system/tests/data/test_12.py | TioWang/stash | a214cbc4c8a2be2cfe44977947f02bc37068329b | [
"MIT"
] | null | null | null | system/tests/data/test_12.py | TioWang/stash | a214cbc4c8a2be2cfe44977947f02bc37068329b | [
"MIT"
] | 1 | 2019-01-07T09:32:22.000Z | 2019-01-07T09:32:22.000Z | import os
_stash = globals()['_stash']
print 'parent script {}'.format(os.path.basename(os.getcwd()))
# Change directory in sub-shell
_stash('test_12_1.py')
# Directory in parent shell is not changed
print 'parent script {}'.format(os.path.basename(os.getcwd()))
# Following calls to sub-shell remembers the directory ... | 36.230769 | 74 | 0.747346 | 74 | 471 | 4.648649 | 0.445946 | 0.09593 | 0.148256 | 0.200581 | 0.543605 | 0.543605 | 0.392442 | 0.392442 | 0.392442 | 0 | 0 | 0.014388 | 0.11465 | 471 | 13 | 75 | 36.230769 | 0.810552 | 0.397028 | 0 | 0.428571 | 0 | 0 | 0.278571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
c756ad63d7f9d9842cedb27bd526487c9272777b | 7,237 | py | Python | auth/test_api_auth.py | kolyat/testutils | be085d3649d35ce1664e9bdb669f5bc1bacc47f8 | [
"MIT"
] | null | null | null | auth/test_api_auth.py | kolyat/testutils | be085d3649d35ce1664e9bdb669f5bc1bacc47f8 | [
"MIT"
] | null | null | null | auth/test_api_auth.py | kolyat/testutils | be085d3649d35ce1664e9bdb669f5bc1bacc47f8 | [
"MIT"
] | null | null | null | import logging.config
import logging
import re
import pytest
import config
from utils.codes import API_CODES
from utils import client, rnd
def test_auth_start():
"""Test 1-st step of multistep authentication.
"""
_client = client.ArClient()
response, session_id = _client.get_session_id()
assert r... | 35.826733 | 79 | 0.628299 | 880 | 7,237 | 4.8875 | 0.109091 | 0.11509 | 0.052313 | 0.050221 | 0.855615 | 0.772379 | 0.695187 | 0.642409 | 0.619623 | 0.563357 | 0 | 0.03701 | 0.24582 | 7,237 | 201 | 80 | 36.004975 | 0.751008 | 0.116899 | 0 | 0.542254 | 0 | 0.007042 | 0.089982 | 0.00653 | 0 | 0 | 0 | 0 | 0.253521 | 1 | 0.070423 | false | 0.169014 | 0.049296 | 0 | 0.119718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
c75d3b6f3c902f8456391ed5178ac99cbf382ca3 | 49 | py | Python | minidoc/__init__.py | ihgazni2/minidoc | b2859069bad5e718692b57d5498389473c66bd2e | [
"MIT"
] | null | null | null | minidoc/__init__.py | ihgazni2/minidoc | b2859069bad5e718692b57d5498389473c66bd2e | [
"MIT"
] | null | null | null | minidoc/__init__.py | ihgazni2/minidoc | b2859069bad5e718692b57d5498389473c66bd2e | [
"MIT"
] | null | null | null | __all__ = ["minidoc","tst","svg","r2x","comast"]
| 24.5 | 48 | 0.591837 | 6 | 49 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.061224 | 49 | 1 | 49 | 49 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0.44898 | 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 |
c768b109ff2776f857fbd938d17a0eff7c168134 | 1,023 | py | Python | python/testData/inspections/PyStringFormatInspection/PercentStringCallUnionArgument.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyStringFormatInspection/PercentStringCallUnionArgument.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/inspections/PyStringFormatInspection/PercentStringCallUnionArgument.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(mode):
if mode == "i":
return 1
elif mode == "f":
return 1.0
elif mode == "s":
return ""
elif mode == "b":
return True
elif mode == "l":
return []
elif mode == "d":
return {}
elif mode == "set":
return set()
"%s %s" % <warning des... | 24.357143 | 81 | 0.564027 | 149 | 1,023 | 3.872483 | 0.161074 | 0.110919 | 0.109185 | 0.169844 | 0.67591 | 0.67591 | 0.67591 | 0.67591 | 0.67591 | 0.67591 | 0 | 0.006494 | 0.247312 | 1,023 | 41 | 82 | 24.95122 | 0.742857 | 0 | 0 | 0.529412 | 0 | 0 | 0.291585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c77adba5e9efd28eec6bb0cbee519449c792947a | 218 | py | Python | python/exam/MultiplyTo24.py | walterfan/snippets | 62f87720c411093fcff888f25b338afd1d99a6f9 | [
"Apache-2.0"
] | 1 | 2021-06-18T09:31:59.000Z | 2021-06-18T09:31:59.000Z | python/exam/MultiplyTo24.py | walterfan/snippets | 62f87720c411093fcff888f25b338afd1d99a6f9 | [
"Apache-2.0"
] | 10 | 2020-12-12T08:12:06.000Z | 2022-03-02T06:54:10.000Z | python/exam/MultiplyTo24.py | walterfan/snippets | 62f87720c411093fcff888f25b338afd1d99a6f9 | [
"Apache-2.0"
] | null | null | null | import sys
def compute():
print("compute..")
def generate
English
SimplifiedChinese
TraditionalChinese
Japanese
Korean
French
German
Italian
CastilianSpain
LatinAmericanSpanish
Swedish
Dutch
Portuguese
Russian
| 9.083333 | 21 | 0.825688 | 22 | 218 | 8.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133028 | 218 | 23 | 22 | 9.478261 | 0.952381 | 0 | 0 | 0 | 1 | 0 | 0.041284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.055556 | null | null | 0.055556 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c77ba7266e5665c85a00209df3a9a740a44f5252 | 1,286 | py | Python | ui_tests/caseworker/pages/ecju_queries_pages.py | django-doctor/lite-frontend | 330ff9575fd22d7c4c42698ac2d653244e6180d6 | [
"MIT"
] | 1 | 2021-10-16T16:36:58.000Z | 2021-10-16T16:36:58.000Z | ui_tests/caseworker/pages/ecju_queries_pages.py | django-doctor/lite-frontend | 330ff9575fd22d7c4c42698ac2d653244e6180d6 | [
"MIT"
] | 45 | 2020-08-11T14:37:46.000Z | 2022-03-29T17:03:02.000Z | ui_tests/caseworker/pages/ecju_queries_pages.py | django-doctor/lite-frontend | 330ff9575fd22d7c4c42698ac2d653244e6180d6 | [
"MIT"
] | 3 | 2021-02-01T06:26:19.000Z | 2022-02-21T23:02:46.000Z | from ui_tests.caseworker.pages.BasePage import BasePage
class EcjuQueriesPages(BasePage):
BUTTON_NEW_QUERY_ID = "button-new-query"
BUTTON_PREVISIT_QUESTIONNAIRE_ID = "button-new-pre-visit-questionnaire"
BUTTON_COMPLIANCE_ACTIONS_ID = "button-new-compliance-actions"
TEXTAREA_QUESTION_ID = "question"
... | 40.1875 | 99 | 0.784603 | 182 | 1,286 | 5.10989 | 0.21978 | 0.075269 | 0.105376 | 0.158065 | 0.384946 | 0.384946 | 0.384946 | 0.353763 | 0.353763 | 0.353763 | 0 | 0 | 0.130638 | 1,286 | 31 | 100 | 41.483871 | 0.831843 | 0 | 0 | 0 | 0 | 0 | 0.087869 | 0.048989 | 0 | 0 | 0 | 0 | 0 | 1 | 0.318182 | false | 0 | 0.045455 | 0.227273 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c7a45c54f8c22734c2df4517f39245fdacc59ece | 827 | py | Python | tests/test_register.py | nsoranzo/gravity | 42e83ea4a5ad4e1a72d33c1ed4bddd2915268e1b | [
"MIT"
] | null | null | null | tests/test_register.py | nsoranzo/gravity | 42e83ea4a5ad4e1a72d33c1ed4bddd2915268e1b | [
"MIT"
] | null | null | null | tests/test_register.py | nsoranzo/gravity | 42e83ea4a5ad4e1a72d33c1ed4bddd2915268e1b | [
"MIT"
] | null | null | null | from gravity import (
config_manager,
process_manager,
)
def test_register(galaxy_root_dir, state_dir):
config = galaxy_root_dir / 'config' / 'galaxy.yml.sample'
with config_manager.config_manager(state_dir=state_dir) as cm:
cm.add([str(config)])
def test_update(galaxy_root_dir, state_dir):
... | 31.807692 | 68 | 0.725514 | 120 | 827 | 4.666667 | 0.2 | 0.171429 | 0.157143 | 0.128571 | 0.773214 | 0.773214 | 0.728571 | 0.648214 | 0.648214 | 0.648214 | 0 | 0 | 0.165659 | 827 | 25 | 69 | 33.08 | 0.811594 | 0 | 0 | 0.421053 | 0 | 0 | 0.083434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
c7be042065cf76f37558122a8ece89c5c3177296 | 26 | py | Python | TwitterDataCollect/__init__.py | dxmahata/TwitterSentimentAnalysis | b228747dfa74266853d4f8e6d4bc4eb29c080dd3 | [
"MIT"
] | null | null | null | TwitterDataCollect/__init__.py | dxmahata/TwitterSentimentAnalysis | b228747dfa74266853d4f8e6d4bc4eb29c080dd3 | [
"MIT"
] | null | null | null | TwitterDataCollect/__init__.py | dxmahata/TwitterSentimentAnalysis | b228747dfa74266853d4f8e6d4bc4eb29c080dd3 | [
"MIT"
] | null | null | null | __author__ = 'cisstudent'
| 13 | 25 | 0.769231 | 2 | 26 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 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 |
c7bfc6aafc3ae54e04187dd5279c4fd408c6e9ec | 27,616 | py | Python | tests/models/programdb/reliability/reliability_unit_test.py | weibullguy/ramstk | 3ec41d7e2933045a7a8028aed6c6b04365495095 | [
"BSD-3-Clause"
] | 4 | 2018-08-26T09:11:36.000Z | 2019-05-24T12:01:02.000Z | tests/models/programdb/reliability/reliability_unit_test.py | weibullguy/ramstk | 3ec41d7e2933045a7a8028aed6c6b04365495095 | [
"BSD-3-Clause"
] | 52 | 2018-08-24T12:51:22.000Z | 2020-12-28T04:59:42.000Z | tests/models/programdb/reliability/reliability_unit_test.py | weibullguy/ramstk | 3ec41d7e2933045a7a8028aed6c6b04365495095 | [
"BSD-3-Clause"
] | 1 | 2018-10-11T07:57:55.000Z | 2018-10-11T07:57:55.000Z | # pylint: skip-file
# type: ignore
# -*- coding: utf-8 -*-
#
# tests.models.programdb.reliability.reliability_unit_test.py is part of The
# RAMSTK Project
#
# All rights reserved.
# Copyright since 2007 Doyle "weibullguy" Rowland doyle.rowland <AT> reliaqual <DOT> com
"""Test class for testing Reliability m... | 41.842424 | 88 | 0.709733 | 3,414 | 27,616 | 5.311072 | 0.085823 | 0.071145 | 0.060225 | 0.083388 | 0.827873 | 0.796382 | 0.710732 | 0.669535 | 0.615321 | 0.579914 | 0 | 0.039545 | 0.20977 | 27,616 | 659 | 89 | 41.905918 | 0.791321 | 0.088717 | 0 | 0.569721 | 0 | 0 | 0.08997 | 0.030083 | 0 | 0 | 0 | 0 | 0.266932 | 1 | 0.043825 | false | 0.001992 | 0.011952 | 0 | 0.099602 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c7c850c52cb83fcdaaa612a26a3b3ca63bba592f | 590 | gyp | Python | examples/pxScene2d/external/libnode-v6.9.0/deps/gtest/gtest.gyp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 918 | 2016-12-22T02:53:08.000Z | 2022-03-22T06:21:35.000Z | examples/pxScene2d/external/libnode-v6.9.0/deps/gtest/gtest.gyp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/libnode-v6.9.0/deps/gtest/gtest.gyp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 317 | 2017-06-20T19:57:17.000Z | 2020-09-16T10:28:30.000Z | {
'targets': [
{
'target_name': 'gtest',
'type': 'static_library',
'cflags': ['-Wno-missing-field-initializers'],
'direct_dependent_settings': {
'include_dirs': ['include'],
},
'include_dirs': ['.', 'include'],
'sources': [
'src/gtest-death-test.cc',
... | 23.6 | 52 | 0.5 | 61 | 590 | 4.721311 | 0.508197 | 0.25 | 0.243056 | 0.097222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.29322 | 590 | 24 | 53 | 24.583333 | 0.690647 | 0 | 0 | 0.083333 | 0 | 0 | 0.557627 | 0.322034 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.041667 | 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 |
c7e8291f7eb35cab3b9c334370f6f2d5b8665ba1 | 1,931 | py | Python | test/strings/bad1.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 5 | 2017-02-22T10:17:39.000Z | 2021-04-06T16:36:13.000Z | test/strings/bad1.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | null | null | null | test/strings/bad1.py | Setonas/MagicSetonas | ef76da5f27a0506b194c58072b81424e3ce985d7 | [
"MIT"
] | 1 | 2020-08-29T02:30:52.000Z | 2020-08-29T02:30:52.000Z | a = "bad \\ string
foo \' \" \a \b \c \f \n \r \t \v \5 \55 \555 \05 \005"
apibrėžti foo(a=1): pereiti
a : source.python
: source.python
= : keyword.operator.assignment.python, source.python
: source.python
" : punctuation.definition.string.begin.python... | 62.290323 | 132 | 0.670637 | 225 | 1,931 | 5.755556 | 0.24 | 0.222394 | 0.277992 | 0.148263 | 0.654054 | 0.512741 | 0.457143 | 0.319691 | 0.319691 | 0.274903 | 0 | 0.015707 | 0.2087 | 1,931 | 30 | 133 | 64.366667 | 0.831806 | 0 | 0 | 0.148148 | 0 | 0.037037 | 0.046608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c7f08d15b1a046a1ccf22deaf96fe5bd20ba5b08 | 4,721 | py | Python | tests/test_azure_ad.py | AffinityJS/fastapi_microsoft_identity | 1f40402e37241460d762dce39fb957ca40283783 | [
"MIT"
] | null | null | null | tests/test_azure_ad.py | AffinityJS/fastapi_microsoft_identity | 1f40402e37241460d762dce39fb957ca40283783 | [
"MIT"
] | null | null | null | tests/test_azure_ad.py | AffinityJS/fastapi_microsoft_identity | 1f40402e37241460d762dce39fb957ca40283783 | [
"MIT"
] | null | null | null | # Sample Test passing with nose and pytest
import pytest
from fastapi import Request
import sys
import os
container_folder = os.path.abspath(os.path.join(
os.path.dirname(__file__), '..'
))
sys.path.insert(0, container_folder)
from fastapi_microsoft_identity import auth_service, AuthError
from multidict import Mu... | 70.462687 | 1,182 | 0.864647 | 341 | 4,721 | 11.645161 | 0.284457 | 0.033241 | 0.037774 | 0.039285 | 0.321581 | 0.314279 | 0.303198 | 0.266683 | 0.266683 | 0.266683 | 0 | 0.072964 | 0.073925 | 4,721 | 66 | 1,183 | 71.530303 | 0.835316 | 0.008473 | 0 | 0.472727 | 0 | 0 | 0.579611 | 0.483223 | 0 | 0 | 0 | 0 | 0.054545 | 1 | 0.109091 | false | 0 | 0.109091 | 0 | 0.218182 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1be2f818ebded6a948a3cefa471860601295b9fe | 2,181 | py | Python | xml/xml_stop_pars.py | javnik36/ZTMvsOSM | b7f0c3c2ceb1cd28ae2f6a5a37007f985c3145e0 | [
"MIT"
] | 1 | 2017-05-08T20:15:40.000Z | 2017-05-08T20:15:40.000Z | xml/xml_stop_pars.py | javnik36/ZTMvsOSM | b7f0c3c2ceb1cd28ae2f6a5a37007f985c3145e0 | [
"MIT"
] | null | null | null | xml/xml_stop_pars.py | javnik36/ZTMvsOSM | b7f0c3c2ceb1cd28ae2f6a5a37007f985c3145e0 | [
"MIT"
] | null | null | null | from bs4 import BeautifulSoup as parser
import urllib.request as urllib
import re
##Include after end
#url = "http://overpass-api.de/api/interpreter?data=%5Bout%3Axml%5D%3B%28area%283603509824%29%3Barea%283603014990%29%3Barea%283602603447%29%3Barea%283602719113%29%3Barea%283602603448%29%3Barea%283600336313%29%3Barea%2... | 39.654545 | 1,214 | 0.740486 | 321 | 2,181 | 5.018692 | 0.436137 | 0.153942 | 0.031037 | 0.049659 | 0.152079 | 0.134699 | 0.134699 | 0.134699 | 0.111111 | 0.111111 | 0 | 0.301259 | 0.089867 | 2,181 | 54 | 1,215 | 40.388889 | 0.510327 | 0.762494 | 0 | 0 | 0 | 0 | 0.092929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1875 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1bf4abd43691f50323d20abc349bad021eabcd10 | 1,588 | py | Python | 2016/Python/day01/part2.py | tymscar/Advent-Of-Code | cd7b96b0253191e236bd704b0d8b5540fb3e8ef6 | [
"MIT"
] | 4 | 2019-12-08T08:20:53.000Z | 2021-12-17T12:04:11.000Z | 2016/Python/day01/part2.py | tymscar/AdventOfCode2018 | 9742ddb6bbbc917062baad87d6b6de75375f1ae8 | [
"MIT"
] | null | null | null | 2016/Python/day01/part2.py | tymscar/AdventOfCode2018 | 9742ddb6bbbc917062baad87d6b6de75375f1ae8 | [
"MIT"
] | 4 | 2020-12-11T22:10:24.000Z | 2021-12-25T22:39:05.000Z | from collections import defaultdict
def part2():
file = open('input.txt', 'r')
pos = [0,0]
rot = 0
visited = defaultdict(lambda: False)
visited[tuple(pos)] = True
for line in file:
instr = line.strip("\n").split(", ")
while True:
line = instr
for instruction i... | 31.76 | 56 | 0.390428 | 170 | 1,588 | 3.647059 | 0.241176 | 0.174194 | 0.217742 | 0.275806 | 0.609677 | 0.609677 | 0.609677 | 0.609677 | 0.609677 | 0.609677 | 0 | 0.039903 | 0.479219 | 1,588 | 50 | 57 | 31.76 | 0.709794 | 0 | 0 | 0.463415 | 0 | 0 | 0.00944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02439 | false | 0 | 0.02439 | 0 | 0.146341 | 0.02439 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4031b17a4ff2c12f5e01a31d850db77f395bec1e | 179 | py | Python | Programs/Average number in given list.py | Siddharth1698/Python-Bootcamp | c1e8198502e8bf5739cedb5e6fee3d8d1684ace6 | [
"Apache-2.0"
] | null | null | null | Programs/Average number in given list.py | Siddharth1698/Python-Bootcamp | c1e8198502e8bf5739cedb5e6fee3d8d1684ace6 | [
"Apache-2.0"
] | null | null | null | Programs/Average number in given list.py | Siddharth1698/Python-Bootcamp | c1e8198502e8bf5739cedb5e6fee3d8d1684ace6 | [
"Apache-2.0"
] | null | null | null | n = int(input(("Enter number of elements to be inserted to list")))
a = []
for i in range(0,n):
elem = int(input("Enter number"))
a.append(elem)
avg = sum(a)/n
print(avg) | 22.375 | 67 | 0.625698 | 33 | 179 | 3.393939 | 0.666667 | 0.142857 | 0.232143 | 0.339286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006944 | 0.195531 | 179 | 8 | 68 | 22.375 | 0.770833 | 0 | 0 | 0 | 0 | 0 | 0.327778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 |
406d099023375244c1a0f109e558b450abd79b4a | 1,097 | py | Python | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/get_program_binary.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/get_program_binary.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/get_program_binary.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | '''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_get_program_binary'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_ARB_get_program_binary',False)
_p.unpack_c... | 40.62963 | 93 | 0.814038 | 154 | 1,097 | 5.467532 | 0.441558 | 0.092637 | 0.053444 | 0.039192 | 0.148456 | 0.098575 | 0.098575 | 0.073634 | 0.073634 | 0 | 0 | 0.016 | 0.088423 | 1,097 | 26 | 94 | 42.192308 | 0.826 | 0.106655 | 0 | 0.136364 | 1 | 0 | 0.199174 | 0.167183 | 0 | 0 | 0.024768 | 0 | 0 | 1 | 0.227273 | false | 0.136364 | 0.181818 | 0.045455 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4080fbaf3019eee9cf0e17102f38414ffe940af1 | 925 | py | Python | testsite/music/models.py | AyushTalesara/DjangoSite | e34bfa1960fc046968a57939648346cf14c99605 | [
"MIT"
] | 1 | 2019-09-04T20:26:47.000Z | 2019-09-04T20:26:47.000Z | testsite/music/models.py | AyushTalesara/DjangoSite | e34bfa1960fc046968a57939648346cf14c99605 | [
"MIT"
] | null | null | null | testsite/music/models.py | AyushTalesara/DjangoSite | e34bfa1960fc046968a57939648346cf14c99605 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.urls import reverse
from django.db import models
# Create your models here.
class Album(models.Model):
artist=models.CharField(max_length=250)
album_title=models.CharField(max_length=250)
genre = models.CharField(max_length=250)
... | 25.694444 | 61 | 0.708108 | 123 | 925 | 5.081301 | 0.422764 | 0.12 | 0.144 | 0.192 | 0.4576 | 0.4576 | 0.2528 | 0.2528 | 0.2528 | 0.2528 | 0 | 0.020915 | 0.172973 | 925 | 35 | 62 | 26.428571 | 0.796078 | 0.139459 | 0 | 0.105263 | 0 | 0 | 0.021492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.157895 | false | 0 | 0.157895 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.