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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
753effef64eeb7cac63219c2fe98b6eeec746bb4 | 503 | py | Python | test/model/bannersexo.py | robertons/dbmodel | 628c4d6a2d0b23d9137015e5b0ea4551b20943bd | [
"MIT"
] | null | null | null | test/model/bannersexo.py | robertons/dbmodel | 628c4d6a2d0b23d9137015e5b0ea4551b20943bd | [
"MIT"
] | null | null | null | test/model/bannersexo.py | robertons/dbmodel | 628c4d6a2d0b23d9137015e5b0ea4551b20943bd | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
from dbmodel.entity import *
class BannerSexo(Entity):
__primary_key__ = ['id_banner', 'id_sexo']
# FIELDS
@Int(pk=True, not_null=True, precision = 10, scale=0)
def id_banner(self): pass
@Int(pk=True, not_null=True, precision = 10, scale=0)
def id_sexo(self): pass
# One-to-One
@Obj... | 22.863636 | 73 | 0.681909 | 78 | 503 | 4.230769 | 0.448718 | 0.09697 | 0.054545 | 0.072727 | 0.254545 | 0.254545 | 0.254545 | 0.254545 | 0.254545 | 0.254545 | 0 | 0.016018 | 0.131213 | 503 | 22 | 74 | 22.863636 | 0.73913 | 0.077535 | 0 | 0.181818 | 0 | 0 | 0.125541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.363636 | 0.090909 | 0 | 0.636364 | 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 |
754a0fba2839c7c70a1d42743be26df1387ab735 | 22 | py | Python | BeeBot/config.py | yamozha/discord-bots | 3584e49c058575b575d50896cb1c7f6737ad1d69 | [
"MIT"
] | null | null | null | BeeBot/config.py | yamozha/discord-bots | 3584e49c058575b575d50896cb1c7f6737ad1d69 | [
"MIT"
] | null | null | null | BeeBot/config.py | yamozha/discord-bots | 3584e49c058575b575d50896cb1c7f6737ad1d69 | [
"MIT"
] | null | null | null | TOKEN = "enter-token"
| 11 | 21 | 0.681818 | 3 | 22 | 5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
754c56d7a576f7b6a6da874ca2b6574d00d51a05 | 310 | py | Python | data_modeling/settings.py | jbj2505/dend_01_data_modelling | 58faf1ae5dacf4343a647c0233402be336d6a7c1 | [
"MIT"
] | null | null | null | data_modeling/settings.py | jbj2505/dend_01_data_modelling | 58faf1ae5dacf4343a647c0233402be336d6a7c1 | [
"MIT"
] | null | null | null | data_modeling/settings.py | jbj2505/dend_01_data_modelling | 58faf1ae5dacf4343a647c0233402be336d6a7c1 | [
"MIT"
] | null | null | null | """
This module provides access to the dotenv settings.
"""
import os
from os.path import join, dirname
from dotenv import load_dotenv
DOTENV_PATH = join(dirname(__file__), '.env')
load_dotenv(DOTENV_PATH)
DB_USER_NAME = os.environ.get("DB_USER_NAME")
DB_USER_PASSWORD = os.environ.get("DB_USER_PASSWORD")
| 20.666667 | 53 | 0.774194 | 49 | 310 | 4.571429 | 0.469388 | 0.107143 | 0.142857 | 0.178571 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116129 | 310 | 14 | 54 | 22.142857 | 0.817518 | 0.164516 | 0 | 0 | 0 | 0 | 0.12749 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.428571 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
756048782c31c9f08def9ae21613e2b4b7271fb7 | 1,296 | py | Python | pymikuvr/tests/test_color.py | beep39/pymikuvr | 03fc7d77babc0ab0f6444534ca7df522b3ac1de2 | [
"MIT"
] | 1 | 2021-11-16T16:18:31.000Z | 2021-11-16T16:18:31.000Z | pymikuvr/tests/test_color.py | beep39/pymikuvr | 03fc7d77babc0ab0f6444534ca7df522b3ac1de2 | [
"MIT"
] | null | null | null | pymikuvr/tests/test_color.py | beep39/pymikuvr | 03fc7d77babc0ab0f6444534ca7df522b3ac1de2 | [
"MIT"
] | null | null | null | import unittest
from api.color import color, color_o
class test_color(unittest.TestCase):
def assertAlmostEqual(self, a, b):
if isinstance(a, color):
unittest.TestCase.assertAlmostEqual(self, a.r, b.r)
unittest.TestCase.assertAlmostEqual(self, a.g, b.g)
unittest.TestCas... | 35.027027 | 81 | 0.566358 | 196 | 1,296 | 3.72449 | 0.183673 | 0.030137 | 0.210959 | 0.253425 | 0.528767 | 0.347945 | 0.241096 | 0.241096 | 0.145205 | 0.046575 | 0 | 0.050701 | 0.284722 | 1,296 | 36 | 82 | 36 | 0.736785 | 0.108025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.517241 | 1 | 0.103448 | false | 0 | 0.068966 | 0 | 0.206897 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f32afa69d36409d22a4c5dcdfe84bf40b49ff1a1 | 132 | py | Python | scoring/urls.py | AltusN/rhythmeet | e42f264b6d1563b4821acfe6ada1fbc93dd895ac | [
"MIT"
] | null | null | null | scoring/urls.py | AltusN/rhythmeet | e42f264b6d1563b4821acfe6ada1fbc93dd895ac | [
"MIT"
] | null | null | null | scoring/urls.py | AltusN/rhythmeet | e42f264b6d1563b4821acfe6ada1fbc93dd895ac | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('gymnast/', views.view_all_gymnasts, name='Gymnasts'),
] | 18.857143 | 63 | 0.719697 | 17 | 132 | 5.470588 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 64 | 18.857143 | 0.830357 | 0 | 0 | 0 | 0 | 0 | 0.120301 | 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 |
f349887cdf2b662ed396310585bbdd7afac220d6 | 5,861 | py | Python | akat_rust_pp_py/objects/calculator.py | RealistikDash/akat-rust-pp-py | d2aa82ea842497b0b78ed684e88dbd7108c6f570 | [
"MIT"
] | null | null | null | akat_rust_pp_py/objects/calculator.py | RealistikDash/akat-rust-pp-py | d2aa82ea842497b0b78ed684e88dbd7108c6f570 | [
"MIT"
] | null | null | null | akat_rust_pp_py/objects/calculator.py | RealistikDash/akat-rust-pp-py | d2aa82ea842497b0b78ed684e88dbd7108c6f570 | [
"MIT"
] | null | null | null | from .pp_result import CalcResult
from .beatmap import Beatmap
from ..utils import _mutable_property_generator
from ..types import NativeCalculator
from .._peace_performance import pp as _pp_rust
from typing import Any, Dict, Optional, Union
@_mutable_property_generator
class Calculator:
'''
Calculator for... | 29.305 | 108 | 0.569016 | 714 | 5,861 | 4.526611 | 0.145658 | 0.170173 | 0.071473 | 0.116955 | 0.528775 | 0.514542 | 0.47401 | 0.374691 | 0.340347 | 0.340347 | 0 | 0.019995 | 0.266166 | 5,861 | 199 | 109 | 29.452261 | 0.731458 | 0.313428 | 0 | 0.11236 | 0 | 0 | 0.031838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.47191 | false | 0.05618 | 0.067416 | 0.011236 | 0.786517 | 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 |
f34dedc4df9e026b2801b11197edd28a6f30128f | 310 | py | Python | tests/components/kraken/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/kraken/conftest.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/kraken/conftest.py | Vaarlion/core | f3de8b9f28de01abf72c0f5bb0b457eb1841f201 | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Provide common pytest fixtures for kraken tests."""
from unittest.mock import patch
import pytest
@pytest.fixture(autouse=True)
def mock_call_rate_limit_sleep():
"""Patch the call rate limit sleep time."""
with patch("homeassistant.components.kraken.CALL_RATE_LIMIT_SLEEP", new=0):
yield
| 25.833333 | 79 | 0.745161 | 43 | 310 | 5.209302 | 0.651163 | 0.107143 | 0.174107 | 0.241071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003788 | 0.148387 | 310 | 11 | 80 | 28.181818 | 0.844697 | 0.277419 | 0 | 0 | 0 | 0 | 0.248826 | 0.248826 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f356006039e18089dbf912c1dd4e232db85deab3 | 3,195 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/invalidate_subdata.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/invalidate_subdata.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/invalidate_subdata.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension ARB.invalidate_subdata
This module customises the behaviour of the
OpenGL.raw.GL.ARB.invalidate_subdata to provide a more
Python-friendly API
Overview (from the spec)
This extension adds a mechanism for an application to tell the GL that
the previous contents of a subregion of an im... | 42.6 | 90 | 0.777465 | 432 | 3,195 | 5.719907 | 0.476852 | 0.024282 | 0.040469 | 0.016997 | 0.121004 | 0.108053 | 0.058276 | 0.058276 | 0.025091 | 0 | 0 | 0.001534 | 0.183725 | 3,195 | 75 | 91 | 42.6 | 0.945936 | 0.872926 | 0 | 0.133333 | 0 | 0 | 0.035599 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.466667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
f36667014ca5d62e7b0092421723e08aa0cddc63 | 585 | py | Python | versio9/special_class_methods.py | doubleO8/versionone-sdk-spoon | 7d6bded063a07e728e67d82e33ccd10d4f5d12eb | [
"BSD-3-Clause"
] | null | null | null | versio9/special_class_methods.py | doubleO8/versionone-sdk-spoon | 7d6bded063a07e728e67d82e33ccd10d4f5d12eb | [
"BSD-3-Clause"
] | null | null | null | versio9/special_class_methods.py | doubleO8/versionone-sdk-spoon | 7d6bded063a07e728e67d82e33ccd10d4f5d12eb | [
"BSD-3-Clause"
] | null | null | null | # objects here will be mixed into the dynamically created asset type classes
# based on name.
# This lets us extend certain asset types without having to give up the generic
# dynamic meta implementation
class Attachment(object):
def set_blob(self, blob):
return self._v1_v1meta.set_attachment_... | 29.25 | 81 | 0.728205 | 85 | 585 | 4.835294 | 0.6 | 0.077859 | 0.058394 | 0.087591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008715 | 0.215385 | 585 | 19 | 82 | 30.789474 | 0.88671 | 0.470085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f3815d6d875aa8fc971d3ca3c2ab7194504701a2 | 182 | py | Python | ast_demo.py | domdfcoding/flake8-rst-docstrings | 5a8badf13c6696e23150c57e1cd4fe7f2edba355 | [
"MIT"
] | null | null | null | ast_demo.py | domdfcoding/flake8-rst-docstrings | 5a8badf13c6696e23150c57e1cd4fe7f2edba355 | [
"MIT"
] | null | null | null | ast_demo.py | domdfcoding/flake8-rst-docstrings | 5a8badf13c6696e23150c57e1cd4fe7f2edba355 | [
"MIT"
] | null | null | null | import ast
import pathlib
import pprint
from flake8_rst_docstrings import Plugin
s = pathlib.Path("tests/test_ast.py").read_text()
pprint.pprint(list(Plugin(ast.parse(s)).run()))
| 18.2 | 49 | 0.774725 | 29 | 182 | 4.724138 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.093407 | 182 | 9 | 50 | 20.222222 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.093407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
f3a8b41727b32797475d1582dc07190059215e17 | 10,936 | py | Python | mapclientplugins/fieldworkmeshfittingstep/resources_rc.py | tsalemink/fieldworkmeshfittingstep | 49ae1a7506bf68c9a692b30e5dd8d3c9e8bc33a0 | [
"Apache-2.0"
] | null | null | null | mapclientplugins/fieldworkmeshfittingstep/resources_rc.py | tsalemink/fieldworkmeshfittingstep | 49ae1a7506bf68c9a692b30e5dd8d3c9e8bc33a0 | [
"Apache-2.0"
] | null | null | null | mapclientplugins/fieldworkmeshfittingstep/resources_rc.py | tsalemink/fieldworkmeshfittingstep | 49ae1a7506bf68c9a692b30e5dd8d3c9e8bc33a0 | [
"Apache-2.0"
] | 1 | 2021-06-07T21:54:08.000Z | 2021-06-07T21:54:08.000Z | # Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 5.15.2
# WARNING! All changes made in this file will be lost!
from PySide2 import QtCore
qt_resource_data = b"\
\x00\x00\x0c\x0d\
\x89\
PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\
\x00\x00@\x00\x... | 45.377593 | 97 | 0.69861 | 2,350 | 10,936 | 3.239574 | 0.293617 | 0.059898 | 0.062656 | 0.053593 | 0.066334 | 0.065546 | 0.063181 | 0.062787 | 0.062787 | 0.059241 | 0 | 0.242249 | 0.050293 | 10,936 | 240 | 98 | 45.566667 | 0.490757 | 0.014996 | 0 | 0.030568 | 0 | 0.681223 | 0 | 0 | 0 | 0 | 0.00076 | 0 | 0 | 1 | 0.008734 | false | 0 | 0.004367 | 0 | 0.0131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f3bd438a49fc760297a4c81abf86897a0353fecd | 110 | py | Python | docs/cookbook/simple-discovery/advertise_a_service_with_a_specific_port.py | tjguk/networkzero | 5b40e3a213f22dc82d2ce8d36925019eaaf2c06e | [
"MIT"
] | 39 | 2016-03-31T07:49:45.000Z | 2021-09-01T10:34:02.000Z | docs/cookbook/simple-discovery/advertise_a_service_with_a_specific_port.py | tjguk/networkzero | 5b40e3a213f22dc82d2ce8d36925019eaaf2c06e | [
"MIT"
] | 48 | 2016-04-07T20:22:44.000Z | 2021-09-26T18:12:01.000Z | docs/cookbook/simple-discovery/advertise_a_service_with_a_specific_port.py | tjguk/networkzero | 5b40e3a213f22dc82d2ce8d36925019eaaf2c06e | [
"MIT"
] | 15 | 2016-04-07T20:12:18.000Z | 2019-10-25T14:31:41.000Z | import networkzero as nw0
address = nw0.advertise("myservice3", 1234)
print("Service is at address", address) | 27.5 | 43 | 0.772727 | 15 | 110 | 5.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0.118182 | 110 | 4 | 44 | 27.5 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.279279 | 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 |
341cfe95b2095b86846ef75787b959baff4da4be | 432 | py | Python | docs/source/tutorials/advanced_usage/reduce_demo_1.demo.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | null | null | null | docs/source/tutorials/advanced_usage/reduce_demo_1.demo.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | 1 | 2021-07-24T13:30:14.000Z | 2021-07-24T13:30:14.000Z | docs/source/tutorials/advanced_usage/reduce_demo_1.demo.py | HansBug/treevalue | 6f2f5b2de00b04a06201a87ccee678ade9deff57 | [
"Apache-2.0"
] | null | null | null | from functools import reduce
from operator import __mul__
from treevalue import reduce_, FastTreeValue
def multi(items):
return reduce(__mul__, items, 1)
if __name__ == '__main__':
t = FastTreeValue({'a': 1, 'b': 2, 'x': {'c': 3, 'd': 4}, 'y': {'e': 6, 'f': 8}})
print("Sum of t:", reduce_(t, lambda **... | 27 | 85 | 0.62963 | 62 | 432 | 4.080645 | 0.596774 | 0.094862 | 0.071146 | 0.079051 | 0.173913 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.173611 | 432 | 15 | 86 | 28.8 | 0.689076 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.555556 | 0.222222 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
342605f39c67cf0a64987445124462eb7371e292 | 650 | py | Python | venv/Tests/test_Parsing_Data.py | byrpatrick/Pico_Placa | 40a6c3df8667758e481b9413be1f46a86d144091 | [
"CNRI-Python"
] | null | null | null | venv/Tests/test_Parsing_Data.py | byrpatrick/Pico_Placa | 40a6c3df8667758e481b9413be1f46a86d144091 | [
"CNRI-Python"
] | null | null | null | venv/Tests/test_Parsing_Data.py | byrpatrick/Pico_Placa | 40a6c3df8667758e481b9413be1f46a86d144091 | [
"CNRI-Python"
] | null | null | null | import Source.Parsing_Data as pd
import pytest
from datetime import datetime, time
def test_getTime():
assert pd.getTime("16:30") == time(16, 30)
def test_getTime_ValueError():
with pytest.raises(ValueError):
pd.getTime("25:30")
def test_getDate():
assert pd.getDate("07-10-2020") == datetime(2020... | 27.083333 | 60 | 0.703077 | 81 | 650 | 5.518519 | 0.37037 | 0.09396 | 0.134228 | 0.174497 | 0.255034 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0.083643 | 0.172308 | 650 | 24 | 61 | 27.083333 | 0.747212 | 0 | 0 | 0.166667 | 0 | 0 | 0.067588 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3432ff0f108e271e4e273410551a37b8fc766307 | 2,130 | py | Python | vmtconnect/versions.py | rayray221/vmt-connect | e69498a51b2cc21f6e4f9e428cafbb95a644a681 | [
"Apache-2.0"
] | 2 | 2021-03-04T03:54:00.000Z | 2021-08-19T17:06:59.000Z | vmtconnect/versions.py | rastern/vmt-connect | 0fec81f0011e3a005e9111d876ea1e6138016d08 | [
"Apache-2.0"
] | 4 | 2020-08-04T13:05:48.000Z | 2021-08-10T16:45:39.000Z | vmtconnect/versions.py | rayray221/vmt-connect | e69498a51b2cc21f6e4f9e428cafbb95a644a681 | [
"Apache-2.0"
] | 2 | 2020-08-04T13:10:28.000Z | 2021-11-16T17:22:52.000Z | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Li... | 27.662338 | 74 | 0.394366 | 430 | 2,130 | 1.953488 | 0.232558 | 0.088095 | 0.010714 | 0.038095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276669 | 0.31784 | 2,130 | 76 | 75 | 28.026316 | 0.301445 | 0.242723 | 0 | 0 | 0 | 0 | 0.398501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
3434e82b4a409fd64a978d54517fd44e6cf11709 | 88 | py | Python | data/studio21_generated/interview/0281/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0281/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/0281/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | class Solution:
def canConvertString(self, s: str, t: str, k: int) -> bool:
| 29.333333 | 63 | 0.590909 | 12 | 88 | 4.333333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 88 | 3 | 64 | 29.333333 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
347cc2a71ad4194f24ea05a87d6a12e7aafdccce | 102 | py | Python | configs/_base_/backends/tensorrt-fp16.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 746 | 2021-12-27T10:50:28.000Z | 2022-03-31T13:34:14.000Z | configs/_base_/backends/tensorrt-fp16.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 253 | 2021-12-28T05:59:13.000Z | 2022-03-31T18:22:25.000Z | configs/_base_/backends/tensorrt-fp16.py | zhiqwang/mmdeploy | 997d111a6f4ca9624ab3b36717748e6ce002037d | [
"Apache-2.0"
] | 147 | 2021-12-27T10:50:33.000Z | 2022-03-30T10:44:20.000Z | backend_config = dict(
type='tensorrt', common_config=dict(fp16_mode=True, max_workspace_size=0))
| 34 | 78 | 0.77451 | 15 | 102 | 4.933333 | 0.866667 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.098039 | 102 | 2 | 79 | 51 | 0.771739 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
34804444b82aec6874044f51b6f559ed3572b288 | 212 | py | Python | scripts/test_session.py | BlockResearchGroup/compas_ui | 8b5a6121eee837d306bf20c44c91f94a5c185f90 | [
"MIT"
] | null | null | null | scripts/test_session.py | BlockResearchGroup/compas_ui | 8b5a6121eee837d306bf20c44c91f94a5c185f90 | [
"MIT"
] | 3 | 2022-02-24T17:56:30.000Z | 2022-03-31T09:48:40.000Z | scripts/test_session.py | BlockResearchGroup/compas_ui | 8b5a6121eee837d306bf20c44c91f94a5c185f90 | [
"MIT"
] | null | null | null | from compas_ui.session import Session
s = Session(name='test')
s['test'] = {}
s.record()
s['test']['a'] = 1
s.record()
s['test']['b'] = 2
s.record()
s.undo()
# s.undo()
# s.undo()
# s.record()
s.save()
| 8.833333 | 37 | 0.54717 | 36 | 212 | 3.194444 | 0.416667 | 0.243478 | 0.278261 | 0.208696 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011429 | 0.174528 | 212 | 23 | 38 | 9.217391 | 0.645714 | 0.132075 | 0 | 0.3 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cac161e0f857a3d0f211138bd41cbc5b307d2acf | 93 | py | Python | test.py | N3mT3nta/ExerciciosPython | 23451dd800ef0d73b75e9fa78d0dcfa0859206a0 | [
"MIT"
] | null | null | null | test.py | N3mT3nta/ExerciciosPython | 23451dd800ef0d73b75e9fa78d0dcfa0859206a0 | [
"MIT"
] | null | null | null | test.py | N3mT3nta/ExerciciosPython | 23451dd800ef0d73b75e9fa78d0dcfa0859206a0 | [
"MIT"
] | null | null | null | nome = input('Digite seu nome: ')
def saudar(x):
print(f'Bem-vindo, {x}!')
saudar(nome) | 15.5 | 33 | 0.612903 | 15 | 93 | 3.8 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 93 | 6 | 34 | 15.5 | 0.74026 | 0 | 0 | 0 | 0 | 0 | 0.340426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
cac1d0a08a43b1233787335c4ca2dcbf19fb3e15 | 5,889 | py | Python | tenseal/tensors/abstract_tensor.py | rand0musername/TenSEAL | 395801624d228de3af00c0347305b81fbc04bcba | [
"Apache-2.0"
] | 410 | 2020-01-25T16:02:22.000Z | 2022-03-31T08:27:38.000Z | tenseal/tensors/abstract_tensor.py | rand0musername/TenSEAL | 395801624d228de3af00c0347305b81fbc04bcba | [
"Apache-2.0"
] | 192 | 2020-02-23T15:48:59.000Z | 2022-03-23T21:54:15.000Z | tenseal/tensors/abstract_tensor.py | rand0musername/TenSEAL | 395801624d228de3af00c0347305b81fbc04bcba | [
"Apache-2.0"
] | 87 | 2020-02-13T03:40:36.000Z | 2022-03-28T09:53:35.000Z | """Abstract tensor class that implements common tensor methods"""
from typing import List, Union
import tenseal as ts
from abc import ABC
class AbstractTensor(ABC):
@property
def data(self):
"""Get the wrapped low level tensor object"""
return self._data
@data.setter
def data(self, va... | 32.357143 | 98 | 0.613177 | 681 | 5,889 | 5.113069 | 0.196769 | 0.083285 | 0.103389 | 0.066628 | 0.481045 | 0.436531 | 0.338024 | 0.282596 | 0.156232 | 0.125215 | 0 | 0.001392 | 0.268127 | 5,889 | 181 | 99 | 32.535912 | 0.806497 | 0.145186 | 0 | 0.179487 | 0 | 0 | 0.130023 | 0.004945 | 0 | 0 | 0 | 0 | 0 | 1 | 0.299145 | false | 0 | 0.025641 | 0.153846 | 0.649573 | 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 |
cad9e86516d668a4a02082ffd0ee0cd5cff3ee7a | 204 | py | Python | leetcode/square-sort.py | hyungilk/ProblemSolving | b1eb2d27c60e3281136f2052305ffbe3009dca7c | [
"MIT"
] | null | null | null | leetcode/square-sort.py | hyungilk/ProblemSolving | b1eb2d27c60e3281136f2052305ffbe3009dca7c | [
"MIT"
] | null | null | null | leetcode/square-sort.py | hyungilk/ProblemSolving | b1eb2d27c60e3281136f2052305ffbe3009dca7c | [
"MIT"
] | null | null | null | class Solution:
def sortedSquares(self, nums: List[int]) -> List[int]:
sq_nums = []
for num in nums:
sq_nums.append(num ** 2)
sq_nums.sort()
return sq_nums
| 25.5 | 58 | 0.544118 | 27 | 204 | 3.962963 | 0.592593 | 0.224299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.338235 | 204 | 7 | 59 | 29.142857 | 0.785185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 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 |
cae44eec6b0366446876e192df48418e97cc45bd | 474 | py | Python | src/hyperka/hyperbolic/util.py | nju-websoft/HyperKA | cadaf824a739b55211997e73d9948ddbfbe7ce83 | [
"MIT"
] | 25 | 2020-10-04T06:10:41.000Z | 2021-10-21T13:21:47.000Z | src/hyperka/hyperbolic/util.py | nju-websoft/HyperKA | cadaf824a739b55211997e73d9948ddbfbe7ce83 | [
"MIT"
] | 1 | 2020-11-07T19:11:16.000Z | 2020-11-09T14:08:26.000Z | src/hyperka/hyperbolic/util.py | nju-websoft/HyperKA | cadaf824a739b55211997e73d9948ddbfbe7ce83 | [
"MIT"
] | 3 | 2021-01-25T02:47:08.000Z | 2021-06-01T07:13:26.000Z | import tensorflow as tf
import numpy as np
PROJ_EPS = 1e-5
EPS = 1e-15
MAX_TANH_ARG = 15.0
# Real x, not vector!
def tf_atanh(x):
return tf.atanh(tf.minimum(x, 1. - EPS)) # Only works for positive real x.
# Real x, not vector!
def tf_tanh(x):
return tf.tanh(tf.minimum(tf.maximum(x, -MAX_TANH_ARG), MAX_TA... | 18.96 | 79 | 0.672996 | 93 | 474 | 3.301075 | 0.419355 | 0.065147 | 0.09772 | 0.091205 | 0.123779 | 0.123779 | 0 | 0 | 0 | 0 | 0 | 0.031169 | 0.187764 | 474 | 25 | 80 | 18.96 | 0.766234 | 0.149789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.307692 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
caf537d731d117c23c1e287120f1e06ce4ca58b2 | 491 | py | Python | practice_problems/stacks_queues/stack_min.py | YazzyYaz/codinginterviews | b8115c43507d738bccd90366f2bc02867ba7f13f | [
"MIT"
] | null | null | null | practice_problems/stacks_queues/stack_min.py | YazzyYaz/codinginterviews | b8115c43507d738bccd90366f2bc02867ba7f13f | [
"MIT"
] | null | null | null | practice_problems/stacks_queues/stack_min.py | YazzyYaz/codinginterviews | b8115c43507d738bccd90366f2bc02867ba7f13f | [
"MIT"
] | null | null | null | class Stack(object):
def __init__(self):
self.items = []
self.min_value = None
def push(self, item):
if not self.min_value or self.min_value > item:
self.min_value = item
self.items.append(item)
def pop(self):
self.items.pop()
def get_min_val... | 20.458333 | 55 | 0.615071 | 73 | 491 | 3.931507 | 0.328767 | 0.222997 | 0.209059 | 0.111498 | 0.271777 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.258656 | 491 | 23 | 56 | 21.347826 | 0.777473 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0 | 0.052632 | 0.315789 | 0.105263 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b260a46655b2ca358ceff6d4b6da6e88e3eeb26 | 52 | py | Python | pawan/lib/python3.6/random.py | pawannn29/projectdjango | a2c269b99676109a9a28f1ff3bc26b3d7779056c | [
"bzip2-1.0.6"
] | null | null | null | pawan/lib/python3.6/random.py | pawannn29/projectdjango | a2c269b99676109a9a28f1ff3bc26b3d7779056c | [
"bzip2-1.0.6"
] | null | null | null | pawan/lib/python3.6/random.py | pawannn29/projectdjango | a2c269b99676109a9a28f1ff3bc26b3d7779056c | [
"bzip2-1.0.6"
] | null | null | null | /Users/NikhilArora/anaconda3/lib/python3.6/random.py | 52 | 52 | 0.846154 | 8 | 52 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057692 | 0 | 52 | 1 | 52 | 52 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b432895027211b62a59bd4210b744e699e90333 | 781 | py | Python | Level1/Lessons1845/yang_1834.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | null | null | null | Level1/Lessons1845/yang_1834.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | null | null | null | Level1/Lessons1845/yang_1834.py | StudyForCoding/ProgrammersLevel | dc957b1c02cc4383a93b8cbf3d739e6c4d88aa25 | [
"MIT"
] | 1 | 2021-04-05T07:35:59.000Z | 2021-04-05T07:35:59.000Z | # 폰켓몬
def solution(nums):
half = len(nums)/2
nums = list(set(nums))
diff = len(nums)
if half >= diff:
return int(diff)
else:
return int(half)
# 테스트 1 〉 통과 (0.01ms, 10.2MB)
# 테스트 2 〉 통과 (0.01ms, 10.1MB)
# 테스트 3 〉 통과 (0.01ms, 10.2MB)
# 테스트 4 〉 통과 (0.01ms, 10.2MB)
# 테스트 5 〉 통과 (0.01ms, 10.... | 26.033333 | 30 | 0.544174 | 183 | 781 | 2.431694 | 0.284153 | 0.134831 | 0.170787 | 0.197753 | 0.440449 | 0.395506 | 0.395506 | 0 | 0 | 0 | 0 | 0.255537 | 0.248399 | 781 | 30 | 31 | 26.033333 | 0.468484 | 0.729834 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b51c40f1f0681104400ce5e7c5460a436cc5780 | 4,049 | py | Python | hitchstory/result.py | hitchtest/hitchstory | 9cd44ec1078c4e6b7fd8ca0a237159ef6257d302 | [
"MIT"
] | 24 | 2018-02-24T23:09:00.000Z | 2021-11-25T17:22:47.000Z | hitchstory/result.py | hitchtest/hitchstory | 9cd44ec1078c4e6b7fd8ca0a237159ef6257d302 | [
"MIT"
] | 3 | 2021-08-14T11:00:55.000Z | 2022-03-04T15:27:52.000Z | hitchstory/result.py | hitchtest/hitchstory | 9cd44ec1078c4e6b7fd8ca0a237159ef6257d302 | [
"MIT"
] | 2 | 2019-05-01T17:05:41.000Z | 2022-01-13T12:17:06.000Z | from hitchstory.utils import TEMPLATE_DIR
from jinja2.environment import Environment
from jinja2 import FileSystemLoader
import colorama
class FlakeResult(object):
def __init__(self):
self._results = []
def append(self, result):
self._results.append(result)
@property
def is_flaky(sel... | 24.993827 | 85 | 0.621141 | 446 | 4,049 | 5.399103 | 0.217489 | 0.087209 | 0.046512 | 0.021179 | 0.318937 | 0.248339 | 0.067276 | 0.067276 | 0.067276 | 0.067276 | 0 | 0.004449 | 0.27834 | 4,049 | 161 | 86 | 25.149068 | 0.819644 | 0.011361 | 0 | 0.325 | 0 | 0 | 0.03041 | 0.010555 | 0 | 0 | 0 | 0 | 0.008333 | 1 | 0.25 | false | 0.05 | 0.033333 | 0.175 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1b55a8e9240889a8d97ed9b42e5e13e40d92dc9f | 561 | py | Python | anonymonkey_authority/schemas.py | hugoatease/anonymonkey-authority | aca8c1edc2b3a5a1bab5481a0a0c6e2e3099bb84 | [
"Apache-2.0"
] | null | null | null | anonymonkey_authority/schemas.py | hugoatease/anonymonkey-authority | aca8c1edc2b3a5a1bab5481a0a0c6e2e3099bb84 | [
"Apache-2.0"
] | null | null | null | anonymonkey_authority/schemas.py | hugoatease/anonymonkey-authority | aca8c1edc2b3a5a1bab5481a0a0c6e2e3099bb84 | [
"Apache-2.0"
] | null | null | null | from flask.ext.mongoengine import MongoEngine
db = MongoEngine()
class User(db.Document):
sub = db.StringField(required=True, primary_key=True)
class Survey(db.Document):
survey_id = db.StringField(required=True, primary_key=True)
name = db.StringField(required=True)
base_url = db.StringField(requi... | 26.714286 | 63 | 0.741533 | 70 | 561 | 5.885714 | 0.371429 | 0.203884 | 0.254854 | 0.303398 | 0.18932 | 0.18932 | 0.18932 | 0 | 0 | 0 | 0 | 0 | 0.142603 | 561 | 20 | 64 | 28.05 | 0.856549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.923077 | 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 |
1b584042869515b97c32165fe9fd36a9aea11e6b | 95 | py | Python | plots/__main__.py | qftphys/-evansosenko_dichalcogenides-plots | 3674ec5b781084b87ccaf970a36d4c7d5355ff32 | [
"MIT"
] | null | null | null | plots/__main__.py | qftphys/-evansosenko_dichalcogenides-plots | 3674ec5b781084b87ccaf970a36d4c7d5355ff32 | [
"MIT"
] | null | null | null | plots/__main__.py | qftphys/-evansosenko_dichalcogenides-plots | 3674ec5b781084b87ccaf970a36d4c7d5355ff32 | [
"MIT"
] | null | null | null | from . import energy, optical
if __name__ == '__main__':
energy.main()
optical.main()
| 15.833333 | 29 | 0.652632 | 11 | 95 | 4.909091 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 95 | 5 | 30 | 19 | 0.72 | 0 | 0 | 0 | 0 | 0 | 0.084211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1b7e8e3b1291b93295b5506b43b96aa0fa6a485f | 99 | py | Python | Program5/Program5.py | Mrcomputer1/SimplePythonPrograms | 224a3da330ed2d6227145a8f311957ffa375c37c | [
"MIT"
] | 1 | 2017-02-08T10:06:09.000Z | 2017-02-08T10:06:09.000Z | Program5/Program5.py | Mrcomputer1/SimplePythonPrograms | 224a3da330ed2d6227145a8f311957ffa375c37c | [
"MIT"
] | null | null | null | Program5/Program5.py | Mrcomputer1/SimplePythonPrograms | 224a3da330ed2d6227145a8f311957ffa375c37c | [
"MIT"
] | null | null | null | number = int(input("Pick a number? "))
for i in range(5):
number = number + number
print(number)
| 19.8 | 38 | 0.666667 | 16 | 99 | 4.125 | 0.6875 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.181818 | 99 | 4 | 39 | 24.75 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1bb0a615e8c2a89feeac19adfc63307afca726af | 326 | py | Python | members/views.py | ben21/projectisocbe | 75a0d2f00bd8eb2d42327b9e5df011abc43daff6 | [
"MIT"
] | null | null | null | members/views.py | ben21/projectisocbe | 75a0d2f00bd8eb2d42327b9e5df011abc43daff6 | [
"MIT"
] | null | null | null | members/views.py | ben21/projectisocbe | 75a0d2f00bd8eb2d42327b9e5df011abc43daff6 | [
"MIT"
] | 1 | 2019-07-01T07:37:18.000Z | 2019-07-01T07:37:18.000Z | from django.views.generic.edit import CreateView
from django.views.generic import TemplateView
from .models import Member
class MemberCreateView(CreateView):
model = Member
template_name = 'members/registration.html'
fields = '__all__'
class SuccessView(TemplateView):
template_name = 'members/success.... | 27.166667 | 48 | 0.779141 | 37 | 326 | 6.702703 | 0.594595 | 0.080645 | 0.120968 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141104 | 326 | 11 | 49 | 29.636364 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.159509 | 0.076687 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
1bbbb7301105d89a06adb7f692d2eacb12601ed5 | 336 | py | Python | MUNDO1/Ex005_Ant_Suc.py | KayDeVC/Python-CeV | ad65b5d35987475479795fa752f6bd1f79c9953a | [
"MIT"
] | null | null | null | MUNDO1/Ex005_Ant_Suc.py | KayDeVC/Python-CeV | ad65b5d35987475479795fa752f6bd1f79c9953a | [
"MIT"
] | null | null | null | MUNDO1/Ex005_Ant_Suc.py | KayDeVC/Python-CeV | ad65b5d35987475479795fa752f6bd1f79c9953a | [
"MIT"
] | null | null | null | print('<=== Antecessor e Sucessor ===>')
n = int(input('Digite um número:'))
na = n-1
ns = n+1
print('O número que antecede {} é {}.'.format(n, na))
print('O número que sucede {} é {}.'.format(n, ns))
print('')
print('Melhorado')
print('O número que antecede {} é {}'.format(n, n-1))
print('O número que sucede {} é {}'... | 30.545455 | 53 | 0.60119 | 57 | 336 | 3.54386 | 0.350877 | 0.039604 | 0.237624 | 0.29703 | 0.623762 | 0.613861 | 0.594059 | 0.594059 | 0 | 0 | 0 | 0.013986 | 0.14881 | 336 | 11 | 54 | 30.545455 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0.507418 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.7 | 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 | 0 | 1 | 0 | 3 |
1bbe96b0a163e236b62e633ddbf6e0d0050e3153 | 291 | py | Python | pythonProject/026.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | pythonProject/026.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | pythonProject/026.py | MontanhaRio/python | 43ad6173d692ebeb153c23c893e4b8f0bf07afcc | [
"MIT"
] | null | null | null | #026 - Primeira e última ocorrência de uma string
frase = str(input('Digite uma frase: ')).upper().strip()
print(f'A letra A aparece {frase.count("A")}')
print(f'A primeira letra A apareeceu na posicao {frase.find("A")+1}')
print(f'A ultima letra A aparece na posicao {frase.rfind("A")+1}')
| 48.5 | 69 | 0.701031 | 51 | 291 | 4 | 0.529412 | 0.088235 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.123711 | 291 | 5 | 70 | 58.2 | 0.780392 | 0.164948 | 0 | 0 | 0 | 0 | 0.698347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
940140db42a8d4a7e155e70b27bc5eec314f5a7b | 239 | py | Python | tests/test_sanity.py | dianakolusheva/indra_cogex | d149c6d4b7ffa5fb939badcc61684e016666153b | [
"BSD-2-Clause"
] | 2 | 2021-05-27T02:44:09.000Z | 2022-01-12T21:34:07.000Z | tests/test_sanity.py | dianakolusheva/indra_cogex | d149c6d4b7ffa5fb939badcc61684e016666153b | [
"BSD-2-Clause"
] | 33 | 2021-08-29T18:23:26.000Z | 2022-03-29T21:56:08.000Z | tests/test_sanity.py | dianakolusheva/indra_cogex | d149c6d4b7ffa5fb939badcc61684e016666153b | [
"BSD-2-Clause"
] | 5 | 2021-06-15T09:01:23.000Z | 2022-03-13T14:26:09.000Z | # -*- coding: utf-8 -*-
"""Sanity checks for testing."""
import unittest
class TestSanity(unittest.TestCase):
"""A trivial test case."""
def test_sanity(self):
"""Run a trivial test."""
self.assertIsNone(None)
| 17.071429 | 36 | 0.610879 | 28 | 239 | 5.178571 | 0.75 | 0.110345 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005376 | 0.221757 | 239 | 13 | 37 | 18.384615 | 0.774194 | 0.376569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
94086fa70a2053d3b4b9c409fe003d0cb04b9e89 | 1,912 | py | Python | monasca_analytics/ingestor/base.py | daisuke-fujita/monsaca-analytics_20181107 | 5809e66874d76bd9f102e7694197bd849210fa3b | [
"Apache-2.0"
] | 1 | 2021-03-19T04:09:04.000Z | 2021-03-19T04:09:04.000Z | monasca_analytics/ingestor/base.py | daisuke-fujita/monsaca-analytics_20181107 | 5809e66874d76bd9f102e7694197bd849210fa3b | [
"Apache-2.0"
] | 1 | 2019-01-21T09:44:29.000Z | 2019-01-21T09:44:29.000Z | monasca_analytics/ingestor/base.py | daisuke-fujita/monsaca-analytics_20181107 | 5809e66874d76bd9f102e7694197bd849210fa3b | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# Copyright (c) 2016 Hewlett Packard Enterprise Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0... | 31.866667 | 78 | 0.697699 | 248 | 1,912 | 5.274194 | 0.544355 | 0.045872 | 0.019878 | 0.024465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005442 | 0.231172 | 1,912 | 59 | 79 | 32.40678 | 0.884354 | 0.66841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0.076923 | 0.230769 | 0 | 0.538462 | 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 |
940ec98ba5a83f131d711168d3c040f8b4b92cb9 | 1,251 | py | Python | tests/small/scripts/base.py | papaspiro/django-dms | 41e179e8f851c5ff6e31ec1c2ddfb1621ddf2e00 | [
"BSD-3-Clause"
] | null | null | null | tests/small/scripts/base.py | papaspiro/django-dms | 41e179e8f851c5ff6e31ec1c2ddfb1621ddf2e00 | [
"BSD-3-Clause"
] | null | null | null | tests/small/scripts/base.py | papaspiro/django-dms | 41e179e8f851c5ff6e31ec1c2ddfb1621ddf2e00 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file has been automatically generated, changes may be lost if you
# go and generate it again. It was generated with the following command:
# ./manage.py dumpscript auth
import datetime
def run():
from django.contrib.auth.models import User
auth_user_1 = ... | 27.8 | 72 | 0.709033 | 201 | 1,251 | 4.084577 | 0.353234 | 0.214373 | 0.131547 | 0.063337 | 0.311815 | 0.153471 | 0.153471 | 0 | 0 | 0 | 0 | 0.030632 | 0.191047 | 1,251 | 44 | 73 | 28.431818 | 0.780632 | 0.169464 | 0 | 0 | 1 | 0 | 0.060019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.033333 | false | 0.066667 | 0.1 | 0 | 0.133333 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9436dd37c12ee9b05fe2ebf9e4a8ccbff4ac6b28 | 8,492 | py | Python | makwa/test.py | AntonKueltz/makwa | 255b37fe05a09785c86c03595586de3e9099f2f1 | [
"Unlicense"
] | 1 | 2019-03-09T06:36:05.000Z | 2019-03-09T06:36:05.000Z | makwa/test.py | AntonKueltz/makwa | 255b37fe05a09785c86c03595586de3e9099f2f1 | [
"Unlicense"
] | null | null | null | makwa/test.py | AntonKueltz/makwa | 255b37fe05a09785c86c03595586de3e9099f2f1 | [
"Unlicense"
] | null | null | null | from binascii import hexlify, unhexlify
from hashlib import sha512
from random import sample
from re import findall
from six import b
import unittest
from .makwa import Makwa, hashpw, checkpw
n = int(
'C22C40BBD056BB213AAD7C830519101AB926AE18E3E9FC9699C806E0AE5C2594'
'14A01AC1D52E873EC08046A68E344C8D74A508952... | 36.921739 | 94 | 0.53992 | 861 | 8,492 | 5.188153 | 0.123113 | 0.0788 | 0.017909 | 0.017909 | 0.736512 | 0.728677 | 0.690396 | 0.675173 | 0.642489 | 0.639355 | 0 | 0.133509 | 0.330546 | 8,492 | 229 | 95 | 37.082969 | 0.652243 | 0 | 0 | 0.712821 | 0 | 0 | 0.205841 | 0.103862 | 0 | 0 | 0.00212 | 0 | 0.123077 | 1 | 0.035897 | false | 0.010256 | 0.035897 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
94386c96da41a9db0397204ede4d96379a8ef0b6 | 1,699 | py | Python | core/tests/test_models.py | shyam999/Django-blog | 8f59987f362be0edca4e1542f820eb0d82c7bf2c | [
"MIT"
] | 13 | 2020-04-16T14:34:07.000Z | 2021-06-22T04:27:02.000Z | core/tests/test_models.py | alexhan-sys/Django-blog | 563d1975d85b2c288d6d58b5af8d54f9ab16541e | [
"MIT"
] | 4 | 2021-03-30T13:00:21.000Z | 2022-01-13T02:30:26.000Z | core/tests/test_models.py | alexhan-sys/Django-blog | 563d1975d85b2c288d6d58b5af8d54f9ab16541e | [
"MIT"
] | 5 | 2020-04-09T18:01:45.000Z | 2021-09-06T12:47:17.000Z | from django.test import TestCase
from django.urls import reverse
from django.utils import timezone
from core.models import Category, Post
from users.models import UserProfile
from django.contrib.auth.models import User
import pytest
@pytest.mark.django_db
class CategoryTest(TestCase):
def create_category(self, ti... | 35.395833 | 132 | 0.705121 | 214 | 1,699 | 5.476636 | 0.275701 | 0.077645 | 0.05802 | 0.046075 | 0.318259 | 0.261092 | 0.213311 | 0.213311 | 0.213311 | 0.213311 | 0 | 0.008571 | 0.175986 | 1,699 | 47 | 133 | 36.148936 | 0.828571 | 0 | 0 | 0.194444 | 0 | 0 | 0.057092 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 1 | 0.222222 | false | 0.055556 | 0.194444 | 0.083333 | 0.583333 | 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 |
94443729cc6ce5707eec9d93edb08c3f98c77cb5 | 3,521 | py | Python | src/api/services/event.py | massenergize/api | 0df3368cb763e9160229f48138b7706a9d0569aa | [
"MIT"
] | 2 | 2020-07-24T12:58:17.000Z | 2020-12-17T02:26:13.000Z | src/api/services/event.py | massenergize/api | 0df3368cb763e9160229f48138b7706a9d0569aa | [
"MIT"
] | 214 | 2019-06-26T17:33:54.000Z | 2022-03-26T00:02:34.000Z | src/api/services/event.py | massenergize/api | 0df3368cb763e9160229f48138b7706a9d0569aa | [
"MIT"
] | 6 | 2020-03-13T20:29:06.000Z | 2021-08-20T16:15:08.000Z | from _main_.utils.massenergize_errors import MassEnergizeAPIError
from _main_.utils.common import serialize, serialize_all
from api.store.event import EventStore
from typing import Tuple
class EventService:
"""
Service Layer for all the events
"""
def __init__(self):
self.store = EventStore()
def get_... | 32.009091 | 96 | 0.70889 | 456 | 3,521 | 5.317982 | 0.114035 | 0.11134 | 0.074227 | 0.098969 | 0.758351 | 0.715052 | 0.678763 | 0.678763 | 0.643711 | 0.643711 | 0 | 0 | 0.193127 | 3,521 | 109 | 97 | 32.302752 | 0.853573 | 0.009088 | 0 | 0.506024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.192771 | false | 0 | 0.048193 | 0 | 0.614458 | 0.012048 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
94467a5e7fe0e1856f3263ae2c3b47f68a350442 | 1,233 | py | Python | equipment/framework/Storage/StorageFactory.py | didacelgueta/equipment | 12cd86bfe4b70bce3e2578e3ec79fc4c0f76c322 | [
"MIT"
] | null | null | null | equipment/framework/Storage/StorageFactory.py | didacelgueta/equipment | 12cd86bfe4b70bce3e2578e3ec79fc4c0f76c322 | [
"MIT"
] | null | null | null | equipment/framework/Storage/StorageFactory.py | didacelgueta/equipment | 12cd86bfe4b70bce3e2578e3ec79fc4c0f76c322 | [
"MIT"
] | null | null | null | from equipment.framework.Config.AbstractConfig import AbstractConfig
from equipment.framework.Log.AbstractLog import AbstractLog
from equipment.framework.Storage.AbstractStorage import AbstractStorage
from equipment.framework.Storage.LocalStorage import LocalStorage
from equipment.framework.Storage.S3Storage import S3S... | 35.228571 | 71 | 0.682076 | 143 | 1,233 | 5.825175 | 0.293706 | 0.084034 | 0.132053 | 0.104442 | 0.17407 | 0.146459 | 0.146459 | 0 | 0 | 0 | 0 | 0.004141 | 0.216545 | 1,233 | 34 | 72 | 36.264706 | 0.858178 | 0 | 0 | 0 | 0 | 0 | 0.054339 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.192308 | 0.192308 | 0.653846 | 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 |
9446b34dbf68519c0fc5dc82da51dad177511545 | 6,538 | py | Python | osc_lib/tests/utils/test_tags.py | dtroyer/osc-lib | 6db6492a7de5f7a3e09473c31e23e03d10f420b6 | [
"Apache-2.0"
] | null | null | null | osc_lib/tests/utils/test_tags.py | dtroyer/osc-lib | 6db6492a7de5f7a3e09473c31e23e03d10f420b6 | [
"Apache-2.0"
] | null | null | null | osc_lib/tests/utils/test_tags.py | dtroyer/osc-lib | 6db6492a7de5f7a3e09473c31e23e03d10f420b6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Red Hat, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 38.011628 | 77 | 0.620832 | 793 | 6,538 | 4.813367 | 0.162673 | 0.104794 | 0.077024 | 0.060257 | 0.767357 | 0.747708 | 0.710768 | 0.681687 | 0.632696 | 0.601258 | 0 | 0.010013 | 0.266748 | 6,538 | 171 | 78 | 38.233918 | 0.786191 | 0.120679 | 0 | 0.655462 | 0 | 0 | 0.074236 | 0 | 0 | 0 | 0 | 0 | 0.159664 | 1 | 0.058824 | false | 0 | 0.033613 | 0 | 0.10084 | 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 |
946ea82ed582cb81b824dec3abb84ce69bba230f | 9,921 | py | Python | syncify/test_core.py | carlba/syncify | c8dfea9ca886c83fb11e1393b613276c67427cfe | [
"MIT"
] | 1 | 2020-02-26T14:44:23.000Z | 2020-02-26T14:44:23.000Z | syncify/test_core.py | carlba/syncify | c8dfea9ca886c83fb11e1393b613276c67427cfe | [
"MIT"
] | 5 | 2019-10-04T12:33:57.000Z | 2020-03-27T23:19:33.000Z | syncify/test_core.py | carlba/syncify | c8dfea9ca886c83fb11e1393b613276c67427cfe | [
"MIT"
] | null | null | null | import os
import pathlib
from click.testing import CliRunner
from syncify.core import rsync_to, rsync, store, load, extract_archive
import mock
settings = {"tarfile_output_path": "$HOME/transfer/syncify.tar.gz"}
applications = {
"transgui": {
"description": "Transmission Remote GUI",
"paths": [
{
... | 31.100313 | 160 | 0.635924 | 1,067 | 9,921 | 5.746017 | 0.134958 | 0.044854 | 0.070462 | 0.08612 | 0.784538 | 0.745718 | 0.719295 | 0.696624 | 0.686511 | 0.677703 | 0 | 0.006093 | 0.205927 | 9,921 | 318 | 161 | 31.198113 | 0.77215 | 0 | 0 | 0.416 | 0 | 0.008 | 0.363407 | 0.179435 | 0 | 0 | 0 | 0 | 0.08 | 1 | 0.04 | false | 0 | 0.02 | 0 | 0.06 | 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 |
847ea61ad08afa80de05a6f08c80ba5877160653 | 237 | py | Python | smp_base/__init__.py | x75/smp_base | a5df0a37169ef5fc5fb9c08d140b8b1ee549022a | [
"MIT"
] | 7 | 2017-06-22T07:39:28.000Z | 2021-08-11T10:06:24.000Z | smp_base/__init__.py | x75/smp_base | a5df0a37169ef5fc5fb9c08d140b8b1ee549022a | [
"MIT"
] | 2 | 2017-06-25T16:59:04.000Z | 2019-04-08T13:31:17.000Z | smp_base/__init__.py | x75/smp_base | a5df0a37169ef5fc5fb9c08d140b8b1ee549022a | [
"MIT"
] | 4 | 2017-06-25T16:33:20.000Z | 2018-06-22T18:42:41.000Z | """smp_base/__init__.py
.. todo::
remove actinf tag from base learners
.. todo::
abstract class from andi / smp_control to check for api conformity?
.. todo::
for module in rlspy igmm kohonone otl ; do git submodule ...
"""
| 18.230769 | 70 | 0.679325 | 34 | 237 | 4.558824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21097 | 237 | 12 | 71 | 19.75 | 0.828877 | 0.966245 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8483b2e38eb24daa434831ab7b8ac9121ce466ee | 331 | py | Python | lib/evaluation/__init__.py | Alex1114/Zero-Shot-HOI | 09384260fc3d3df47bbd3ae0e2132e329f9186d4 | [
"MIT"
] | 37 | 2020-05-17T06:41:58.000Z | 2022-02-24T22:08:39.000Z | lib/evaluation/__init__.py | Alex1114/Zero-Shot-HOI | 09384260fc3d3df47bbd3ae0e2132e329f9186d4 | [
"MIT"
] | 12 | 2020-06-29T08:12:31.000Z | 2022-01-02T07:02:33.000Z | lib/evaluation/__init__.py | Alex1114/Zero-Shot-HOI | 09384260fc3d3df47bbd3ae0e2132e329f9186d4 | [
"MIT"
] | 9 | 2020-07-03T05:44:17.000Z | 2021-12-01T08:24:51.000Z | from .vcoco_evaluation import VCOCOEvaluator
from .hico_evaluation import HICOEvaluator
from detectron2.evaluation.evaluator import DatasetEvaluator, DatasetEvaluators, inference_on_dataset
from detectron2.evaluation.testing import print_csv_format, verify_results
__all__ = [k for k in globals().keys() if not k.starts... | 47.285714 | 101 | 0.8429 | 41 | 331 | 6.512195 | 0.707317 | 0.11985 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006645 | 0.090634 | 331 | 6 | 102 | 55.166667 | 0.880399 | 0 | 0 | 0 | 0 | 0 | 0.003021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
848837b79db84cc5164466f468155b31ba48468a | 166 | py | Python | graphene_neo4j/rest_framework/models.py | Usama0121/graphene-neo4j | 8d8c5a106b3d41851516eb7334d4f9beb8bb301c | [
"MIT"
] | 8 | 2020-01-18T20:52:16.000Z | 2022-03-18T02:28:09.000Z | graphene_neo4j/rest_framework/models.py | Usama0121/graphene-neo4j | 8d8c5a106b3d41851516eb7334d4f9beb8bb301c | [
"MIT"
] | 6 | 2021-03-19T09:07:56.000Z | 2022-02-10T09:25:41.000Z | graphene_neo4j/rest_framework/models.py | Usama0121/graphene-neo4j | 8d8c5a106b3d41851516eb7334d4f9beb8bb301c | [
"MIT"
] | 4 | 2019-06-10T19:33:32.000Z | 2020-01-30T20:08:04.000Z | from django.db import models
class MyFakeModel(models.Model):
cool_name = models.CharField(max_length=50)
created = models.DateTimeField(auto_now_add=True)
| 23.714286 | 53 | 0.777108 | 23 | 166 | 5.434783 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.13253 | 166 | 6 | 54 | 27.666667 | 0.854167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8498c1a8be97753ad5dff5fb2016b86f18e96750 | 41 | py | Python | WebApp/controller/__init__.py | litrin/Tornado-Fram-Work | 0b88c2340f46a7b9a2a0bc5baaabe0d38d84553e | [
"BSD-3-Clause"
] | 1 | 2016-03-07T00:16:03.000Z | 2016-03-07T00:16:03.000Z | WebApp/controller/__init__.py | litrin/Tornado-Fram-Work | 0b88c2340f46a7b9a2a0bc5baaabe0d38d84553e | [
"BSD-3-Clause"
] | null | null | null | WebApp/controller/__init__.py | litrin/Tornado-Fram-Work | 0b88c2340f46a7b9a2a0bc5baaabe0d38d84553e | [
"BSD-3-Clause"
] | null | null | null |
__all__ = ['cFRIENDSEARCH', 'cDEFAULT']
| 41 | 41 | 0.682927 | 3 | 41 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.525 | 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 |
84b95463e43af6615fe81e2b42e552ff8218e199 | 307 | py | Python | ML_CW1/assgn_1_part_2/1_logistic_regression/load_data_ex1.py | ShellySrivastava/Machine-Learning | bfdea30c06abe4228c103ae525adcf990015983f | [
"MIT"
] | null | null | null | ML_CW1/assgn_1_part_2/1_logistic_regression/load_data_ex1.py | ShellySrivastava/Machine-Learning | bfdea30c06abe4228c103ae525adcf990015983f | [
"MIT"
] | null | null | null | ML_CW1/assgn_1_part_2/1_logistic_regression/load_data_ex1.py | ShellySrivastava/Machine-Learning | bfdea30c06abe4228c103ae525adcf990015983f | [
"MIT"
] | null | null | null | import numpy as np
def load_data_ex1():
#loads data for exercise 2
# read our input data
X = np.loadtxt("ex4x.dat", comments="#", delimiter=",", unpack=False)
# read groundtruth labels
y = np.loadtxt("ex4y.dat", comments="#", delimiter=",", unpack=False)
return X, y
| 23.615385 | 73 | 0.609121 | 41 | 307 | 4.512195 | 0.682927 | 0.097297 | 0.216216 | 0.281081 | 0.335135 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.2443 | 307 | 12 | 74 | 25.583333 | 0.780172 | 0.224756 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | 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 |
84d158cf7eac1632f76d16bf261c9c8e748891cc | 166 | py | Python | src/python/doc/python3-sphinx-build.py | jmarino/gudhi-devel | b1824e4de6fd1d037af3c1341c3065731472ffc8 | [
"MIT"
] | 2 | 2020-01-27T03:32:18.000Z | 2021-03-14T21:14:14.000Z | src/python/doc/python3-sphinx-build.py | jmarino/gudhi-devel | b1824e4de6fd1d037af3c1341c3065731472ffc8 | [
"MIT"
] | 1 | 2020-08-25T16:03:23.000Z | 2020-08-28T07:36:21.000Z | src/python/doc/python3-sphinx-build.py | jmarino/gudhi-devel | b1824e4de6fd1d037af3c1341c3065731472ffc8 | [
"MIT"
] | 2 | 2019-11-06T12:36:23.000Z | 2020-08-25T14:53:13.000Z | #!/usr/bin/env python3
"""
Emulate sphinx-build for python3
"""
from sys import exit, argv
from sphinx import main
if __name__ == '__main__':
exit(main(argv))
| 13.833333 | 32 | 0.692771 | 24 | 166 | 4.458333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.174699 | 166 | 11 | 33 | 15.090909 | 0.766423 | 0.325301 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
84f23916fcd27d2b2ff4e25588384340e8ccf557 | 350 | py | Python | api/migrations/versions/865b2e2d02ff_.py | cclauss/Baobab | e7aad3a63237be5f16e6441b89b3cc708ec19acd | [
"Apache-2.0"
] | 52 | 2019-01-10T16:04:26.000Z | 2022-02-10T00:55:59.000Z | api/migrations/versions/865b2e2d02ff_.py | cclauss/Baobab | e7aad3a63237be5f16e6441b89b3cc708ec19acd | [
"Apache-2.0"
] | 535 | 2019-01-08T21:24:01.000Z | 2022-02-27T15:24:06.000Z | api/migrations/versions/865b2e2d02ff_.py | cclauss/Baobab | e7aad3a63237be5f16e6441b89b3cc708ec19acd | [
"Apache-2.0"
] | 36 | 2019-01-10T16:09:15.000Z | 2021-06-28T21:02:47.000Z | """empty message
Revision ID: 865b2e2d02ff
Revises: ('866611669529', 'cb391b878586')
Create Date: 2019-07-03 18:44:00.470730
"""
# revision identifiers, used by Alembic.
revision = '865b2e2d02ff'
down_revision = ('866611669529', 'cb391b878586')
from alembic import op
import sqlalchemy as sa
def upgrade():
pas... | 15.217391 | 48 | 0.722857 | 42 | 350 | 6 | 0.761905 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258503 | 0.16 | 350 | 22 | 49 | 15.909091 | 0.598639 | 0.462857 | 0 | 0.25 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
84febcf8b229ebc8a8e433a595456cee480059d0 | 595 | py | Python | correlation/__init__.py | boldenth/correlation | aee2c5c9d36c65f8d60c10931ed2ffec66cf7f0f | [
"MIT"
] | null | null | null | correlation/__init__.py | boldenth/correlation | aee2c5c9d36c65f8d60c10931ed2ffec66cf7f0f | [
"MIT"
] | null | null | null | correlation/__init__.py | boldenth/correlation | aee2c5c9d36c65f8d60c10931ed2ffec66cf7f0f | [
"MIT"
] | null | null | null | """
correlation imports
"""
#=============================================================================#
#
#
#
#=============================================================================#
__version__ = "0.3"
import numpy
import pandas
import scipy
import sklearn
#import matplotlib.pyplot as plt
from ... | 15.25641 | 79 | 0.521008 | 49 | 595 | 6.102041 | 0.591837 | 0.200669 | 0.113712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004008 | 0.161345 | 595 | 38 | 80 | 15.657895 | 0.59519 | 0.34958 | 0 | 0 | 0 | 0 | 0.008174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.533333 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1700c366be6bae6bfda66c6c163088409d38d0dd | 7,291 | py | Python | examples/parking.py | MissMeriel/BeamNGpy | a8467c57537441802bc5b56f0012dfee2b5f5af0 | [
"MIT"
] | 1 | 2021-08-10T19:29:52.000Z | 2021-08-10T19:29:52.000Z | examples/parking.py | MissMeriel/BeamNGpy | a8467c57537441802bc5b56f0012dfee2b5f5af0 | [
"MIT"
] | null | null | null | examples/parking.py | MissMeriel/BeamNGpy | a8467c57537441802bc5b56f0012dfee2b5f5af0 | [
"MIT"
] | null | null | null | import mmap
import random
import sys
from time import sleep
import numpy as np
from beamngpy import BeamNGpy, Scenario, Vehicle, setup_logging, ScenarioObject
from beamngpy.sensors import Lidar
def generate_script():
# Create the script
script = list()
points = list()
point_colors = list()
spheres... | 7,291 | 7,291 | 0.578796 | 943 | 7,291 | 4.342524 | 0.325557 | 0.004884 | 0.007326 | 0.019536 | 0.229792 | 0.20928 | 0.195604 | 0.160195 | 0.160195 | 0.146032 | 0 | 0.075104 | 0.274997 | 7,291 | 1 | 7,291 | 7,291 | 0.699584 | 0.225072 | 0 | 0.201681 | 0 | 0 | 0.062623 | 0.020576 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042017 | false | 0 | 0.058824 | 0 | 0.134454 | 0.033613 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca27fd990f211610d8b8b82e2eb57c25d110e2a8 | 89 | py | Python | saturpy/regressor/__init__.py | sciencedt/saturpy | 7edd20988ee550b4441053bbb6aae90dfbd80fb5 | [
"Apache-2.0"
] | 1 | 2020-05-30T16:12:43.000Z | 2020-05-30T16:12:43.000Z | saturpy/regressor/__init__.py | sciencedt/saturpy | 7edd20988ee550b4441053bbb6aae90dfbd80fb5 | [
"Apache-2.0"
] | null | null | null | saturpy/regressor/__init__.py | sciencedt/saturpy | 7edd20988ee550b4441053bbb6aae90dfbd80fb5 | [
"Apache-2.0"
] | null | null | null | """
Regressor init
"""
from .ols import LinearRegression
__all__ = ['LinearRegression']
| 12.714286 | 33 | 0.730337 | 8 | 89 | 7.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 89 | 6 | 34 | 14.833333 | 0.792208 | 0.157303 | 0 | 0 | 0 | 0 | 0.238806 | 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 |
ca3b905a4ae5275b60b3359f56881b2b9208baf5 | 936 | py | Python | setup.py | irvingleonard/simplifiedapp | aeb3353df1d5110f0cd4ae33465bc9a2f0190173 | [
"BSD-2-Clause"
] | null | null | null | setup.py | irvingleonard/simplifiedapp | aeb3353df1d5110f0cd4ae33465bc9a2f0190173 | [
"BSD-2-Clause"
] | 13 | 2020-07-03T20:09:05.000Z | 2022-02-28T23:35:56.000Z | setup.py | irvingleonard/simplifiedapp | aeb3353df1d5110f0cd4ae33465bc9a2f0190173 | [
"BSD-2-Clause"
] | 1 | 2021-08-30T22:19:02.000Z | 2021-08-30T22:19:02.000Z | #!python
"""A setuptools based setup module.
ToDo:
- Everything
"""
import setuptools
import simplifiedapp
setuptools.setup(
url = 'https://github.com/irvingleonard/simplifiedapp',
author = 'Irving Leonard',
author_email = 'irvingleonard@gmail.com',
license='BSD 2-Clause "Simplified" License',
classifiers = [
... | 26.742857 | 65 | 0.699786 | 94 | 936 | 6.925532 | 0.638298 | 0.087558 | 0.115207 | 0.079877 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007585 | 0.154915 | 936 | 35 | 66 | 26.742857 | 0.815424 | 0.064103 | 0 | 0 | 0 | 0 | 0.611494 | 0.026437 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0 | true | 0 | 0.08 | 0 | 0.08 | 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 | 1 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca49c16bfc0a980a3465baa1f87adb02fe7ede34 | 1,954 | py | Python | yuansfer/client.py | yuansfer/yuansfer-python-sdk | 4ec2b396ef093d79975dc8f86faeb48b274212da | [
"MIT"
] | null | null | null | yuansfer/client.py | yuansfer/yuansfer-python-sdk | 4ec2b396ef093d79975dc8f86faeb48b274212da | [
"MIT"
] | null | null | null | yuansfer/client.py | yuansfer/yuansfer-python-sdk | 4ec2b396ef093d79975dc8f86faeb48b274212da | [
"MIT"
] | 1 | 2021-05-17T13:40:39.000Z | 2021-05-17T13:40:39.000Z | from yuansfer.decorators import lazy_property
from yuansfer.configuration import Configuration
from yuansfer.api.online_api import OnlineApi
from yuansfer.api.offline_api import OfflineApi
from yuansfer.api.mobile_api import MobileApi
from yuansfer.api.data_search_api import DataSearchApi
from yuansfer.api.payout_api i... | 30.061538 | 69 | 0.648414 | 208 | 1,954 | 5.956731 | 0.278846 | 0.106538 | 0.096852 | 0.124294 | 0.141243 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005004 | 0.284033 | 1,954 | 65 | 70 | 30.061538 | 0.880629 | 0 | 0 | 0.188679 | 0 | 0 | 0.012276 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207547 | false | 0 | 0.207547 | 0.188679 | 0.622642 | 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 |
ca4e89c34ff1a6dc52c389d6a2eb20a185069771 | 6,352 | py | Python | TinyImagenet/data_load_storeu_multi.py | yjhuangcd/local-lipschitz | f3c109ab81def14f20c0fadd25bb5ac91d9f03c8 | [
"MIT"
] | 15 | 2021-11-02T08:09:53.000Z | 2022-03-26T09:56:15.000Z | TinyImagenet/data_load_storeu_multi.py | yjhuangcd/local-lipschitz | f3c109ab81def14f20c0fadd25bb5ac91d9f03c8 | [
"MIT"
] | 1 | 2021-12-06T23:21:39.000Z | 2021-12-10T21:47:42.000Z | TinyImagenet/data_load_storeu_multi.py | yjhuangcd/local-lipschitz | f3c109ab81def14f20c0fadd25bb5ac91d9f03c8 | [
"MIT"
] | 2 | 2022-02-24T02:22:27.000Z | 2022-02-24T08:18:41.000Z | ### basic modules
import numpy as np
import time, pickle, os, sys, json, PIL, tempfile, warnings, importlib, math, copy, shutil, setproctitle
### torch modules
import torch
import torch.nn as nn
import torch.optim as optim
from torch.autograd import Variable
from torchvision import datasets, transforms
from torch.opti... | 50.412698 | 124 | 0.618073 | 643 | 6,352 | 6.001555 | 0.180404 | 0.009329 | 0.08396 | 0.012438 | 0.752786 | 0.748121 | 0.708733 | 0.667012 | 0.663125 | 0.633584 | 0 | 0.029604 | 0.276763 | 6,352 | 125 | 125 | 50.816 | 0.810405 | 0.014326 | 0 | 0.460784 | 0 | 0 | 0.046459 | 0.034604 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039216 | false | 0 | 0.127451 | 0.009804 | 0.205882 | 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 |
ca549085e9eca0eb603220bcc1e9fc5a9fd74de4 | 340 | py | Python | kbcr/optimizers.py | nagendra20001414/ctp | ee237653939f4b743b10ae9954169aa7076d4ce1 | [
"MIT"
] | null | null | null | kbcr/optimizers.py | nagendra20001414/ctp | ee237653939f4b743b10ae9954169aa7076d4ce1 | [
"MIT"
] | null | null | null | kbcr/optimizers.py | nagendra20001414/ctp | ee237653939f4b743b10ae9954169aa7076d4ce1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from torch.optim.optimizer import Optimizer
class Optimizers:
def __init__(self, *op: Optimizer):
self.optimizers = op
def zero_grad(self):
for op in self.optimizers:
op.zero_grad()
def step(self):
for op in self.optimizers:
... | 20 | 44 | 0.561765 | 41 | 340 | 4.512195 | 0.463415 | 0.227027 | 0.259459 | 0.118919 | 0.291892 | 0.291892 | 0.291892 | 0 | 0 | 0 | 0 | 0.004405 | 0.332353 | 340 | 16 | 45 | 21.25 | 0.810573 | 0.061765 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ca9004f8dc338c270711a1e0a965b08868fdfff3 | 267 | py | Python | src/cart/models.py | dawidhubicki97/BookMaker | d5975a19b3da8269e1e7d2191eb2f1db3da9acc4 | [
"bzip2-1.0.6"
] | null | null | null | src/cart/models.py | dawidhubicki97/BookMaker | d5975a19b3da8269e1e7d2191eb2f1db3da9acc4 | [
"bzip2-1.0.6"
] | null | null | null | src/cart/models.py | dawidhubicki97/BookMaker | d5975a19b3da8269e1e7d2191eb2f1db3da9acc4 | [
"bzip2-1.0.6"
] | null | null | null | from django.db import models
from bets.models import Bet
from account.models import User
# Create your models here.
class Cart(models.Model):
user=models.OneToOneField(User,on_delete=models.CASCADE,related_name="user")
bets=models.ManyToManyField(Bet,blank=True)
| 29.666667 | 77 | 0.808989 | 40 | 267 | 5.35 | 0.6 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093633 | 267 | 8 | 78 | 33.375 | 0.884298 | 0.089888 | 0 | 0 | 0 | 0 | 0.016598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ca9876c4dd2c94b82fd8ed520ece2716d93a1cf4 | 561 | py | Python | exercises/exercise108.py | djangojeng-e/TIL | bdbe1dfb6ebc48b89067fddda195227cca64b8dc | [
"MIT"
] | null | null | null | exercises/exercise108.py | djangojeng-e/TIL | bdbe1dfb6ebc48b89067fddda195227cca64b8dc | [
"MIT"
] | null | null | null | exercises/exercise108.py | djangojeng-e/TIL | bdbe1dfb6ebc48b89067fddda195227cca64b8dc | [
"MIT"
] | null | null | null | string = "abcdefgabc"
string_list = []
for letter in string:
string_list.append(letter)
print(string_list)
string_list_no_duplicate = set(string_list)
string_list_no_duplicate = list(string_list_no_duplicate)
string_list_no_duplicate.sort()
print(string_list_no_duplicate)
for letters in string_list_no_duplicate... | 18.096774 | 57 | 0.71836 | 85 | 561 | 4.447059 | 0.317647 | 0.291005 | 0.190476 | 0.333333 | 0.31746 | 0.164021 | 0 | 0 | 0 | 0 | 0 | 0.004175 | 0.146168 | 561 | 30 | 58 | 18.7 | 0.784969 | 0.233512 | 0 | 0 | 0 | 0 | 0.083732 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
0479014a5ffeb8718feb2dc0d45d0e1eee4a8422 | 94 | py | Python | config.py | HezyCB/JARVIS-2 | aa3ba0aa2f4595c48e0bd18211c65a0569684eb4 | [
"MIT"
] | null | null | null | config.py | HezyCB/JARVIS-2 | aa3ba0aa2f4595c48e0bd18211c65a0569684eb4 | [
"MIT"
] | null | null | null | config.py | HezyCB/JARVIS-2 | aa3ba0aa2f4595c48e0bd18211c65a0569684eb4 | [
"MIT"
] | null | null | null | email = "hezycb@gmail.com"
email_password = "Booees123"
wolframalpha_id = "H7VHX3-UKW9R4G7P5"
| 23.5 | 37 | 0.776596 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 0.095745 | 94 | 3 | 38 | 31.333333 | 0.729412 | 0 | 0 | 0 | 0 | 0 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
04799fce438e317a9f8cc0ac57a2c89e4d6e6a36 | 1,189 | py | Python | codegen/python/fixtures/sanic/server/congo/deliveries_api.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | codegen/python/fixtures/sanic/server/congo/deliveries_api.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | codegen/python/fixtures/sanic/server/congo/deliveries_api.py | feeltheajf/go-raml | 57ce1f4c47bca464efee03cb4a7a28efcd00bea2 | [
"BSD-2-Clause"
] | null | null | null | # DO NOT EDIT THIS FILE. This file will be overwritten when re-running go-raml.
import handlers
async def deliveries_get(request):
"""
Get a list of deliveries
It is handler for GET /deliveries
"""
return handlers.deliveries_getHandler(request)
async def deliveries_post(request):
"""
Cr... | 27.022727 | 79 | 0.739277 | 139 | 1,189 | 6.208633 | 0.323741 | 0.208575 | 0.104287 | 0.081112 | 0.490151 | 0.464658 | 0.137891 | 0.10197 | 0.10197 | 0 | 0 | 0 | 0.188394 | 1,189 | 43 | 80 | 27.651163 | 0.894301 | 0.06476 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.090909 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
04bf6e59d70d2fdd84a6fb043931ac7c3a624e8c | 14,067 | py | Python | protocol/communication_pb2_grpc.py | Kausta/dp-fl-sc-client | 453c39980865b9cabbc46f938f465f4597651a4c | [
"Apache-2.0"
] | 2 | 2021-11-16T02:17:36.000Z | 2021-12-03T13:57:12.000Z | protocol/communication_pb2_grpc.py | Kausta/dp-fl-sc-client | 453c39980865b9cabbc46f938f465f4597651a4c | [
"Apache-2.0"
] | null | null | null | protocol/communication_pb2_grpc.py | Kausta/dp-fl-sc-client | 453c39980865b9cabbc46f938f465f4597651a4c | [
"Apache-2.0"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from protocol import communication_pb2 as protocol_dot_communication__pb2
class ServerStub(object):
"""Missing associated documentation comment in .proto f... | 47.204698 | 115 | 0.67733 | 1,183 | 14,067 | 7.733728 | 0.093829 | 0.087441 | 0.128539 | 0.144606 | 0.802164 | 0.783364 | 0.681058 | 0.580829 | 0.574926 | 0.562466 | 0 | 0.004763 | 0.253785 | 14,067 | 297 | 116 | 47.363636 | 0.866819 | 0.060923 | 0 | 0.579365 | 1 | 0 | 0.068684 | 0.030569 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.007937 | 0.031746 | 0.123016 | 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 |
04d9bf9f84d76475b55ab37ef17bc1958d2fe0a0 | 201 | py | Python | courses/python/cursoemvideo/exercicios/ex007.py | bdpcampos/public | dda57c265718f3e1cc0d6bce73f149051f5647ef | [
"MIT"
] | 3 | 2020-04-28T01:42:09.000Z | 2020-05-03T12:05:23.000Z | courses/python/cursoemvideo/exercicios/ex007.py | bdpcampos/public | dda57c265718f3e1cc0d6bce73f149051f5647ef | [
"MIT"
] | null | null | null | courses/python/cursoemvideo/exercicios/ex007.py | bdpcampos/public | dda57c265718f3e1cc0d6bce73f149051f5647ef | [
"MIT"
] | null | null | null | n1 = float(input('Digite a primeira nota: '))
n2 = float(input('Digite a segunda nota: '))
print('A primeira nota é {}.\nA segunda nota é {}.\nA média do aluno é {:.2f}.'.format(n1, n2, (n1 + n2) / 2)) | 67 | 110 | 0.626866 | 35 | 201 | 3.6 | 0.514286 | 0.15873 | 0.253968 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.164179 | 201 | 3 | 110 | 67 | 0.702381 | 0 | 0 | 0 | 0 | 0 | 0.584158 | 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 |
04ee53eef8dc4ce56fa7f4302f105e91da862698 | 139 | py | Python | Python/16. Creating multiplication table using while loop.py | bhoomika909/Hacktoberfest2021-1 | d36792245ec00336ce68b582f0279b23c2cd26a9 | [
"MIT"
] | 1 | 2022-01-02T11:14:32.000Z | 2022-01-02T11:14:32.000Z | Python/16. Creating multiplication table using while loop.py | bhoomika909/Hacktoberfest2021-1 | d36792245ec00336ce68b582f0279b23c2cd26a9 | [
"MIT"
] | null | null | null | Python/16. Creating multiplication table using while loop.py | bhoomika909/Hacktoberfest2021-1 | d36792245ec00336ce68b582f0279b23c2cd26a9 | [
"MIT"
] | 9 | 2021-10-16T07:31:54.000Z | 2021-10-31T18:02:34.000Z | x = 1
while x < 10:
y = 1
while y < 10:
print("%4d" % (x*y), end="")
y += 1
print()
x += 1
| 10.692308 | 37 | 0.294964 | 20 | 139 | 2.05 | 0.4 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.52518 | 139 | 12 | 38 | 11.583333 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
04eea64e17c5c2f1607ea32ffdbc1683f96d3b87 | 1,905 | py | Python | quantum/plugins/cisco/extensions/_credential_view.py | yamt/neutron | f94126739a48993efaf1d1439dcd3dadb0c69742 | [
"Apache-2.0"
] | null | null | null | quantum/plugins/cisco/extensions/_credential_view.py | yamt/neutron | f94126739a48993efaf1d1439dcd3dadb0c69742 | [
"Apache-2.0"
] | null | null | null | quantum/plugins/cisco/extensions/_credential_view.py | yamt/neutron | f94126739a48993efaf1d1439dcd3dadb0c69742 | [
"Apache-2.0"
] | null | null | null | # vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright 2011 Cisco Systems, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache... | 35.943396 | 78 | 0.674016 | 238 | 1,905 | 5.247899 | 0.495798 | 0.100881 | 0.043235 | 0.025621 | 0.160128 | 0.120096 | 0.120096 | 0.120096 | 0.120096 | 0.120096 | 0 | 0.007586 | 0.238845 | 1,905 | 52 | 79 | 36.634615 | 0.853793 | 0.506562 | 0 | 0 | 0 | 0 | 0.048864 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.055556 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
04f75329912978faf4de3b37779f63394c0762b7 | 174 | py | Python | easy_FirstFactorial.py | GabrielGhe/CoderbyteChallenges | 5601dbc24c95a65fed04896de2f534417c2e730d | [
"MIT"
] | 1 | 2020-11-04T15:30:18.000Z | 2020-11-04T15:30:18.000Z | easy_FirstFactorial.py | GabrielGhe/CoderbyteChallenges | 5601dbc24c95a65fed04896de2f534417c2e730d | [
"MIT"
] | null | null | null | easy_FirstFactorial.py | GabrielGhe/CoderbyteChallenges | 5601dbc24c95a65fed04896de2f534417c2e730d | [
"MIT"
] | null | null | null | #Gets the factorial of a number
def FirstFactorial(num):
result = 1
for x in range(1, num + 1):
result *= x
return result
print FirstFactorial(raw_input())
| 19.333333 | 35 | 0.66092 | 26 | 174 | 4.384615 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.247126 | 174 | 8 | 36 | 21.75 | 0.847328 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 |
b6baf5ec88fbea1e89c624a525147cf79d2edb2c | 165 | py | Python | config/data_authenticate.py | wdangelo/file-collector-afd | 068078c5dc224f86035da0fefb75e09745255023 | [
"MIT"
] | 1 | 2021-12-08T13:58:55.000Z | 2021-12-08T13:58:55.000Z | config/data_authenticate.py | wdangelo/file-collector-afd | 068078c5dc224f86035da0fefb75e09745255023 | [
"MIT"
] | null | null | null | config/data_authenticate.py | wdangelo/file-collector-afd | 068078c5dc224f86035da0fefb75e09745255023 | [
"MIT"
] | null | null | null | import os
from dotenv import load_dotenv
load_dotenv()
controll_id = {
"user": os.getenv('USER_CONTROLL_ID'),
"password": os.getenv('PASS_CONTROLL_ID')
}
| 15 | 45 | 0.709091 | 23 | 165 | 4.782609 | 0.478261 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157576 | 165 | 10 | 46 | 16.5 | 0.791367 | 0 | 0 | 0 | 0 | 0 | 0.269939 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b6e4f688b18d8707f5b1ec9e19968ce37c80c4a6 | 69 | py | Python | Screenshot.py | kishore-droid/Screenshot-Code-in-PC | b9a6652684203315062b169d1d071de056e69b7d | [
"Apache-2.0"
] | 1 | 2021-08-08T17:26:11.000Z | 2021-08-08T17:26:11.000Z | Screenshot.py | kishore-droid/Screenshot-Code-in-PC | b9a6652684203315062b169d1d071de056e69b7d | [
"Apache-2.0"
] | null | null | null | Screenshot.py | kishore-droid/Screenshot-Code-in-PC | b9a6652684203315062b169d1d071de056e69b7d | [
"Apache-2.0"
] | null | null | null | import pyautogui as p
ss = p.screenshot()
ss.save("desktop\\ss.png")
| 17.25 | 26 | 0.710145 | 12 | 69 | 4.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 3 | 27 | 23 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 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 |
b6e7a7f92b5c537e304d3d73a1f01143db3ee1e6 | 130 | py | Python | Port_Scanner_MultiThread/video_4/utils.py | pymike00/youtube-scripts | 98ebf71a74b7fc9ea710d9d2c49cb191f27073cb | [
"MIT"
] | 19 | 2020-12-30T01:19:55.000Z | 2022-03-13T19:12:27.000Z | Port_Scanner_MultiThread/video_4/utils.py | pymike00/youtube-scripts | 98ebf71a74b7fc9ea710d9d2c49cb191f27073cb | [
"MIT"
] | null | null | null | Port_Scanner_MultiThread/video_4/utils.py | pymike00/youtube-scripts | 98ebf71a74b7fc9ea710d9d2c49cb191f27073cb | [
"MIT"
] | 14 | 2020-09-25T19:33:59.000Z | 2022-03-07T21:38:21.000Z | import json
def extract_json_data(filename):
with open(filename, "r") as file:
data = json.load(file)
return data | 21.666667 | 37 | 0.669231 | 19 | 130 | 4.473684 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 130 | 6 | 38 | 21.666667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.007634 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
8e4fb040a55686d8fef6146c3cf06737cfd6c7d0 | 118 | py | Python | BeamColumnNode/Untitled-1.py | jpcoding/OpenSeesModel | 104cb010a20d7abfb744a624a38643e856fe5f25 | [
"MIT"
] | null | null | null | BeamColumnNode/Untitled-1.py | jpcoding/OpenSeesModel | 104cb010a20d7abfb744a624a38643e856fe5f25 | [
"MIT"
] | null | null | null | BeamColumnNode/Untitled-1.py | jpcoding/OpenSeesModel | 104cb010a20d7abfb744a624a38643e856fe5f25 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
x=np.loadtxt('XYdisp.txt')
plt.plot(x[10:,1],x[10:,2])
plt.show()
| 19.666667 | 31 | 0.70339 | 24 | 118 | 3.458333 | 0.666667 | 0.072289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.101695 | 118 | 5 | 32 | 23.6 | 0.726415 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 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 |
f3cdd8bd3032f59271cb643b971f71e2adf840ba | 251 | py | Python | seeds/management/commands/hello.py | xeroz/crud-django | 185da22ea0a6368fd7c802d60972f2c8f6d9fde9 | [
"MIT"
] | 1 | 2017-05-01T10:02:32.000Z | 2017-05-01T10:02:32.000Z | seeds/management/commands/hello.py | xeroz/crud-django | 185da22ea0a6368fd7c802d60972f2c8f6d9fde9 | [
"MIT"
] | null | null | null | seeds/management/commands/hello.py | xeroz/crud-django | 185da22ea0a6368fd7c802d60972f2c8f6d9fde9 | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand, CommandError
from posts.seeds import PostTableSeeder
class Command(BaseCommand):
def handle(self, *args, **options):
test = 'hello'
PostTableSeeder().run()
return test
| 25.1 | 65 | 0.701195 | 27 | 251 | 6.518519 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203187 | 251 | 9 | 66 | 27.888889 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0.01992 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.714286 | 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 |
6d5fd55957545ba0b2468e2914204c1d925e0c97 | 351 | py | Python | collatorx/common/ledger.py | cjburgos/collator-x | c38cd25ca2c3d8da47db35180fef0f9a53bc4cd3 | [
"MIT-0"
] | null | null | null | collatorx/common/ledger.py | cjburgos/collator-x | c38cd25ca2c3d8da47db35180fef0f9a53bc4cd3 | [
"MIT-0"
] | null | null | null | collatorx/common/ledger.py | cjburgos/collator-x | c38cd25ca2c3d8da47db35180fef0f9a53bc4cd3 | [
"MIT-0"
] | null | null | null | from datetime import datetime
from uuid import uuid4
class Ledger():
LEDGER_TYPE = "default"
def __init__(self):
self._id = uuid4()
self._dob = datetime.datetime.today()
@property
def ledger_id(self):
return str(self._id)
@property
def genesis_date(self):
... | 17.55 | 45 | 0.626781 | 42 | 351 | 4.97619 | 0.5 | 0.057416 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.276353 | 351 | 19 | 46 | 18.473684 | 0.814961 | 0 | 0 | 0.153846 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.153846 | 0.692308 | 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 |
ed9e96933ae1e37f6c906b28deccede560c3d55f | 5,894 | py | Python | helpers/formatter.py | dkalaxdk/IssueTableGenerator | a2999e3417c2514292b1197d8cfe83435f6f1b8d | [
"MIT"
] | null | null | null | helpers/formatter.py | dkalaxdk/IssueTableGenerator | a2999e3417c2514292b1197d8cfe83435f6f1b8d | [
"MIT"
] | null | null | null | helpers/formatter.py | dkalaxdk/IssueTableGenerator | a2999e3417c2514292b1197d8cfe83435f6f1b8d | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
# Abstract base class that provides a common interface
class AbstractFormatter(ABC):
def __init__(self):
super().__init__()
@abstractmethod
def format(self, output_string, repository, config):
pass
# The concrete classes could and probably should be ... | 44.651515 | 123 | 0.581608 | 654 | 5,894 | 4.993884 | 0.172783 | 0.107777 | 0.034293 | 0.039192 | 0.827006 | 0.750153 | 0.72474 | 0.645744 | 0.606859 | 0.467851 | 0 | 0.003403 | 0.302002 | 5,894 | 131 | 124 | 44.992366 | 0.790472 | 0.069393 | 0 | 0.553398 | 0 | 0.019417 | 0.181403 | 0.032335 | 0 | 0 | 0 | 0 | 0 | 1 | 0.07767 | false | 0.009709 | 0.009709 | 0 | 0.174757 | 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 |
edc2483a58ce4dcbe57c5e81f8201d6cb4b1755c | 250 | py | Python | Escola/views.py | JoaoGuilhermeBNascimento/DjangoAPI | 196ecbe96d9483f93087550f68ada346dc13e37c | [
"MIT"
] | null | null | null | Escola/views.py | JoaoGuilhermeBNascimento/DjangoAPI | 196ecbe96d9483f93087550f68ada346dc13e37c | [
"MIT"
] | null | null | null | Escola/views.py | JoaoGuilhermeBNascimento/DjangoAPI | 196ecbe96d9483f93087550f68ada346dc13e37c | [
"MIT"
] | null | null | null | from rest_framework import serializers, viewsets
from Escola.models import Aluno
from Escola.serializer import AlunoSerializer
class AlunosViewSet(viewsets.ModelViewSet):
queryset = Aluno.objects.all()
serializer_class = AlunoSerializer
| 31.25 | 48 | 0.812 | 27 | 250 | 7.444444 | 0.62963 | 0.099502 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 250 | 8 | 49 | 31.25 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
edce0981b5bf6160b01bf44fb4ead94b2536bc79 | 262 | py | Python | src/sanic_jsonrpc/_middleware/__init__.py | mon4ter/sanic-jsonrpc | 21f9067cf17ecceb042abf38c4bdfd7bec05a543 | [
"MIT"
] | 9 | 2019-08-22T08:25:09.000Z | 2021-11-23T16:46:23.000Z | src/sanic_jsonrpc/_middleware/__init__.py | mon4ter/sanic-jsonrpc | 21f9067cf17ecceb042abf38c4bdfd7bec05a543 | [
"MIT"
] | 13 | 2020-02-26T11:05:36.000Z | 2021-12-01T02:57:28.000Z | src/sanic_jsonrpc/_middleware/__init__.py | mon4ter/sanic-jsonrpc | 21f9067cf17ecceb042abf38c4bdfd7bec05a543 | [
"MIT"
] | 1 | 2019-12-16T08:56:33.000Z | 2019-12-16T08:56:33.000Z | from .directions import *
from .objects import *
from .predicate import *
from .predicates import *
from .transports import *
__all__ = [
*directions.__all__,
*objects.__all__,
*predicate.__all__,
*predicates.__all__,
*transports.__all__,
]
| 18.714286 | 25 | 0.70229 | 26 | 262 | 6.153846 | 0.307692 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19084 | 262 | 13 | 26 | 20.153846 | 0.754717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
eddcce8c9283caf0d9250b099057717684d297f7 | 551 | py | Python | gtfo/gtfo_filters/test/unit/test_Random_RandFrom.py | OmegaDroid/gtfo | b75a820bcb94136fb6bbc49c125970dde755c839 | [
"MIT"
] | null | null | null | gtfo/gtfo_filters/test/unit/test_Random_RandFrom.py | OmegaDroid/gtfo | b75a820bcb94136fb6bbc49c125970dde755c839 | [
"MIT"
] | null | null | null | gtfo/gtfo_filters/test/unit/test_Random_RandFrom.py | OmegaDroid/gtfo | b75a820bcb94136fb6bbc49c125970dde755c839 | [
"MIT"
] | null | null | null | from unittest import TestCase
from unittest.mock import patch, Mock
from gtfo.gtfo_filters.templatetags.random import rand_from
class Random_RandFrom(TestCase):
def test_NoArgumentsGiven_ValueErrorIsRaised(self):
self.assertRaises(ValueError, rand_from)
@patch("gtfo.gtfo_filters.templatetags.random.... | 42.384615 | 118 | 0.76225 | 68 | 551 | 5.985294 | 0.485294 | 0.058968 | 0.07371 | 0.132678 | 0.22113 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008247 | 0.119782 | 551 | 13 | 119 | 42.384615 | 0.830928 | 0 | 0 | 0 | 0 | 0 | 0.150362 | 0.092391 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
edede2b2770ad7c2d5d1107dda10167280a8d22c | 454 | py | Python | src/darjeeling/filters.py | yxliang01/Darjeeling | 60a6d55a618b5d1cef3312904baaf11099293e54 | [
"Apache-2.0"
] | null | null | null | src/darjeeling/filters.py | yxliang01/Darjeeling | 60a6d55a618b5d1cef3312904baaf11099293e54 | [
"Apache-2.0"
] | null | null | null | src/darjeeling/filters.py | yxliang01/Darjeeling | 60a6d55a618b5d1cef3312904baaf11099293e54 | [
"Apache-2.0"
] | null | null | null | from bugzoo.core.fileline import FileLine
def ends_with_semi_colon(contents: str) -> bool:
"""
Returns `True` if a given line ends with a semi-colon.
"""
# FIXME add "is_statement"
contents = contents.strip()
return contents.endswith(';') and not contents == '};'
def has_balanced_delimiters(... | 25.222222 | 77 | 0.669604 | 59 | 454 | 5.050847 | 0.661017 | 0.053691 | 0.100671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220264 | 454 | 17 | 78 | 26.705882 | 0.841808 | 0.339207 | 0 | 0 | 0 | 0 | 0.011152 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
edf88f4eddb9c1e586a73179c8a22c6516724e7d | 477 | py | Python | genmod/errors/warning.py | Varstation/genmod | 991a0fca36936b5dde49a95e8ea1d4336288c7c0 | [
"MIT"
] | 46 | 2015-01-15T17:53:22.000Z | 2021-08-09T09:35:29.000Z | genmod/errors/warning.py | Varstation/genmod | 991a0fca36936b5dde49a95e8ea1d4336288c7c0 | [
"MIT"
] | 55 | 2015-06-04T09:09:29.000Z | 2021-05-20T10:48:18.000Z | genmod/errors/warning.py | moonso/genmod | 99b6c9510ffc67fd54c07eab24de5db7345ef95d | [
"MIT"
] | 15 | 2015-02-06T04:08:23.000Z | 2021-05-04T10:06:58.000Z | #!/usr/bin/env python
# encoding: utf-8
"""
warning.py
Prints a warning message to stderr
Created by Måns Magnusson on 2014-08-22.
Copyright (c) 2014 __MoonsoInc__. All rights reserved.
"""
from __future__ import print_function, unicode_literals
import sys
import os
def warning(*objs):
"""Prints the warning me... | 17.666667 | 55 | 0.69392 | 68 | 477 | 4.602941 | 0.720588 | 0.051118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033419 | 0.184486 | 477 | 26 | 56 | 18.346154 | 0.771208 | 0.45912 | 0 | 0 | 0 | 0 | 0.144033 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0 | 0.555556 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6120403dfed8b654a56275a57e9db7f91ff6bad8 | 275 | py | Python | opyapi/schema/errors/invalid_length_error.py | dkraczkowski/opyapi | 93f9ca4a39ec3dc0622e3248b96f2efad8323827 | [
"MIT"
] | 5 | 2019-06-05T19:06:56.000Z | 2020-05-02T07:57:51.000Z | opyapi/schema/errors/invalid_length_error.py | dkraczkowski/opyapi | 93f9ca4a39ec3dc0622e3248b96f2efad8323827 | [
"MIT"
] | 12 | 2019-06-05T19:34:09.000Z | 2019-09-08T18:50:48.000Z | opyapi/schema/errors/invalid_length_error.py | dkraczkowski/opyapi | 93f9ca4a39ec3dc0622e3248b96f2efad8323827 | [
"MIT"
] | 1 | 2019-06-05T20:03:26.000Z | 2019-06-05T20:03:26.000Z | from .validation_error import ValidationError
class InvalidLengthError(ValidationError):
pass
class OverflowError(InvalidLengthError):
pass
class UnderflowError(InvalidLengthError):
pass
__all__ = ["InvalidLengthError", "OverflowError", "UnderflowError"]
| 16.176471 | 67 | 0.785455 | 21 | 275 | 10.047619 | 0.52381 | 0.085308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138182 | 275 | 16 | 68 | 17.1875 | 0.890295 | 0 | 0 | 0.375 | 0 | 0 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.375 | 0.125 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
612d9d38133b9d26ee272392bed86e7ce9da6798 | 148 | py | Python | web/reports/templatetags/filters.py | chosak/fdic-call-reports | 1b2147ed2ab7cde99db620d6d769f32c39c8abf2 | [
"MIT"
] | 26 | 2015-10-17T21:38:50.000Z | 2022-01-14T04:17:18.000Z | web/reports/templatetags/filters.py | lydiakirakira/fdic-call-reports | 1b2147ed2ab7cde99db620d6d769f32c39c8abf2 | [
"MIT"
] | null | null | null | web/reports/templatetags/filters.py | lydiakirakira/fdic-call-reports | 1b2147ed2ab7cde99db620d6d769f32c39c8abf2 | [
"MIT"
] | 12 | 2017-03-08T21:33:31.000Z | 2021-08-20T23:21:46.000Z | from django import template
register = template.Library()
@register.filter
def money(value, scale):
return '${:,d}'.format(value / scale)
| 12.333333 | 41 | 0.689189 | 18 | 148 | 5.666667 | 0.777778 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168919 | 148 | 11 | 42 | 13.454545 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b640c33cb2683f2f519af07a2a41d7e5ca29963d | 26 | py | Python | Warm-up/C.py | CristianLazoQuispe/UniXtreme | da5c535b3ff00962398b7d1bf8b5e7e3b169f8ab | [
"MIT"
] | null | null | null | Warm-up/C.py | CristianLazoQuispe/UniXtreme | da5c535b3ff00962398b7d1bf8b5e7e3b169f8ab | [
"MIT"
] | null | null | null | Warm-up/C.py | CristianLazoQuispe/UniXtreme | da5c535b3ff00962398b7d1bf8b5e7e3b169f8ab | [
"MIT"
] | null | null | null | letras = input().split()
| 8.666667 | 24 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 2 | 25 | 13 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
b652e71cc4ea0397bfb9f4da9fbb56cee53ec43d | 96 | py | Python | src/lime_python/protocol/constants/session_encryption.py | mirlarof/lime-python | 9961379562bd9d362b16c0ee66f3bde652070b22 | [
"Apache-2.0"
] | 2 | 2019-09-10T15:10:11.000Z | 2021-02-05T21:44:38.000Z | src/lime_python/protocol/constants/session_encryption.py | mirlarof/lime-python | 9961379562bd9d362b16c0ee66f3bde652070b22 | [
"Apache-2.0"
] | 9 | 2021-05-19T21:08:15.000Z | 2021-05-31T20:43:26.000Z | src/lime_python/protocol/constants/session_encryption.py | mirlarof/lime-python | 9961379562bd9d362b16c0ee66f3bde652070b22 | [
"Apache-2.0"
] | 3 | 2019-09-10T15:10:32.000Z | 2022-01-24T13:36:46.000Z | class SessionEncryption:
"""Session Encryption types."""
NONE = 'none'
TLS = 'tls'
| 16 | 35 | 0.604167 | 9 | 96 | 6.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 96 | 5 | 36 | 19.2 | 0.805556 | 0.260417 | 0 | 0 | 0 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b65677c0f818f2204278e7f1f85e98c8afb1cada | 813 | py | Python | servidor/entorno_virtual.py | JPGarzonE/curso-de-python | 37acfebffa3f6944ee2aa88c64567efe1471f968 | [
"MIT"
] | null | null | null | servidor/entorno_virtual.py | JPGarzonE/curso-de-python | 37acfebffa3f6944ee2aa88c64567efe1471f968 | [
"MIT"
] | 1 | 2020-01-26T18:51:08.000Z | 2020-01-26T18:51:08.000Z | servidor/entorno_virtual.py | JPGarzonE/curso-de-python | 37acfebffa3f6944ee2aa88c64567efe1471f968 | [
"MIT"
] | null | null | null | # Entorno virtual en Python
# En Python la comunidad comparte su código usando PyPi (python package index),
# es un repositorio para instalar módulos de la comunidad.
# Con pip install [nombre] se puede instalar el paquete que deseas.
# Podemos utilizar requirements.txt para ordenar los paquetes que requiere tu proye... | 30.111111 | 159 | 0.792128 | 117 | 813 | 5.504274 | 0.598291 | 0.086957 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170972 | 813 | 26 | 160 | 31.269231 | 0.95549 | 0.947109 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.038462 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b679c32b7af28db8d06f036d31fafb3fb8015ba0 | 248 | py | Python | test/support/dt.py | ankane/tomoto | b38811d21f5fa025aeaed4caf0dfe33d1ecea73b | [
"MIT"
] | 41 | 2020-10-09T23:01:41.000Z | 2021-09-17T15:26:02.000Z | test/support/dt.py | ankane/tomoto-ruby | 664a427f28c211278f5a4359d7a19ba27a933c50 | [
"MIT"
] | 3 | 2020-10-09T23:53:33.000Z | 2021-08-18T21:41:28.000Z | test/support/dt.py | ankane/tomoto-ruby | 664a427f28c211278f5a4359d7a19ba27a933c50 | [
"MIT"
] | 1 | 2021-04-20T04:22:16.000Z | 2021-04-20T04:22:16.000Z | import tomotopy as tp
model = tp.DTModel()
print(model.alpha)
# print(model.eta)
print(model.lr_a)
print(model.lr_b)
print(model.lr_c)
print(model.num_timepoints)
print(model.num_docs_by_timepoint)
model.add_doc(["new", "document"], timepoint=0)
| 19.076923 | 47 | 0.766129 | 42 | 248 | 4.333333 | 0.547619 | 0.384615 | 0.197802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.080645 | 248 | 12 | 48 | 20.666667 | 0.79386 | 0.064516 | 0 | 0 | 0 | 0 | 0.047826 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b6a4e42f7aab145d029dcae03fa06a2ba23a3525 | 86 | py | Python | x2paddle/__init__.py | wangnaa/X2Paddle | 57e500f8279048fb8fa89c291358c92a1c36914f | [
"Apache-2.0"
] | null | null | null | x2paddle/__init__.py | wangnaa/X2Paddle | 57e500f8279048fb8fa89c291358c92a1c36914f | [
"Apache-2.0"
] | null | null | null | x2paddle/__init__.py | wangnaa/X2Paddle | 57e500f8279048fb8fa89c291358c92a1c36914f | [
"Apache-2.0"
] | 1 | 2021-02-22T09:05:44.000Z | 2021-02-22T09:05:44.000Z | __version__ = "1.0.1"
from .core.program import PaddleGraph
program = PaddleGraph()
| 14.333333 | 37 | 0.744186 | 11 | 86 | 5.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.139535 | 86 | 5 | 38 | 17.2 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 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 |
b6ab98a91b4b84a7252e4debcf798fd568be935b | 237 | py | Python | home/processors.py | saqlainrasheed/iogt | 4bebfe4cd2f1d4ff9cab50d1126756c162a30b89 | [
"BSD-2-Clause"
] | 20 | 2021-04-29T12:36:25.000Z | 2022-03-27T12:17:41.000Z | home/processors.py | mbilalhameed/iogt | 9c12f0be29f1eea0097ec43f692c77ba65673610 | [
"BSD-2-Clause"
] | 892 | 2021-02-02T13:56:06.000Z | 2022-03-31T11:25:44.000Z | home/processors.py | mbilalhameed/iogt | 9c12f0be29f1eea0097ec43f692c77ba65673610 | [
"BSD-2-Clause"
] | 28 | 2021-02-19T19:28:37.000Z | 2022-03-11T11:46:00.000Z | from django.conf import settings
def show_welcome_banner(request):
return {
"first_time_user": request.session.get("first_time_user", True)
}
def commit_hash(request):
return {'commit_hash': settings.COMMIT_HASH}
| 19.75 | 71 | 0.721519 | 31 | 237 | 5.225806 | 0.612903 | 0.185185 | 0.160494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172996 | 237 | 11 | 72 | 21.545455 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0.172996 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 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 |
b6acb9a099ff272a1ad0be79dde50f196a5da993 | 651 | py | Python | py-src/Fluid.py | appmonster007/project-megraphs | 7e32af817f49804a17dbfd729e5afaef50fa95f7 | [
"MIT"
] | null | null | null | py-src/Fluid.py | appmonster007/project-megraphs | 7e32af817f49804a17dbfd729e5afaef50fa95f7 | [
"MIT"
] | 2 | 2021-09-05T05:41:42.000Z | 2021-09-05T07:12:49.000Z | py-src/Fluid.py | appmonster007/project-megraphs | 7e32af817f49804a17dbfd729e5afaef50fa95f7 | [
"MIT"
] | null | null | null | from Base import graphIO
import networkx as nx
def fluidsim(graph: graphIO, iters=100):
for node in graph.graph:
if graph.graph.degree[node] < 2:
graph.graph.nodes[node]['pressure'] = 1.0
else:
graph.graph.nodes[node]['pressure'] = 0.0
for _ in range(iters):
for... | 38.294118 | 103 | 0.596006 | 83 | 651 | 4.662651 | 0.337349 | 0.258398 | 0.232558 | 0.196382 | 0.542636 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029474 | 0.270353 | 651 | 17 | 104 | 38.294118 | 0.785263 | 0 | 0 | 0.142857 | 0 | 0 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.142857 | 0 | 0.214286 | 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 |
b6b7b3af0e1bcb6a620943b054ddd3483ac6aa17 | 62,458 | py | Python | daily_temperature_data_V3a.py | ErikaWarnatzsch/Maize-Aflatoxin-Risk | 1fa48e57d3ef84ac3435eaf9edd1437bfa707a5f | [
"MIT"
] | null | null | null | daily_temperature_data_V3a.py | ErikaWarnatzsch/Maize-Aflatoxin-Risk | 1fa48e57d3ef84ac3435eaf9edd1437bfa707a5f | [
"MIT"
] | null | null | null | daily_temperature_data_V3a.py | ErikaWarnatzsch/Maize-Aflatoxin-Risk | 1fa48e57d3ef84ac3435eaf9edd1437bfa707a5f | [
"MIT"
] | null | null | null | """
Created on Monday June 27th 2019
@author: s0899345
"""
import numpy as np
import iris
import iris.coord_categorisation as iriscc
import iris.analysis.cartography
import cf_units
from cf_units import Unit
#this file is split into parts as follows:
#PART 1: Load and Format all Past Models
#P... | 64.656315 | 187 | 0.730187 | 8,852 | 62,458 | 4.757343 | 0.03005 | 0.042743 | 0.038754 | 0.040392 | 0.82207 | 0.737723 | 0.707091 | 0.660904 | 0.621319 | 0.337386 | 0 | 0.057584 | 0.1542 | 62,458 | 966 | 188 | 64.656315 | 0.739584 | 0.054004 | 0 | 0.086066 | 0 | 0.023224 | 0.122416 | 0.050572 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001366 | false | 0 | 0.009563 | 0 | 0.010929 | 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 |
fcafd5727239c4c514dd2f164dd9b6cf896ea4da | 865 | py | Python | db/base_redis/base.py | liuansen/python-utils-class | 7f5371ab09b433f555f732dd35350581701e16f0 | [
"Apache-2.0"
] | 3 | 2019-05-09T08:15:29.000Z | 2021-10-12T06:24:49.000Z | db/base_redis/base.py | liuansen/python-utils-class | 7f5371ab09b433f555f732dd35350581701e16f0 | [
"Apache-2.0"
] | 3 | 2020-03-24T06:22:02.000Z | 2021-06-10T21:28:35.000Z | db/base_redis/base.py | liuansen/python-utils-class | 7f5371ab09b433f555f732dd35350581701e16f0 | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
# author:Anson
from __future__ import unicode_literals
import settings
import redis
class RedisPool(object):
def __init__(self, conf='default'):
redis_config = settings.REDIS_CONNECTION[conf]
print redis_config
self.pool = redis.ConnectionPool(host=red... | 29.827586 | 74 | 0.59422 | 91 | 865 | 5.384615 | 0.351648 | 0.202041 | 0.077551 | 0.097959 | 0.395918 | 0.257143 | 0.257143 | 0.257143 | 0.257143 | 0.257143 | 0 | 0.001653 | 0.300578 | 865 | 28 | 75 | 30.892857 | 0.808264 | 0.03815 | 0 | 0 | 0 | 0 | 0.052434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.105263 | 0.157895 | null | null | 0.052632 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
fcb59e206519aae34d68aaab0e2fd8f3edd7b69c | 63,101 | py | Python | cryptowatch/stream/proto/public/markets/market_pb2.py | hikarubw/cw-sdk-python | 1b72a85b3b2f5fc8003677a68a26e1b349bea2f1 | [
"BSD-2-Clause"
] | null | null | null | cryptowatch/stream/proto/public/markets/market_pb2.py | hikarubw/cw-sdk-python | 1b72a85b3b2f5fc8003677a68a26e1b349bea2f1 | [
"BSD-2-Clause"
] | null | null | null | cryptowatch/stream/proto/public/markets/market_pb2.py | hikarubw/cw-sdk-python | 1b72a85b3b2f5fc8003677a68a26e1b349bea2f1 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: public/markets/market.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_databas... | 48.279265 | 6,123 | 0.761937 | 7,435 | 63,101 | 6.202017 | 0.048823 | 0.053088 | 0.056862 | 0.041638 | 0.762144 | 0.658419 | 0.644388 | 0.6214 | 0.613658 | 0.570069 | 0 | 0.041304 | 0.118302 | 63,101 | 1,306 | 6,124 | 48.316233 | 0.787512 | 0.0229 | 0 | 0.706362 | 1 | 0.004894 | 0.159087 | 0.120812 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003263 | 0 | 0.003263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
fcb988a4da2d7eefc2fb4919a5d804863f0b78aa | 561 | py | Python | pybemt/analysis.py | Team-Peryton/pyBEMT2 | cfe83f709f616489c0df817641d54f2877e680bc | [
"MIT"
] | 1 | 2021-07-26T17:57:23.000Z | 2021-07-26T17:57:23.000Z | pybemt/analysis.py | Team-Peryton/pyBEMT2 | cfe83f709f616489c0df817641d54f2877e680bc | [
"MIT"
] | null | null | null | pybemt/analysis.py | Team-Peryton/pyBEMT2 | cfe83f709f616489c0df817641d54f2877e680bc | [
"MIT"
] | 1 | 2021-09-05T18:41:12.000Z | 2021-09-05T18:41:12.000Z | import math
def speed_of_sound(gamma, pressure, density):
return math.sqrt(gamma*(pressure/density))
def tip_speed(rpm, diameter):
"""
Assumes standard atmosphere sea level conditions
rpm
diameter: meters
returns: Mach speed at tip
"""
return ( (diameter * math.pi * rpm) / 60 ) / spee... | 26.714286 | 81 | 0.672014 | 86 | 561 | 4.255814 | 0.476744 | 0.057377 | 0.098361 | 0.071038 | 0.131148 | 0.131148 | 0.131148 | 0.131148 | 0 | 0 | 0 | 0.072235 | 0.210339 | 561 | 21 | 82 | 26.714286 | 0.75395 | 0.304813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
fcccdd33d5044fab71fa609cab44d50b89380ef7 | 267 | py | Python | BridgePython/client.py | barberj/bridge-python | 1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe | [
"MIT"
] | null | null | null | BridgePython/client.py | barberj/bridge-python | 1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe | [
"MIT"
] | null | null | null | BridgePython/client.py | barberj/bridge-python | 1c33df5fa1d92ac6c54bbb6d868c71e1f883e8fe | [
"MIT"
] | null | null | null | from BridgePython import serializer, reference
class Client(object):
def __init__(self, bridge, id):
self.bridge, self.clientId = bridge, id;
def get_service(self, svc):
return reference.Reference(self.bridge, ['client', self.clientId, svc])
| 33.375 | 79 | 0.700375 | 33 | 267 | 5.515152 | 0.545455 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183521 | 267 | 7 | 80 | 38.142857 | 0.834862 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 3 |
fcf2b82b52b1d10f7aab14e5bd1cc1a9bfa7deaa | 2,625 | py | Python | npyscreen/widget/__init__.py | tescalada/npyscreen-restructure | 0833bbbdec18439182f102d2147f3756fa98aadd | [
"BSD-2-Clause"
] | 2 | 2015-01-12T14:47:19.000Z | 2018-10-03T09:27:22.000Z | npyscreen/widget/__init__.py | tescalada/npyscreen-restructure | 0833bbbdec18439182f102d2147f3756fa98aadd | [
"BSD-2-Clause"
] | null | null | null | npyscreen/widget/__init__.py | tescalada/npyscreen-restructure | 0833bbbdec18439182f102d2147f3756fa98aadd | [
"BSD-2-Clause"
] | 1 | 2020-03-20T20:19:33.000Z | 2020-03-20T20:19:33.000Z | # encoding: utf-8
"""
The npyscreen.widget package provides tools for Widgets and Widget classes.
"""
import copy
import sys
import curses
import curses.ascii
import weakref
from .. import global_options
import locale
#import warnings # unused
#import curses.wrapper #unused
#import codecs # unused
from ..globals... | 41.015625 | 79 | 0.768381 | 226 | 2,625 | 8.920354 | 0.548673 | 0.017857 | 0.018849 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000468 | 0.185905 | 2,625 | 63 | 80 | 41.666667 | 0.942911 | 0.108952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.021277 | 0.787234 | 0 | 0.787234 | 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 |
1e014d4da6593d59abb35c952bbe61faa5584d8b | 340,297 | py | Python | sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 8 | 2021-01-13T23:44:08.000Z | 2021-03-17T10:13:36.000Z | sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 226 | 2019-07-24T07:57:21.000Z | 2019-10-15T01:07:24.000Z | sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/_models_py3.py | iscai-msft/azure-sdk-for-python | 83715b95c41e519d5be7f1180195e2fba136fc0f | [
"MIT"
] | 2 | 2020-05-21T22:51:22.000Z | 2020-05-26T20:53:01.000Z | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | 43.152042 | 628 | 0.674863 | 39,514 | 340,297 | 5.64076 | 0.036569 | 0.023994 | 0.018951 | 0.02412 | 0.757547 | 0.728578 | 0.702776 | 0.679971 | 0.662819 | 0.652006 | 0 | 0.005314 | 0.207028 | 340,297 | 7,885 | 629 | 43.157514 | 0.820605 | 0.445849 | 0 | 0.600478 | 0 | 0 | 0.274357 | 0.077101 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051136 | false | 0.013158 | 0.000598 | 0 | 0.189593 | 0.005084 | 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 |
1e181b8be3f9d7c9823895d4a475cbe805b0b1de | 509 | py | Python | pylspm/__init__.py | lseman/pyplspm | 136e1ac3ac88655442ef66a5914efe10c0797561 | [
"MIT"
] | 12 | 2017-05-04T11:21:45.000Z | 2022-03-24T02:30:22.000Z | pylspm/__init__.py | lseman/pyplspm | 136e1ac3ac88655442ef66a5914efe10c0797561 | [
"MIT"
] | 5 | 2017-03-30T14:52:21.000Z | 2018-01-17T16:08:44.000Z | pylspm/__init__.py | lseman/pyplspm | 136e1ac3ac88655442ef66a5914efe10c0797561 | [
"MIT"
] | 2 | 2019-07-18T01:57:29.000Z | 2021-04-10T09:44:20.000Z | from .pylspm import PyLSpm
from .results import PyLSpmHTML
from .boot import PyLSboot
from .rebus import rebus
from .blindfolding import blindfolding
from .bootstraping import bootstrap
from .mga import mga
from .gac import gac
from .pso import pso
from .tabu2 import tabu
from .permuta import permuta
from ... | 26.789474 | 41 | 0.787819 | 68 | 509 | 5.882353 | 0.397059 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007126 | 0.172888 | 509 | 19 | 42 | 26.789474 | 0.942993 | 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 |
1e1b240df6c494b3873849a67646f06adf44a04b | 626 | py | Python | activations.py | award28/Diabetic_Retinopathy_Detection | 079a7af791f3442853577c0731c9a797433bbcda | [
"MIT"
] | 2 | 2018-08-04T21:47:39.000Z | 2019-03-23T02:56:59.000Z | activations.py | award28/Diabetic_Retinopathy_Detection | 079a7af791f3442853577c0731c9a797433bbcda | [
"MIT"
] | null | null | null | activations.py | award28/Diabetic_Retinopathy_Detection | 079a7af791f3442853577c0731c9a797433bbcda | [
"MIT"
] | null | null | null | import math
import numpy as np
def relu(pixel_vals, bias=0):
'''Takes tuple (r,g,b) and returns the relu transformation.
For use within each individual node in a dense layer before being passed onto the next layer
bias 0'ed out by default
'''
return (pixel_vals * (pixel_vals > 0) + bias,)
def sigm... | 31.3 | 96 | 0.682109 | 105 | 626 | 3.990476 | 0.457143 | 0.171838 | 0.186158 | 0.133652 | 0.279236 | 0.178998 | 0.178998 | 0 | 0 | 0 | 0 | 0.018256 | 0.21246 | 626 | 19 | 97 | 32.947368 | 0.831643 | 0.495208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1e21027e056e44942c5d571e7146f8e789845705 | 2,295 | py | Python | tests/data23/recipe-473784.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-05T08:53:26.000Z | 2020-06-05T08:53:26.000Z | tests/data23/recipe-473784.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-06-04T13:47:19.000Z | 2020-06-04T13:47:57.000Z | tests/data23/recipe-473784.py | JohannesBuchner/pystrict3 | f442a89ac6a23f4323daed8ef829d8e9e1197f90 | [
"BSD-2-Clause"
] | 1 | 2020-11-07T17:02:46.000Z | 2020-11-07T17:02:46.000Z | ################################################################################
#
#
#
#===============================================================================
class CustomDict( dict ):
#---------------------------------------------------------------------------
defaultValue = 'THIS ITEM NOT AVAILABLE'... | 29.805195 | 80 | 0.275817 | 131 | 2,295 | 4.305344 | 0.282443 | 0.074468 | 0.088652 | 0.106383 | 0.08156 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002136 | 0.183878 | 2,295 | 76 | 81 | 30.197368 | 0.298986 | 0.434423 | 0 | 0.125 | 0 | 0 | 0.043689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.21875 | false | 0 | 0 | 0.125 | 0.53125 | 0.1875 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1e2db8265d3a5d7415fa2f0c78530376361179bf | 15 | py | Python | eleanor/maxsector.py | benmontet/eleanor | 0d3644172638b350c8213d07224cd9c86b69d473 | [
"MIT"
] | null | null | null | eleanor/maxsector.py | benmontet/eleanor | 0d3644172638b350c8213d07224cd9c86b69d473 | [
"MIT"
] | null | null | null | eleanor/maxsector.py | benmontet/eleanor | 0d3644172638b350c8213d07224cd9c86b69d473 | [
"MIT"
] | null | null | null | maxsector = 38
| 7.5 | 14 | 0.733333 | 2 | 15 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.2 | 15 | 1 | 15 | 15 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
1e41b4605330545d3fb704bf4c179870f3a981f0 | 552 | py | Python | objects/goal.py | Drako/Snake | ae54519d2f92a27bd073b848f004ca036bd38b4f | [
"MIT"
] | 1 | 2019-10-22T15:34:43.000Z | 2019-10-22T15:34:43.000Z | objects/goal.py | Drako/Snake | ae54519d2f92a27bd073b848f004ca036bd38b4f | [
"MIT"
] | null | null | null | objects/goal.py | Drako/Snake | ae54519d2f92a27bd073b848f004ca036bd38b4f | [
"MIT"
] | null | null | null | import pygame
from pygame.surface import Surface
from util import Rect, Point
from util.collisions import rect_contains_point
from util.colors import WHITE
from . import GameObject
class Goal(GameObject):
_area: Rect
def __init__(self, *, area: Rect):
self._area = area
def draw_to(self, draw_ta... | 23 | 56 | 0.708333 | 76 | 552 | 4.868421 | 0.302632 | 0.12973 | 0.07027 | 0.086486 | 0.12973 | 0.12973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 552 | 23 | 57 | 24 | 0.846682 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.0625 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
1e51cb4ab739c91fdd05eacf673885d5dfa69987 | 98 | py | Python | misc/signals.py | ilblackdragon/django-misc | 0accd2dc97de656a1c9e275be81e817f78a2eb9d | [
"MIT"
] | 6 | 2015-05-13T14:56:30.000Z | 2019-06-27T13:24:04.000Z | misc/signals.py | ilblackdragon/django-misc | 0accd2dc97de656a1c9e275be81e817f78a2eb9d | [
"MIT"
] | null | null | null | misc/signals.py | ilblackdragon/django-misc | 0accd2dc97de656a1c9e275be81e817f78a2eb9d | [
"MIT"
] | null | null | null | from django.dispatch import Signal
language_changed = Signal(providing_args=['request', 'lang'])
| 24.5 | 61 | 0.785714 | 12 | 98 | 6.25 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 3 | 62 | 32.666667 | 0.842697 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 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 |
1e676843535d3d2f58287407ea3c39fef5a6f6b0 | 220 | py | Python | doc/python/client/hello-world-async-wait.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | 1 | 2016-08-10T07:53:58.000Z | 2016-08-10T07:53:58.000Z | doc/python/client/hello-world-async-wait.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | null | null | null | doc/python/client/hello-world-async-wait.py | cnangel/HyperDex | b272e85b08d232993baf6105a4beba833deadfe3 | [
"BSD-3-Clause"
] | null | null | null | import hyperdex.client
c = hyperdex.client.Client("127.0.0.1", 1982)
p = c.async_put("kv", "some key", {"v": "Hello World!"})
p.wait()
print 'put "Hello World!"'
g = c.async_get("kv", "some key")
print 'got:', g.wait()
| 24.444444 | 56 | 0.627273 | 39 | 220 | 3.487179 | 0.564103 | 0.205882 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052083 | 0.127273 | 220 | 8 | 57 | 27.5 | 0.65625 | 0 | 0 | 0 | 0 | 0 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.285714 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1e6dfe20bde4bacb2a7d766f9dcc5b8c4f97cf97 | 74 | py | Python | python/testData/codeInsight/controlflow/typesinandbooleanexpression.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/codeInsight/controlflow/typesinandbooleanexpression.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/codeInsight/controlflow/typesinandbooleanexpression.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class A:
pass
var = object()
if isinstance(var, A) and var:
pass | 10.571429 | 30 | 0.608108 | 12 | 74 | 3.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283784 | 74 | 7 | 31 | 10.571429 | 0.849057 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.