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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce334240496788f670cc68b34ae034aab8919c52 | 41,740 | py | Python | intrepid/geophysical_models_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | 1 | 2020-07-08T04:41:52.000Z | 2020-07-08T04:41:52.000Z | intrepid/geophysical_models_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | null | null | null | intrepid/geophysical_models_pb2.py | intrepid-geophysics/intrepid-protobuf-py | e01a11e139b0ed3bb9500a8153939d7acfa8b3b4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: geophysical_models.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from go... | 46.741321 | 3,809 | 0.746766 | 5,500 | 41,740 | 5.364364 | 0.063091 | 0.058297 | 0.093377 | 0.076871 | 0.731189 | 0.701396 | 0.69638 | 0.678993 | 0.67601 | 0.671062 | 0 | 0.047828 | 0.127911 | 41,740 | 892 | 3,810 | 46.793722 | 0.762699 | 0.018807 | 0 | 0.704192 | 1 | 0.002395 | 0.169024 | 0.128179 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007186 | 0 | 0.007186 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 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 | 5 |
02038323b77c2bafd72b0efda47851941a327f4b | 1,655 | py | Python | feature_scaling/entities/factory.py | Raiz-Environmental-Technology/feature_scaling | cf31b7003a4d830b1a6f1fda3620b862376d0e35 | [
"BSD-2-Clause"
] | null | null | null | feature_scaling/entities/factory.py | Raiz-Environmental-Technology/feature_scaling | cf31b7003a4d830b1a6f1fda3620b862376d0e35 | [
"BSD-2-Clause"
] | null | null | null | feature_scaling/entities/factory.py | Raiz-Environmental-Technology/feature_scaling | cf31b7003a4d830b1a6f1fda3620b862376d0e35 | [
"BSD-2-Clause"
] | null | null | null | from feature_scaling.custom_typing.feature import Feature
from feature_scaling.models.feature import FeatureModel
from .type.interface import FeatureScalingInterface
class FeatureScalingFactory:
__slots__ = ["_feature_scaling_method"]
def __init__(self, feature_scaling_method: FeatureScalingInterface):
... | 40.365854 | 108 | 0.759517 | 178 | 1,655 | 6.544944 | 0.202247 | 0.288412 | 0.360515 | 0.226609 | 0.513305 | 0.375966 | 0.358798 | 0.115021 | 0 | 0 | 0 | 0 | 0.170393 | 1,655 | 40 | 109 | 41.375 | 0.848507 | 0 | 0 | 0 | 0 | 0 | 0.10997 | 0.091843 | 0 | 0 | 0 | 0 | 0.033333 | 1 | 0.266667 | false | 0 | 0.1 | 0.1 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0212955f693a633826adb207bcba834a299e3e7b | 6,084 | py | Python | metpy/calc/tests/test_kinematics.py | wqshen/MetPy | fe15ec894bf15582576b090457c3000b4afb3555 | [
"BSD-3-Clause"
] | 3 | 2016-02-25T08:39:32.000Z | 2019-10-24T05:12:55.000Z | metpy/calc/tests/test_kinematics.py | wqshen/MetPy | fe15ec894bf15582576b090457c3000b4afb3555 | [
"BSD-3-Clause"
] | null | null | null | metpy/calc/tests/test_kinematics.py | wqshen/MetPy | fe15ec894bf15582576b090457c3000b4afb3555 | [
"BSD-3-Clause"
] | 2 | 2017-01-06T16:30:40.000Z | 2020-03-25T22:25:01.000Z | # Copyright (c) 2008-2015 MetPy Developers.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause
from metpy.testing import assert_array_equal
import numpy as np
from metpy.calc.kinematics import * # noqa
from metpy.constants import g
from metpy.units import units, concate... | 39 | 91 | 0.568212 | 951 | 6,084 | 3.502629 | 0.112513 | 0.087061 | 0.105674 | 0.068448 | 0.82888 | 0.803062 | 0.774542 | 0.732513 | 0.679976 | 0.631042 | 0 | 0.043964 | 0.278435 | 6,084 | 155 | 92 | 39.251613 | 0.714806 | 0.142012 | 0 | 0.625 | 0 | 0 | 0.118444 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 1 | 0.117188 | false | 0 | 0.039063 | 0 | 0.195313 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0243b1d129351ad63ed4b94db9cb83ea934bc398 | 198 | py | Python | pbp/callbacks/__init__.py | ArnaudPannatier/pytorch-boilerplate | 1e90e359fc9247ae08e416c51d46ef7a9b8fb56f | [
"MIT"
] | 2 | 2021-06-29T20:57:46.000Z | 2021-06-29T23:35:18.000Z | pbp/callbacks/__init__.py | ArnaudPannatier/pytorch-boilerplate | 1e90e359fc9247ae08e416c51d46ef7a9b8fb56f | [
"MIT"
] | null | null | null | pbp/callbacks/__init__.py | ArnaudPannatier/pytorch-boilerplate | 1e90e359fc9247ae08e416c51d46ef7a9b8fb56f | [
"MIT"
] | 1 | 2021-04-16T07:01:52.000Z | 2021-04-16T07:01:52.000Z | """Define and implement the callback interface."""
from .base import Callback, CallbackList, CallbackListFactory
from .checkpoint import ModelCheckpoint
from .logger import TxtLogger, StdoutLogger
| 33 | 61 | 0.823232 | 21 | 198 | 7.761905 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 198 | 5 | 62 | 39.6 | 0.926136 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0252028d6a498e20736bc3a7dd147a7a0be9f337 | 226 | py | Python | src/compas_hpc/geometry/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2019-03-27T22:32:56.000Z | 2019-03-27T22:32:56.000Z | src/compas_hpc/geometry/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | null | null | null | src/compas_hpc/geometry/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2022-01-16T02:32:43.000Z | 2022-01-16T02:32:43.000Z |
from .basic_numba import *
from .average_numba import *
from .spatial_numba import *
from .basic_numba import __all__ as a
from .average_numba import __all__ as b
from .spatial_numba import __all__ as c
__all__ = a + b + c
| 20.545455 | 39 | 0.769912 | 37 | 226 | 4.108108 | 0.297297 | 0.434211 | 0.296053 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176991 | 226 | 10 | 40 | 22.6 | 0.817204 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
027daa06b037580e5fe14add28ed405ec697ab45 | 131 | py | Python | job_position/admin.py | resourceidea/resourceideaapi | 4cc7db98f981d8f2011c1995e23e8a8655e31f75 | [
"MIT"
] | 1 | 2020-05-30T22:27:59.000Z | 2020-05-30T22:27:59.000Z | job_position/admin.py | resourceidea/resourceideaapi | 4cc7db98f981d8f2011c1995e23e8a8655e31f75 | [
"MIT"
] | 15 | 2020-02-11T21:53:08.000Z | 2021-11-02T21:20:03.000Z | job_position/admin.py | resourceidea/resourceideaapi | 4cc7db98f981d8f2011c1995e23e8a8655e31f75 | [
"MIT"
] | 1 | 2020-08-27T10:57:47.000Z | 2020-08-27T10:57:47.000Z | from django.contrib import admin # type: ignore
from job_position.models import JobPosition
admin.site.register(JobPosition)
| 26.2 | 49 | 0.801527 | 17 | 131 | 6.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 4 | 50 | 32.75 | 0.920354 | 0.091603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
027e0c6dfa71c285f99b1457a824d036ecbd4249 | 98 | py | Python | yew/modules/http/__init__.py | Claudjos/yew | 567e0ed55f9580dac8493b38aa354688e6aa0394 | [
"MIT"
] | null | null | null | yew/modules/http/__init__.py | Claudjos/yew | 567e0ed55f9580dac8493b38aa354688e6aa0394 | [
"MIT"
] | null | null | null | yew/modules/http/__init__.py | Claudjos/yew | 567e0ed55f9580dac8493b38aa354688e6aa0394 | [
"MIT"
] | null | null | null | from .servers import Proxy
from .upstreams import ParentProxy, WebServer
from .rules import Rules
| 24.5 | 45 | 0.826531 | 13 | 98 | 6.230769 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132653 | 98 | 3 | 46 | 32.666667 | 0.952941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5a09223ffa42b387b4f972ff7403438b607f7144 | 11,955 | py | Python | get_cdf/get_cdf.py | 2218084076/hotpoor_autoclick_xhs | a52446ba691ac19e43410a465dc63f940c0e444d | [
"Apache-2.0"
] | 1 | 2021-12-21T10:42:46.000Z | 2021-12-21T10:42:46.000Z | get_cdf/get_cdf.py | 2218084076/hotpoor_autoclick_xhs | a52446ba691ac19e43410a465dc63f940c0e444d | [
"Apache-2.0"
] | null | null | null | get_cdf/get_cdf.py | 2218084076/hotpoor_autoclick_xhs | a52446ba691ac19e43410a465dc63f940c0e444d | [
"Apache-2.0"
] | null | null | null | import sys
import os
import pyautogui
import time
import pyperclip
# product-item-default
# document.getElementsByClassName("product-item-default").length 查看页面pages数量
# Chrome打开浏览器 https://pgy.xiaohongshu.com/solar/advertiser/patterns/kol
# 选择分类
# 打开审查元素工具 位置1160px
# 滚动屏幕至全部右下角
page_num = 0
page_num_end = 3
# SK-II ... | 35.369822 | 139 | 0.52271 | 1,319 | 11,955 | 4.613343 | 0.126611 | 0.070994 | 0.036154 | 0.03977 | 0.820871 | 0.759573 | 0.750698 | 0.727855 | 0.695809 | 0.695809 | 0 | 0.029362 | 0.302049 | 11,955 | 337 | 140 | 35.474777 | 0.699904 | 0.049519 | 0 | 0.549801 | 0 | 0 | 0.187445 | 0.040464 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003984 | false | 0 | 0.01992 | 0 | 0.023904 | 0.003984 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5a0a4987345ff7680c0c7e6d034e1692db6bfb8d | 2,123 | py | Python | tests/models/test_lead_model.py | sixcodes/brandenburg | bb360590e5763456a1e54201a1960a3e0b01b16c | [
"BSD-3-Clause"
] | 3 | 2020-07-17T04:40:49.000Z | 2020-08-14T14:34:11.000Z | tests/models/test_lead_model.py | sixcodes/brandenburg | bb360590e5763456a1e54201a1960a3e0b01b16c | [
"BSD-3-Clause"
] | 22 | 2020-06-23T02:13:30.000Z | 2021-05-05T02:12:17.000Z | tests/models/test_lead_model.py | sixcodes/brandenburg | bb360590e5763456a1e54201a1960a3e0b01b16c | [
"BSD-3-Clause"
] | 2 | 2020-06-23T01:56:52.000Z | 2020-07-14T21:47:41.000Z | # Third party imports
import pytest
from pydantic import ValidationError
# Local application imports
from brandenburg.models.lead import LeadModel
def test_good_data():
lead = LeadModel(
name="Maria Silva",
phone_number="55912345678",
email="maria@gmail.com",
role="farmer",
... | 26.5375 | 119 | 0.634951 | 248 | 2,123 | 5.217742 | 0.233871 | 0.093509 | 0.086553 | 0.117465 | 0.826121 | 0.795981 | 0.751159 | 0.751159 | 0.653787 | 0.621329 | 0 | 0.056407 | 0.231748 | 2,123 | 79 | 120 | 26.873418 | 0.736971 | 0.021196 | 0 | 0.355932 | 0 | 0 | 0.224096 | 0.039036 | 0 | 0 | 0 | 0 | 0.067797 | 1 | 0.135593 | false | 0 | 0.050847 | 0 | 0.186441 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5a0bca84db50f61b8489b77082ba9b21ea433196 | 83 | py | Python | account/managers.py | sevenstar77/coin_dev | 2dd898d15fcb5f7bf4cfd37d5601b23b36526f3f | [
"MIT"
] | null | null | null | account/managers.py | sevenstar77/coin_dev | 2dd898d15fcb5f7bf4cfd37d5601b23b36526f3f | [
"MIT"
] | null | null | null | account/managers.py | sevenstar77/coin_dev | 2dd898d15fcb5f7bf4cfd37d5601b23b36526f3f | [
"MIT"
] | null | null | null | from django.db.models import Manager
class MyaccountinfoManager(Manager):
pass | 20.75 | 36 | 0.807229 | 10 | 83 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 83 | 4 | 37 | 20.75 | 0.930556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
5a13edf4606d19785f8f1fd05965da872210b0f4 | 144 | py | Python | src/daipecore/decorator/StringableParameterInterface.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | 1 | 2021-09-17T09:07:09.000Z | 2021-09-17T09:07:09.000Z | src/daipecore/decorator/StringableParameterInterface.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | 2 | 2021-12-20T07:46:33.000Z | 2022-02-24T07:02:05.000Z | src/daipecore/decorator/StringableParameterInterface.py | daipe-ai/daipe-core | aa205495fa6b464fa6078d17e439c60345ac99ea | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class StringableParameterInterface(ABC):
@abstractmethod
def to_string(self) -> str:
pass
| 18 | 40 | 0.715278 | 15 | 144 | 6.8 | 0.8 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215278 | 144 | 7 | 41 | 20.571429 | 0.902655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.6 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5a1627bbae823c1208d9e969f62e365458c30f13 | 5,195 | py | Python | pyscripts/benchmark/benchmark_by_mIoU.py | xgmiao/Adaptive_Affinity_Fields | 8028f22e2664dc0ac6b0e3a18a9fb664e3dec7f9 | [
"MIT"
] | null | null | null | pyscripts/benchmark/benchmark_by_mIoU.py | xgmiao/Adaptive_Affinity_Fields | 8028f22e2664dc0ac6b0e3a18a9fb664e3dec7f9 | [
"MIT"
] | null | null | null | pyscripts/benchmark/benchmark_by_mIoU.py | xgmiao/Adaptive_Affinity_Fields | 8028f22e2664dc0ac6b0e3a18a9fb664e3dec7f9 | [
"MIT"
] | null | null | null | import argparse
import os
import numpy as np
from PIL import Image
from utils.metrics import iou_stats
# tp_fn = np.zeros(args.num_classes, dtype=np.float64)
# tp_fp = np.zeros(args.num_classes, dtype=np.float64)
# tp = np.zeros(args.num_classes, dtype=np.float64)
#
# for dirpath, dirnames, filenames in os.walk(arg... | 28.543956 | 80 | 0.635611 | 806 | 5,195 | 3.879653 | 0.171216 | 0.023025 | 0.023025 | 0.023025 | 0.752159 | 0.752159 | 0.747362 | 0.714103 | 0.70259 | 0.678925 | 0 | 0.02147 | 0.175168 | 5,195 | 182 | 81 | 28.543956 | 0.708285 | 0.279692 | 0 | 0.647059 | 0 | 0 | 0.155658 | 0.005956 | 0 | 0 | 0 | 0 | 0.039216 | 1 | 0.039216 | false | 0.009804 | 0.04902 | 0 | 0.098039 | 0.068627 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
5a267cfed9449761fd7dc7142848ad0d4c4ec100 | 41 | py | Python | tests/scruples/extraction/__init__.py | allenai/scruples | 9a43459c507e57d89ab8442a4f3985cedecb8710 | [
"Apache-2.0"
] | 29 | 2020-05-09T10:55:45.000Z | 2022-03-28T16:18:02.000Z | tests/scruples/extraction/__init__.py | allenai/scruples | 9a43459c507e57d89ab8442a4f3985cedecb8710 | [
"Apache-2.0"
] | null | null | null | tests/scruples/extraction/__init__.py | allenai/scruples | 9a43459c507e57d89ab8442a4f3985cedecb8710 | [
"Apache-2.0"
] | 6 | 2020-10-05T12:24:28.000Z | 2021-12-06T19:51:06.000Z | """Tests for ``scruples.extraction``."""
| 20.5 | 40 | 0.634146 | 4 | 41 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 41 | 1 | 41 | 41 | 0.684211 | 0.829268 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ce64fcaade4574aaaa9fffa90307dd0b64d58aa5 | 127 | py | Python | 029/main.py | alexprengere/euler | d93dada0fe434cd736d11b9cfb1635146130f24a | [
"Apache-2.0"
] | null | null | null | 029/main.py | alexprengere/euler | d93dada0fe434cd736d11b9cfb1635146130f24a | [
"Apache-2.0"
] | null | null | null | 029/main.py | alexprengere/euler | d93dada0fe434cd736d11b9cfb1635146130f24a | [
"Apache-2.0"
] | null | null | null | powers = set()
N = 100
for a in range(2, N + 1):
for b in range(2, N + 1):
powers.add(a ** b)
print(len(powers))
| 14.111111 | 29 | 0.519685 | 25 | 127 | 2.64 | 0.56 | 0.212121 | 0.242424 | 0.272727 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0.299213 | 127 | 8 | 30 | 15.875 | 0.662921 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 0 | null | 1 | 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 | 5 |
ceb4703afeb048d05ebe9eef496f792fffcddaa7 | 688 | py | Python | raw_type.py | QiXi9409/Simultaneous_ECG_Heartbeat | 8b61b6434c5c505c0d55a46db08e627d275fc045 | [
"MIT"
] | 1 | 2022-01-21T06:29:19.000Z | 2022-01-21T06:29:19.000Z | raw_type.py | sliang11/ECG-FasterRCNN | 8984084d570a0e45bf3508a1a23d562ba147ca84 | [
"MIT"
] | null | null | null | raw_type.py | sliang11/ECG-FasterRCNN | 8984084d570a0e45bf3508a1a23d562ba147ca84 | [
"MIT"
] | 2 | 2020-06-02T01:31:29.000Z | 2021-12-30T12:58:52.000Z | from abc import abstractclassmethod
class raw_type():
@abstractclassmethod
def read_data(self, path):
pass
@abstractclassmethod
def split(self):
pass
@abstractclassmethod
def annotation(self):
pass
@abstractclassmethod
def correct(self):
... | 18.594595 | 36 | 0.569767 | 62 | 688 | 6.225806 | 0.306452 | 0.341969 | 0.336788 | 0.310881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.351744 | 688 | 36 | 37 | 19.111111 | 0.865471 | 0.026163 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.259259 | false | 0.222222 | 0.037037 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cebaac4216596ccde9dd01d2d58c05bd03a803b5 | 125 | py | Python | __init__.py | alexgonzl/TreeMazeAnalyses2 | 9bd20328368a915a0d9b81c02ae7af37c5c0c839 | [
"MIT"
] | null | null | null | __init__.py | alexgonzl/TreeMazeAnalyses2 | 9bd20328368a915a0d9b81c02ae7af37c5c0c839 | [
"MIT"
] | null | null | null | __init__.py | alexgonzl/TreeMazeAnalyses2 | 9bd20328368a915a0d9b81c02ae7af37c5c0c839 | [
"MIT"
] | null | null | null | # import Pre_Processing
# import Sorting
# import Utils
# import Analyses
from .Analyses.experiment_info import SubjectInfo
| 17.857143 | 49 | 0.816 | 15 | 125 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136 | 125 | 6 | 50 | 20.833333 | 0.925926 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0c9582c981591496c9a4fcfdc94d673a6ca182c9 | 176 | py | Python | speech_datasets/utils/__init__.py | salesforce/speech-datasets | 48a935727c38d150e3b86b99bdda65e0afd69920 | [
"Apache-2.0"
] | 11 | 2021-09-14T23:13:58.000Z | 2022-02-24T07:11:09.000Z | speech_datasets/utils/__init__.py | salesforce/speech-datasets | 48a935727c38d150e3b86b99bdda65e0afd69920 | [
"Apache-2.0"
] | null | null | null | speech_datasets/utils/__init__.py | salesforce/speech-datasets | 48a935727c38d150e3b86b99bdda65e0afd69920 | [
"Apache-2.0"
] | 1 | 2021-09-19T08:44:56.000Z | 2021-09-19T08:44:56.000Z | """Initialize sub package & bring general util into this namespace."""
from speech_datasets.utils.misc import get_root, check_kwargs, dynamic_import, set_deterministic_pytorch
| 58.666667 | 104 | 0.829545 | 24 | 176 | 5.833333 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096591 | 176 | 2 | 105 | 88 | 0.880503 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0c9b6c3dc09e7d0ddc4eb18c8fe22ab97c5150ad | 242 | py | Python | zappy/api.py | OpenMDAO/zappy | 2c72048b4c4e0ce0ae83221e4ee5788978254340 | [
"Apache-2.0"
] | 1 | 2022-02-18T22:41:37.000Z | 2022-02-18T22:41:37.000Z | zappy/api.py | OpenMDAO/zappy | 2c72048b4c4e0ce0ae83221e4ee5788978254340 | [
"Apache-2.0"
] | null | null | null | zappy/api.py | OpenMDAO/zappy | 2c72048b4c4e0ce0ae83221e4ee5788978254340 | [
"Apache-2.0"
] | null | null | null | from .LF_elements.bus import ACbus, DCbus
from .LF_elements.line import ACline, DCline
from .LF_elements.generator import ACgenerator, DCgenerator
from .LF_elements.load import ACload, DCload
from .LF_elements.converter import Converter
| 40.333333 | 60 | 0.822314 | 34 | 242 | 5.705882 | 0.5 | 0.154639 | 0.360825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119835 | 242 | 5 | 61 | 48.4 | 0.910798 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0cc8be06eeb9a7185a99cbce65f729bc05e75e73 | 147 | py | Python | cli/create/commands.py | soonbee/cli-template | 6563940f0ceda981b1d5513551fd12077f849be1 | [
"MIT"
] | null | null | null | cli/create/commands.py | soonbee/cli-template | 6563940f0ceda981b1d5513551fd12077f849be1 | [
"MIT"
] | null | null | null | cli/create/commands.py | soonbee/cli-template | 6563940f0ceda981b1d5513551fd12077f849be1 | [
"MIT"
] | null | null | null | import click
@click.group('create')
def command_group():
pass
@command_group.command()
def something():
click.echo('create something')
| 12.25 | 34 | 0.70068 | 18 | 147 | 5.611111 | 0.5 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156463 | 147 | 11 | 35 | 13.363636 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0.14966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.142857 | 0.142857 | 0 | 0.428571 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0b4155cbaf66c68336d5fd38afab5229e810c82b | 220 | py | Python | pycombo/__init__.py | Casyfill/pyCOMBO | 9590cbc94644ad186b3a575597eade2d936f834b | [
"MIT"
] | 14 | 2016-10-05T06:31:43.000Z | 2022-01-13T11:26:01.000Z | pycombo/__init__.py | Casyfill/pyCOMBO | 9590cbc94644ad186b3a575597eade2d936f834b | [
"MIT"
] | 50 | 2019-10-02T09:55:20.000Z | 2022-03-31T20:23:30.000Z | pycombo/__init__.py | Casyfill/pyCOMBO | 9590cbc94644ad186b3a575597eade2d936f834b | [
"MIT"
] | 2 | 2019-12-03T18:58:20.000Z | 2021-02-02T08:02:10.000Z | try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
__version__ = importlib_metadata.version(__name__)
from .pyCombo import execute
__all__ = ["execute"]
| 20 | 51 | 0.804545 | 23 | 220 | 7.043478 | 0.565217 | 0.419753 | 0.283951 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 220 | 10 | 52 | 22 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.031818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b585cc542b756afcc31bf6388c626e3d5b7ce35 | 5,713 | py | Python | cli/cli/src/tests/test_json_display.py | nbwhite/dai-ds | fc6da289e43277927493f0b7e6232955898e9a2e | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2020-01-06T19:40:55.000Z | 2021-11-03T19:30:05.000Z | cli/cli/src/tests/test_json_display.py | nbwhite/dai-ds | fc6da289e43277927493f0b7e6232955898e9a2e | [
"ECL-2.0",
"Apache-2.0"
] | 83 | 2020-01-08T18:56:39.000Z | 2022-03-28T22:40:27.000Z | cli/cli/src/tests/test_json_display.py | nbwhite/dai-ds | fc6da289e43277927493f0b7e6232955898e9a2e | [
"ECL-2.0",
"Apache-2.0"
] | 23 | 2020-01-02T20:09:12.000Z | 2022-02-16T13:31:00.000Z | # -*- coding: utf-8 -*-
# !/usr/bin/env python
# Copyright (C) 2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
"""
Test the JSON Display class in cli implementation.
"""
import json
from unittest import TestCase
from ..json_display import JsonDisplay
class TestJsonDisplay(TestCase):
def test_posit... | 64.191011 | 116 | 0.414493 | 430 | 5,713 | 5.276744 | 0.186047 | 0.066108 | 0.092552 | 0.068753 | 0.789335 | 0.751432 | 0.718819 | 0.703394 | 0.703394 | 0.647422 | 0 | 0.013419 | 0.452127 | 5,713 | 88 | 117 | 64.920455 | 0.711502 | 0.029232 | 0 | 0.661972 | 0 | 0 | 0.225876 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 1 | 0.098592 | false | 0 | 0.042254 | 0 | 0.15493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
0b81987f9255fe722bbc08768f849c6611e34724 | 69 | py | Python | vqa_experiments/configs/config_test.py | Bidur-Khanal/REMIND | 4eeb6bce7a27d814c94948e2790efedacd014af1 | [
"MIT"
] | 67 | 2020-06-29T14:30:40.000Z | 2022-02-24T06:14:50.000Z | vqa_experiments/configs/config_test.py | msrocean/REMIND | 2e82ca75a3e4d4ccba00c5a763097cc0f650a0a4 | [
"MIT"
] | 5 | 2020-08-14T17:01:39.000Z | 2021-09-12T10:41:25.000Z | vqa_experiments/configs/config_test.py | msrocean/REMIND | 2e82ca75a3e4d4ccba00c5a763097cc0f650a0a4 | [
"MIT"
] | 19 | 2020-07-04T14:59:26.000Z | 2022-02-15T11:24:52.000Z | """
Written by Kushal, modified by Robik
"""
import torch
import sys
| 11.5 | 36 | 0.724638 | 10 | 69 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 69 | 5 | 37 | 13.8 | 0.877193 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b8e15fe492559daf3061a4c8d280f46ed29f071 | 710 | py | Python | mocks/categories.py | budgetsapp/ba-api | cbe6624b5e0178e981f464af48275027bb562126 | [
"MIT"
] | null | null | null | mocks/categories.py | budgetsapp/ba-api | cbe6624b5e0178e981f464af48275027bb562126 | [
"MIT"
] | 12 | 2020-01-22T14:22:08.000Z | 2021-06-10T22:34:26.000Z | mocks/categories.py | budgetsapp/ba-api | cbe6624b5e0178e981f464af48275027bb562126 | [
"MIT"
] | null | null | null | all_categories = [{
"id": "123e4567-e89b-12d3-a456-426655440001",
"user_id": "123e4567-e89b-12d3-a456-426655440000",
"display_name": "taxi"
}, {
"id": "123e4567-e89b-12d3-a456-426655440002",
"user_id": "123e4567-e89b-12d3-a456-426655440000",
"display_name": "cafe"
}, {
"id": "123e4567-e89b-1... | 28.4 | 54 | 0.646479 | 84 | 710 | 5.321429 | 0.333333 | 0.178971 | 0.250559 | 0.322148 | 0.635347 | 0.438479 | 0.438479 | 0.438479 | 0.438479 | 0 | 0 | 0.369863 | 0.177465 | 710 | 24 | 55 | 29.583333 | 0.395548 | 0 | 0 | 0.318182 | 0 | 0 | 0.550704 | 0.405634 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | false | 0 | 0 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0bac47baf6ec064ad197ff768338faec744d535c | 1,521 | py | Python | resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtGui/QTextTableCellFormat.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | 1 | 2020-04-20T02:27:20.000Z | 2020-04-20T02:27:20.000Z | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QTextTableCellFormat.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | resources/dot_PyCharm/system/python_stubs/cache/8cdc475d469a13122bc4bc6c3ac1c215d93d5f120f5cc1ef33a8f3088ee54d8e/PySide/QtGui/QTextTableCellFormat.py | basepipe/developer_onboarding | 05b6a776f8974c89517868131b201f11c6c2a5ad | [
"MIT"
] | null | null | null | # encoding: utf-8
# module PySide.QtGui
# from C:\Python27\lib\site-packages\PySide\QtGui.pyd
# by generator 1.147
# no doc
# imports
import PySide.QtCore as __PySide_QtCore
import Shiboken as __Shiboken
from QTextCharFormat import QTextCharFormat
class QTextTableCellFormat(QTextCharFormat):
# no doc
def bo... | 26.224138 | 77 | 0.657462 | 178 | 1,521 | 5.455056 | 0.342697 | 0.174047 | 0.267765 | 0.222451 | 0.503605 | 0.503605 | 0.503605 | 0.46447 | 0 | 0 | 0 | 0.006055 | 0.239974 | 1,521 | 57 | 78 | 26.684211 | 0.83391 | 0.3524 | 0 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.419355 | false | 0.419355 | 0.096774 | 0 | 0.548387 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
e7eebaba808e645ecbf4b0a9b18b80ccaff7281d | 32,554 | py | Python | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_io_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_io_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_ipv6_io_oper.py | tkamata-test/ydk-py | b637e7853a8edbbd31fbc05afa3aa4110b31c5f9 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
import re
import collections
from enum import Enum
from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum
from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict
from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI... | 51.105181 | 206 | 0.487467 | 2,717 | 32,554 | 5.65403 | 0.057416 | 0.069262 | 0.086577 | 0.107538 | 0.830361 | 0.825023 | 0.807838 | 0.762856 | 0.703294 | 0.599206 | 0 | 0.052069 | 0.371106 | 32,554 | 636 | 207 | 51.185535 | 0.698286 | 0 | 0 | 0.42963 | 0 | 0.001852 | 0.378756 | 0.291225 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.014815 | 0 | 0.014815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 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 | 5 |
f01dfae74967a7044f736b5031c8a8f318d63de2 | 30 | py | Python | data_processor/__init__.py | ruoygao/autoloadtest | 270d0b952200c597d0ef5a953a6088b6c529cb71 | [
"MIT"
] | 1 | 2017-06-08T06:16:51.000Z | 2017-06-08T06:16:51.000Z | data_processor/__init__.py | ruoygao/autoloadtest | 270d0b952200c597d0ef5a953a6088b6c529cb71 | [
"MIT"
] | null | null | null | data_processor/__init__.py | ruoygao/autoloadtest | 270d0b952200c597d0ef5a953a6088b6c529cb71 | [
"MIT"
] | null | null | null | #__all__ = ['data_downloader'] | 30 | 30 | 0.733333 | 3 | 30 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.607143 | 0.966667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f02782d0a634dc632753c1d1e54be5358c8b5e52 | 88 | py | Python | lux/core/commands/project_template/manage.py | quantmind/lux | 7318fcd86c77616aada41d8182a04339680a554c | [
"BSD-3-Clause"
] | 21 | 2015-03-28T23:27:43.000Z | 2020-11-23T13:24:10.000Z | lux/core/commands/project_template/manage.py | quantmind/lux | 7318fcd86c77616aada41d8182a04339680a554c | [
"BSD-3-Clause"
] | 195 | 2015-02-18T17:22:28.000Z | 2017-12-01T23:01:16.000Z | lux/core/commands/project_template/manage.py | quantmind/lux | 7318fcd86c77616aada41d8182a04339680a554c | [
"BSD-3-Clause"
] | 16 | 2015-03-31T23:15:38.000Z | 2017-04-18T11:59:43.000Z |
if __name__ == '__main__':
import {{ project_name }}
{{ project_name }}.main()
| 17.6 | 29 | 0.590909 | 9 | 88 | 4.666667 | 0.555556 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 88 | 4 | 30 | 22 | 0.617647 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f07a6b4c96ec8c0ae301fe17c18a0ac550cfac31 | 67 | py | Python | CodeWars/Python/8 kyu/Even or Odd/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/8 kyu/Even or Odd/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | CodeWars/Python/8 kyu/Even or Odd/main.py | opastushkov/codewars-solutions | 0132a24259a4e87f926048318332dcb4d94858ca | [
"MIT"
] | null | null | null | def even_or_odd(number):
return "Odd" if number % 2 else "Even" | 33.5 | 42 | 0.686567 | 12 | 67 | 3.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.19403 | 67 | 2 | 42 | 33.5 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.102941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f07c14e7abae3b4a63ff72463f590692ccbc538d | 3,078 | py | Python | tests/jtr/nn/kbp/test_base.py | mitchelljeff/SUMMAD4.3 | 33bb3a74cff16a7aa699660a08d98ddcd662cad5 | [
"MIT"
] | 1 | 2017-09-15T14:06:07.000Z | 2017-09-15T14:06:07.000Z | tests/jtr/nn/kbp/test_base.py | mitchelljeff/SUMMAD4.3 | 33bb3a74cff16a7aa699660a08d98ddcd662cad5 | [
"MIT"
] | null | null | null | tests/jtr/nn/kbp/test_base.py | mitchelljeff/SUMMAD4.3 | 33bb3a74cff16a7aa699660a08d98ddcd662cad5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import numpy as np
import tensorflow as tf
from jtr.nn.kbp.base import TranslatingModel, BilinearDiagonalModel, BilinearModel
from jtr.nn.kbp import similarities
def test_translating_embeddings_score():
batch_size = 5
embedding_size = 10
rs = np.random.RandomState(0)
E = rs... | 30.475248 | 88 | 0.591618 | 390 | 3,078 | 4.469231 | 0.212821 | 0.067126 | 0.037866 | 0.051635 | 0.742398 | 0.742398 | 0.742398 | 0.742398 | 0.725186 | 0.725186 | 0 | 0.019678 | 0.273554 | 3,078 | 100 | 89 | 30.78 | 0.759839 | 0.006823 | 0 | 0.686567 | 0 | 0 | 0.001964 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 1 | 0.044776 | false | 0 | 0.059701 | 0 | 0.104478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
f07dc5297df6fc2fd2314161004fda408bd72284 | 57 | py | Python | scattertext/smoothing/__init__.py | jairoruizsaenz/scattertext | 5d96f62434057cc26ed90a1d0b314984e4ef90f8 | [
"Apache-2.0"
] | 1,823 | 2016-07-28T00:25:56.000Z | 2022-03-30T12:33:57.000Z | scattertext/smoothing/__init__.py | jairoruizsaenz/scattertext | 5d96f62434057cc26ed90a1d0b314984e4ef90f8 | [
"Apache-2.0"
] | 92 | 2016-07-28T23:13:20.000Z | 2022-01-24T03:53:38.000Z | scattertext/smoothing/__init__.py | jairoruizsaenz/scattertext | 5d96f62434057cc26ed90a1d0b314984e4ef90f8 | [
"Apache-2.0"
] | 271 | 2016-12-26T12:56:08.000Z | 2022-03-24T19:35:13.000Z | from . import lowess, mean_isotonic, sigmoidal, power_law | 57 | 57 | 0.824561 | 8 | 57 | 5.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b2c485b9333b119261ed7708f89fb94ba9494402 | 52 | py | Python | test.py | killgill/SPDD | 93af015dc2ee60836d1d76d70b0a038b11052de9 | [
"MIT"
] | null | null | null | test.py | killgill/SPDD | 93af015dc2ee60836d1d76d70b0a038b11052de9 | [
"MIT"
] | 1 | 2018-11-14T19:43:04.000Z | 2018-11-14T19:43:04.000Z | test.py | killgill/SPDD | 93af015dc2ee60836d1d76d70b0a038b11052de9 | [
"MIT"
] | null | null | null | from google_local import *
gs_pour('3453909285',10) | 17.333333 | 26 | 0.788462 | 8 | 52 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 0.096154 | 52 | 3 | 27 | 17.333333 | 0.574468 | 0 | 0 | 0 | 0 | 0 | 0.188679 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b2e6d60f1f624b57965436b5725dcf67ed804cb3 | 60 | py | Python | scrapers/modules/__init__.py | skytalemcc/OffshoreNewsHub | 56a12fba8bf740084f988f88134238ab297bb23d | [
"MIT"
] | null | null | null | scrapers/modules/__init__.py | skytalemcc/OffshoreNewsHub | 56a12fba8bf740084f988f88134238ab297bb23d | [
"MIT"
] | null | null | null | scrapers/modules/__init__.py | skytalemcc/OffshoreNewsHub | 56a12fba8bf740084f988f88134238ab297bb23d | [
"MIT"
] | null | null | null | from .tw_logger import logger
from .dingding import DingDing | 30 | 30 | 0.85 | 9 | 60 | 5.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 60 | 2 | 30 | 30 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
650802e21a080ed48094d65884b47624bbe1d6b2 | 136 | py | Python | python/8kyu/Grasshoppper_function_syntax_debugging.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 3 | 2021-06-08T01:57:13.000Z | 2021-06-26T10:52:47.000Z | python/8kyu/Grasshoppper_function_syntax_debugging.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | null | null | null | python/8kyu/Grasshoppper_function_syntax_debugging.py | Sigmanificient/codewars | b34df4bf55460d312b7ddf121b46a707b549387a | [
"MIT"
] | 2 | 2021-06-10T21:20:13.000Z | 2021-06-30T10:13:26.000Z | """Kata url: https://www.codewars.com/kata/56dae9dc54c0acd29d00109a."""
def main(verb: str, noun: str) -> str:
return verb + noun
| 22.666667 | 71 | 0.676471 | 18 | 136 | 5.111111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 0.147059 | 136 | 5 | 72 | 27.2 | 0.681034 | 0.477941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
650c4287fb76a4ca456b4444ea35da9754c6eba3 | 37,884 | py | Python | svca_limix/limix/deprecated/archive/qtl_old.py | DenisSch/svca | bd029c120ca8310f43311253e4d7ce19bc08350c | [
"Apache-2.0"
] | 65 | 2015-01-20T20:46:26.000Z | 2021-06-27T14:40:35.000Z | svca_limix/limix/deprecated/archive/qtl_old.py | DenisSch/svca | bd029c120ca8310f43311253e4d7ce19bc08350c | [
"Apache-2.0"
] | 29 | 2015-02-01T22:35:17.000Z | 2017-08-07T08:18:23.000Z | svca_limix/limix/deprecated/archive/qtl_old.py | DenisSch/svca | bd029c120ca8310f43311253e4d7ce19bc08350c | [
"Apache-2.0"
] | 35 | 2015-02-01T17:26:50.000Z | 2019-09-13T07:06:16.000Z | """
qtl.py contains wrappers around C++ Limix objects to streamline common tasks in GWAS.
"""
import scipy as SP
import scipy.stats as ST
import limix
import limix.utils.preprocess as preprocess
import limix.deprecated.modules.varianceDecomposition as VAR
import limix.utils.fdr as FDR
import time
#TODO: externally vi... | 44.886256 | 224 | 0.623799 | 5,327 | 37,884 | 4.418434 | 0.083724 | 0.019926 | 0.02409 | 0.021413 | 0.782895 | 0.765731 | 0.739601 | 0.721502 | 0.715214 | 0.704975 | 0 | 0.02396 | 0.277294 | 37,884 | 843 | 225 | 44.939502 | 0.835714 | 0.504514 | 0 | 0.66147 | 0 | 0 | 0.113823 | 0.003917 | 0 | 0 | 0 | 0.004745 | 0.097996 | 1 | 0.026726 | false | 0 | 0.01559 | 0 | 0.069042 | 0.024499 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
651c18211c85649b67779728d21f66ba389fadb0 | 196 | py | Python | tests/start.py | Lambda-School-Labs/cryptolytic-ds | b58b6eb2b82a404f9d2d468e706d49d9c5999f21 | [
"MIT"
] | 13 | 2019-10-10T21:01:23.000Z | 2020-06-05T11:18:31.000Z | tests/start.py | ross-fisher/cryptolytic-ds | 1539ae7311a622035d631058ebe47e7c697e3c11 | [
"MIT"
] | 3 | 2019-12-18T16:46:48.000Z | 2020-01-09T21:47:48.000Z | tests/start.py | ross-fisher/cryptolytic-ds | 1539ae7311a622035d631058ebe47e7c697e3c11 | [
"MIT"
] | 10 | 2019-10-15T15:30:25.000Z | 2020-05-11T22:07:52.000Z | import json
import os
from dotenv import load_dotenv
def init():
# using test environment
load_dotenv(verbose=True, dotenv_path='tests/test.env')
print(os.environ['POSTGRES_DBNAME'])
| 21.777778 | 59 | 0.744898 | 28 | 196 | 5.071429 | 0.714286 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 196 | 8 | 60 | 24.5 | 0.855422 | 0.112245 | 0 | 0 | 0 | 0 | 0.168605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6548d3a72a518a1eed45436163953c077af0ae16 | 4,576 | py | Python | integration_tests/test_suites/celery-k8s-integration-test-suite/test_monitoring.py | kbd/dagster | 14affaf1372fcb5169e6c2d5d53621eeed954767 | [
"Apache-2.0"
] | null | null | null | integration_tests/test_suites/celery-k8s-integration-test-suite/test_monitoring.py | kbd/dagster | 14affaf1372fcb5169e6c2d5d53621eeed954767 | [
"Apache-2.0"
] | null | null | null | integration_tests/test_suites/celery-k8s-integration-test-suite/test_monitoring.py | kbd/dagster | 14affaf1372fcb5169e6c2d5d53621eeed954767 | [
"Apache-2.0"
] | 1 | 2021-11-25T11:06:39.000Z | 2021-11-25T11:06:39.000Z | # pylint doesn't know about pytest fixtures
# pylint: disable=unused-argument
import os
import time
from dagster.core.storage.pipeline_run import PipelineRunStatus
from dagster.core.test_utils import poll_for_finished_run
from dagster.utils import merge_dicts
from dagster.utils.yaml_utils import merge_yamls
from dags... | 33.896296 | 95 | 0.625874 | 526 | 4,576 | 5.019011 | 0.203422 | 0.032197 | 0.081818 | 0.049242 | 0.750379 | 0.739015 | 0.731818 | 0.731818 | 0.730682 | 0.724242 | 0 | 0.005289 | 0.29764 | 4,576 | 134 | 96 | 34.149254 | 0.816117 | 0.038024 | 0 | 0.60177 | 0 | 0 | 0.051183 | 0.005232 | 0 | 0 | 0 | 0 | 0.053097 | 1 | 0.044248 | false | 0 | 0.088496 | 0.017699 | 0.150442 | 0.00885 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
e8daf9f98268ce4989e55b3928309a3e9ca0e904 | 170 | py | Python | tests/data_app/admin.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | 279 | 2015-09-16T18:57:37.000Z | 2022-03-28T13:37:39.000Z | tests/data_app/admin.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | 32 | 2015-09-16T18:30:19.000Z | 2021-11-19T07:19:33.000Z | tests/data_app/admin.py | ahoazure/khro-data_wizard | 4925113ffeea54057a062fc8a0cdab7c23a8e18a | [
"MIT"
] | 53 | 2016-07-01T12:24:49.000Z | 2022-02-14T16:19:45.000Z | from django.contrib import admin
from .models import SimpleModel, Type, FKModel
admin.site.register(SimpleModel)
admin.site.register(Type)
admin.site.register(FKModel)
| 21.25 | 46 | 0.817647 | 23 | 170 | 6.043478 | 0.478261 | 0.194245 | 0.366906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 170 | 7 | 47 | 24.285714 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e8fc946d07188bc0fe3df98d4e3badfb3b053b55 | 168 | py | Python | hcap_accounts/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | null | null | null | hcap_accounts/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 31 | 2020-04-11T13:38:17.000Z | 2021-09-22T18:51:11.000Z | hcap_accounts/models/__init__.py | fabiommendes/capacidade_hospitalar | 4f675b574573eb3f51e6be8a927ea230bf2712c7 | [
"MIT"
] | 1 | 2020-04-12T17:51:20.000Z | 2020-04-12T17:51:20.000Z | from .anonymous_user import AnonymousUser
from .healthcare_unit_notifier import HealthcareUnitNotifier
from .region_manager import RegionManager
from .user import User
| 33.6 | 60 | 0.880952 | 20 | 168 | 7.2 | 0.6 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 168 | 4 | 61 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
336fc9bcf19676c5906faefa302f1cf8b07ff499 | 104 | py | Python | soap_incident_client/utils/__init__.py | zommiommy/soap_incident_client | dec8dc90996bea9bdd3e45f4a87a49fac8b78ee4 | [
"MIT"
] | null | null | null | soap_incident_client/utils/__init__.py | zommiommy/soap_incident_client | dec8dc90996bea9bdd3e45f4a87a49fac8b78ee4 | [
"MIT"
] | null | null | null | soap_incident_client/utils/__init__.py | zommiommy/soap_incident_client | dec8dc90996bea9bdd3e45f4a87a49fac8b78ee4 | [
"MIT"
] | null | null | null | from .get_file import get_file
from .soap_call import soap_call
from .logger import logger, setup_logger | 34.666667 | 40 | 0.846154 | 18 | 104 | 4.611111 | 0.444444 | 0.168675 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 40 | 34.666667 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
681ff3d103500fb8382ce9ca93c08fadfa775e2b | 579 | py | Python | modules/feeds/__init__.py | elliotwutingfeng/Google-Safe-Browsing-DNSBL-Generator | 1ed8d49047081dd4f6d929f3f9d4d97d21c366e4 | [
"BSD-3-Clause"
] | null | null | null | modules/feeds/__init__.py | elliotwutingfeng/Google-Safe-Browsing-DNSBL-Generator | 1ed8d49047081dd4f6d929f3f9d4d97d21c366e4 | [
"BSD-3-Clause"
] | null | null | null | modules/feeds/__init__.py | elliotwutingfeng/Google-Safe-Browsing-DNSBL-Generator | 1ed8d49047081dd4f6d929f3f9d4d97d21c366e4 | [
"BSD-3-Clause"
] | null | null | null | from modules.feeds.afnic import AFNIC
from modules.feeds.aws_ec2 import AmazonWebServicesEC2
from modules.feeds.cubdomain import CubDomain
from modules.feeds.domainsproject import DomainsProject
from modules.feeds.icann import ICANN
from modules.feeds.internet_ee import InternetEE
from modules.feeds.ipv4 import Ipv4
fr... | 41.357143 | 55 | 0.865285 | 83 | 579 | 5.975904 | 0.325301 | 0.288306 | 0.419355 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026565 | 0.08981 | 579 | 13 | 56 | 44.538462 | 0.914611 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
684c6f02a6285c3d827c3aa564e9d8df8d1c99a0 | 64 | py | Python | data_processing/__init__.py | liorgefen86/disaster_response | 727d5b7e2ff7561866e4f2d560be99fee8317ef6 | [
"MIT"
] | null | null | null | data_processing/__init__.py | liorgefen86/disaster_response | 727d5b7e2ff7561866e4f2d560be99fee8317ef6 | [
"MIT"
] | null | null | null | data_processing/__init__.py | liorgefen86/disaster_response | 727d5b7e2ff7561866e4f2d560be99fee8317ef6 | [
"MIT"
] | null | null | null | from .classifier_functions import *
from .process_data import *
| 21.333333 | 35 | 0.8125 | 8 | 64 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 2 | 36 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
685249213ad0122703f2708f5cea6ad067e666d2 | 14,179 | py | Python | misc/acrn-config/scenario_config/vm_configurations_h.py | yfliuu/acrn-hypervisor | 6289124e7c894323e2a5342bf201856d76512a60 | [
"BSD-3-Clause"
] | null | null | null | misc/acrn-config/scenario_config/vm_configurations_h.py | yfliuu/acrn-hypervisor | 6289124e7c894323e2a5342bf201856d76512a60 | [
"BSD-3-Clause"
] | null | null | null | misc/acrn-config/scenario_config/vm_configurations_h.py | yfliuu/acrn-hypervisor | 6289124e7c894323e2a5342bf201856d76512a60 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (C) 2019 Intel Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
import scenario_cfg_lib
VM_HEADER_DEFINE = scenario_cfg_lib.HEADER_LICENSE + r"""
#ifndef VM_CONFIGURATIONS_H
#define VM_CONFIGURATIONS_H
"""
VM_END_DEFINE = r"""#endif /* VM_CONFIGURATIONS_H */"""
def gen_commo... | 44.448276 | 107 | 0.672403 | 2,234 | 14,179 | 4.047896 | 0.101164 | 0.046445 | 0.04545 | 0.038925 | 0.825943 | 0.792547 | 0.75141 | 0.684618 | 0.659737 | 0.612739 | 0 | 0.020053 | 0.173496 | 14,179 | 318 | 108 | 44.58805 | 0.7516 | 0.107201 | 0 | 0.568889 | 0 | 0 | 0.430525 | 0.256577 | 0 | 0 | 0.00708 | 0 | 0 | 1 | 0.04 | false | 0.022222 | 0.004444 | 0 | 0.048889 | 0.657778 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
686a67e8dfcec5c5ab7840a95b1bf06eb185100f | 175 | py | Python | 00 - Hello Search/python/00_tree_example.py | melodrivemusic/CodeOfAI | 7f8f6f13e0f2193c43f8fc900ea52f57398251b6 | [
"MIT"
] | 6 | 2019-03-07T19:31:09.000Z | 2020-03-12T11:17:14.000Z | 00 - Hello Search/python/00_tree_example.py | melodrivemusic/CodeOfAI | 7f8f6f13e0f2193c43f8fc900ea52f57398251b6 | [
"MIT"
] | null | null | null | 00 - Hello Search/python/00_tree_example.py | melodrivemusic/CodeOfAI | 7f8f6f13e0f2193c43f8fc900ea52f57398251b6 | [
"MIT"
] | 5 | 2019-02-14T06:51:22.000Z | 2021-04-21T08:40:21.000Z | tree = [
# 0
[1, 7, 8],
# 1
[0, 2, 7, 8, 9],
# 2
[1, 3, 8, 9, 10],
# 3
[2, 9, 10],
# 4
[],
# 5
[],
# 6
[],
# ...
]
| 9.722222 | 21 | 0.165714 | 24 | 175 | 1.208333 | 0.5 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.328947 | 0.565714 | 175 | 17 | 22 | 10.294118 | 0.052632 | 0.097143 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
686cd9233b74d4522ccde6f1dac783c22949b841 | 2,354 | py | Python | python_framework/__init__.py | SamuelJansen/python_framework | a3e57def47c13edd67319f9bbca32be2bbb00f43 | [
"MIT"
] | 5 | 2020-09-02T20:05:44.000Z | 2022-03-04T21:02:13.000Z | python_framework/__init__.py | SamuelJansen/python_framework | a3e57def47c13edd67319f9bbca32be2bbb00f43 | [
"MIT"
] | 1 | 2021-05-23T22:55:58.000Z | 2021-05-24T15:33:50.000Z | python_framework/__init__.py | SamuelJansen/python_framework | a3e57def47c13edd67319f9bbca32be2bbb00f43 | [
"MIT"
] | 3 | 2020-11-01T01:13:09.000Z | 2022-02-22T15:01:19.000Z | from python_framework.api.src.annotation import EnumAnnotation
from python_framework.api.src.helper import Serializer
from python_framework.api.src.service import ExceptionHandler
from python_framework.api.src.service.ExceptionHandler import GlobalException
from python_framework.api.src.service import Security
from p... | 52.311111 | 90 | 0.878505 | 290 | 2,354 | 7.010345 | 0.175862 | 0.172159 | 0.327103 | 0.378751 | 0.640433 | 0.591244 | 0.451549 | 0.086572 | 0 | 0 | 0 | 0 | 0.063297 | 2,354 | 44 | 91 | 53.5 | 0.921995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d79ebd257bc5341781fb16b63ce6fc6baf3c52d3 | 48 | py | Python | ghao/errors.py | pkubik/ghao | 45f83f77f706cb0f599b5b0d490a6b4b24fa0199 | [
"MIT"
] | null | null | null | ghao/errors.py | pkubik/ghao | 45f83f77f706cb0f599b5b0d490a6b4b24fa0199 | [
"MIT"
] | null | null | null | ghao/errors.py | pkubik/ghao | 45f83f77f706cb0f599b5b0d490a6b4b24fa0199 | [
"MIT"
] | null | null | null |
class GhaoRuntimeError(RuntimeError):
pass
| 12 | 37 | 0.770833 | 4 | 48 | 9.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 38 | 16 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d7a7c9b405df435dd6f61a3734856d2ec01cffae | 268 | py | Python | sprinter/exceptions.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 3 | 2015-01-30T09:01:26.000Z | 2018-08-23T03:33:52.000Z | sprinter/exceptions.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 26 | 2015-08-12T01:01:03.000Z | 2019-01-29T05:18:02.000Z | sprinter/exceptions.py | toumorokoshi/sprinter | 20c01bf210e1e24dbfcae7416cdf266b0f936c4b | [
"MIT"
] | 3 | 2016-01-18T21:23:53.000Z | 2017-02-01T18:14:23.000Z | """
This lists all the exceptions in sprinter
"""
from __future__ import unicode_literals
class SprinterException(Exception):
""" For generic sprinter exceptions """
class FormulaException(SprinterException):
""" For a generic exception with a formula """
| 20.615385 | 50 | 0.746269 | 29 | 268 | 6.724138 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164179 | 268 | 12 | 51 | 22.333333 | 0.870536 | 0.425373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
d7a9c27412d874142cb375bec44c13d0e12f3e9a | 123 | py | Python | terra/msg/auth/__init__.py | jooddang/terra-py | c048ffd53dad13cdfb0c516ccef3d06b1b968cb2 | [
"MIT"
] | null | null | null | terra/msg/auth/__init__.py | jooddang/terra-py | c048ffd53dad13cdfb0c516ccef3d06b1b968cb2 | [
"MIT"
] | null | null | null | terra/msg/auth/__init__.py | jooddang/terra-py | c048ffd53dad13cdfb0c516ccef3d06b1b968cb2 | [
"MIT"
] | null | null | null | from terra.msg.auth.stdsignmsg import StdSignMsg
from terra.msg.auth.stdtx import StdTx
__all__ = ["StdSignMsg", "StdTx"]
| 24.6 | 48 | 0.780488 | 17 | 123 | 5.411765 | 0.470588 | 0.195652 | 0.26087 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105691 | 123 | 4 | 49 | 30.75 | 0.836364 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d7cd55ccba12553a78679261f6089ac1d17b4af5 | 46,983 | py | Python | source/api/controlplane/plugin/runtime/app.py | awslabs/aws-media-replay-engine | 2c217eff42f8e2c56b43e2ecf593f5aaa92c5451 | [
"Apache-2.0"
] | 22 | 2021-11-24T01:23:07.000Z | 2022-03-26T23:24:46.000Z | source/api/controlplane/plugin/runtime/app.py | awslabs/aws-media-replay-engine | 2c217eff42f8e2c56b43e2ecf593f5aaa92c5451 | [
"Apache-2.0"
] | null | null | null | source/api/controlplane/plugin/runtime/app.py | awslabs/aws-media-replay-engine | 2c217eff42f8e2c56b43e2ecf593f5aaa92c5451 | [
"Apache-2.0"
] | 3 | 2021-12-10T09:42:51.000Z | 2022-02-16T02:22:50.000Z | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
import json
import uuid
import urllib.parse
import boto3
from decimal import Decimal
from datetime import datetime
from chalice import Chalice
from chalice import IAMAuthorizer
from chalice impor... | 36.648206 | 539 | 0.527467 | 4,050 | 46,983 | 6.014321 | 0.084444 | 0.023031 | 0.008211 | 0.009237 | 0.778102 | 0.762008 | 0.745792 | 0.737992 | 0.703793 | 0.684826 | 0 | 0.00502 | 0.368218 | 46,983 | 1,281 | 540 | 36.676815 | 0.815585 | 0.301045 | 0 | 0.537459 | 0 | 0.017915 | 0.280017 | 0.025216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019544 | false | 0 | 0.026059 | 0 | 0.065147 | 0.07329 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
d7fa3ceb34d2a94aca492ad2f0161c28d4faf6dd | 46 | py | Python | src/dependencmake/exceptions.py | pzehner/dependencmake | 00feb4e52d1b35dac9f85937d80eafbb50c8c452 | [
"MIT"
] | null | null | null | src/dependencmake/exceptions.py | pzehner/dependencmake | 00feb4e52d1b35dac9f85937d80eafbb50c8c452 | [
"MIT"
] | null | null | null | src/dependencmake/exceptions.py | pzehner/dependencmake | 00feb4e52d1b35dac9f85937d80eafbb50c8c452 | [
"MIT"
] | null | null | null | class DependenCmakeError(Exception):
pass
| 15.333333 | 36 | 0.782609 | 4 | 46 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 46 | 2 | 37 | 23 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cc1527c50a7b6c9f224cf01ce2f6ec9761be8ecf | 278 | py | Python | cortex/utils/dispatchers/__init__.py | chib0/asd-winter2019 | c7d95305b1e8b99013fd40da1e7ebe01c2d0102a | [
"Apache-2.0"
] | null | null | null | cortex/utils/dispatchers/__init__.py | chib0/asd-winter2019 | c7d95305b1e8b99013fd40da1e7ebe01c2d0102a | [
"Apache-2.0"
] | 4 | 2021-02-02T22:38:53.000Z | 2022-01-13T02:32:33.000Z | cortex/utils/dispatchers/__init__.py | chib0/asd-winter2019 | c7d95305b1e8b99013fd40da1e7ebe01c2d0102a | [
"Apache-2.0"
] | null | null | null | #from cortex.utils.dispatchers.repository import get_dispatcher
from cortex.utils.dispatchers.topic_consumer import get_topic_consumer
from cortex.utils.dispatchers.topic_dispatcher import get_topic_dispatcher
from cortex.utils.dispatchers import tee
from . import repository
| 34.75 | 74 | 0.874101 | 37 | 278 | 6.378378 | 0.297297 | 0.169492 | 0.254237 | 0.440678 | 0.457627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079137 | 278 | 7 | 75 | 39.714286 | 0.921875 | 0.223022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cc2327fd2f237ae3b7e5979ca659cc75e22fba5e | 34 | py | Python | zhaquirks/sunricher/__init__.py | watercrossing/zha-device-handlers | 6eef3574b31a7e8f78358b80113e98b571ebd611 | [
"Apache-2.0"
] | null | null | null | zhaquirks/sunricher/__init__.py | watercrossing/zha-device-handlers | 6eef3574b31a7e8f78358b80113e98b571ebd611 | [
"Apache-2.0"
] | null | null | null | zhaquirks/sunricher/__init__.py | watercrossing/zha-device-handlers | 6eef3574b31a7e8f78358b80113e98b571ebd611 | [
"Apache-2.0"
] | null | null | null | """Module for Sunricher devices""" | 34 | 34 | 0.735294 | 4 | 34 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.806452 | 0.823529 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cc26fe1e37762d2cb6a2d1af6b05f14c386e267a | 1,201 | py | Python | string_calculator/v1/test_calc.py | foobacca/tdd-kata | 7184ca68ef0b9f234815b349f87b66d7b1ef4a05 | [
"MIT"
] | null | null | null | string_calculator/v1/test_calc.py | foobacca/tdd-kata | 7184ca68ef0b9f234815b349f87b66d7b1ef4a05 | [
"MIT"
] | null | null | null | string_calculator/v1/test_calc.py | foobacca/tdd-kata | 7184ca68ef0b9f234815b349f87b66d7b1ef4a05 | [
"MIT"
] | null | null | null | import pytest
from .calc import calculator
def test_calculator_with_empty_string_check_returns_zero():
assert calculator('') == 0
def test_calculator_with_single_number_check_returns_number():
assert calculator('53') == 53
def test_calculator_with_two_comma_separated_numbers_check_returns_sum():
asse... | 26.688889 | 84 | 0.800167 | 168 | 1,201 | 5.190476 | 0.261905 | 0.080275 | 0.194954 | 0.240826 | 0.651376 | 0.59289 | 0.525229 | 0.362385 | 0.259174 | 0.259174 | 0 | 0.060918 | 0.111574 | 1,201 | 44 | 85 | 27.295455 | 0.756326 | 0 | 0 | 0 | 0 | 0 | 0.045795 | 0 | 0 | 0 | 0 | 0 | 0.391304 | 1 | 0.434783 | true | 0 | 0.086957 | 0 | 0.521739 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
cc30a7b429d8237e9407f788401beb2829dd44b8 | 239 | py | Python | fasttest/common/__init__.py | xinxi1990/fasttest | 51c807f038e9b03ae31b658815ca1d1b422d41a7 | [
"MIT"
] | null | null | null | fasttest/common/__init__.py | xinxi1990/fasttest | 51c807f038e9b03ae31b658815ca1d1b422d41a7 | [
"MIT"
] | null | null | null | fasttest/common/__init__.py | xinxi1990/fasttest | 51c807f038e9b03ae31b658815ca1d1b422d41a7 | [
"MIT"
] | 1 | 2020-12-15T03:42:41.000Z | 2020-12-15T03:42:41.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from fasttest.common.dict import Dict
from fasttest.common.variable_global import Var
from fasttest.common.logging import log_info, log_error
__all__ = ['log_info','log_error','Var', 'Dict']
| 29.875 | 55 | 0.748954 | 36 | 239 | 4.722222 | 0.555556 | 0.211765 | 0.317647 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.104603 | 239 | 7 | 56 | 34.142857 | 0.785047 | 0.179916 | 0 | 0 | 0 | 0 | 0.123711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
0bc5b0a9e77aaa632a3e59f45ee60a57b130009a | 153 | py | Python | sigdepsem/__init__.py | Ricyteach/sigdepsem | 80aea4f891450010e5949f4ebcbdc5aae7f91ab4 | [
"MIT"
] | null | null | null | sigdepsem/__init__.py | Ricyteach/sigdepsem | 80aea4f891450010e5949f4ebcbdc5aae7f91ab4 | [
"MIT"
] | null | null | null | sigdepsem/__init__.py | Ricyteach/sigdepsem | 80aea4f891450010e5949f4ebcbdc5aae7f91ab4 | [
"MIT"
] | null | null | null | """Demonstrate signature dependent semantics for item get, set, del"""
__version__ = "0.1"
from .main import SigDepMeta, signature_dependent_semantics
| 25.5 | 70 | 0.784314 | 19 | 153 | 6 | 0.842105 | 0.315789 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014925 | 0.124183 | 153 | 5 | 71 | 30.6 | 0.835821 | 0.418301 | 0 | 0 | 0 | 0 | 0.036145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0be77d06743e4b334bf10a7ebb3f92b40f6ca210 | 51 | py | Python | python/plp_utils/__init__.py | pleprince/maya_utils | c0e89f5757077f111354cb92888e0cca30060938 | [
"CC-BY-4.0"
] | null | null | null | python/plp_utils/__init__.py | pleprince/maya_utils | c0e89f5757077f111354cb92888e0cca30060938 | [
"CC-BY-4.0"
] | null | null | null | python/plp_utils/__init__.py | pleprince/maya_utils | c0e89f5757077f111354cb92888e0cca30060938 | [
"CC-BY-4.0"
] | null | null | null | # philippe leprince
# Fri Nov 17 18:16:16 GMT 2017
| 17 | 30 | 0.72549 | 10 | 51 | 3.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0.196078 | 51 | 2 | 31 | 25.5 | 0.609756 | 0.901961 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
0424d070c31874e136fbe0f9ba306d437a31b594 | 702 | py | Python | SecretColors/data/palettes/__init__.py | secretBiology/SecretColors | 7c2ef921947bae93321b56a3b01046b7798a344f | [
"MIT"
] | 32 | 2019-06-03T08:45:33.000Z | 2022-02-03T15:06:59.000Z | SecretColors/data/palettes/__init__.py | secretBiology/SecretColors | 7c2ef921947bae93321b56a3b01046b7798a344f | [
"MIT"
] | 7 | 2019-11-19T08:39:06.000Z | 2022-03-29T14:04:47.000Z | SecretColors/data/palettes/__init__.py | secretBiology/SecretColors | 7c2ef921947bae93321b56a3b01046b7798a344f | [
"MIT"
] | 5 | 2019-06-04T09:18:14.000Z | 2022-03-15T05:30:14.000Z | # Copyright (c) SecretBiology 2020.
#
# Library Name: SecretColors
# Author: Rohit Suratekar
# Website: https://github.com/secretBiology/SecretColors
#
# Most of these palettes are derived from various design systems. Few
# examples of such design systems can be found on following URL
# https://designsystemsrep... | 41.294118 | 70 | 0.824786 | 85 | 702 | 6.811765 | 0.564706 | 0.165803 | 0.207254 | 0.290155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0064 | 0.109687 | 702 | 16 | 71 | 43.875 | 0.92 | 0.457265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b04465ebaa3b9f441caa0e70a60ef4124b5a240 | 90 | py | Python | python/triton/language/__init__.py | h-vetinari/triton | d9dd97492f228020573b39a9cec14ee3b8776957 | [
"MIT"
] | 146 | 2015-12-29T03:42:45.000Z | 2020-02-05T14:50:55.000Z | python/triton/language/__init__.py | h-vetinari/triton | d9dd97492f228020573b39a9cec14ee3b8776957 | [
"MIT"
] | 28 | 2015-12-26T01:38:22.000Z | 2018-11-18T05:20:26.000Z | python/triton/language/__init__.py | h-vetinari/triton | d9dd97492f228020573b39a9cec14ee3b8776957 | [
"MIT"
] | 52 | 2016-02-26T17:27:28.000Z | 2020-01-20T03:13:40.000Z | # flake8: noqa: F401
from . import core, random
from .core import *
from .random import *
| 18 | 26 | 0.711111 | 13 | 90 | 4.923077 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054795 | 0.188889 | 90 | 4 | 27 | 22.5 | 0.821918 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0b180f6f703a1483ab0a1f7fc828994dc9090792 | 52 | py | Python | __init__.py | minhht-0134/redmine_sample | 187364109ba245e035b304356e156a1b82ec43ad | [
"MIT"
] | null | null | null | __init__.py | minhht-0134/redmine_sample | 187364109ba245e035b304356e156a1b82ec43ad | [
"MIT"
] | null | null | null | __init__.py | minhht-0134/redmine_sample | 187364109ba245e035b304356e156a1b82ec43ad | [
"MIT"
] | null | null | null | from environs import Env
env = Env()
env.read_env() | 13 | 24 | 0.730769 | 9 | 52 | 4.111111 | 0.555556 | 0.486486 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 4 | 25 | 13 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9be0cf30f2757ca5f52e03ff7e939cb778659618 | 168 | py | Python | userprofile/forms.py | Xlj100512/myblog | f170d621539a118af02a0ee5a2392f9f0c2a6b05 | [
"MIT"
] | null | null | null | userprofile/forms.py | Xlj100512/myblog | f170d621539a118af02a0ee5a2392f9f0c2a6b05 | [
"MIT"
] | null | null | null | userprofile/forms.py | Xlj100512/myblog | f170d621539a118af02a0ee5a2392f9f0c2a6b05 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.models import User
class UserLoginForm(forms.Form):
username = forms.CharField()
password = forms.CharField()
| 21 | 43 | 0.767857 | 21 | 168 | 6.142857 | 0.666667 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 7 | 44 | 24 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
503dd2da1a1bdc872f4fda5cb0e79b2ca280864b | 40 | py | Python | j4j_handler/api_ux_handler/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | j4j_handler/api_ux_handler/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | j4j_handler/api_ux_handler/__init__.py | FZJ-JSC/jupyter-jsc-jupyterhub-collection | 3fbb83da6e356df57bbdd24269157944f7fcd2a5 | [
"BSD-3-Clause"
] | null | null | null | from .j4j_api_ux import J4J_APIUXHandler | 40 | 40 | 0.9 | 7 | 40 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.075 | 40 | 1 | 40 | 40 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
504e62de05d67ab741a3e2e94e5f37229348f7b7 | 176 | py | Python | src/AuShadha/demographics/demographics/admin.py | GosthMan/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 46 | 2015-03-04T14:19:47.000Z | 2021-12-09T02:58:46.000Z | src/AuShadha/demographics/demographics/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 2 | 2015-06-05T10:29:04.000Z | 2015-12-06T16:54:10.000Z | src/AuShadha/demographics/demographics/admin.py | aytida23/AuShadha | 3ab48825a0dba19bf880b6ac6141ab7a6adf1f3e | [
"PostgreSQL"
] | 24 | 2015-03-23T01:38:11.000Z | 2022-01-24T16:23:42.000Z | from django.contrib import admin
from .models import Demographics
class DemographicsAdmin(admin.ModelAdmin):
pass
admin.site.register(Demographics, DemographicsAdmin)
| 16 | 52 | 0.8125 | 19 | 176 | 7.526316 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 176 | 10 | 53 | 17.6 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
504fbcffb1ff3547cba58dbd27e0ec9d265de07a | 68,022 | py | Python | test/python/test_onnx.py | XinChCh/singa | 93fd9da72694e68bfe3fb29d0183a65263d238a1 | [
"Apache-2.0"
] | 2,354 | 2015-05-05T03:01:56.000Z | 2019-10-22T15:08:11.000Z | test/python/test_onnx.py | Dadaguaibuhaoyisi/singa | 93fd9da72694e68bfe3fb29d0183a65263d238a1 | [
"Apache-2.0"
] | 332 | 2019-10-24T15:06:32.000Z | 2022-03-07T06:22:32.000Z | test/python/test_onnx.py | zlheui/singa | ced9e9d44c200d709db5a2354076390788986b77 | [
"Apache-2.0"
] | 607 | 2015-05-03T14:09:05.000Z | 2019-10-21T09:49:21.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 31.965226 | 102 | 0.532548 | 9,563 | 68,022 | 3.569277 | 0.033671 | 0.025078 | 0.051797 | 0.055372 | 0.784871 | 0.771746 | 0.763103 | 0.758035 | 0.753054 | 0.745525 | 0 | 0.036564 | 0.334171 | 68,022 | 2,127 | 103 | 31.980254 | 0.717074 | 0.098689 | 0 | 0.607299 | 0 | 0 | 0.022171 | 0 | 0 | 0 | 0 | 0.00047 | 0.047445 | 1 | 0.156204 | false | 0 | 0.010219 | 0 | 0.173723 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
acd32f3c85dd9f3c68bef23d4418e64a857acce3 | 334 | py | Python | tests/test_parse.py | elastic-coders/py-graphqlparser | c935d2782c224b6a70880eac09773a5d9d905e72 | [
"BSD-3-Clause"
] | 35 | 2015-09-19T06:04:01.000Z | 2021-11-04T04:39:17.000Z | tests/test_parse.py | jhgg/py-graphqlparser | b34d0a295a4c009e810380d95c15f2c39d250e1a | [
"BSD-3-Clause"
] | 1 | 2016-11-16T08:04:59.000Z | 2016-11-16T08:04:59.000Z | tests/test_parse.py | jhgg/py-graphqlparser | b34d0a295a4c009e810380d95c15f2c39d250e1a | [
"BSD-3-Clause"
] | 5 | 2015-09-21T18:52:40.000Z | 2021-02-09T10:02:18.000Z | import pytest
def test_parse_ok():
from graphql_parser import GraphQLParser
assert GraphQLParser.graphql_parse_string('{query {id}}')
def test_parse_bad():
from graphql_parser import GraphQLParser
with pytest.raises(GraphQLParser.GraphQLParseError):
assert GraphQLParser.graphql_parse_string(... | 25.692308 | 63 | 0.769461 | 39 | 334 | 6.333333 | 0.461538 | 0.05668 | 0.097166 | 0.186235 | 0.647773 | 0.356275 | 0.356275 | 0 | 0 | 0 | 0 | 0 | 0.149701 | 334 | 12 | 64 | 27.833333 | 0.869718 | 0 | 0 | 0.25 | 0 | 0 | 0.065868 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.375 | 0 | 0.625 | 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 | 1 | 0 | 1 | 0 | 0 | 5 |
acd68ddebdf3f9400c2a4b29ce394f47de9aac40 | 153 | py | Python | florin/pipelines/balsam.py | jeffkinnison/florin | 94e76812e9fe27c86b2ce39313d07beb21c8b478 | [
"MIT"
] | 6 | 2019-06-03T19:11:05.000Z | 2021-01-13T06:35:43.000Z | florin/pipelines/balsam.py | jeffkinnison/florin | 94e76812e9fe27c86b2ce39313d07beb21c8b478 | [
"MIT"
] | 4 | 2019-06-10T14:48:15.000Z | 2019-10-01T16:48:58.000Z | florin/pipelines/balsam.py | jeffkinnison/florin | 94e76812e9fe27c86b2ce39313d07beb21c8b478 | [
"MIT"
] | 1 | 2019-09-25T17:57:23.000Z | 2019-09-25T17:57:23.000Z | from florin.pipelines.pipeline import Pipeline
class BalsamPipeline(Pipeline):
def run(self, data):
return next(map(self.operations, data))
| 25.5 | 47 | 0.738562 | 19 | 153 | 5.947368 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 153 | 5 | 48 | 30.6 | 0.882813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
acfb6bd89e2bf0508499b4010e890971ec5a8907 | 483 | py | Python | tests/function.py | btalebali/pysphere | cda8bbc480f9942911fb8f9c7f3c5c9a4da8bd43 | [
"Unlicense"
] | null | null | null | tests/function.py | btalebali/pysphere | cda8bbc480f9942911fb8f9c7f3c5c9a4da8bd43 | [
"Unlicense"
] | null | null | null | tests/function.py | btalebali/pysphere | cda8bbc480f9942911fb8f9c7f3c5c9a4da8bd43 | [
"Unlicense"
] | null | null | null | import time
import threading
import os
import urllib2
import mmap
import sys, re, getpass, argparse, subprocess
from urlparse import urlparse
from time import sleep
from pysphere import VIServer, MORTypes
from pysphere import VIProperty, VITask,VIException, FaultTypes
from pysphere.vi_virtual_machine import VIVirtual... | 24.15 | 64 | 0.84472 | 67 | 483 | 6.014925 | 0.507463 | 0.208437 | 0.133995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002381 | 0.130435 | 483 | 19 | 65 | 25.421053 | 0.957143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.066667 | 1 | 0 | 1 | 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 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
4a13a8d6f28e4dc8e9d5a37f8b3c3da00c101eb7 | 238 | py | Python | factory/SimpleFactory/autos/nullcar.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | factory/SimpleFactory/autos/nullcar.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | factory/SimpleFactory/autos/nullcar.py | Tomvictor/python-design-patterns | 6b99607d721bbe03d26a0a451a10e88cd1c1d112 | [
"MIT"
] | null | null | null | from .abs_auto import AbsAuto
class NullCar(AbsAuto):
def __init__(self, carname):
self._carname = carname
def start(self):
print('Unknown car "%s".' % self._carname)
def stop(self):
pass
| 19.833333 | 51 | 0.588235 | 28 | 238 | 4.75 | 0.642857 | 0.24812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.302521 | 238 | 11 | 52 | 21.636364 | 0.801205 | 0 | 0 | 0 | 0 | 0 | 0.07489 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0.125 | 0 | 0.625 | 0.125 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c57f2f6b17555bd27cc5116d33b1532aa71673a1 | 432 | py | Python | apps/users/utils.py | ivall/IVmonitor | 8a217cb3cc00a44d7c577ec61a90c77cc7c22959 | [
"MIT"
] | 190 | 2021-02-06T10:47:54.000Z | 2022-02-15T23:45:07.000Z | apps/users/utils.py | ivall/IVmonitor | 8a217cb3cc00a44d7c577ec61a90c77cc7c22959 | [
"MIT"
] | null | null | null | apps/users/utils.py | ivall/IVmonitor | 8a217cb3cc00a44d7c577ec61a90c77cc7c22959 | [
"MIT"
] | null | null | null | import bcrypt
def hash_password(password):
password = password.encode('utf-8')
hashed_password = bcrypt.hashpw(password, bcrypt.gensalt())
return hashed_password
def verify_password(password, hashed_password) -> bool:
password = password.encode('utf-8')
hashed_password = hashed_password.encode('... | 28.8 | 67 | 0.729167 | 52 | 432 | 5.884615 | 0.326923 | 0.320261 | 0.287582 | 0.176471 | 0.261438 | 0.261438 | 0.261438 | 0 | 0 | 0 | 0 | 0.008333 | 0.166667 | 432 | 15 | 68 | 28.8 | 0.841667 | 0 | 0 | 0.181818 | 0 | 0 | 0.034642 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.727273 | 0.090909 | 0 | 0.545455 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c5a64dacc825a75e32907ab62c914e397ff88004 | 5,426 | py | Python | pytechfin/carol_sync_monitoring.py | jnefoussi/pytechfin | 4d5bc44410b7161ab3acd65b2474468a84e576af | [
"MIT"
] | 4 | 2021-03-23T14:44:34.000Z | 2021-04-22T19:21:52.000Z | pytechfin/carol_sync_monitoring.py | jnefoussi/pytechfin | 4d5bc44410b7161ab3acd65b2474468a84e576af | [
"MIT"
] | 9 | 2021-03-24T14:45:31.000Z | 2021-08-04T18:19:04.000Z | pytechfin/carol_sync_monitoring.py | jnefoussi/pytechfin | 4d5bc44410b7161ab3acd65b2474468a84e576af | [
"MIT"
] | null | null | null | from .misc import get_tenant_techfin
from .enums import EnumApps
class CarolSyncMonitoring:
def __init__(self, techfin):
self.techfin = techfin
def get_pks(self, dm_name, techfin_app, techfin_tenant=None, carol_tenant=None, page_size=1000,
page=1, debug=False, max_hits=None):
... | 37.680556 | 160 | 0.589937 | 653 | 5,426 | 4.709035 | 0.171516 | 0.114146 | 0.043902 | 0.01561 | 0.765203 | 0.705366 | 0.705366 | 0.705366 | 0.688455 | 0.688455 | 0 | 0.00759 | 0.320125 | 5,426 | 143 | 161 | 37.944056 | 0.825969 | 0.279027 | 0 | 0.605634 | 0 | 0 | 0.152365 | 0.075083 | 0 | 0 | 0 | 0.013986 | 0 | 1 | 0.056338 | false | 0 | 0.042254 | 0 | 0.169014 | 0.028169 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c5af56e271b048fe5cdaec6606415f3e92c079de | 119 | py | Python | locale/pot/api/plotting/_autosummary/pyvista-themes-ParaViewTheme-transparent_background-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 4 | 2020-08-07T08:19:19.000Z | 2020-12-04T09:51:11.000Z | locale/pot/api/plotting/_autosummary/pyvista-themes-DarkTheme-transparent_background-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 19 | 2020-08-06T00:24:30.000Z | 2022-03-30T19:22:24.000Z | locale/pot/api/plotting/_autosummary/pyvista-themes-ParaViewTheme-transparent_background-1.py | tkoyama010/pyvista-doc-translations | 23bb813387b7f8bfe17e86c2244d5dd2243990db | [
"MIT"
] | 1 | 2021-03-09T07:50:40.000Z | 2021-03-09T07:50:40.000Z | # Set transparent_background globally to ``True``.
#
import pyvista
pyvista.global_theme.transparent_background = True
| 23.8 | 50 | 0.815126 | 14 | 119 | 6.714286 | 0.714286 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 119 | 4 | 51 | 29.75 | 0.878505 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c5b483cde2c8eac7b9c01cfb905cfdafb462ee88 | 50 | py | Python | python/lib/Lib/site-packages/django/contrib/sitemaps/tests/__init__.py | truthiswill/intellij-community | fff88cfb0dc168eea18ecb745d3e5b93f57b0b95 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | django/contrib/sitemaps/tests/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | django/contrib/sitemaps/tests/__init__.py | mradziej/django | 5d38965743a369981c9a738a298f467f854a2919 | [
"BSD-3-Clause"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | from django.contrib.sitemaps.tests.basic import *
| 25 | 49 | 0.82 | 7 | 50 | 5.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 50 | 1 | 50 | 50 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c5bf9d92dd13fa710d30a9d56f21bc8df40e7e68 | 8,385 | py | Python | tests/testcases/test_main.py | L-Net-1992/towhee | 471de97bf9c5443efaf3b62fd440b3ebdb6d5903 | [
"Apache-2.0"
] | null | null | null | tests/testcases/test_main.py | L-Net-1992/towhee | 471de97bf9c5443efaf3b62fd440b3ebdb6d5903 | [
"Apache-2.0"
] | null | null | null | tests/testcases/test_main.py | L-Net-1992/towhee | 471de97bf9c5443efaf3b62fd440b3ebdb6d5903 | [
"Apache-2.0"
] | null | null | null | # coding : UTF-8
from operator import methodcaller
from test_image_embedding import *
from test_pipeline import *
from test_audio_embedding import *
def pipeline_register():
pipeline_names = ["image-embedding", "towhee/image-embedding-efficientnetb5",
"towhee/image-embedding-efficientnetb7",... | 41.305419 | 119 | 0.599761 | 865 | 8,385 | 5.559538 | 0.10289 | 0.097318 | 0.119775 | 0.024953 | 0.762944 | 0.745477 | 0.721148 | 0.704928 | 0.684134 | 0.660012 | 0 | 0.017018 | 0.299225 | 8,385 | 202 | 120 | 41.509901 | 0.801396 | 0.095289 | 0 | 0.641892 | 0 | 0 | 0.136418 | 0.086319 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047297 | false | 0.067568 | 0.027027 | 0 | 0.121622 | 0.202703 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c5eb56216eb68156c93b75afbd81803fa965682d | 91 | py | Python | Estimator/test_estimator.py | afafelwafi/TweetsPopularity | 158d5f76ac4a963b0af3eec9a29da51cd95fe0e5 | [
"MIT"
] | 1 | 2022-01-07T17:44:40.000Z | 2022-01-07T17:44:40.000Z | Estimator/test_estimator.py | afafelwafi/TweetsPopularity | 158d5f76ac4a963b0af3eec9a29da51cd95fe0e5 | [
"MIT"
] | null | null | null | Estimator/test_estimator.py | afafelwafi/TweetsPopularity | 158d5f76ac4a963b0af3eec9a29da51cd95fe0e5 | [
"MIT"
] | null | null | null | # Import testing package
import pytest
#Import estimator
from estimator import Estimator
| 13 | 31 | 0.824176 | 11 | 91 | 6.818182 | 0.545455 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 6 | 32 | 15.166667 | 0.974026 | 0.417582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c5efa1526e10edc31dbdc597bd55fa9ee3934b2b | 40 | py | Python | src/CryptoLibrary/utils/__init__.py | rfabbris/robotframework-crypto | c93364b36ae68a44e4b717d3b3402b4169ee6750 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-11-12T14:02:01.000Z | 2021-01-06T03:54:44.000Z | src/CryptoLibrary/utils/__init__.py | rfabbris/robotframework-crypto | c93364b36ae68a44e4b717d3b3402b4169ee6750 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/CryptoLibrary/utils/__init__.py | rfabbris/robotframework-crypto | c93364b36ae68a44e4b717d3b3402b4169ee6750 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from .cryptoutility import CryptoUtility | 40 | 40 | 0.9 | 4 | 40 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a891e10b8bc00f2d817a05ed9cf62cd259175144 | 46 | py | Python | 06_string/00_string.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 06_string/00_string.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | 06_string/00_string.py | hemuke/python | bc99f2b5aee997083ae31f59a2b33db48c8255f3 | [
"Apache-2.0"
] | null | null | null | #! /root/anaconda3/bin/python
print(dir(str))
| 15.333333 | 29 | 0.717391 | 7 | 46 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.065217 | 46 | 2 | 30 | 23 | 0.744186 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a8aeeb8918a04382678422fe9f8240c275a1516d | 45 | py | Python | run.py | chall68/BlackWatch | 0b95d69e4b7de9213a031557e9aff54ce35b12dd | [
"MIT"
] | null | null | null | run.py | chall68/BlackWatch | 0b95d69e4b7de9213a031557e9aff54ce35b12dd | [
"MIT"
] | null | null | null | run.py | chall68/BlackWatch | 0b95d69e4b7de9213a031557e9aff54ce35b12dd | [
"MIT"
] | null | null | null | from BlackWatch import restAPI
restAPI.run()
| 15 | 30 | 0.822222 | 6 | 45 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 45 | 2 | 31 | 22.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a8cbef8bdb4de5c1216b138f0cb9fc99e2051dec | 130 | py | Python | bslparloursite/videolibrary/admin.py | natfarleydev/thebslparlour | ebb2588282cdb2a977ec6c5f8d82cec4e8fd1f99 | [
"CC0-1.0"
] | 1 | 2016-01-06T23:13:11.000Z | 2016-01-06T23:13:11.000Z | bslparloursite/videolibrary/admin.py | natfarleydev/thebslparlour | ebb2588282cdb2a977ec6c5f8d82cec4e8fd1f99 | [
"CC0-1.0"
] | 4 | 2021-03-18T20:15:04.000Z | 2021-06-10T17:52:31.000Z | bslparloursite/videolibrary/admin.py | natfarleydev/thebslparlour | ebb2588282cdb2a977ec6c5f8d82cec4e8fd1f99 | [
"CC0-1.0"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import SourceVideo
admin.site.register(SourceVideo)
| 16.25 | 32 | 0.807692 | 17 | 130 | 6.176471 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130769 | 130 | 7 | 33 | 18.571429 | 0.929204 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
763f1ea9f6bdd6bb0882ec413d42e2cb1ba34a26 | 6,642 | py | Python | tests/sources/python/4_worker_in_master_cooperative/src/modules/test_objects.py | ramonamela/compss | 3b36b4264ac5f58476f5b89a452d9200b4702020 | [
"Apache-2.0"
] | 31 | 2018-03-06T09:30:03.000Z | 2022-03-23T09:51:05.000Z | tests/sources/python/4_worker_in_master_cooperative/src/modules/test_objects.py | ramonamela/compss | 3b36b4264ac5f58476f5b89a452d9200b4702020 | [
"Apache-2.0"
] | 4 | 2017-10-25T12:20:52.000Z | 2019-03-20T14:17:40.000Z | tests/sources/python/4_worker_in_master_cooperative/src/modules/test_objects.py | mF2C/COMPSs | a74d97346121382a8a40ca15fa619e6e4cea917f | [
"Apache-2.0"
] | 15 | 2018-06-07T10:03:27.000Z | 2022-02-23T14:59:42.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
PyCOMPSs Testbench Tasks
========================
"""
# Imports
import unittest
from modules.utils import verify_line
from pycompss.api.api import compss_barrier
from pycompss.api.task import task
from pycompss.api.parameter import INOUT
from pycompss.api.constraint ... | 29.918919 | 95 | 0.737428 | 848 | 6,642 | 5.508255 | 0.117925 | 0.04924 | 0.083708 | 0.036395 | 0.84179 | 0.816528 | 0.720831 | 0.720831 | 0.631985 | 0.617427 | 0 | 0.006775 | 0.177808 | 6,642 | 221 | 96 | 30.054299 | 0.848563 | 0.220114 | 0 | 0.663793 | 0 | 0 | 0.084513 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.163793 | false | 0 | 0.051724 | 0 | 0.275862 | 0.051724 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
765b97e5de87c20dc02cf3651eb35adefa466a23 | 90 | py | Python | etrobosim/comm/__init__.py | YoshitakaAtarashi/ETroboSimController | fe7821794217e099e565b9e514ae5efdd452bd59 | [
"MIT"
] | null | null | null | etrobosim/comm/__init__.py | YoshitakaAtarashi/ETroboSimController | fe7821794217e099e565b9e514ae5efdd452bd59 | [
"MIT"
] | null | null | null | etrobosim/comm/__init__.py | YoshitakaAtarashi/ETroboSimController | fe7821794217e099e565b9e514ae5efdd452bd59 | [
"MIT"
] | null | null | null | from .ETroboSimClient import ETroboSimClient
from .ETroboSimServer import ETroboSimServer
| 30 | 44 | 0.888889 | 8 | 90 | 10 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 90 | 2 | 45 | 45 | 0.97561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
76634f22acc30163b962103ee3f1b894e2a833bd | 108 | py | Python | dudendas/exception.py | eikendev/dudendas | b03074deac55e4fb2eed105d2685a19c21651b2e | [
"MIT"
] | null | null | null | dudendas/exception.py | eikendev/dudendas | b03074deac55e4fb2eed105d2685a19c21651b2e | [
"MIT"
] | null | null | null | dudendas/exception.py | eikendev/dudendas | b03074deac55e4fb2eed105d2685a19c21651b2e | [
"MIT"
] | null | null | null | class DudendasException(Exception):
pass
class DudendasArgumentException(DudendasException):
pass
| 15.428571 | 51 | 0.796296 | 8 | 108 | 10.75 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 108 | 6 | 52 | 18 | 0.934783 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
769548074a798e406f0b6353447326aef507674c | 201 | py | Python | tests/records/models.py | chan-dra/django-rest-framework-oauth | b85afd29e4bbc85697edabab9644edc5b4fe60de | [
"MIT"
] | 87 | 2016-01-24T16:41:02.000Z | 2021-12-20T21:13:24.000Z | tests/records/models.py | chan-dra/django-rest-framework-oauth | b85afd29e4bbc85697edabab9644edc5b4fe60de | [
"MIT"
] | 16 | 2020-02-11T23:19:19.000Z | 2022-03-11T23:33:40.000Z | tests/records/models.py | chan-dra/django-rest-framework-oauth | b85afd29e4bbc85697edabab9644edc5b4fe60de | [
"MIT"
] | 57 | 2016-02-02T05:46:14.000Z | 2021-03-21T15:46:06.000Z | from django.db import models
class Record(models.Model):
account = models.ForeignKey('accounts.Account', blank=True, null=True)
owner = models.ForeignKey('users.User', blank=True, null=True)
| 28.714286 | 74 | 0.736318 | 27 | 201 | 5.481481 | 0.62963 | 0.216216 | 0.175676 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129353 | 201 | 6 | 75 | 33.5 | 0.845714 | 0 | 0 | 0 | 0 | 0 | 0.129353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
769a5eb0a642f3bb9bb29bc207b7d679cab5f15c | 1,052 | py | Python | wrappers/python/tests/pool/test_close_pool_ledger.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | null | null | null | wrappers/python/tests/pool/test_close_pool_ledger.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | null | null | null | wrappers/python/tests/pool/test_close_pool_ledger.py | absltkaos/indy-sdk | bc14c5b514dc1c76ce62dd7f6bf804120bf69f5e | [
"Apache-2.0"
] | null | null | null | import pytest
from indy import pool, error
# noinspection PyUnusedLocal
@pytest.mark.asyncio
@pytest.mark.parametrize("pool_handle_cleanup", [False])
async def test_close_pool_ledger_works(pool_handle, pool_handle_cleanup):
await pool.close_pool_ledger(pool_handle)
# noinspection PyUnusedLocal
@pytest.mark.asy... | 30.941176 | 120 | 0.819392 | 146 | 1,052 | 5.520548 | 0.239726 | 0.198511 | 0.148883 | 0.111663 | 0.754342 | 0.754342 | 0.754342 | 0.712159 | 0.712159 | 0.712159 | 0 | 0 | 0.102662 | 1,052 | 33 | 121 | 31.878788 | 0.853814 | 0.076046 | 0 | 0.578947 | 0 | 0 | 0.058884 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 1 | 0 | false | 0 | 0.105263 | 0 | 0.105263 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
76c7173e2ccaafa957a5dd7eac6f0bdfe7279b31 | 98 | py | Python | client/clients/admin.py | kim-chae-yeon/My.CL | 2ca236e1791197ee331a6740bf7b5b75147fc995 | [
"MIT"
] | null | null | null | client/clients/admin.py | kim-chae-yeon/My.CL | 2ca236e1791197ee331a6740bf7b5b75147fc995 | [
"MIT"
] | 8 | 2021-09-26T18:50:19.000Z | 2021-12-09T14:38:47.000Z | client/clients/admin.py | kim-chae-yeon/My.CL | 2ca236e1791197ee331a6740bf7b5b75147fc995 | [
"MIT"
] | 2 | 2021-12-02T12:46:11.000Z | 2021-12-11T13:31:50.000Z | from django.contrib import admin
from .models import CategoryLog
admin.site.register(CategoryLog) | 24.5 | 32 | 0.846939 | 13 | 98 | 6.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 98 | 4 | 33 | 24.5 | 0.932584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f1126cd58c14e070802a99c54699b51c34b21c9 | 77 | py | Python | Singleton_Python3/UserSingletonOne.py | weaponsX/PythonSingleton | 994d89936f5fa4a90fd3b37e13a787305e9af668 | [
"Apache-2.0"
] | null | null | null | Singleton_Python3/UserSingletonOne.py | weaponsX/PythonSingleton | 994d89936f5fa4a90fd3b37e13a787305e9af668 | [
"Apache-2.0"
] | null | null | null | Singleton_Python3/UserSingletonOne.py | weaponsX/PythonSingleton | 994d89936f5fa4a90fd3b37e13a787305e9af668 | [
"Apache-2.0"
] | null | null | null | # 使用SingletonOne
from SingletonOne import singleton_one
singleton_one.foo() | 15.4 | 38 | 0.844156 | 9 | 77 | 7 | 0.777778 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 5 | 39 | 15.4 | 0.913043 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f140875a2b3fbd8862661c37381b9289bc32f47 | 43 | py | Python | src/conftest.py | mberth/ecv-analytics | a3f9d90fd22f888517fd7f51037bdea3ef420832 | [
"MIT"
] | null | null | null | src/conftest.py | mberth/ecv-analytics | a3f9d90fd22f888517fd7f51037bdea3ef420832 | [
"MIT"
] | 5 | 2020-06-21T09:36:08.000Z | 2021-12-13T20:51:45.000Z | src/conftest.py | mberth/ecv-analytics | a3f9d90fd22f888517fd7f51037bdea3ef420832 | [
"MIT"
] | null | null | null | # see https://stackoverflow.com/a/50610630
| 21.5 | 42 | 0.767442 | 6 | 43 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.069767 | 43 | 1 | 43 | 43 | 0.625 | 0.930233 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4f17390e9d999edd05f46498bc2b42f5228c9d66 | 48 | pyw | Python | Aboutn/__pycache__/About-n-no-X.pyw | AkiraDemenech/About-n-Squares | 4a2d8644cf6672f109aac81583954645b36da553 | [
"MIT"
] | 1 | 2020-10-05T17:31:57.000Z | 2020-10-05T17:31:57.000Z | Aboutn/__pycache__/About-n-no-X.pyw | AkiraDemenech/About-n-Squares | 4a2d8644cf6672f109aac81583954645b36da553 | [
"MIT"
] | null | null | null | Aboutn/__pycache__/About-n-no-X.pyw | AkiraDemenech/About-n-Squares | 4a2d8644cf6672f109aac81583954645b36da553 | [
"MIT"
] | null | null | null | from Aboutn import iniciar
iniciar(fechar=False) | 24 | 26 | 0.854167 | 7 | 48 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 48 | 2 | 27 | 24 | 0.931818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f3d2145569e0e3b3784d3b774e5aecc263b6fd9 | 32 | py | Python | AsyncLibrary/__init__.py | nolivaldeziii/robotframework-async | 79bbd921f2b08a8000aa24b237083d95a06558e6 | [
"MIT"
] | null | null | null | AsyncLibrary/__init__.py | nolivaldeziii/robotframework-async | 79bbd921f2b08a8000aa24b237083d95a06558e6 | [
"MIT"
] | null | null | null | AsyncLibrary/__init__.py | nolivaldeziii/robotframework-async | 79bbd921f2b08a8000aa24b237083d95a06558e6 | [
"MIT"
] | null | null | null | from .async import AsyncLibrary
| 16 | 31 | 0.84375 | 4 | 32 | 6.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f3f326ccc16ea52535f9df8cb58784145d4571c | 128 | py | Python | handler/admin.py | nolan-dyke/capstone_backend | 0aeb3850fcd9b53fb51104d80892e42fe7683519 | [
"MIT"
] | null | null | null | handler/admin.py | nolan-dyke/capstone_backend | 0aeb3850fcd9b53fb51104d80892e42fe7683519 | [
"MIT"
] | null | null | null | handler/admin.py | nolan-dyke/capstone_backend | 0aeb3850fcd9b53fb51104d80892e42fe7683519 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import User, Flashcard
admin.site.register(User)
admin.site.register(Flashcard)
| 18.285714 | 35 | 0.8125 | 18 | 128 | 5.777778 | 0.555556 | 0.173077 | 0.326923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101563 | 128 | 6 | 36 | 21.333333 | 0.904348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4f7235a170740a88a04f25c0fbef8de9d9904c9b | 52 | py | Python | oauth2/__init__.py | amigus/python3-demo-api | e1af352a545cc861fdb5e2175c12e9449f7fd16b | [
"MIT"
] | 1 | 2019-12-10T12:18:42.000Z | 2019-12-10T12:18:42.000Z | oauth2/__init__.py | amigus/python3-demo-api | e1af352a545cc861fdb5e2175c12e9449f7fd16b | [
"MIT"
] | null | null | null | oauth2/__init__.py | amigus/python3-demo-api | e1af352a545cc861fdb5e2175c12e9449f7fd16b | [
"MIT"
] | null | null | null | from .client import OAuth2Client, OAuth2ClientError
| 26 | 51 | 0.865385 | 5 | 52 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.096154 | 52 | 1 | 52 | 52 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4f8c23eb3a620e3012182f29099cfb01e9a8a8c0 | 242 | py | Python | schema/admin.py | leVirve-arxiv/OuO | 9a6a1ef50e6aeef8d0b84d1a1a377e5f19050ac2 | [
"MIT"
] | null | null | null | schema/admin.py | leVirve-arxiv/OuO | 9a6a1ef50e6aeef8d0b84d1a1a377e5f19050ac2 | [
"MIT"
] | null | null | null | schema/admin.py | leVirve-arxiv/OuO | 9a6a1ef50e6aeef8d0b84d1a1a377e5f19050ac2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from schema.models import Field, Mapping, Template, Graph, Member
admin.site.register(Member)
admin.site.register(Field)
admin.site.register(Mapping)
admin.site.register(Template)
admin.site.register(Graph)
| 24.2 | 65 | 0.81405 | 34 | 242 | 5.794118 | 0.411765 | 0.228426 | 0.431472 | 0.233503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078512 | 242 | 9 | 66 | 26.888889 | 0.883408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
96cad9a06860f0f2de5292ea68f355d948b7037b | 91 | py | Python | entsoe/exceptions.py | duizendnegen/entsoe-py | e62b8ec93dd02bacdac58d02c3c3bc5195b80b43 | [
"MIT"
] | 1 | 2019-02-08T21:26:54.000Z | 2019-02-08T21:26:54.000Z | entsoe/exceptions.py | duizendnegen/entsoe-py | e62b8ec93dd02bacdac58d02c3c3bc5195b80b43 | [
"MIT"
] | null | null | null | entsoe/exceptions.py | duizendnegen/entsoe-py | e62b8ec93dd02bacdac58d02c3c3bc5195b80b43 | [
"MIT"
] | null | null | null | class PaginationError(Exception):
pass
class NoMatchingDataError(Exception):
pass | 15.166667 | 37 | 0.769231 | 8 | 91 | 8.75 | 0.625 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 6 | 38 | 15.166667 | 0.921053 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
96d4801143ca66c6b76d49d867ae6ce556e687d5 | 20 | py | Python | cloud/__init__.py | pmp47/Cloud | 2fd63df4f92d90508653ea76a37d55c2bd8a7ecc | [
"MIT"
] | null | null | null | cloud/__init__.py | pmp47/Cloud | 2fd63df4f92d90508653ea76a37d55c2bd8a7ecc | [
"MIT"
] | null | null | null | cloud/__init__.py | pmp47/Cloud | 2fd63df4f92d90508653ea76a37d55c2bd8a7ecc | [
"MIT"
] | null | null | null | from .cloud import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
96d7dcb28be6897240e38b786132c74686d6209c | 313 | py | Python | octicons16px/square_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | 1 | 2021-01-28T06:47:39.000Z | 2021-01-28T06:47:39.000Z | octicons16px/square_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null | octicons16px/square_fill.py | andrewp-as-is/octicons16px.py | 1272dc9f290619d83bd881e87dbd723b0c48844c | [
"Unlicense"
] | null | null | null |
OCTICON_SQUARE_FILL = """
<svg class="octicon octicon-square-fill" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M5.75 4A1.75 1.75 0 004 5.75v4.5c0 .966.784 1.75 1.75 1.75h4.5A1.75 1.75 0 0012 10.25v-4.5A1.75 1.75 0 0010.25 4h-4.5z"></path></svg>
"""
| 62.6 | 281 | 0.670927 | 70 | 313 | 2.971429 | 0.571429 | 0.072115 | 0.096154 | 0.086538 | 0.086538 | 0 | 0 | 0 | 0 | 0 | 0 | 0.30466 | 0.108626 | 313 | 4 | 282 | 78.25 | 0.44086 | 0 | 0 | 0 | 0 | 0.333333 | 0.907051 | 0.070513 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
96eede1d127ee3004c98478ede13ed64a8d31293 | 1,218 | py | Python | tests/testWordGen.py | EmidioLP/CharQ | 7fb857c4481458ce5d09741d78bf0513d44af130 | [
"MIT"
] | null | null | null | tests/testWordGen.py | EmidioLP/CharQ | 7fb857c4481458ce5d09741d78bf0513d44af130 | [
"MIT"
] | 1 | 2021-03-16T19:11:36.000Z | 2021-03-16T19:12:18.000Z | tests/testWordGen.py | EmidioLP/CharQ | 7fb857c4481458ce5d09741d78bf0513d44af130 | [
"MIT"
] | 2 | 2021-03-16T19:03:43.000Z | 2021-03-16T20:10:11.000Z | import unittest
from sys import path
path.append('..')
from charq.charq import WordGenerate
teste = WordGenerate()
class TestWordGenerate(unittest.TestCase):
def test_class(self):
self.assertEqual(type(teste.val), str)
self.assertEqual(teste.val, 'CharQ')
def test_word(self):
self.... | 25.914894 | 67 | 0.646962 | 155 | 1,218 | 4.987097 | 0.23871 | 0.291074 | 0.172057 | 0.217335 | 0.500647 | 0.389392 | 0.218629 | 0.174644 | 0.174644 | 0.174644 | 0 | 0.012195 | 0.192118 | 1,218 | 46 | 68 | 26.478261 | 0.773374 | 0 | 0 | 0 | 1 | 0 | 0.033233 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.166667 | false | 0.125 | 0.125 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
96f95a0dfa48d5427abdd81aca8ca7ce20352483 | 112 | py | Python | leetcode977.py | AmitHasanShuvo/Programming | f47ecc626e518a0bf5f9f749afd15ce67bbe737b | [
"MIT"
] | 8 | 2019-05-26T19:24:13.000Z | 2021-03-24T17:36:14.000Z | leetcode977.py | AmitHasanShuvo/Programming | f47ecc626e518a0bf5f9f749afd15ce67bbe737b | [
"MIT"
] | null | null | null | leetcode977.py | AmitHasanShuvo/Programming | f47ecc626e518a0bf5f9f749afd15ce67bbe737b | [
"MIT"
] | 1 | 2020-04-19T04:59:54.000Z | 2020-04-19T04:59:54.000Z | class Solution:
def sortedSquares(self, A: List[int]) -> List[int]:
return sorted(x * x for x in A)
| 28 | 55 | 0.616071 | 18 | 112 | 3.833333 | 0.722222 | 0.202899 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 112 | 3 | 56 | 37.333333 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
8c0217b95391132d370a26f38b1cc5e34f30baa6 | 316 | py | Python | dashboard/views.py | NazmusShakib/django-p1 | 2b25d7dbbaf8c42aa2e7d66949e2879a94516b0b | [
"MIT"
] | null | null | null | dashboard/views.py | NazmusShakib/django-p1 | 2b25d7dbbaf8c42aa2e7d66949e2879a94516b0b | [
"MIT"
] | 9 | 2020-02-12T00:18:04.000Z | 2022-02-10T10:38:45.000Z | dashboard/views.py | NazmusShakib/django-p1 | 2b25d7dbbaf8c42aa2e7d66949e2879a94516b0b | [
"MIT"
] | null | null | null | from django.http import HttpResponse
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
@login_required(login_url="/")
def dashboard(request):
return render(request, 'dashboard.html')
@login_required
def mailbox(request):
return render(request, 'mailbox.html')
| 22.571429 | 57 | 0.787975 | 40 | 316 | 6.125 | 0.475 | 0.122449 | 0.146939 | 0.212245 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113924 | 316 | 13 | 58 | 24.307692 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.085443 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
8c5507b9d1bb55728e4f4a251e8820e706b1a799 | 656 | py | Python | SAT/base_element.py | ktodorov/uva-kr-19 | 36780a42cde1df2cf827dc7c4e239c649650bf4e | [
"MIT"
] | null | null | null | SAT/base_element.py | ktodorov/uva-kr-19 | 36780a42cde1df2cf827dc7c4e239c649650bf4e | [
"MIT"
] | null | null | null | SAT/base_element.py | ktodorov/uva-kr-19 | 36780a42cde1df2cf827dc7c4e239c649650bf4e | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class BaseElement(ABC):
# @abstractmethod
# def initialize_from_string(self, text):
# pass
@abstractmethod
def is_correct(self) -> bool:
pass
@abstractmethod
def is_empty(self) -> bool:
pass
@abstractmethod
def contains_emp... | 18.742857 | 64 | 0.609756 | 70 | 656 | 5.542857 | 0.414286 | 0.350515 | 0.378866 | 0.257732 | 0.304124 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002193 | 0.304878 | 656 | 35 | 65 | 18.742857 | 0.848684 | 0.097561 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.304348 | false | 0.304348 | 0.043478 | 0 | 0.391304 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
8b25f6037e053a751271ff053c18e773fd258c8f | 205 | py | Python | settings.py | RafaelDamiani/python-flask-api | ddf442791b751675a1a1782c67542f97b04e1265 | [
"MIT"
] | null | null | null | settings.py | RafaelDamiani/python-flask-api | ddf442791b751675a1a1782c67542f97b04e1265 | [
"MIT"
] | null | null | null | settings.py | RafaelDamiani/python-flask-api | ddf442791b751675a1a1782c67542f97b04e1265 | [
"MIT"
] | null | null | null | from flask import Flask
import json
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///c:/projects/python-flask-api/database.db'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False | 29.285714 | 92 | 0.785366 | 28 | 205 | 5.464286 | 0.678571 | 0.143791 | 0.248366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078049 | 205 | 7 | 93 | 29.285714 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8b344fc4e6614be3bab884930babe230edfee6ab | 34 | py | Python | healthcare/backends/djhealth/__init__.py | caktus/rapidsms-healthcare | 0effdb2036129702c15530510633561d0c43d6d4 | [
"BSD-3-Clause"
] | 9 | 2015-08-31T09:22:28.000Z | 2019-04-27T04:06:00.000Z | healthcare/backends/djhealth/__init__.py | caktus/rapidsms-healthcare | 0effdb2036129702c15530510633561d0c43d6d4 | [
"BSD-3-Clause"
] | null | null | null | healthcare/backends/djhealth/__init__.py | caktus/rapidsms-healthcare | 0effdb2036129702c15530510633561d0c43d6d4 | [
"BSD-3-Clause"
] | 7 | 2015-09-17T00:56:39.000Z | 2020-03-14T11:08:17.000Z | from .storage import DjangoStorage | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8b493414de2402e2f074913fbdba387290a60066 | 57 | py | Python | pentest-scripts/learning-python-for-forensics/Chapter 8/plugins/__init__.py | paulveillard/cybersecurity-penetration-testing | a5afff13ec25afd0cf16ef966d35bddb91518af4 | [
"Apache-2.0"
] | 6 | 2021-12-07T21:02:12.000Z | 2022-03-03T12:08:14.000Z | pentest-scripts/learning-python-for-forensics/Chapter 8/plugins/__init__.py | paulveillard/cybersecurity-penetration-testing | a5afff13ec25afd0cf16ef966d35bddb91518af4 | [
"Apache-2.0"
] | null | null | null | pentest-scripts/learning-python-for-forensics/Chapter 8/plugins/__init__.py | paulveillard/cybersecurity-penetration-testing | a5afff13ec25afd0cf16ef966d35bddb91518af4 | [
"Apache-2.0"
] | 1 | 2022-01-15T23:57:36.000Z | 2022-01-15T23:57:36.000Z | import exif_parser
import id3_parser
import office_parser | 19 | 20 | 0.912281 | 9 | 57 | 5.444444 | 0.555556 | 0.489796 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0.087719 | 57 | 3 | 20 | 19 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8ce37c42961ca61895c0b159b62e2adb5ff12073 | 37 | py | Python | tests/__init__.py | Gokender/minotor | 81a9dd11183fbabfdf0810050636c774cfe00416 | [
"MIT"
] | 3 | 2021-06-19T06:06:47.000Z | 2021-07-31T23:40:45.000Z | tests/__init__.py | Gokender/minotorr | 70ecfbae089d94b7967bdbc01a47a64b79b66bca | [
"MIT"
] | 1 | 2020-07-10T17:03:53.000Z | 2020-07-13T08:58:34.000Z | tests/__init__.py | Gokender/minotorr | 70ecfbae089d94b7967bdbc01a47a64b79b66bca | [
"MIT"
] | null | null | null | """Unit test package for minotor."""
| 18.5 | 36 | 0.675676 | 5 | 37 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 37 | 1 | 37 | 37 | 0.78125 | 0.810811 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.