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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
86dddcddfe77c2b734a7063e01e9782d1701a2c0 | 1,511 | py | Python | great_expectations/core/data_context_key.py | joshuataylor/great_expectations | 19dcead43aef9a833b3aa894a1226714a80ab840 | [
"Apache-2.0"
] | 1 | 2021-06-06T00:44:10.000Z | 2021-06-06T00:44:10.000Z | great_expectations/core/data_context_key.py | joshuataylor/great_expectations | 19dcead43aef9a833b3aa894a1226714a80ab840 | [
"Apache-2.0"
] | 47 | 2020-07-15T06:32:50.000Z | 2022-03-29T12:03:23.000Z | great_expectations/core/data_context_key.py | joshuataylor/great_expectations | 19dcead43aef9a833b3aa894a1226714a80ab840 | [
"Apache-2.0"
] | null | null | null | from abc import ABCMeta, abstractmethod
class DataContextKey(object, metaclass=ABCMeta):
"""DataContextKey objects are used to uniquely identify resources used by the DataContext.
A DataContextKey is designed to support clear naming with multiple representations including a hashable
version making it sui... | 26.508772 | 107 | 0.674388 | 184 | 1,511 | 5.190217 | 0.396739 | 0.051309 | 0.067016 | 0.029319 | 0.172775 | 0.140314 | 0.087958 | 0.087958 | 0 | 0 | 0 | 0 | 0.243547 | 1,511 | 56 | 108 | 26.982143 | 0.835521 | 0.2409 | 0 | 0.333333 | 0 | 0 | 0.002671 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.030303 | 0.030303 | 0.212121 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
8103d4e966869ddca57b6f41e402964e10986396 | 232 | py | Python | util/converter.py | brenns10/love | 1a2a60c510327d91eff9caf32a252141ae00a9eb | [
"MIT"
] | 4 | 2017-02-16T02:18:39.000Z | 2018-01-14T01:56:21.000Z | util/converter.py | brenns10/love | 1a2a60c510327d91eff9caf32a252141ae00a9eb | [
"MIT"
] | 17 | 2017-02-16T17:19:53.000Z | 2018-01-08T01:43:05.000Z | util/converter.py | brenns10/love | 1a2a60c510327d91eff9caf32a252141ae00a9eb | [
"MIT"
] | 4 | 2017-02-16T18:48:18.000Z | 2018-01-08T02:34:07.000Z | # -*- coding: utf-8 -*-
from werkzeug.routing import BaseConverter
class RegexConverter(BaseConverter):
def __init__(self, url_map, *items):
super(RegexConverter, self).__init__(url_map)
self.regex = items[0]
| 23.2 | 53 | 0.689655 | 27 | 232 | 5.555556 | 0.703704 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010582 | 0.185345 | 232 | 9 | 54 | 25.777778 | 0.783069 | 0.090517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
81171023cd51f3019c4093c40f5efea0036507e0 | 255 | py | Python | web2py/applications/rip/modules/Analytics.py | 2spmohanty/vcenter-automation | 1d10b765ef335087902b0194ed12a61e53807987 | [
"Apache-2.0"
] | 1 | 2019-10-02T13:25:03.000Z | 2019-10-02T13:25:03.000Z | web2py/applications/rip/modules/Analytics.py | 2spmohanty/vcenter-automation | 1d10b765ef335087902b0194ed12a61e53807987 | [
"Apache-2.0"
] | null | null | null | web2py/applications/rip/modules/Analytics.py | 2spmohanty/vcenter-automation | 1d10b765ef335087902b0194ed12a61e53807987 | [
"Apache-2.0"
] | 1 | 2021-11-05T09:51:02.000Z | 2021-11-05T09:51:02.000Z | __author__ = 'smrutim'
import requests
import json
def PostVpxData():
URI = "https://vcsa.vmware.com/ph-stg/api/hyper/send?_c=cpbu_vcst_vac_staging.v0&_i=RIP_STAGING_DATA"
def PostHeapAnalysisDate():
pass
def PostMemoryLeakData():
pass | 15 | 105 | 0.737255 | 34 | 255 | 5.205882 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004587 | 0.145098 | 255 | 17 | 106 | 15 | 0.807339 | 0 | 0 | 0.222222 | 0 | 0.111111 | 0.390625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.222222 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
812df00886c4450e2c7dee800417b0d60fefdffe | 538 | py | Python | deprecated/InitializeAgentStates.py | PellelNitram/corona_contact_tracing | df5a6ba18b84397b721893fb5eb89889dc82ab2f | [
"MIT"
] | 6 | 2020-03-21T20:44:54.000Z | 2020-05-14T05:32:49.000Z | deprecated/InitializeAgentStates.py | PellelNitram/corona_contact_tracing | df5a6ba18b84397b721893fb5eb89889dc82ab2f | [
"MIT"
] | null | null | null | deprecated/InitializeAgentStates.py | PellelNitram/corona_contact_tracing | df5a6ba18b84397b721893fb5eb89889dc82ab2f | [
"MIT"
] | 2 | 2020-03-22T15:37:41.000Z | 2020-03-31T10:11:24.000Z | # Generated with SMOP 0.41
from libsmop import *
# InitializeAgentStates.m
@function
def InitializeAgentStates(numberOfAgents=None,initialInfected=None,*args,**kwargs):
varargin = InitializeAgentStates.varargin
nargin = InitializeAgentStates.nargin
agentState=ones(numberOfAgents,1)
# Initialize... | 24.454545 | 83 | 0.745353 | 52 | 538 | 7.557692 | 0.634615 | 0.223919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020089 | 0.167286 | 538 | 22 | 84 | 24.454545 | 0.857143 | 0.236059 | 0 | 0 | 1 | 0 | 0.019704 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0.090909 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
813102b707b7bbdc28fdec720e2668bdf2505236 | 429 | py | Python | django_lazifier/apps/data_table/demo_app/urls.py | hotmit/django-lazifier | a2914b7ced955fa91b1961025e1d3ccc7ac3702a | [
"MIT"
] | 1 | 2017-04-27T19:25:34.000Z | 2017-04-27T19:25:34.000Z | django_lazifier/apps/data_table/demo_app/urls.py | hotmit/django-lazifier | a2914b7ced955fa91b1961025e1d3ccc7ac3702a | [
"MIT"
] | null | null | null | django_lazifier/apps/data_table/demo_app/urls.py | hotmit/django-lazifier | a2914b7ced955fa91b1961025e1d3ccc7ac3702a | [
"MIT"
] | null | null | null | from django.conf.urls import url
from . import views
from django_lazifier.apps.data_table.demo_app.demo_data import generate_sample_data
urlpatterns = [
url(r'^$', views.view_demo_app, name='view_demo_app'),
url(r'^manage/$', views.semi_auto_manual_param_override__manage_demo_app, name='manage_demo_app')... | 35.75 | 103 | 0.74359 | 64 | 429 | 4.609375 | 0.4375 | 0.118644 | 0.183051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135198 | 429 | 11 | 104 | 39 | 0.795148 | 0.037296 | 0 | 0 | 1 | 0 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d48c980ed9edbc0a4244af5a3b8eaad19b6a9d1b | 64,668 | py | Python | ps_typer/type_test/texts.py | Rolv-Apneseth/rolvs-typing-speedtest | 136a5ff4df34ef368074e9f3b187053c53af3660 | [
"MIT"
] | 1 | 2020-10-12T22:41:51.000Z | 2020-10-12T22:41:51.000Z | ps_typer/type_test/texts.py | Rolv-Apneseth/rolvs-typing-speedtest | 136a5ff4df34ef368074e9f3b187053c53af3660 | [
"MIT"
] | 32 | 2020-10-28T16:03:49.000Z | 2021-08-22T12:31:24.000Z | ps_typer/type_test/texts.py | Rolv-Apneseth/ps-typer | 136a5ff4df34ef368074e9f3b187053c53af3660 | [
"MIT"
] | null | null | null | from pathlib import Path
from typing import Generator
import random
# PATHS
PROJECT_FOLDER = Path(__file__).absolute().parents[1]
ASSETS_FOLDER = PROJECT_FOLDER / "assets"
TEXTS_FOLDER = ASSETS_FOLDER / "texts"
BROWN_TEXT = TEXTS_FOLDER / "brown.txt"
WEBTEXT_TEXT = TEXTS_FOLDER / "webtext.txt"
GUTENBERG_TEXT = TEXTS_F... | 179.135734 | 695 | 0.767737 | 11,000 | 64,668 | 4.507545 | 0.291818 | 0.006353 | 0.001815 | 0.002178 | 0.009681 | 0.005284 | 0.001573 | 0 | 0 | 0 | 0 | 0.010737 | 0.187744 | 64,668 | 360 | 696 | 179.633333 | 0.933177 | 0.006665 | 0 | 0.006116 | 0 | 0.385321 | 0.94047 | 0.000557 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006116 | false | 0.018349 | 0.015291 | 0 | 0.021407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d49190c65649ee0f1cd77cab3806caaeda2edd87 | 5,925 | py | Python | tests/unit/modules/nxos/nxos_n5k.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 19 | 2016-01-29T14:37:52.000Z | 2022-03-30T18:08:01.000Z | tests/unit/modules/nxos/nxos_n5k.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 223 | 2016-03-02T16:39:41.000Z | 2022-03-03T12:26:35.000Z | tests/unit/modules/nxos/nxos_n5k.py | Noah-Huppert/salt | 998c382f5f2c3b4cbf7d96aa6913ada6993909b3 | [
"Apache-2.0"
] | 64 | 2016-02-04T19:45:26.000Z | 2021-12-15T02:02:31.000Z | # -*- coding: utf-8 -*-
"""
:codeauthor: Thomas Stoner <tmstoner@cisco.com>
"""
# Copyright (c) 2018 Cisco and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... | 39.765101 | 116 | 0.555781 | 673 | 5,925 | 4.875186 | 0.28529 | 0.054861 | 0.01463 | 0.043889 | 0.669918 | 0.669918 | 0.669918 | 0.669918 | 0.669918 | 0.669918 | 0 | 0.049708 | 0.276793 | 5,925 | 148 | 117 | 40.033784 | 0.715986 | 0.141266 | 0 | 0.833333 | 0 | 0.047619 | 0.945598 | 0.095747 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.02381 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d49d6f7d3294dc1be8ddac769e650e95458367b6 | 6,541 | py | Python | btk20_src/square_root/square_root.py | mmahrous90/distant_speech_recognition | 083e663d7c1eb6e5fe89c40ba2b43a30bf9c65b5 | [
"MIT"
] | null | null | null | btk20_src/square_root/square_root.py | mmahrous90/distant_speech_recognition | 083e663d7c1eb6e5fe89c40ba2b43a30bf9c65b5 | [
"MIT"
] | null | null | null | btk20_src/square_root/square_root.py | mmahrous90/distant_speech_recognition | 083e663d7c1eb6e5fe89c40ba2b43a30bf9c65b5 | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 36.954802 | 92 | 0.756765 | 919 | 6,541 | 4.875952 | 0.190424 | 0.1763 | 0.071413 | 0.107119 | 0.590047 | 0.464405 | 0.407052 | 0.293015 | 0.195938 | 0.165142 | 0 | 0.025023 | 0.162972 | 6,541 | 176 | 93 | 37.164773 | 0.793425 | 0.0451 | 0 | 0.226277 | 1 | 0 | 0.02662 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.182482 | false | 0.014599 | 0.138686 | 0.145985 | 0.547445 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d4a0b5e88fa6bde4d08745995dc36746fc0a3909 | 6,907 | py | Python | Python_files/INRIX_data_preprocessing_20_flow_conservation_adjustment_LS_Apr_ext.py | jingzbu/InverseVITraffic | c0d33d91bdd3c014147d58866c1a2b99fb8a9608 | [
"MIT"
] | null | null | null | Python_files/INRIX_data_preprocessing_20_flow_conservation_adjustment_LS_Apr_ext.py | jingzbu/InverseVITraffic | c0d33d91bdd3c014147d58866c1a2b99fb8a9608 | [
"MIT"
] | null | null | null | Python_files/INRIX_data_preprocessing_20_flow_conservation_adjustment_LS_Apr_ext.py | jingzbu/InverseVITraffic | c0d33d91bdd3c014147d58866c1a2b99fb8a9608 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
__author__ = "Jing Zhang"
__email__ = "jingzbu@gmail.com"
__status__ = "Development"
from util import *
import numpy as np
from numpy.linalg import inv
# load the original link counts data
import json
with open('../temp_files/link_day_minute_Apr_dict_ext_JSON.json', 'r') as json_file:
... | 41.113095 | 105 | 0.73954 | 1,252 | 6,907 | 3.559904 | 0.069489 | 0.20193 | 0.075387 | 0.082567 | 0.800763 | 0.708773 | 0.475881 | 0.347094 | 0.16289 | 0.126991 | 0 | 0.019822 | 0.138121 | 6,907 | 167 | 106 | 41.359281 | 0.728876 | 0.033734 | 0 | 0.046875 | 0 | 0 | 0.075942 | 0.016959 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 0.03125 | 0.007813 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d4a39a48ff6c65557a290eef4e57e92cfd0dbb4f | 245 | py | Python | afternoon_sessions/alive/boilerplate/util/network/__init__.py | renewfrl/python2 | 61abd0a8215ad6c8d90e8da40c7d9cfe492b8d2d | [
"CNRI-Python"
] | null | null | null | afternoon_sessions/alive/boilerplate/util/network/__init__.py | renewfrl/python2 | 61abd0a8215ad6c8d90e8da40c7d9cfe492b8d2d | [
"CNRI-Python"
] | null | null | null | afternoon_sessions/alive/boilerplate/util/network/__init__.py | renewfrl/python2 | 61abd0a8215ad6c8d90e8da40c7d9cfe492b8d2d | [
"CNRI-Python"
] | null | null | null | import ssl
import requests
from datetime import datetime
def check_server(url):
start = datetime.now().strftime("s")
res = requests.get(url)
stop = datetime.now().strftime("s")
if res.status_code == 200:
print("jippy")
| 20.416667 | 40 | 0.661224 | 33 | 245 | 4.848485 | 0.666667 | 0.1375 | 0.2375 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.204082 | 245 | 11 | 41 | 22.272727 | 0.805128 | 0 | 0 | 0 | 0 | 0 | 0.028689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0.111111 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d4a6a0897e2315f9dc182bc7dc183ee0f08bc9db | 787 | py | Python | lib/gobbet/wordlist.py | simoncozens/gobbet | 07a61527636f1e4eedf5f29bc4bb560ef5cf530e | [
"MIT"
] | null | null | null | lib/gobbet/wordlist.py | simoncozens/gobbet | 07a61527636f1e4eedf5f29bc4bb560ef5cf530e | [
"MIT"
] | null | null | null | lib/gobbet/wordlist.py | simoncozens/gobbet | 07a61527636f1e4eedf5f29bc4bb560ef5cf530e | [
"MIT"
] | null | null | null | from collections import Counter, defaultdict
def pairwise(a):
return zip(a, a[1::])
class Wordlist(Counter):
def bigrams(self):
bigrams = defaultdict(set)
for word in self.keys():
for a,b in pairwise(word):
bigrams[a+b].add(word)
return bigrams
def filter_popularity(self, threshold=3):
return Wo... | 28.107143 | 81 | 0.709022 | 125 | 787 | 4.376 | 0.336 | 0.065814 | 0.082267 | 0.109689 | 0.281536 | 0.281536 | 0.281536 | 0.281536 | 0.281536 | 0.281536 | 0 | 0.00458 | 0.167726 | 787 | 27 | 82 | 29.148148 | 0.830534 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0.05 | 0.25 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d4adc8e6d9a5e1f3c7782171f8abee8c070a4325 | 291 | py | Python | models.py | reedkavner/truthtk | 53707b2900a74d7b25ae4d45c22a855d6a4e7972 | [
"MIT"
] | 1 | 2017-02-15T16:39:00.000Z | 2017-02-15T16:39:00.000Z | models.py | reedkavner/truthtk | 53707b2900a74d7b25ae4d45c22a855d6a4e7972 | [
"MIT"
] | null | null | null | models.py | reedkavner/truthtk | 53707b2900a74d7b25ae4d45c22a855d6a4e7972 | [
"MIT"
] | null | null | null | from google.appengine.ext import ndb
#venue, title, perfid, cast, date_time
class Tweet(ndb.Model):
text = ndb.StringProperty()
tid = ndb.IntegerProperty()
donation = ndb.IntegerProperty()
donation_successful = ndb.BooleanProperty()
date_added = ndb.DateTimeProperty(auto_now_add=True) | 32.333333 | 53 | 0.783505 | 37 | 291 | 6.027027 | 0.756757 | 0.161435 | 0.233184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106529 | 291 | 9 | 53 | 32.333333 | 0.857692 | 0.127148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
d4b925bf14f314a8f2d74cc4008397a4721d7cf4 | 2,597 | py | Python | pygsp/optimization.py | naspert/pygsp | 361f0258a210193f482c6197ea879765a9041e91 | [
"BSD-3-Clause"
] | null | null | null | pygsp/optimization.py | naspert/pygsp | 361f0258a210193f482c6197ea879765a9041e91 | [
"BSD-3-Clause"
] | 1 | 2018-03-29T09:39:45.000Z | 2018-03-29T09:39:45.000Z | pygsp/optimization.py | naspert/pygsp | 361f0258a210193f482c6197ea879765a9041e91 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
r"""
The :mod:`pygsp.optimization` module provides tools to solve convex
optimization problems on graphs.
"""
from pygsp import utils
logger = utils.build_logger(__name__)
def _import_pyunlocbox():
try:
from pyunlocbox import functions, solvers
except Exception:
rai... | 27.052083 | 101 | 0.581055 | 365 | 2,597 | 4.054795 | 0.378082 | 0.008108 | 0.021622 | 0.033784 | 0.077027 | 0.077027 | 0.058108 | 0.058108 | 0.035135 | 0.035135 | 0 | 0.020948 | 0.301502 | 2,597 | 95 | 102 | 27.336842 | 0.794928 | 0.519446 | 0 | 0.181818 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242424 | false | 0 | 0.151515 | 0.181818 | 0.606061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d4bbd08dc8733618fb52dedb182d63acdc72370c | 168 | py | Python | Basic's/If Statements/if statements2.py | Fahad-Hafeez/Python-Learning | c37f26e10c1d23f5277327c9bc474c19747f2b90 | [
"Apache-2.0"
] | null | null | null | Basic's/If Statements/if statements2.py | Fahad-Hafeez/Python-Learning | c37f26e10c1d23f5277327c9bc474c19747f2b90 | [
"Apache-2.0"
] | null | null | null | Basic's/If Statements/if statements2.py | Fahad-Hafeez/Python-Learning | c37f26e10c1d23f5277327c9bc474c19747f2b90 | [
"Apache-2.0"
] | null | null | null | price = 1000000
has_good_credit = True
if has_good_credit:
down_payment = 0.1 * price
else:
down_paymet = 0.2 * price
print(f"Down Payment: £{down_payment}") | 16.8 | 39 | 0.702381 | 28 | 168 | 4 | 0.607143 | 0.294643 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080882 | 0.190476 | 168 | 10 | 39 | 16.8 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0.171598 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
d4c17a27a61780b431916b2634585de035778ce8 | 7,122 | py | Python | python/paddle/nn/functional/__init__.py | TochkaAI/Paddle | 481ee79fc92304f33165f7ed0679f16c36862cea | [
"Apache-2.0"
] | 3 | 2021-06-08T14:24:36.000Z | 2021-06-08T14:24:38.000Z | python/paddle/nn/functional/__init__.py | chenyanlei1/Paddle | f249a5f05f0f5832279244d88c8cb4eaaad1fbd4 | [
"Apache-2.0"
] | null | null | null | python/paddle/nn/functional/__init__.py | chenyanlei1/Paddle | f249a5f05f0f5832279244d88c8cb4eaaad1fbd4 | [
"Apache-2.0"
] | 1 | 2021-06-17T06:52:01.000Z | 2021-06-17T06:52:01.000Z | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | 35.788945 | 74 | 0.653328 | 870 | 7,122 | 5.182759 | 0.206897 | 0.157906 | 0.234198 | 0.136616 | 0.59104 | 0.395875 | 0.218008 | 0.099357 | 0.080727 | 0.062542 | 0 | 0.061295 | 0.264673 | 7,122 | 198 | 75 | 35.969697 | 0.799694 | 0.234906 | 0 | 0 | 0 | 0 | 0.169069 | 0.010859 | 0 | 0 | 0 | 0.005051 | 0 | 1 | 0 | false | 0 | 0.505618 | 0 | 0.505618 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d4c338cd184a56765f445b79e0e5c95b11693d80 | 412 | py | Python | packages/lrn/main.py | mallegrini/learn | 4f9cc8ca773e7e790cd573fb7b0fae78979c5996 | [
"MIT"
] | 1 | 2019-11-17T11:00:46.000Z | 2019-11-17T11:00:46.000Z | packages/lrn/main.py | mallegrini/learn | 4f9cc8ca773e7e790cd573fb7b0fae78979c5996 | [
"MIT"
] | null | null | null | packages/lrn/main.py | mallegrini/learn | 4f9cc8ca773e7e790cd573fb7b0fae78979c5996 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
from gnr.app.gnrdbo import GnrDboTable, GnrDboPackage
class Package(GnrDboPackage):
def config_attributes(self):
return dict(comment='lrn package',sqlschema='lrn',sqlprefix=True,
name_short='Lrn', name_long='Lrn', name_full='Lrn')
... | 27.466667 | 73 | 0.628641 | 49 | 412 | 5.183673 | 0.714286 | 0.070866 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003268 | 0.257282 | 412 | 14 | 74 | 29.428571 | 0.826797 | 0.087379 | 0 | 0.222222 | 0 | 0 | 0.061497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
d4cb39621d67307cdd186ab8544d42e95cc38eab | 345 | py | Python | hrm/project/validator.py | jprsurendra/pocs | 8e4321a16f342366a47ce699b5955d42632d4b69 | [
"Apache-2.0"
] | null | null | null | hrm/project/validator.py | jprsurendra/pocs | 8e4321a16f342366a47ce699b5955d42632d4b69 | [
"Apache-2.0"
] | null | null | null | hrm/project/validator.py | jprsurendra/pocs | 8e4321a16f342366a47ce699b5955d42632d4b69 | [
"Apache-2.0"
] | null | null | null | from django.core.validators import RegexValidator
zip_validate = RegexValidator(r'^[0-9]*$', 'Please enter valid zip code.')
phone_validate = RegexValidator(r'^\s*\d{5}-\d{5}\s*$',
'Please enter valid phone number. Phone number is allowed in following '
... | 49.285714 | 104 | 0.597101 | 41 | 345 | 4.97561 | 0.658537 | 0.215686 | 0.22549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056225 | 0.278261 | 345 | 7 | 105 | 49.285714 | 0.763052 | 0 | 0 | 0 | 0 | 0 | 0.419075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
d4e8890b3642bd326a60fb1e3b69c9b651643e95 | 2,682 | py | Python | tracker/utils/query/__init__.py | dti-research/tracker | f2384c0c7b631aa9efd39bf606cda8b85187fcc6 | [
"BSD-3-Clause"
] | 1 | 2019-07-25T18:02:37.000Z | 2019-07-25T18:02:37.000Z | tracker/utils/query/__init__.py | dti-research/tracker | f2384c0c7b631aa9efd39bf606cda8b85187fcc6 | [
"BSD-3-Clause"
] | 10 | 2019-08-29T12:27:35.000Z | 2020-01-04T18:40:48.000Z | tracker/utils/query/__init__.py | dti-research/tracker | f2384c0c7b631aa9efd39bf606cda8b85187fcc6 | [
"BSD-3-Clause"
] | null | null | null | # Copyright 2017-2019 TensorHub, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 23.526316 | 76 | 0.629381 | 375 | 2,682 | 4.288 | 0.328 | 0.034826 | 0.047886 | 0.052239 | 0.224502 | 0.224502 | 0.224502 | 0.169154 | 0.169154 | 0.144279 | 0 | 0.007519 | 0.256152 | 2,682 | 113 | 77 | 23.734513 | 0.798496 | 0.206189 | 0 | 0.338462 | 0 | 0 | 0.047754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.276923 | false | 0.015385 | 0.061538 | 0.123077 | 0.676923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
be1db6b69e09757436212218623e563ecc20f18a | 376 | py | Python | script/ground_server.py | ycpengpeng/pva_tracker | 7c1f188dc641ed2d29e0605dd201811e20ef629f | [
"BSD-3-Clause"
] | null | null | null | script/ground_server.py | ycpengpeng/pva_tracker | 7c1f188dc641ed2d29e0605dd201811e20ef629f | [
"BSD-3-Clause"
] | null | null | null | script/ground_server.py | ycpengpeng/pva_tracker | 7c1f188dc641ed2d29e0605dd201811e20ef629f | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
import rospy
import dynamic_reconfigure.server
from pva_tracker.cfg import PVA_Ground_TrackerConfig
def severCallback(config, level):
return config
if __name__ == '__main__':
rospy.init_node('ground_reconfigure_server', anonymous=False)
server = dynamic_reconfigure.server.Server(P... | 25.066667 | 87 | 0.792553 | 46 | 376 | 6.086957 | 0.608696 | 0.182143 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12234 | 376 | 15 | 88 | 25.066667 | 0.848485 | 0.053191 | 0 | 0 | 0 | 0 | 0.092697 | 0.070225 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
be2039c5b86943a691572012167bc5cef7cc60c5 | 83 | py | Python | setup.py | sl1-1/weasyl | d4f6bf3e33b85a2289a451d95d5b90ff24f5d539 | [
"Apache-2.0"
] | 1 | 2019-02-15T04:21:48.000Z | 2019-02-15T04:21:48.000Z | setup.py | sl1-1/weasyl | d4f6bf3e33b85a2289a451d95d5b90ff24f5d539 | [
"Apache-2.0"
] | 254 | 2017-12-23T19:36:43.000Z | 2020-04-14T21:46:13.000Z | setup.py | sl1-1/weasyl | d4f6bf3e33b85a2289a451d95d5b90ff24f5d539 | [
"Apache-2.0"
] | 1 | 2017-12-23T18:42:16.000Z | 2017-12-23T18:42:16.000Z | from setuptools import setup
setup(
name='weasyl',
packages=['weasyl'],
)
| 11.857143 | 28 | 0.650602 | 9 | 83 | 6 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 83 | 6 | 29 | 13.833333 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
be27e7899c21618317de02ffd0df9c2af9c6c37a | 120 | py | Python | src/ck/upper_cheminp.py | gywukun09/GPS | ce474f4afbcb64d46e85f04675e63343d5b65b47 | [
"MIT"
] | 18 | 2017-08-08T16:46:21.000Z | 2021-11-24T06:43:08.000Z | src/ck/upper_cheminp.py | haoxy97/GPS | 3da6d3a7410b7b7e5340373f206a1833759d5acf | [
"MIT"
] | 1 | 2019-12-24T11:53:18.000Z | 2019-12-24T11:53:18.000Z | src/ck/upper_cheminp.py | haoxy97/GPS | 3da6d3a7410b7b7e5340373f206a1833759d5acf | [
"MIT"
] | 14 | 2017-07-08T03:17:37.000Z | 2022-01-10T12:33:27.000Z | name = 'therm_PRF.dat'
fin = open(name,'r')
fout = open(name+'_upper','w')
for line in fin:
fout.write(line.upper())
| 15 | 30 | 0.641667 | 21 | 120 | 3.571429 | 0.666667 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141667 | 120 | 7 | 31 | 17.142857 | 0.728155 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07715c25a85bba139951d60478ca8b68467c7702 | 22,654 | py | Python | lws_pb2.py | dabankio/rpc-sync | dd4cda16a70b9ea6d6270f1e326cedb35e414ebb | [
"MIT"
] | null | null | null | lws_pb2.py | dabankio/rpc-sync | dd4cda16a70b9ea6d6270f1e326cedb35e414ebb | [
"MIT"
] | null | null | null | lws_pb2.py | dabankio/rpc-sync | dd4cda16a70b9ea6d6270f1e326cedb35e414ebb | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: dbp/lws.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_d... | 37.631229 | 1,828 | 0.727907 | 2,910 | 22,654 | 5.402406 | 0.076976 | 0.061574 | 0.06679 | 0.051778 | 0.711914 | 0.659691 | 0.650595 | 0.639908 | 0.627441 | 0.616945 | 0 | 0.042402 | 0.140108 | 22,654 | 601 | 1,829 | 37.693844 | 0.76463 | 0.029178 | 0 | 0.690909 | 1 | 0.001818 | 0.165347 | 0.102148 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.007273 | 0 | 0.007273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
078319dc51e9c9edf93d833688f4ddd6fe74e0fa | 187 | py | Python | services/director-v2/src/simcore_service_director_v2/api/routes/health.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 25 | 2018-04-13T12:44:12.000Z | 2022-03-12T15:01:17.000Z | services/director-v2/src/simcore_service_director_v2/api/routes/health.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 2,553 | 2018-01-18T17:11:55.000Z | 2022-03-31T16:26:40.000Z | services/director-v2/src/simcore_service_director_v2/api/routes/health.py | colinRawlings/osparc-simcore | bf2f18d5bc1e574d5f4c238d08ad15156184c310 | [
"MIT"
] | 20 | 2018-01-18T19:45:33.000Z | 2022-03-29T07:08:47.000Z | from typing import Dict
from fastapi import APIRouter
router = APIRouter()
@router.get("/")
async def check_service_health() -> Dict[str, str]:
return {"msg": "I am healthy :-)"}
| 17 | 51 | 0.679144 | 25 | 187 | 5 | 0.76 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171123 | 187 | 10 | 52 | 18.7 | 0.806452 | 0 | 0 | 0 | 0 | 0 | 0.106952 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
07860a803b014dcbb39639d9c7817263428033f8 | 64 | py | Python | login.py | feidie666/42_02 | 02698b1a4d5759834bf17a5ffb0ba91cd5c0720a | [
"MIT"
] | null | null | null | login.py | feidie666/42_02 | 02698b1a4d5759834bf17a5ffb0ba91cd5c0720a | [
"MIT"
] | null | null | null | login.py | feidie666/42_02 | 02698b1a4d5759834bf17a5ffb0ba91cd5c0720a | [
"MIT"
] | null | null | null | num1 = 100 #经理
num2 = 200 #zhangsan
num3 = 300 #zhangsan
| 10.666667 | 22 | 0.609375 | 9 | 64 | 4.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.296875 | 64 | 5 | 23 | 12.8 | 0.6 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07a5651290cb0745e03ed7273969097de9000c31 | 92 | py | Python | ABC/A/0208.py | taro-masuda/AtCoder | e8cb050260c1dff4ef61a27d1a3a2a8029fc939a | [
"MIT"
] | null | null | null | ABC/A/0208.py | taro-masuda/AtCoder | e8cb050260c1dff4ef61a27d1a3a2a8029fc939a | [
"MIT"
] | null | null | null | ABC/A/0208.py | taro-masuda/AtCoder | e8cb050260c1dff4ef61a27d1a3a2a8029fc939a | [
"MIT"
] | null | null | null | A, B = map(int, input().split())
if 6*A < B or A > B:
print('No')
else:
print('Yes') | 18.4 | 32 | 0.5 | 18 | 92 | 2.555556 | 0.722222 | 0.130435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.25 | 92 | 5 | 33 | 18.4 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0.053763 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07c995410ec452d4323eca68b5a83a6ab3c2b291 | 690 | py | Python | __init__.py | perilib/perilib-python-robotis-dynamixel2 | 3fd8349f4355ae5da51033623b1d3c419e2fcbda | [
"MIT"
] | 2 | 2019-02-21T11:00:12.000Z | 2021-01-17T02:53:15.000Z | __init__.py | perilib/perilib-python-robotis-dynamixel2 | 3fd8349f4355ae5da51033623b1d3c419e2fcbda | [
"MIT"
] | null | null | null | __init__.py | perilib/perilib-python-robotis-dynamixel2 | 3fd8349f4355ae5da51033623b1d3c419e2fcbda | [
"MIT"
] | 1 | 2019-02-13T12:21:24.000Z | 2019-02-13T12:21:24.000Z | """
This module provides protocol and packet definitions for communicating with
newer Robotis Dynamixel servos that implement version 2 of the Dynamixel
protocol. In addition to the basic protocol, it also abstracts common sets of
transactions (such as writing new values to control table registers) into simple
servo cl... | 40.588235 | 80 | 0.827536 | 83 | 690 | 6.879518 | 0.759036 | 0.087566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011725 | 0.134783 | 690 | 16 | 81 | 43.125 | 0.944724 | 0.621739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
07d9f74cf63411c3d66210ffa14c2375412449f3 | 146 | py | Python | sokoapp/sweepstake/tests/admin_tests.py | Mercy-Nekesa/sokoapp | 6c7bc4c1278b7223226124a49fc33c5b8b6b617a | [
"MIT"
] | 1 | 2019-04-01T05:52:37.000Z | 2019-04-01T05:52:37.000Z | sokoapp/sweepstake/tests/admin_tests.py | Mercy-Nekesa/sokoapp | 6c7bc4c1278b7223226124a49fc33c5b8b6b617a | [
"MIT"
] | 1 | 2015-03-11T16:18:12.000Z | 2015-03-11T16:18:12.000Z | sokoapp/sweepstake/tests/admin_tests.py | Mercy-Nekesa/sokoapp | 6c7bc4c1278b7223226124a49fc33c5b8b6b617a | [
"MIT"
] | null | null | null | from django.test import TestCase
class SampleTestThree(TestCase):
def testThree(self):
three = 3
self.assertEqual(three, 3),
| 20.857143 | 35 | 0.678082 | 17 | 146 | 5.823529 | 0.764706 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.232877 | 146 | 6 | 36 | 24.333333 | 0.866071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
07dc40c750fe77c48b149e7f9f4ddb628668a80f | 60 | py | Python | src/models/stochastic/bbb/quantized/__init__.py | tjiagoM/quantised-bayesian-nets | c6ff1db376c366633afa2845b7527cc144ffd3b2 | [
"BSD-3-Clause"
] | 13 | 2021-02-23T09:48:10.000Z | 2021-12-30T18:04:30.000Z | src/models/stochastic/bbb/quantized/__init__.py | tjiagoM/quantised-bayesian-nets | c6ff1db376c366633afa2845b7527cc144ffd3b2 | [
"BSD-3-Clause"
] | 1 | 2021-06-15T16:24:36.000Z | 2021-06-15T16:24:36.000Z | src/models/stochastic/bbb/quantized/__init__.py | tjiagoM/quantised-bayesian-nets | c6ff1db376c366633afa2845b7527cc144ffd3b2 | [
"BSD-3-Clause"
] | 1 | 2021-06-15T14:53:20.000Z | 2021-06-15T14:53:20.000Z | NOISE_SCALE = float(0.02362204724)
NOISE_ZERO_POINT = int(0) | 30 | 34 | 0.8 | 10 | 60 | 4.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 0.083333 | 60 | 2 | 35 | 30 | 0.581818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07f0191eb9622c9bd6e944572e72f9884adf7e01 | 20 | py | Python | testpkg/__init__.py | iUnknwn/PythonImportDemo | 8402ec9b63d6abb3caec4cdff577eda579c7b53f | [
"MIT"
] | null | null | null | testpkg/__init__.py | iUnknwn/PythonImportDemo | 8402ec9b63d6abb3caec4cdff577eda579c7b53f | [
"MIT"
] | null | null | null | testpkg/__init__.py | iUnknwn/PythonImportDemo | 8402ec9b63d6abb3caec4cdff577eda579c7b53f | [
"MIT"
] | null | null | null | __all__ = ["submod"] | 20 | 20 | 0.65 | 2 | 20 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 20 | 1 | 20 | 20 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
07faddec54d39b572808542548be1e6e57d98c78 | 1,761 | py | Python | zebra/models.py | inhersight/django-zebra | 40e83f3e8979fcb615bc07c6a8069fa6d8776a7b | [
"MIT"
] | null | null | null | zebra/models.py | inhersight/django-zebra | 40e83f3e8979fcb615bc07c6a8069fa6d8776a7b | [
"MIT"
] | null | null | null | zebra/models.py | inhersight/django-zebra | 40e83f3e8979fcb615bc07c6a8069fa6d8776a7b | [
"MIT"
] | null | null | null | from builtins import object
from django.db import models
from zebra import mixins
from zebra.conf import options
class StripeCustomer(models.Model, mixins.StripeMixin, mixins.StripeCustomerMixin):
stripe_customer_id = models.CharField(max_length=50, blank=True, null=True)
class Meta(object):
abstrac... | 28.868852 | 91 | 0.70812 | 204 | 1,761 | 5.946078 | 0.382353 | 0.057708 | 0.049464 | 0.075845 | 0.298434 | 0.192086 | 0.166529 | 0.166529 | 0.166529 | 0.166529 | 0 | 0.002865 | 0.207269 | 1,761 | 61 | 92 | 28.868852 | 0.866046 | 0.093129 | 0 | 0.351351 | 0 | 0 | 0.003802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0.054054 | 0.108108 | 0.108108 | 0.783784 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 3 |
6af1ef93f1b79a5cb395ef687ee433f938b0927d | 175 | py | Python | coolPro/app/module1/test_print_funs.py | airwindow/Python-Standard-Project | f975350b8eb05466198ae7e548b7ad63837fbd36 | [
"Apache-2.0"
] | null | null | null | coolPro/app/module1/test_print_funs.py | airwindow/Python-Standard-Project | f975350b8eb05466198ae7e548b7ad63837fbd36 | [
"Apache-2.0"
] | null | null | null | coolPro/app/module1/test_print_funs.py | airwindow/Python-Standard-Project | f975350b8eb05466198ae7e548b7ad63837fbd36 | [
"Apache-2.0"
] | null | null | null | from ..module2.print_funs import print_sth
def test_funs_from_other_modules(s):
print_sth(s)
if __name__ == "__main__":
s = 'test in main'
test_funs_from_other_modules(s) | 21.875 | 42 | 0.777143 | 30 | 175 | 3.9 | 0.5 | 0.136752 | 0.205128 | 0.290598 | 0.42735 | 0.42735 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.12 | 175 | 8 | 43 | 21.875 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6af4e842a10a2c0f26ecd9eb1209702602cf9c3b | 1,179 | py | Python | applications/cli/commands/model/model.py | starcell/deepcell-ncluster | 885d6b3678c1413ecdd8681c08306402484706e9 | [
"Apache-2.0"
] | null | null | null | applications/cli/commands/model/model.py | starcell/deepcell-ncluster | 885d6b3678c1413ecdd8681c08306402484706e9 | [
"Apache-2.0"
] | null | null | null | applications/cli/commands/model/model.py | starcell/deepcell-ncluster | 885d6b3678c1413ecdd8681c08306402484706e9 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2019 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 29.475 | 81 | 0.743851 | 167 | 1,179 | 5.173653 | 0.580838 | 0.069444 | 0.059028 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008273 | 0.179813 | 1,179 | 39 | 82 | 30.230769 | 0.885212 | 0.474131 | 0 | 0 | 0 | 0 | 0.051327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.066667 | 0.466667 | 0 | 0.533333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
6af7754979884d1db68e7a1b431f90e158f94179 | 37 | py | Python | 04_Selenium/framework/core/configuration.py | twiindan/selenium_lessons | 798557e8f584f9e6655414c13f232017483f0439 | [
"Apache-2.0"
] | null | null | null | 04_Selenium/framework/core/configuration.py | twiindan/selenium_lessons | 798557e8f584f9e6655414c13f232017483f0439 | [
"Apache-2.0"
] | null | null | null | 04_Selenium/framework/core/configuration.py | twiindan/selenium_lessons | 798557e8f584f9e6655414c13f232017483f0439 | [
"Apache-2.0"
] | 1 | 2020-07-16T09:49:47.000Z | 2020-07-16T09:49:47.000Z | webdriver_configuration = 'Firefox'
| 12.333333 | 35 | 0.810811 | 3 | 37 | 9.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 2 | 36 | 18.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed081f2ead1e7832273a066b2899e83a1292ec33 | 254 | py | Python | python_venv/__main__.py | jmknoble/python-venv | 698aff4341c358b0e1469c845398f275a3df1cb8 | [
"MIT"
] | 1 | 2021-06-04T15:24:45.000Z | 2021-06-04T15:24:45.000Z | python_venv/__main__.py | jmknoble/python-venv | 698aff4341c358b0e1469c845398f275a3df1cb8 | [
"MIT"
] | 6 | 2021-06-04T15:06:31.000Z | 2021-09-24T06:04:45.000Z | python_venv/__main__.py | jmknoble/python-venv | 698aff4341c358b0e1469c845398f275a3df1cb8 | [
"MIT"
] | null | null | null | """Wrapper around `~python_venv.cli`:py:mod:."""
from __future__ import absolute_import
import sys
from . import cli
def main():
"""Provide a generic main entry point."""
sys.exit(cli.main(*sys.argv))
if __name__ == "__main__":
main()
| 14.941176 | 48 | 0.661417 | 35 | 254 | 4.4 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 254 | 16 | 49 | 15.875 | 0.740385 | 0.307087 | 0 | 0 | 0 | 0 | 0.048485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
ed2d59ad7d37d81e7595e8cf9b466a618fec4182 | 5,079 | py | Python | Audio.py | ishine/GST_Tacotron | 0c3d8e51042dc5d49abc842b59a13ea70f927f9d | [
"MIT"
] | 21 | 2020-02-23T03:35:27.000Z | 2021-11-01T11:08:18.000Z | Audio.py | ishine/GST_Tacotron | 0c3d8e51042dc5d49abc842b59a13ea70f927f9d | [
"MIT"
] | 6 | 2020-03-14T15:43:38.000Z | 2021-07-06T09:06:57.000Z | Audio.py | ishine/GST_Tacotron | 0c3d8e51042dc5d49abc842b59a13ea70f927f9d | [
"MIT"
] | 7 | 2020-03-07T11:33:09.000Z | 2021-11-28T16:19:01.000Z | # https://github.com/keithito/tacotron/blob/master/util/audio.py
# https://github.com/carpedm20/multi-speaker-tacotron-tensorflow/blob/master/audio/__init__.py
# I only changed the hparams to usual parameters from oroginal code.
import numpy as np
from scipy import signal
import librosa.filters
import librosa
def pr... | 49.794118 | 166 | 0.741681 | 848 | 5,079 | 4.058962 | 0.168632 | 0.045322 | 0.100232 | 0.10459 | 0.576119 | 0.567984 | 0.521209 | 0.490122 | 0.480825 | 0.353283 | 0 | 0.017812 | 0.148848 | 5,079 | 102 | 167 | 49.794118 | 0.778395 | 0.079543 | 0 | 0.147059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.279412 | false | 0 | 0.058824 | 0.132353 | 0.617647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed3056fafc3a40958bd9508ee71576e9021be55b | 80 | py | Python | CCF/CSP/2018/18033u.py | cnsteven/online-judge | 60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7 | [
"MIT"
] | 1 | 2019-05-04T10:28:32.000Z | 2019-05-04T10:28:32.000Z | CCF/CSP/2018/18033u.py | cnsteven/online-judge | 60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7 | [
"MIT"
] | null | null | null | CCF/CSP/2018/18033u.py | cnsteven/online-judge | 60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7 | [
"MIT"
] | 3 | 2020-12-31T04:36:38.000Z | 2021-07-25T07:39:31.000Z | n, m = map(int, input().split())
for _ in range(n):
k, v = input().split()
| 16 | 32 | 0.525 | 14 | 80 | 2.928571 | 0.785714 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 80 | 4 | 33 | 20 | 0.66129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed30848abdf4720c84665c28ca35bd77c87606fc | 80 | py | Python | wiki/__init__.py | qaisjp/cogs | e9b3094722980722419905aa8af07c77ebb0ea6c | [
"MIT"
] | 2 | 2020-06-04T11:16:39.000Z | 2020-06-27T08:31:57.000Z | wiki/__init__.py | qaisjp/cogs | e9b3094722980722419905aa8af07c77ebb0ea6c | [
"MIT"
] | 2 | 2020-06-04T11:07:02.000Z | 2020-08-03T16:54:36.000Z | wiki/__init__.py | qaisjp/cogs | e9b3094722980722419905aa8af07c77ebb0ea6c | [
"MIT"
] | 2 | 2020-07-08T18:28:08.000Z | 2021-02-06T22:18:05.000Z | from .wiki import wiki
def setup(bot):
cog = wiki(bot)
bot.add_cog(cog) | 16 | 22 | 0.65 | 14 | 80 | 3.642857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225 | 80 | 5 | 23 | 16 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed43f931aba6d492b179198fb7f7ca3479b9a1c0 | 576 | py | Python | modules/Music/errors.py | master142009/Mbot-Nextgen | adfe0db5c9503c0a9274a22f05493431d3454c51 | [
"MIT"
] | null | null | null | modules/Music/errors.py | master142009/Mbot-Nextgen | adfe0db5c9503c0a9274a22f05493431d3454c51 | [
"MIT"
] | null | null | null | modules/Music/errors.py | master142009/Mbot-Nextgen | adfe0db5c9503c0a9274a22f05493431d3454c51 | [
"MIT"
] | null | null | null | from nextcord.ext.commands.errors import CheckFailure
class NotConnectedToVoice(CheckFailure):
"""User not connected to any voice channel"""
pass
class PlayerNotConnected(CheckFailure):
"""Player not connected"""
pass
class MustBeSameChannel(CheckFailure):
"""Player and user not in same chan... | 15.157895 | 53 | 0.699653 | 59 | 576 | 6.830508 | 0.59322 | 0.111663 | 0.079404 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201389 | 576 | 37 | 54 | 15.567568 | 0.876087 | 0.276042 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.461538 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
ed46ef7c0ab105918603a68030e445566bd11b27 | 4,459 | py | Python | Locus/settings.py | matbut/Locus | 0a9fc61a27bf2ed06c8c87648f1160365d3d1422 | [
"MIT"
] | 1 | 2019-11-15T09:49:53.000Z | 2019-11-15T09:49:53.000Z | Locus/settings.py | matbut/Locus | 0a9fc61a27bf2ed06c8c87648f1160365d3d1422 | [
"MIT"
] | 11 | 2019-11-04T16:56:39.000Z | 2022-02-11T03:43:39.000Z | Locus/settings.py | matbut/Locus | 0a9fc61a27bf2ed06c8c87648f1160365d3d1422 | [
"MIT"
] | 1 | 2019-11-16T11:13:30.000Z | 2019-11-16T11:13:30.000Z | """
Django settings for Locus project.
Generated by 'django-admin startproject' using Django 2.2.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
# Bui... | 25.924419 | 91 | 0.690289 | 463 | 4,459 | 6.531317 | 0.419006 | 0.073082 | 0.050926 | 0.05787 | 0.167328 | 0.139881 | 0.088294 | 0.088294 | 0.039683 | 0 | 0 | 0.00948 | 0.172012 | 4,459 | 172 | 92 | 25.924419 | 0.809588 | 0.220453 | 0 | 0.017857 | 1 | 0.008929 | 0.565431 | 0.467863 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.053571 | 0.008929 | 0 | 0.008929 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
ed5f71ab4d52d47962b0bf855599d609ee976ee0 | 5,653 | py | Python | src/node.py | wuttinanhi/dumb-lang | 031679717d7ae8dbc5024a676d3c34c684aedc3c | [
"Apache-2.0"
] | null | null | null | src/node.py | wuttinanhi/dumb-lang | 031679717d7ae8dbc5024a676d3c34c684aedc3c | [
"Apache-2.0"
] | null | null | null | src/node.py | wuttinanhi/dumb-lang | 031679717d7ae8dbc5024a676d3c34c684aedc3c | [
"Apache-2.0"
] | null | null | null | from typing import List
class ENodeType:
MODULE = "MODULE"
NUMBER = "NUMBER"
STRING = "STRING"
BINOP = "BINOP"
PRINT = "PRINT"
ASSIGN = "ASSIGN"
PARENTHESES = "PARENTHESES"
IF = "IF"
CONDITION = "CONDITION"
BLOCK = "BLOCK"
PRINT = "PRINT"
class EMathOperation:
ADD = "... | 24.261803 | 99 | 0.597559 | 630 | 5,653 | 4.87619 | 0.109524 | 0.068359 | 0.084635 | 0.048828 | 0.563802 | 0.550781 | 0.47526 | 0.400716 | 0.36556 | 0.316081 | 0 | 0 | 0.284628 | 5,653 | 232 | 100 | 24.366379 | 0.759644 | 0.009906 | 0 | 0.460606 | 0 | 0 | 0.097962 | 0.077226 | 0 | 0 | 0 | 0 | 0 | 1 | 0.260606 | false | 0.012121 | 0.006061 | 0.145455 | 0.636364 | 0.006061 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ed617876583e2976806a220709bcf7ed8be09d49 | 187 | py | Python | src/dpfinder/event.py | gr3yknigh1/dpfinder | aad5608f36464d689ad700df5986372b173a07a9 | [
"MIT"
] | null | null | null | src/dpfinder/event.py | gr3yknigh1/dpfinder | aad5608f36464d689ad700df5986372b173a07a9 | [
"MIT"
] | null | null | null | src/dpfinder/event.py | gr3yknigh1/dpfinder | aad5608f36464d689ad700df5986372b173a07a9 | [
"MIT"
] | null | null | null | class event(object):
def __init__(self):
self.__funcs = set()
def invoke(self, *args):
for f in self.__funcs:
f.__call__(*args)
def reg(self, func):
self.__funcs.add(func)
| 15.583333 | 25 | 0.663102 | 29 | 187 | 3.793103 | 0.586207 | 0.245455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 187 | 11 | 26 | 17 | 0.718954 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed72f43f2ee6200cf3dd4eaf05f8e123b6eb0966 | 56,006 | py | Python | tests/test_elb/test_elb.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 5,460 | 2015-01-01T01:11:17.000Z | 2022-03-31T23:45:38.000Z | tests/test_elb/test_elb.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 4,475 | 2015-01-05T19:37:30.000Z | 2022-03-31T13:55:12.000Z | tests/test_elb/test_elb.py | gtourkas/moto | 307104417b579d23d02f670ff55217a2d4a16bee | [
"Apache-2.0"
] | 1,831 | 2015-01-14T00:00:44.000Z | 2022-03-31T20:30:04.000Z | import boto3
import botocore
import boto
import boto.ec2.elb
from boto.ec2.elb import HealthCheck
from boto.ec2.elb.attributes import (
ConnectionSettingAttribute,
ConnectionDrainingAttribute,
AccessLogAttribute,
)
from botocore.exceptions import ClientError
from boto.exception import BotoServerError
import... | 35.157564 | 88 | 0.67932 | 6,507 | 56,006 | 5.635469 | 0.065929 | 0.039269 | 0.037306 | 0.025525 | 0.796864 | 0.753232 | 0.717889 | 0.677202 | 0.635888 | 0.604581 | 0 | 0.028624 | 0.177838 | 56,006 | 1,592 | 89 | 35.179648 | 0.767754 | 0.035353 | 0 | 0.553429 | 0 | 0 | 0.175949 | 0.033237 | 0 | 0 | 0 | 0 | 0.00319 | 1 | 0.044657 | false | 0 | 0.010367 | 0 | 0.055024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ed7f9248c5637fd780d0e0142872b5d31c037345 | 158 | py | Python | app/api/routes.py | jampzs/fastapi-base-project | ad2d0d8438af3d3a844266dade90fa58f0025098 | [
"MIT"
] | null | null | null | app/api/routes.py | jampzs/fastapi-base-project | ad2d0d8438af3d3a844266dade90fa58f0025098 | [
"MIT"
] | null | null | null | app/api/routes.py | jampzs/fastapi-base-project | ad2d0d8438af3d3a844266dade90fa58f0025098 | [
"MIT"
] | null | null | null | from fastapi import APIRouter
from app.api.endpoints import initial
# Routes for our app
api_router = APIRouter()
api_router.include_router(initial.router)
| 19.75 | 41 | 0.816456 | 23 | 158 | 5.478261 | 0.565217 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120253 | 158 | 7 | 42 | 22.571429 | 0.906475 | 0.113924 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
71e9bae776cb98760acf578c03a263dbd2203e26 | 2,386 | py | Python | src/encoding_jobs.py | ValentinMastro/av1_split_encode | 27fcec1cfc92701c3fa37b6d6470f18422f2819c | [
"MIT"
] | null | null | null | src/encoding_jobs.py | ValentinMastro/av1_split_encode | 27fcec1cfc92701c3fa37b6d6470f18422f2819c | [
"MIT"
] | 1 | 2022-01-21T06:35:49.000Z | 2022-01-25T12:29:37.000Z | src/encoding_jobs.py | ValentinMastro/av1_split_encode | 27fcec1cfc92701c3fa37b6d6470f18422f2819c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from os.path import join, split
from os import makedirs, system
from sys import maxsize
def check_sub_directories(list_of_fullpath):
for path in list_of_fullpath:
head, tail = split(path)
makedirs(head, exist_ok = True)
class Encoding_job:
def __init__(self, parameters, split = None):
... | 25.655914 | 78 | 0.686505 | 341 | 2,386 | 4.510264 | 0.31085 | 0.127438 | 0.035761 | 0.055267 | 0.33225 | 0.218466 | 0.176853 | 0 | 0 | 0 | 0 | 0.008955 | 0.157586 | 2,386 | 92 | 79 | 25.934783 | 0.756219 | 0.008801 | 0 | 0.19697 | 0 | 0 | 0.123519 | 0.022843 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.166667 | 0.045455 | 0.106061 | 0.469697 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 3 |
71ec996f576782c1d512df7db69cad23c39e8d34 | 303 | py | Python | manage.py | igorshevk/oknoname | 0828504afb8fdae5f5e85040bec1d95cb27ce471 | [
"MIT"
] | 1 | 2022-01-09T19:53:55.000Z | 2022-01-09T19:53:55.000Z | manage.py | igorshevk/oknoname | 0828504afb8fdae5f5e85040bec1d95cb27ce471 | [
"MIT"
] | 5 | 2021-06-08T21:03:58.000Z | 2022-03-12T00:18:43.000Z | manage.py | BinaryTree0/fer3 | 85c3bbf2f328e69ad4d7c01b6e2c8d4ef1d9e0a3 | [
"MIT"
] | 1 | 2022-02-15T16:56:49.000Z | 2022-02-15T16:56:49.000Z | #!/usr/bin/env python
import logging
import os
import sys
if __name__ == "__main__":
logging.captureWarnings(True)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings.dev")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| 21.642857 | 74 | 0.772277 | 40 | 303 | 5.45 | 0.675 | 0.100917 | 0.165138 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132013 | 303 | 13 | 75 | 23.307692 | 0.828897 | 0.066007 | 0 | 0 | 0 | 0 | 0.173759 | 0.078014 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
71f2b1623884a596cd2d8a37c83ceea2d8d9505d | 88 | py | Python | LargeApp/run.py | ckc6842/my-hot-spot | 7968cd5c45fac492da74087e364acbecc49f59f2 | [
"MIT"
] | null | null | null | LargeApp/run.py | ckc6842/my-hot-spot | 7968cd5c45fac492da74087e364acbecc49f59f2 | [
"MIT"
] | null | null | null | LargeApp/run.py | ckc6842/my-hot-spot | 7968cd5c45fac492da74087e364acbecc49f59f2 | [
"MIT"
] | null | null | null | __author__ = 'Yeob'
from app import app
app.run(host='127.0.0.1', port=5000, debug=True) | 29.333333 | 48 | 0.715909 | 17 | 88 | 3.470588 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126582 | 0.102273 | 88 | 3 | 48 | 29.333333 | 0.620253 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
71f643612bb6aba18fcab2d4169a9ef13ebe223b | 20 | py | Python | tvdordrecht/__init__.py | allcaps/tvdordrecht.nl | a2ff1b5ade88378f1a72a7ab36d51965b06509b9 | [
"MIT"
] | null | null | null | tvdordrecht/__init__.py | allcaps/tvdordrecht.nl | a2ff1b5ade88378f1a72a7ab36d51965b06509b9 | [
"MIT"
] | 1 | 2022-01-13T00:48:55.000Z | 2022-01-13T00:48:55.000Z | tvdordrecht/__init__.py | allcaps/tvdordrecht.nl | a2ff1b5ade88378f1a72a7ab36d51965b06509b9 | [
"MIT"
] | null | null | null | __author__ = 'coen'
| 10 | 19 | 0.7 | 2 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
71fc2cb9eb1a0e29e3b2ae0cd9f5aa4d98554920 | 56 | py | Python | name.py | sufailps/jenkinsname | 0c088b8c805ba86b3718b866c05fadf4155a037a | [
"MIT"
] | null | null | null | name.py | sufailps/jenkinsname | 0c088b8c805ba86b3718b866c05fadf4155a037a | [
"MIT"
] | null | null | null | name.py | sufailps/jenkinsname | 0c088b8c805ba86b3718b866c05fadf4155a037a | [
"MIT"
] | null | null | null |
with open("name.txt","w") as fd:
fd.write("Sufail")
| 14 | 32 | 0.589286 | 10 | 56 | 3.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 3 | 33 | 18.666667 | 0.702128 | 0 | 0 | 0 | 0 | 0 | 0.267857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c02ccd2e73d09db05c0979ea81b40b198cd176b | 199 | py | Python | Other Basic Stuff/jeyranFile.py | egmnklc/Sabanci | 31eaeedb01010879b5d62dee84130bd88e7e5bdf | [
"MIT"
] | null | null | null | Other Basic Stuff/jeyranFile.py | egmnklc/Sabanci | 31eaeedb01010879b5d62dee84130bd88e7e5bdf | [
"MIT"
] | null | null | null | Other Basic Stuff/jeyranFile.py | egmnklc/Sabanci | 31eaeedb01010879b5d62dee84130bd88e7e5bdf | [
"MIT"
] | null | null | null | words_splitted = input("Give me some words: ")
words = words_splitted.split(",")
counter = 0
for i in range(len(words)):
if words[i-1].isalpha() == True:
counter += 1
print(counter) | 28.428571 | 47 | 0.628141 | 29 | 199 | 4.241379 | 0.655172 | 0.211382 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019108 | 0.211055 | 199 | 7 | 48 | 28.428571 | 0.764331 | 0 | 0 | 0 | 0 | 0 | 0.108247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c0784a10e27d3e9958c9cf4e18313ca0dbbadd3 | 169 | py | Python | fist_phase/0202_round.py | kapuni/exercise_py | b60ba8462d2545cae57483bcb0b3428b03c5d522 | [
"MIT"
] | null | null | null | fist_phase/0202_round.py | kapuni/exercise_py | b60ba8462d2545cae57483bcb0b3428b03c5d522 | [
"MIT"
] | null | null | null | fist_phase/0202_round.py | kapuni/exercise_py | b60ba8462d2545cae57483bcb0b3428b03c5d522 | [
"MIT"
] | null | null | null | import math
radius = float(input('请输入圆的半径: '))
perimeter = 2 * math.pi * radius
area = math.pi * radius * radius
print('周长: %.2f' % perimeter)
print('面积: %.2f' % area)
| 21.125 | 34 | 0.639053 | 24 | 169 | 4.5 | 0.583333 | 0.111111 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021429 | 0.171598 | 169 | 7 | 35 | 24.142857 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.147929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c0bdadae487bd34237613d6caae4c9ca6eccc66 | 229 | py | Python | beetsplug/__init__.py | juanmeleiro/BeetsPluginXtractor | c58588b7ef9c6921e3d010fbd9f4d03cc3c4885f | [
"MIT"
] | 10 | 2020-04-08T05:20:59.000Z | 2022-01-22T12:57:46.000Z | beetsplug/__init__.py | juanmeleiro/BeetsPluginXtractor | c58588b7ef9c6921e3d010fbd9f4d03cc3c4885f | [
"MIT"
] | 7 | 2020-03-30T12:48:01.000Z | 2022-03-07T23:22:09.000Z | beetsplug/__init__.py | juanmeleiro/BeetsPluginXtractor | c58588b7ef9c6921e3d010fbd9f4d03cc3c4885f | [
"MIT"
] | 3 | 2021-10-03T02:45:44.000Z | 2022-01-10T21:05:30.000Z | # Copyright: Copyright (c) 2020., Adam Jakab
#
# Author: Adam Jakab <adam at jakab dot pro>
# Created: 3/12/20, 11:42 PM
# License: See LICENSE.txt
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
| 22.9 | 45 | 0.720524 | 35 | 229 | 4.314286 | 0.714286 | 0.119205 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068783 | 0.174672 | 229 | 9 | 46 | 25.444444 | 0.730159 | 0.611354 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9c13bca1aaab94bd49120e98534fe4d85d6d45de | 16,996 | py | Python | imblearn/under_sampling/_prototype_selection/_edited_nearest_neighbours.py | timgates42/imbalanced-learn | edd75224a3ecfa043f6971f81e2c7073cb08db30 | [
"MIT"
] | 2 | 2017-06-15T04:49:43.000Z | 2020-06-20T02:29:29.000Z | imblearn/under_sampling/_prototype_selection/_edited_nearest_neighbours.py | timgates42/imbalanced-learn | edd75224a3ecfa043f6971f81e2c7073cb08db30 | [
"MIT"
] | 3 | 2016-07-26T09:39:44.000Z | 2020-06-20T02:29:30.000Z | imblearn/under_sampling/_prototype_selection/_edited_nearest_neighbours.py | timgates42/imbalanced-learn | edd75224a3ecfa043f6971f81e2c7073cb08db30 | [
"MIT"
] | null | null | null | """Class to perform under-sampling based on the edited nearest neighbour
method."""
# Authors: Guillaume Lemaitre <g.lemaitre58@gmail.com>
# Dayvid Oliveira
# Christos Aridas
# License: MIT
from collections import Counter
import numpy as np
from scipy.stats import mode
from sklearn.utils import _s... | 32.621881 | 79 | 0.619911 | 2,102 | 16,996 | 4.777831 | 0.150809 | 0.012446 | 0.009957 | 0.005974 | 0.737628 | 0.717216 | 0.714129 | 0.691825 | 0.685253 | 0.66972 | 0 | 0.016312 | 0.285832 | 16,996 | 520 | 80 | 32.684615 | 0.811089 | 0.487644 | 0 | 0.584158 | 0 | 0 | 0.020632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.059406 | false | 0 | 0.044554 | 0.014851 | 0.148515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c1998dc801be68ae9d2e9206b331ca347c4a37a | 296 | py | Python | tests/util.py | marcodlk/bulkdata | 8bc65cea6045ae61d312ce8b4b0b3f332e84fc02 | [
"MIT"
] | 2 | 2020-06-05T15:09:14.000Z | 2021-04-16T18:16:27.000Z | tests/util.py | marcodlk/bulkdata | 8bc65cea6045ae61d312ce8b4b0b3f332e84fc02 | [
"MIT"
] | 3 | 2020-04-23T04:44:37.000Z | 2020-06-22T22:53:53.000Z | tests/util.py | marcodlk/bulkdata | 8bc65cea6045ae61d312ce8b4b0b3f332e84fc02 | [
"MIT"
] | null | null | null | from bulkdata.field import Field
class MockCard():
def __init__(self, name, fields):
self._name = name
self._fields = [Field(val) for val in fields]
@property
def name(self):
return self._name
@property
def fields(self):
return self._fields | 19.733333 | 53 | 0.621622 | 37 | 296 | 4.756757 | 0.432432 | 0.136364 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.287162 | 296 | 15 | 54 | 19.733333 | 0.834123 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.090909 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c2178a963db0e08d2c2751e5a03cbd3073139d7 | 406 | py | Python | community/forms.py | darshanime/vesta | 203fd7aaded4d0198a8d219692ec530ab8988522 | [
"MIT"
] | null | null | null | community/forms.py | darshanime/vesta | 203fd7aaded4d0198a8d219692ec530ab8988522 | [
"MIT"
] | null | null | null | community/forms.py | darshanime/vesta | 203fd7aaded4d0198a8d219692ec530ab8988522 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from .models import Images, Details, Events
class PhotoForm(ModelForm):
class Meta:
model = Images
exclude = ('event',)
class RegisterForm(ModelForm):
class Meta:
model = Details
exclude = ('user',)
class EventsForm(ModelForm):
class Meta... | 23.882353 | 61 | 0.623153 | 42 | 406 | 6.02381 | 0.547619 | 0.166008 | 0.213439 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.258621 | 406 | 17 | 61 | 23.882353 | 0.840532 | 0 | 0 | 0.214286 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
9c2201aed053ecf646e69189191fe1d9e36f3baa | 970 | py | Python | clean_architecture_example_application/presenter/__init__.py | mallycrip/clean-architecture-python | 3d54d5e092ddbbd45cc14b8c67571e65d2569f70 | [
"MIT"
] | 5 | 2021-02-19T03:14:32.000Z | 2021-12-08T06:09:25.000Z | clean_architecture_example_application/presenter/__init__.py | mallycrip/clean-architecture-python | 3d54d5e092ddbbd45cc14b8c67571e65d2569f70 | [
"MIT"
] | null | null | null | clean_architecture_example_application/presenter/__init__.py | mallycrip/clean-architecture-python | 3d54d5e092ddbbd45cc14b8c67571e65d2569f70 | [
"MIT"
] | null | null | null | from clean_architecture_example_application.presenter.di.controllers import mock_controller_object
class MockApplication:
def __init__(self):
self._address = str()
self._port = int()
def register_controller(self, controller, path: str):
# Register Controller
pass
def run(... | 24.25 | 98 | 0.675258 | 107 | 970 | 5.813084 | 0.392523 | 0.07074 | 0.096463 | 0.080386 | 0.131833 | 0.131833 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223711 | 970 | 39 | 99 | 24.871795 | 0.826029 | 0.024742 | 0 | 0.083333 | 0 | 0 | 0.109226 | 0.029692 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.25 | false | 0.083333 | 0.041667 | 0 | 0.375 | 0.083333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c25adaac9c3276a82912bb3b5938c3f0ec17c9d | 2,427 | py | Python | ngrams.py | mattslight/fivec | f4e1bfb7c957f2d90676a5f20110ad0f386c4948 | [
"MIT"
] | null | null | null | ngrams.py | mattslight/fivec | f4e1bfb7c957f2d90676a5f20110ad0f386c4948 | [
"MIT"
] | null | null | null | ngrams.py | mattslight/fivec | f4e1bfb7c957f2d90676a5f20110ad0f386c4948 | [
"MIT"
] | null | null | null | import re
import math
import csv
import pprint
def score4(word):
score = 0.0
with open("./tables/4grams.tsv") as tsv:
pairs = []
for a,b in (r[0:2] for r in csv.reader(tsv, dialect="excel-tab")):
pairs.append([a, b])
for pair in pairs:
if pair[0] in word:
score += ... | 35.691176 | 101 | 0.465595 | 322 | 2,427 | 3.481366 | 0.18323 | 0.099911 | 0.171276 | 0.187333 | 0.702944 | 0.702944 | 0.550401 | 0.524532 | 0.471008 | 0.471008 | 0 | 0.051735 | 0.370828 | 2,427 | 67 | 102 | 36.223881 | 0.682384 | 0.024722 | 0 | 0.459016 | 0 | 0 | 0.041878 | 0 | 0 | 0 | 0 | 0.014925 | 0 | 1 | 0.065574 | false | 0 | 0.065574 | 0.016393 | 0.196721 | 0.016393 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c4a907adebee32a3ba5e63409bc6f012ebac519 | 514 | py | Python | test_sample.py | ashwani1218/OpenMEMEs | 3c4fc8b9c7abac33c4260f096e45db4bc132574b | [
"MIT"
] | 1 | 2019-09-07T11:39:58.000Z | 2019-09-07T11:39:58.000Z | test_sample.py | ashwani1218/OpenMEMEs | 3c4fc8b9c7abac33c4260f096e45db4bc132574b | [
"MIT"
] | 25 | 2019-09-07T12:12:21.000Z | 2019-09-15T19:37:37.000Z | test_sample.py | ashwani1218/OpenMEMEs | 3c4fc8b9c7abac33c4260f096e45db4bc132574b | [
"MIT"
] | 1 | 2019-09-08T05:41:17.000Z | 2019-09-08T05:41:17.000Z | import pytest
class TestClass:
def test_login(self, client):
response = client.get("/")
assert response.status_code == 200
def test_home(self, client):
response = client.get("/home")
assert response.status_code == 200
def test_registration(self, client):
response =... | 27.052632 | 46 | 0.640078 | 59 | 514 | 5.440678 | 0.305085 | 0.087227 | 0.224299 | 0.299065 | 0.738318 | 0.317757 | 0.317757 | 0 | 0 | 0 | 0 | 0.031088 | 0.249027 | 514 | 18 | 47 | 28.555556 | 0.800518 | 0 | 0 | 0.285714 | 0 | 0 | 0.052529 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.428571 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9c51b060d295ab3a51ce5d52c42431a4c763eba9 | 644 | py | Python | scrapy/commands/view.py | pyarnold/scrapy | 3e6631bb7a5d54561f72b82774a713f575451cb3 | [
"BSD-3-Clause"
] | 1 | 2020-12-18T01:08:02.000Z | 2020-12-18T01:08:02.000Z | scrapy/commands/view.py | pyarnold/scrapy | 3e6631bb7a5d54561f72b82774a713f575451cb3 | [
"BSD-3-Clause"
] | null | null | null | scrapy/commands/view.py | pyarnold/scrapy | 3e6631bb7a5d54561f72b82774a713f575451cb3 | [
"BSD-3-Clause"
] | null | null | null | from scrapy.command import ScrapyCommand
from scrapy.commands import fetch
from scrapy.utils.response import open_in_browser
class Command(fetch.Command):
def short_desc(self):
return "Open URL in browser, as seen by Scrapy"
def long_desc(self):
return "Fetch a URL using the Scrapy downloade... | 29.272727 | 72 | 0.67236 | 84 | 644 | 5.02381 | 0.5 | 0.07109 | 0.061611 | 0.094787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.246894 | 644 | 21 | 73 | 30.666667 | 0.870103 | 0 | 0 | 0 | 0 | 0 | 0.218944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.2 | 0.133333 | 0.666667 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9c54a6cceb66a77ede3684376c10fc92c36330e3 | 941 | py | Python | fn_netdevice/fn_netdevice/util/config.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 65 | 2017-12-04T13:58:32.000Z | 2022-03-24T18:33:17.000Z | fn_netdevice/fn_netdevice/util/config.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 48 | 2018-03-02T19:17:14.000Z | 2022-03-09T22:00:38.000Z | fn_netdevice/fn_netdevice/util/config.py | nickpartner-goahead/resilient-community-apps | 097c0dbefddbd221b31149d82af9809420498134 | [
"MIT"
] | 95 | 2018-01-11T16:23:39.000Z | 2022-03-21T11:34:29.000Z | # -*- coding: utf-8 -*-
"""Generate a default configuration-file section for fn_netdevice"""
from __future__ import print_function
def config_section_data():
"""Produce the default configuration section for app.config,
when called by `resilient-circuits config [-c|-u]`
"""
config_data ... | 32.448276 | 144 | 0.740701 | 129 | 941 | 5.255814 | 0.713178 | 0.058997 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003827 | 0.166844 | 941 | 29 | 145 | 32.448276 | 0.860969 | 0.206164 | 0 | 0 | 1 | 0.105263 | 0.82066 | 0.030129 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0.052632 | 0.052632 | 0 | 0.157895 | 0.052632 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c615f81d08e578072d26cd75d2a3687c18889eb | 100 | py | Python | credentials_linkedin.py | victoirelinder/pi2_A5 | fd677e77b5b2fe911b4797da54516d4202044b4f | [
"MIT"
] | null | null | null | credentials_linkedin.py | victoirelinder/pi2_A5 | fd677e77b5b2fe911b4797da54516d4202044b4f | [
"MIT"
] | null | null | null | credentials_linkedin.py | victoirelinder/pi2_A5 | fd677e77b5b2fe911b4797da54516d4202044b4f | [
"MIT"
] | null | null | null | # this is done creating a LinkedIn app
USER_ID = 'piprojecta5@gmail.com'
USER_PASSWORD = 'p1carre5'
| 25 | 38 | 0.77 | 15 | 100 | 5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.14 | 100 | 3 | 39 | 33.333333 | 0.837209 | 0.36 | 0 | 0 | 0 | 0 | 0.467742 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
9c717c26e7af18ce95bd207226cf86025d4b9605 | 114 | py | Python | twitterdedupe/__main__.py | jonohill/twitter-dedupe | 1ec61304317721ec989729a03ec4d86325d0e058 | [
"MIT"
] | null | null | null | twitterdedupe/__main__.py | jonohill/twitter-dedupe | 1ec61304317721ec989729a03ec4d86325d0e058 | [
"MIT"
] | null | null | null | twitterdedupe/__main__.py | jonohill/twitter-dedupe | 1ec61304317721ec989729a03ec4d86325d0e058 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
from .daemons import ToggleDaemon
d = ToggleDaemon(os.environ)
d.run_forever()
| 12.666667 | 33 | 0.754386 | 17 | 114 | 5 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 8 | 34 | 14.25 | 0.858586 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9c789088f2fcb861a0575fae8424e27e27f4f347 | 8,189 | py | Python | qiskit/providers/ibmq/runtime/__init__.py | jwoehr/qiskit-ibmq-provider | 256a9963c152060523aee51d308c36d64c97517e | [
"Apache-2.0"
] | null | null | null | qiskit/providers/ibmq/runtime/__init__.py | jwoehr/qiskit-ibmq-provider | 256a9963c152060523aee51d308c36d64c97517e | [
"Apache-2.0"
] | null | null | null | qiskit/providers/ibmq/runtime/__init__.py | jwoehr/qiskit-ibmq-provider | 256a9963c152060523aee51d308c36d64c97517e | [
"Apache-2.0"
] | null | null | null | # This code is part of Qiskit.
#
# (C) Copyright IBM 2021.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative wo... | 35.297414 | 91 | 0.733667 | 1,075 | 8,189 | 5.536744 | 0.293953 | 0.028226 | 0.022345 | 0.021841 | 0.156418 | 0.136761 | 0.116767 | 0.099126 | 0.084677 | 0.084677 | 0 | 0.001922 | 0.174014 | 8,189 | 231 | 92 | 35.450216 | 0.878031 | 0.952986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
9c7f8a18e43f08afec9565ef82efbaf8e732e5ab | 432 | py | Python | demo/stack/stack.py | istommao/DataStructureAndAlgorithm | 5542b97831b49771191eb126b38ca745be51c084 | [
"MIT"
] | 2 | 2018-01-08T06:08:44.000Z | 2019-05-29T04:22:21.000Z | demo/stack/stack.py | istommao/DataStructureAndAlgorithm | 5542b97831b49771191eb126b38ca745be51c084 | [
"MIT"
] | null | null | null | demo/stack/stack.py | istommao/DataStructureAndAlgorithm | 5542b97831b49771191eb126b38ca745be51c084 | [
"MIT"
] | null | null | null | """stack."""
class Stack(object):
def __init__(self, item):
self._data = [item]
def push(self, item):
self._data.append(item)
def pop(self):
if len(self._data) == 0:
raise ValueError('Your stack is empty')
return self._data.pop()
def getMin(self):
... | 18.782609 | 51 | 0.550926 | 55 | 432 | 4.145455 | 0.4 | 0.210526 | 0.105263 | 0.140351 | 0.482456 | 0.482456 | 0.482456 | 0.482456 | 0.482456 | 0.482456 | 0 | 0.006734 | 0.3125 | 432 | 22 | 52 | 19.636364 | 0.760943 | 0.013889 | 0 | 0.307692 | 0 | 0 | 0.090476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.538462 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
92c00882051cab5ff1670bb33c616c6e1feac265 | 479 | py | Python | pycoin/services/env.py | GRS-Community/pycoin | 4a9b9722c91e2831519ddf9675fe8c70246432b7 | [
"MIT"
] | 1,210 | 2015-01-02T13:36:28.000Z | 2022-03-30T00:52:22.000Z | pycoin/services/env.py | GRS-Community/pycoin | 4a9b9722c91e2831519ddf9675fe8c70246432b7 | [
"MIT"
] | 280 | 2015-01-05T23:16:47.000Z | 2022-02-22T22:02:17.000Z | pycoin/services/env.py | GRS-Community/pycoin | 4a9b9722c91e2831519ddf9675fe8c70246432b7 | [
"MIT"
] | 459 | 2015-01-10T00:15:57.000Z | 2022-03-16T12:04:40.000Z | import os
def main_cache_dir():
p = os.getenv("PYCOIN_CACHE_DIR")
if p:
p = os.path.expanduser(p)
return p
def tx_read_cache_dirs():
return [p for p in os.getenv("PYCOIN_TX_DB_DIRS", "").split(":") if len(p) > 0]
def tx_writable_cache_dir():
p = main_cache_dir()
if p:
p = o... | 19.958333 | 83 | 0.645094 | 78 | 479 | 3.653846 | 0.410256 | 0.140351 | 0.126316 | 0.077193 | 0.126316 | 0.126316 | 0.126316 | 0 | 0 | 0 | 0 | 0.00266 | 0.215031 | 479 | 23 | 84 | 20.826087 | 0.755319 | 0 | 0 | 0.266667 | 0 | 0 | 0.11691 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
92ed3a61c1e46eb5e5dfcb95c3c79ec4e06b2b24 | 14,396 | py | Python | modules/report_generation/web_report/generate_web_report.py | Ck1998/SecurusAudire | fb6288a72d470f11f6114e0ea6ffb6fa63da80e6 | [
"MIT"
] | null | null | null | modules/report_generation/web_report/generate_web_report.py | Ck1998/SecurusAudire | fb6288a72d470f11f6114e0ea6ffb6fa63da80e6 | [
"MIT"
] | null | null | null | modules/report_generation/web_report/generate_web_report.py | Ck1998/SecurusAudire | fb6288a72d470f11f6114e0ea6ffb6fa63da80e6 | [
"MIT"
] | null | null | null | from modules.report_generation.report_generator_base import ReportGenBase
from os import makedirs
from config import CURR_SYSTEM_PLATFORM
class GenerateWebReport(ReportGenBase):
def __init__(self, full_report: dict, save_folder_location: str, timestamp):
super().__init__()
self.save_folder_locati... | 94.710526 | 3,844 | 0.638927 | 1,819 | 14,396 | 4.908741 | 0.20011 | 0.042334 | 0.042334 | 0.012095 | 0.396461 | 0.327136 | 0.301602 | 0.266211 | 0.254676 | 0.240788 | 0 | 0.028325 | 0.163726 | 14,396 | 151 | 3,845 | 95.337748 | 0.713348 | 0.048138 | 0 | 0.183673 | 1 | 0.142857 | 0.738278 | 0.286641 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.040816 | 0 | 0.153061 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
92f7e08e7926979b6bcac5bd72886e32592184dd | 171 | py | Python | src/ml/classification/canny.py | Saptarshi-SBU/Component-Counting | 659da5f1af79c23e00a10f4f2c879f342357a5ed | [
"MIT"
] | null | null | null | src/ml/classification/canny.py | Saptarshi-SBU/Component-Counting | 659da5f1af79c23e00a10f4f2c879f342357a5ed | [
"MIT"
] | null | null | null | src/ml/classification/canny.py | Saptarshi-SBU/Component-Counting | 659da5f1af79c23e00a10f4f2c879f342357a5ed | [
"MIT"
] | null | null | null | import cv2
import numpy as np
from matplotlib import pyplot as plt
img = cv2.imread('download3.png',0)
edges = cv2.Canny(img,100,200)
cv2.imwrite('download4.png', edges)
| 21.375 | 36 | 0.754386 | 29 | 171 | 4.448276 | 0.689655 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086667 | 0.122807 | 171 | 7 | 37 | 24.428571 | 0.773333 | 0 | 0 | 0 | 0 | 0 | 0.152047 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
92fd8a38db6bebd7b0b211783bff4ff67d91b95c | 504 | py | Python | discovery-infra/test_infra/helper_classes/config/base_infra_env_config.py | rollandf/assisted-test-infra | f2d3411ceb0838f3045e4ad88f2686bed516cf8f | [
"Apache-2.0"
] | null | null | null | discovery-infra/test_infra/helper_classes/config/base_infra_env_config.py | rollandf/assisted-test-infra | f2d3411ceb0838f3045e4ad88f2686bed516cf8f | [
"Apache-2.0"
] | 164 | 2020-11-02T07:02:58.000Z | 2022-03-28T16:03:34.000Z | discovery-infra/test_infra/helper_classes/config/base_infra_env_config.py | rollandf/assisted-test-infra | f2d3411ceb0838f3045e4ad88f2686bed516cf8f | [
"Apache-2.0"
] | null | null | null | from abc import ABC
from typing import Dict, List
from dataclasses import dataclass
from .base_entity_config import BaseEntityConfig
@dataclass
class BaseInfraEnvConfig(BaseEntityConfig, ABC):
"""
Define all configurations variables that are needed for Cluster during it's execution
All arguments must ha... | 26.526316 | 89 | 0.759921 | 67 | 504 | 5.58209 | 0.656716 | 0.05615 | 0.048128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19246 | 504 | 18 | 90 | 28 | 0.918919 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
92ff9464733b9056b623f9cc471987f28c669248 | 299 | py | Python | utest/test.py | Zhehua-Hu/Enchain | 94bb21f8ff627fab7d28ca15b575ba01710fb579 | [
"Apache-2.0"
] | 12 | 2017-02-20T05:54:12.000Z | 2020-02-13T18:26:29.000Z | utest/test.py | Zhehua-Hu/-nchain | 94bb21f8ff627fab7d28ca15b575ba01710fb579 | [
"Apache-2.0"
] | null | null | null | utest/test.py | Zhehua-Hu/-nchain | 94bb21f8ff627fab7d28ca15b575ba01710fb579 | [
"Apache-2.0"
] | 3 | 2017-02-23T06:35:13.000Z | 2020-06-18T07:06:17.000Z | from unittest import TestCase
import sys
sys.path.append("../")
from Enchain import run_main
class TestMainWindow(TestCase):
app = None
mwin = None
def setUp(self):
self.app, self.mwin = run_main()
def tearDown(self):
self.mwin.close()
self.app.quit()
def test_noop(self):
pass
| 13 | 34 | 0.698997 | 44 | 299 | 4.681818 | 0.545455 | 0.067961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177258 | 299 | 22 | 35 | 13.590909 | 0.837398 | 0 | 0 | 0 | 0 | 0 | 0.010067 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.214286 | 0 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
13025cf4d13b9d8186a9edf1cfb391ae0c85ee5e | 9,992 | py | Python | falcon/util/structures.py | RioAtHome/falcon | edd9352e630dbbb6272370281fc5fa6d792df057 | [
"Apache-2.0"
] | null | null | null | falcon/util/structures.py | RioAtHome/falcon | edd9352e630dbbb6272370281fc5fa6d792df057 | [
"Apache-2.0"
] | null | null | null | falcon/util/structures.py | RioAtHome/falcon | edd9352e630dbbb6272370281fc5fa6d792df057 | [
"Apache-2.0"
] | null | null | null | # Copied from the Requests library by Kenneth Reitz et al.
#
# Copyright 2013 Kenneth Reitz
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/... | 31.225 | 84 | 0.635709 | 1,284 | 9,992 | 4.72352 | 0.285826 | 0.030338 | 0.039242 | 0.026711 | 0.090849 | 0.067106 | 0.067106 | 0.0277 | 0.015829 | 0.015829 | 0 | 0.008446 | 0.265312 | 9,992 | 319 | 85 | 31.322884 | 0.817736 | 0.563751 | 0 | 0.20202 | 0 | 0 | 0.00757 | 0 | 0 | 0 | 0 | 0.003135 | 0 | 1 | 0.343434 | false | 0 | 0.020202 | 0.212121 | 0.737374 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
130ed5411ac52c0981154d28a5a27f4d4f72ebd8 | 206 | py | Python | src/checkBeforeRun/databaseConnectionCheck.py | zw-g/Funny-Nation | bcb72e802e0ff46b4a409c5d51fc8b10e0987463 | [
"MIT"
] | 126 | 2022-01-15T02:29:07.000Z | 2022-03-30T09:57:40.000Z | src/checkBeforeRun/databaseConnectionCheck.py | zw-g/Funny-Nation | bcb72e802e0ff46b4a409c5d51fc8b10e0987463 | [
"MIT"
] | 18 | 2022-01-11T22:24:35.000Z | 2022-03-16T00:13:01.000Z | src/checkBeforeRun/databaseConnectionCheck.py | zw-g/Funny-Nation | bcb72e802e0ff46b4a409c5d51fc8b10e0987463 | [
"MIT"
] | 25 | 2022-01-22T15:06:27.000Z | 2022-03-01T04:34:19.000Z | from src.model.makeDatabaseConnection import makeDatabaseConnection
def databaseConnectionCheck():
db = makeDatabaseConnection()
if db is None:
return False
db.close()
return True
| 20.6 | 67 | 0.728155 | 20 | 206 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213592 | 206 | 9 | 68 | 22.888889 | 0.925926 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
13147d16a2352cbb525eaad952419672d8b5b45a | 632 | py | Python | RL/src/common/train_utils.py | Seonwhee-Finance/Dynamic_Programming | 3982d42138554f1d53e2d74eb9a93fa3abe2a74a | [
"MIT"
] | null | null | null | RL/src/common/train_utils.py | Seonwhee-Finance/Dynamic_Programming | 3982d42138554f1d53e2d74eb9a93fa3abe2a74a | [
"MIT"
] | null | null | null | RL/src/common/train_utils.py | Seonwhee-Finance/Dynamic_Programming | 3982d42138554f1d53e2d74eb9a93fa3abe2a74a | [
"MIT"
] | null | null | null | import numpy as np
import torch
def to_tensor(np_array: np.array, size=None) -> torch.tensor:
torch_tensor = torch.from_numpy(np_array).float()
if size is not None:
torch_tensor = torch_tensor.view(size)
return torch_tensor
def to_numpy(torch_tensor: torch.tensor) -> np.array:
return torch_t... | 22.571429 | 63 | 0.601266 | 92 | 632 | 3.967391 | 0.347826 | 0.241096 | 0.175342 | 0.180822 | 0.142466 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006652 | 0.286392 | 632 | 27 | 64 | 23.407407 | 0.802661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.052632 | 0.473684 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
131850666e0df0de466e9e0772a0d27c78f140e3 | 14 | py | Python | iudx/auth/__init__.py | dilipan97/iudx-python-sdk | 03aa1d717af6e600726e17a8065b2b6532830371 | [
"MIT"
] | 6 | 2021-06-21T04:45:42.000Z | 2022-02-21T11:00:37.000Z | iudx/auth/__init__.py | dilipan97/iudx-python-sdk | 03aa1d717af6e600726e17a8065b2b6532830371 | [
"MIT"
] | 6 | 2021-03-03T09:25:00.000Z | 2022-01-27T09:50:27.000Z | iudx/auth/__init__.py | dilipan97/iudx-python-sdk | 03aa1d717af6e600726e17a8065b2b6532830371 | [
"MIT"
] | 8 | 2021-03-03T09:11:28.000Z | 2022-02-02T07:24:13.000Z | name = "auth"
| 7 | 13 | 0.571429 | 2 | 14 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 14 | 1 | 14 | 14 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13232bbe10b2474dd2b8bcb465edde6602d3f0e0 | 554 | py | Python | Kelas Rabu/Nilai Hash/1310651030 Dian Agustin/dian.py | umjembersoft/TI20151-Keamanan-Komputer | 6e8a4e75fafa59149f5e96b71eb83de935642c38 | [
"MIT"
] | null | null | null | Kelas Rabu/Nilai Hash/1310651030 Dian Agustin/dian.py | umjembersoft/TI20151-Keamanan-Komputer | 6e8a4e75fafa59149f5e96b71eb83de935642c38 | [
"MIT"
] | null | null | null | Kelas Rabu/Nilai Hash/1310651030 Dian Agustin/dian.py | umjembersoft/TI20151-Keamanan-Komputer | 6e8a4e75fafa59149f5e96b71eb83de935642c38 | [
"MIT"
] | null | null | null | __author__ = 'triawan'
import hashlib
print
print "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
print("Program Sederhana Untuk Melakukan Generate Terhadap Nilai Hash dari SHA 256")
print "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
print
NamaString... | 19.103448 | 86 | 0.527076 | 49 | 554 | 5.877551 | 0.571429 | 0.138889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036408 | 0.256318 | 554 | 28 | 87 | 19.785714 | 0.662621 | 0 | 0 | 0.357143 | 1 | 0.142857 | 0.571949 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.071429 | null | null | 0.571429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
132cfbfc2add28afde9f06e2b781136861d352b5 | 78 | py | Python | venv/lib/python3.6/genericpath.py | tchengatcincoai/cryptocoin-prices-compare | f295fecc7213a877bf717af0eb98414e9137b554 | [
"MIT"
] | 72 | 2018-07-02T07:47:15.000Z | 2022-03-29T10:02:14.000Z | venv/lib/python3.6/genericpath.py | zubeir-Abubakar/overflow | 86fc20d860bde8b872e4b16a7b0f857b574528c8 | [
"MIT"
] | 10 | 2021-05-06T21:56:20.000Z | 2022-03-02T02:49:07.000Z | venv/lib/python3.6/genericpath.py | zubeir-Abubakar/overflow | 86fc20d860bde8b872e4b16a7b0f857b574528c8 | [
"MIT"
] | 29 | 2018-09-17T06:10:32.000Z | 2022-03-19T13:15:30.000Z | /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/genericpath.py | 78 | 78 | 0.846154 | 12 | 78 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051282 | 0 | 78 | 1 | 78 | 78 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1345c876bec926f1da41203fd2e66b3b3d626cfc | 597 | py | Python | app/parser/types.py | VladisP/StreamQL | 83a2ec70aa481f5bb1ace337284ad2e304b0de2d | [
"MIT"
] | null | null | null | app/parser/types.py | VladisP/StreamQL | 83a2ec70aa481f5bb1ace337284ad2e304b0de2d | [
"MIT"
] | null | null | null | app/parser/types.py | VladisP/StreamQL | 83a2ec70aa481f5bb1ace337284ad2e304b0de2d | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from typing import Any, List, Union
from app.lexer import token
@dataclass(frozen=True)
class AstAtom:
domain: str
value: str
def __str__(self) -> str:
return f"{self.domain} : {self.value}"
def token_to_atom(tok: token.Token) -> AstAtom:
return AstAtom(to... | 19.258065 | 47 | 0.670017 | 78 | 597 | 4.897436 | 0.410256 | 0.086387 | 0.052356 | 0.068063 | 0.099476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214405 | 597 | 30 | 48 | 19.9 | 0.814499 | 0 | 0 | 0.105263 | 0 | 0 | 0.046901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.157895 | 0.736842 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1349dd6554643ed7448e09bbae26628b7cf1c556 | 2,281 | py | Python | armrest/utils/misc.py | xBrite/armrest | 73942555f3bfeebe8f5b0c701bb814917e7e6ef7 | [
"Apache-2.0"
] | 3 | 2018-08-17T22:27:43.000Z | 2019-10-29T17:26:15.000Z | armrest/utils/misc.py | xBrite/armrest | 73942555f3bfeebe8f5b0c701bb814917e7e6ef7 | [
"Apache-2.0"
] | null | null | null | armrest/utils/misc.py | xBrite/armrest | 73942555f3bfeebe8f5b0c701bb814917e7e6ef7 | [
"Apache-2.0"
] | 1 | 2018-05-15T17:16:56.000Z | 2018-05-15T17:16:56.000Z | # -*- coding: utf-8 -*-
import datetime
import json
def hexdump(src, length=8):
"""Generate ASCII hexdump of bytes or unicode data."""
result = []
digits = 4 if isinstance(src, unicode) else 2
for i in xrange(0, len(src), length):
s = src[i:i+length]
hexa = b' '.join(["%0*X" % (digits... | 29.24359 | 104 | 0.613766 | 364 | 2,281 | 3.791209 | 0.39011 | 0.026087 | 0.008696 | 0.010145 | 0.021739 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014764 | 0.22797 | 2,281 | 77 | 105 | 29.623377 | 0.768881 | 0.312144 | 0 | 0 | 1 | 0 | 0.026385 | 0 | 0 | 0 | 0.005277 | 0 | 0 | 1 | 0.243902 | false | 0 | 0.04878 | 0.04878 | 0.585366 | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1369af84fc50d84adc0143533cb65c6769b01442 | 4,789 | py | Python | assaytools2/analyzer.py | choderalab/assaytools2 | 32c02aeddf0afef69c91e16135a159e4735ad532 | [
"MIT"
] | 2 | 2019-02-08T19:42:07.000Z | 2019-03-25T11:10:17.000Z | assaytools2/analyzer.py | choderalab/assaytools2 | 32c02aeddf0afef69c91e16135a159e4735ad532 | [
"MIT"
] | null | null | null | assaytools2/analyzer.py | choderalab/assaytools2 | 32c02aeddf0afef69c91e16135a159e4735ad532 | [
"MIT"
] | 2 | 2021-04-01T00:35:36.000Z | 2021-04-13T03:52:32.000Z | import numpy as np
import matplotlib
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import sklearn
def plot_rv(rv, n_sample = 10000, style = 'pca'):
"""plt some distribution.
Parameters
----------
rv :
n_sample :
(Default value = 10000)
style :
... | 28.505952 | 111 | 0.558154 | 641 | 4,789 | 4.062403 | 0.171607 | 0.015361 | 0.016129 | 0.028802 | 0.749616 | 0.721966 | 0.692012 | 0.657834 | 0.657834 | 0.647465 | 0 | 0.033019 | 0.29171 | 4,789 | 167 | 112 | 28.676647 | 0.73467 | 0.104197 | 0 | 0.707071 | 0 | 0 | 0.015049 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 1 | 0.030303 | false | 0 | 0.070707 | 0 | 0.151515 | 0.020202 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1378195015b5d82f44145f96a67b57d6e272c93d | 1,583 | py | Python | migrations/versions/2019_09_16_933060cd8eeb_remove_server_defaults.py | tobikrs/ultimate-poll-bot | eaa190ba1fec852c1a7d12c8a4633245f00c435f | [
"MIT"
] | 1 | 2020-03-22T05:49:44.000Z | 2020-03-22T05:49:44.000Z | migrations/versions/2019_09_16_933060cd8eeb_remove_server_defaults.py | RuslanBitcash/ultimate-poll-bot | 33bc71b56f79453359043bd0e778cd153d3a83a3 | [
"MIT"
] | null | null | null | migrations/versions/2019_09_16_933060cd8eeb_remove_server_defaults.py | RuslanBitcash/ultimate-poll-bot | 33bc71b56f79453359043bd0e778cd153d3a83a3 | [
"MIT"
] | 1 | 2021-01-29T17:10:11.000Z | 2021-01-29T17:10:11.000Z | """Remove server defaults
Revision ID: 933060cd8eeb
Revises: 4b06fe3d82ab
Create Date: 2019-09-16 22:22:57.944053
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '933060cd8eeb'
down_revision = '4b06fe3d82ab'
branch_labels = None
depends_on = None
def upgrade(... | 31.039216 | 65 | 0.617814 | 169 | 1,583 | 5.579882 | 0.349112 | 0.044539 | 0.082715 | 0.133616 | 0.723224 | 0.723224 | 0.662778 | 0.662778 | 0.656416 | 0.656416 | 0 | 0.039724 | 0.268478 | 1,583 | 50 | 66 | 31.66 | 0.774611 | 0.19204 | 0 | 0.71875 | 0 | 0 | 0.128824 | 0.035427 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
138cb00961b7566af37a8b19d9c6d4709bb01062 | 13,170 | py | Python | kinow_client/models/create_product_request.py | kinow-io/kaemo-python-sdk | 610fce09e3a9e631babf09195b0492959d9e4d56 | [
"Apache-2.0"
] | 1 | 2017-05-03T12:48:22.000Z | 2017-05-03T12:48:22.000Z | kinow_client/models/create_product_request.py | kinow-io/kaemo-python-sdk | 610fce09e3a9e631babf09195b0492959d9e4d56 | [
"Apache-2.0"
] | null | null | null | kinow_client/models/create_product_request.py | kinow-io/kaemo-python-sdk | 610fce09e3a9e631babf09195b0492959d9e4d56 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Server API
Reference for Server API (REST/Json)
OpenAPI spec version: 2.0.9
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class CreateProductRequest(object):
"""
NOTE: This class... | 28.69281 | 302 | 0.609188 | 1,356 | 13,170 | 5.705015 | 0.096608 | 0.046536 | 0.201655 | 0.060109 | 0.577301 | 0.405636 | 0.284255 | 0.188082 | 0.095786 | 0.041624 | 0 | 0.007358 | 0.30858 | 13,170 | 458 | 303 | 28.755459 | 0.842192 | 0.368945 | 0 | 0.264045 | 1 | 0 | 0.126959 | 0.003192 | 0 | 0 | 0 | 0 | 0 | 1 | 0.202247 | false | 0 | 0.016854 | 0 | 0.337079 | 0.005618 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
1392a058dfd2e1a43a6f6773b1dae4df4e5fd25c | 678 | py | Python | mopidy_oe1/backend.py | movermeyer/mopidy-oe1 | 9d0b31df13cfedc9af10cefe575d82d5b4407d0f | [
"Apache-2.0"
] | 9 | 2015-03-08T15:53:33.000Z | 2020-04-01T10:11:22.000Z | mopidy_oe1/backend.py | movermeyer/mopidy-oe1 | 9d0b31df13cfedc9af10cefe575d82d5b4407d0f | [
"Apache-2.0"
] | 4 | 2015-04-05T23:45:14.000Z | 2019-12-08T16:29:35.000Z | mopidy_oe1/backend.py | movermeyer/mopidy-oe1 | 9d0b31df13cfedc9af10cefe575d82d5b4407d0f | [
"Apache-2.0"
] | 5 | 2015-04-05T23:30:53.000Z | 2020-03-28T19:13:16.000Z | from __future__ import unicode_literals
import logging
from mopidy import backend
import pykka
from mopidy_oe1.library import OE1LibraryProvider
from mopidy_oe1.playback import OE1PlaybackProvider
logger = logging.getLogger(__name__)
class OE1Backend(pykka.ThreadingActor, backend.Backend):
def __init__(self,... | 22.6 | 70 | 0.727139 | 76 | 678 | 6.197368 | 0.447368 | 0.063694 | 0.055202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018282 | 0.193215 | 678 | 29 | 71 | 23.37931 | 0.842779 | 0 | 0 | 0 | 0 | 0 | 0.032448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.055556 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
1396ddca2a35c1d445048a714bba27e7511237ef | 4,114 | py | Python | nameko/testing/rabbit.py | vlcinsky/nameko | 88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d | [
"Apache-2.0"
] | 3,425 | 2016-11-10T17:12:42.000Z | 2022-03-31T19:07:49.000Z | nameko/testing/rabbit.py | vlcinsky/nameko | 88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d | [
"Apache-2.0"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | nameko/testing/rabbit.py | vlcinsky/nameko | 88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d | [
"Apache-2.0"
] | 420 | 2016-11-17T05:46:42.000Z | 2022-03-23T12:36:06.000Z | import json
import six
from requests import ConnectionError, HTTPError, Session
from requests.auth import HTTPBasicAuth
from requests.utils import get_auth_from_url, urldefragauth
from six.moves.urllib.parse import quote # pylint: disable=E0401
__all__ = ['Client', 'HTTPError']
def _quote(value):
return quote... | 30.029197 | 77 | 0.600146 | 463 | 4,114 | 5.142549 | 0.274298 | 0.075598 | 0.032759 | 0.033599 | 0.149937 | 0.086518 | 0.034439 | 0.034439 | 0.034439 | 0 | 0 | 0.003349 | 0.274186 | 4,114 | 136 | 78 | 30.25 | 0.794039 | 0.041808 | 0 | 0.05 | 0 | 0 | 0.099644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.23 | false | 0.02 | 0.06 | 0.15 | 0.51 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1399c38729ca78ab7130d1f7eac4a60b339c59c0 | 109 | py | Python | execicios/ex010/mat06.py | Israel97f/Exercicios-de-Python | 5d3054187977deeb3fadbd7bb1cdee035c609a61 | [
"MIT"
] | null | null | null | execicios/ex010/mat06.py | Israel97f/Exercicios-de-Python | 5d3054187977deeb3fadbd7bb1cdee035c609a61 | [
"MIT"
] | null | null | null | execicios/ex010/mat06.py | Israel97f/Exercicios-de-Python | 5d3054187977deeb3fadbd7bb1cdee035c609a61 | [
"MIT"
] | null | null | null | n = float(input('Quanto dinheiro você ten na carteira '))
print('voce pode compra $ {:.2f}'.format(n/5.29))
| 27.25 | 57 | 0.669725 | 18 | 109 | 4.055556 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0.137615 | 109 | 3 | 58 | 36.333333 | 0.734043 | 0 | 0 | 0 | 0 | 0 | 0.568807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
139ab786d1d833a711cdd4232567fb413c7a4abd | 3,775 | py | Python | tests/components/plum_lightpad/test_init.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 6 | 2016-11-25T06:36:27.000Z | 2021-11-16T11:20:23.000Z | tests/components/plum_lightpad/test_init.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 56 | 2020-08-03T07:30:54.000Z | 2022-03-31T06:02:04.000Z | tests/components/plum_lightpad/test_init.py | erogleva/core | 994ae09f69afe772150a698953c0d7386a745de2 | [
"Apache-2.0"
] | 2 | 2020-12-25T16:31:22.000Z | 2020-12-30T20:53:56.000Z | """Tests for the Plum Lightpad config flow."""
from aiohttp import ContentTypeError
from requests.exceptions import HTTPError
from homeassistant.components.plum_lightpad.const import DOMAIN
from homeassistant.core import HomeAssistant
from homeassistant.setup import async_setup_component
from tests.async_mock import ... | 35.613208 | 82 | 0.714437 | 457 | 3,775 | 5.628009 | 0.175055 | 0.089425 | 0.087481 | 0.122473 | 0.760498 | 0.723561 | 0.707621 | 0.637247 | 0.577372 | 0.575428 | 0 | 0.001982 | 0.198146 | 3,775 | 105 | 83 | 35.952381 | 0.847704 | 0.010596 | 0 | 0.564103 | 0 | 0 | 0.203714 | 0.143355 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0 | false | 0.051282 | 0.102564 | 0 | 0.102564 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
13c2f97eb86e888ca5440a5e2c40cf7e7cfdad2e | 1,000 | py | Python | src/ggrc/models/hooks/__init__.py | mrR2D2/ggrc-core | f4f92628de4490512fcc9511be28e6cf1b875e14 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/ggrc/models/hooks/__init__.py | mrR2D2/ggrc-core | f4f92628de4490512fcc9511be28e6cf1b875e14 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/ggrc/models/hooks/__init__.py | mrR2D2/ggrc-core | f4f92628de4490512fcc9511be28e6cf1b875e14 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-13T12:32:45.000Z | 2020-02-13T12:32:45.000Z | # Copyright (C) 2019 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
"""Import GGRC model hooks."""
from ggrc.models.hooks import common
from ggrc.models.hooks import assessment
from ggrc.models.hooks import audit
from ggrc.models.hooks import comment
from ggrc.models.hooks ... | 25 | 78 | 0.759 | 146 | 1,000 | 5.089041 | 0.438356 | 0.118439 | 0.207268 | 0.281292 | 0.38358 | 0.080754 | 0 | 0 | 0 | 0 | 0 | 0.007246 | 0.172 | 1,000 | 39 | 79 | 25.641026 | 0.890097 | 0.248 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.407407 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
13c4761fc2bcac0d7fd3b75f841c8d3f23ad4cb0 | 3,479 | py | Python | test/jit/test_hash.py | Stonepia/pytorch | 82006ba46074226a071c25dd2e03dc4828941544 | [
"Intel"
] | 1 | 2021-06-17T13:02:45.000Z | 2021-06-17T13:02:45.000Z | test/jit/test_hash.py | Stonepia/pytorch | 82006ba46074226a071c25dd2e03dc4828941544 | [
"Intel"
] | null | null | null | test/jit/test_hash.py | Stonepia/pytorch | 82006ba46074226a071c25dd2e03dc4828941544 | [
"Intel"
] | null | null | null | import os
import sys
import torch
from typing import Tuple, List
# Make the helper files in test/ importable
pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
sys.path.append(pytorch_test_dir)
from torch.testing._internal.jit_utils import JitTestCase
if __name__ == "__main__":
rais... | 32.212963 | 81 | 0.576028 | 454 | 3,479 | 4.317181 | 0.264317 | 0.229592 | 0.260204 | 0.064286 | 0.265306 | 0.106633 | 0.081633 | 0.081633 | 0.045408 | 0.045408 | 0 | 0.049704 | 0.271342 | 3,479 | 107 | 82 | 32.514019 | 0.723471 | 0.047715 | 0 | 0.025 | 0 | 0 | 0.052648 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 1 | 0.225 | false | 0 | 0.0625 | 0.1 | 0.4125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13c8f926b1b7d2d2d35425f659d65359e2cd0872 | 184 | py | Python | KGEkeras/__init__.py | Erik-BM/KGE-Keras | e15b5435e603dff3cd241b703edad0763c14087e | [
"MIT"
] | 2 | 2020-03-14T14:55:13.000Z | 2020-06-26T10:53:24.000Z | KGEkeras/__init__.py | Erik-BM/KGE-Keras | e15b5435e603dff3cd241b703edad0763c14087e | [
"MIT"
] | null | null | null | KGEkeras/__init__.py | Erik-BM/KGE-Keras | e15b5435e603dff3cd241b703edad0763c14087e | [
"MIT"
] | 1 | 2020-06-26T11:04:41.000Z | 2020-06-26T11:04:41.000Z | # -*- coding: utf-8 -*-
__version__ = '0.1.0'
__doc__ = """
Knowledge graph embedding models implemented as keras.Model sub-classes.
"""
from .models import *
from .utils import *
| 23 | 76 | 0.673913 | 24 | 184 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.173913 | 184 | 7 | 77 | 26.285714 | 0.736842 | 0.11413 | 0 | 0 | 0 | 0 | 0.515528 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
13ca97e6a4b284228fa22002df606846af46ee0d | 1,849 | py | Python | acos_client/v21/nat.py | alonbg/acos-client | 027370e47862ea64d289a6f55378fe45fb28140d | [
"Apache-2.0"
] | null | null | null | acos_client/v21/nat.py | alonbg/acos-client | 027370e47862ea64d289a6f55378fe45fb28140d | [
"Apache-2.0"
] | null | null | null | acos_client/v21/nat.py | alonbg/acos-client | 027370e47862ea64d289a6f55378fe45fb28140d | [
"Apache-2.0"
] | null | null | null | # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# d... | 36.254902 | 78 | 0.585722 | 232 | 1,849 | 4.560345 | 0.392241 | 0.075614 | 0.062382 | 0.068053 | 0.289225 | 0.251418 | 0.251418 | 0.226843 | 0.160681 | 0.160681 | 0 | 0.006197 | 0.301785 | 1,849 | 50 | 79 | 36.98 | 0.813323 | 0.295295 | 0 | 0.172414 | 0 | 0 | 0.119565 | 0.039596 | 0 | 0 | 0 | 0 | 0 | 1 | 0.275862 | false | 0 | 0.034483 | 0.241379 | 0.655172 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
13cd08512e19891898090a708a1bc908c3f50d8e | 579 | py | Python | models/__init__.py | yshanyes/Pytorch-ECG-Classifier-Cinc2020-Official | 292fcf0758d526dad204cbec5935c864b7ee9444 | [
"BSD-2-Clause"
] | 7 | 2020-09-24T03:08:56.000Z | 2022-01-12T12:51:19.000Z | models/__init__.py | yshanyes/Pytorch-ECG-Classifier-Cinc2020-Official | 292fcf0758d526dad204cbec5935c864b7ee9444 | [
"BSD-2-Clause"
] | null | null | null | models/__init__.py | yshanyes/Pytorch-ECG-Classifier-Cinc2020-Official | 292fcf0758d526dad204cbec5935c864b7ee9444 | [
"BSD-2-Clause"
] | 4 | 2021-01-16T10:45:13.000Z | 2021-06-22T07:03:53.000Z | # -*- coding: utf-8 -*-
'''
@time: 2019/10/1 10:20
@ author: ys
'''
from .mixnet_sm import mixnet_sm_pretrain, mixnet_sm, mixnet_sm_predict
from .mixnet_mm import mixnet_mm_pretrain, mixnet_mm, mixnet_mm_predict
from .resnet import resnet34
from .senet import seresnet34, seresnet50,seresnet101,seresnext26_32x4d,seres... | 32.166667 | 89 | 0.823834 | 77 | 579 | 5.961039 | 0.519481 | 0.069717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092131 | 0.100173 | 579 | 17 | 90 | 34.058824 | 0.788868 | 0.170984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
13e5e30cc5ff4bd24ed78e638a64bba66bcdaea3 | 4,246 | py | Python | ThunkLibs/Generators/libXrender.py | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | null | null | null | ThunkLibs/Generators/libXrender.py | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | null | null | null | ThunkLibs/Generators/libXrender.py | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from ThunkHelpers import *
lib("libXrender")
fn("Cursor XRenderCreateAnimCursor(Display*, int, XAnimCursor*)")
fn("Cursor XRenderCreateCursor(Display*, Picture, unsigned int, unsigned int)")
fn("GlyphSet XRenderCreateGlyphSet(Display*, const XRenderPictFormat*)")
fn("GlyphSet XRenderReferenceGlyphS... | 81.653846 | 156 | 0.775789 | 452 | 4,246 | 7.287611 | 0.199115 | 0.071038 | 0.051913 | 0.087432 | 0.427444 | 0.317851 | 0.279599 | 0.243169 | 0.222526 | 0.187917 | 0 | 0.004123 | 0.085963 | 4,246 | 52 | 157 | 81.653846 | 0.844628 | 0.004004 | 0 | 0 | 0 | 0.276596 | 0.91511 | 0.346654 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.021277 | 0 | 0.021277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
13e6ef2c417eed171fa2e823fe3cbedf3426171d | 100 | py | Python | project_admin/apps.py | madprime/oh-ancestrydna-source | adb46038afd436b0d7f8b60be43a933916f6b22e | [
"MIT"
] | 7 | 2018-02-03T02:00:33.000Z | 2019-12-16T10:42:07.000Z | project_admin/apps.py | madprime/oh-ancestrydna-source | adb46038afd436b0d7f8b60be43a933916f6b22e | [
"MIT"
] | 64 | 2018-02-14T13:11:35.000Z | 2022-03-17T10:12:48.000Z | project_admin/apps.py | madprime/oh-ancestrydna-source | adb46038afd436b0d7f8b60be43a933916f6b22e | [
"MIT"
] | 34 | 2018-02-13T20:00:04.000Z | 2018-03-29T11:10:02.000Z | from django.apps import AppConfig
class ProjectAdminConfig(AppConfig):
name = 'project_admin'
| 16.666667 | 36 | 0.78 | 11 | 100 | 7 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 100 | 5 | 37 | 20 | 0.905882 | 0 | 0 | 0 | 0 | 0 | 0.13 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
13f17984a131118b479da3b6558a4509ec34032b | 2,709 | py | Python | emission/core/wrapper/client.py | trevor-wu/e-mission-server | 2e31986bd7c0faab7110b7eb69541b0b9eac62df | [
"BSD-3-Clause"
] | 1 | 2018-01-07T19:17:16.000Z | 2018-01-07T19:17:16.000Z | emission/core/wrapper/client.py | trevor-wu/e-mission-server | 2e31986bd7c0faab7110b7eb69541b0b9eac62df | [
"BSD-3-Clause"
] | null | null | null | emission/core/wrapper/client.py | trevor-wu/e-mission-server | 2e31986bd7c0faab7110b7eb69541b0b9eac62df | [
"BSD-3-Clause"
] | 1 | 2021-11-15T10:22:41.000Z | 2021-11-15T10:22:41.000Z | from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
#
# In the current iteration, there is a client object that can be loaded from
# the filesystem into the database and its settings loaded from the database.
# There are no... | 37.109589 | 115 | 0.740126 | 394 | 2,709 | 4.959391 | 0.416244 | 0.057318 | 0.040942 | 0.028659 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00045 | 0.18014 | 2,709 | 72 | 116 | 37.625 | 0.879334 | 0.368771 | 0 | 0.093023 | 0 | 0 | 0.086442 | 0.01717 | 0 | 0 | 0 | 0.013889 | 0 | 1 | 0.162791 | false | 0 | 0.325581 | 0.023256 | 0.627907 | 0.023256 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b938c751006cdaa9a3488e3d9f2970d3cad75366 | 446 | py | Python | lhotse/dataset/__init__.py | freewym/lhotse | 66e9bbaf25b75011388ab00189baa162c3c1d435 | [
"Apache-2.0"
] | null | null | null | lhotse/dataset/__init__.py | freewym/lhotse | 66e9bbaf25b75011388ab00189baa162c3c1d435 | [
"Apache-2.0"
] | null | null | null | lhotse/dataset/__init__.py | freewym/lhotse | 66e9bbaf25b75011388ab00189baa162c3c1d435 | [
"Apache-2.0"
] | null | null | null | from .diarization import DiarizationDataset
from .source_separation import (
SourceSeparationDataset,
PreMixedSourceSeparationDataset,
DynamicallyMixedSourceSeparationDataset
)
from .speech_recognition import SpeechRecognitionDataset
from .speech_synthesis import SpeechSynthesisDataset
from .unsupervised im... | 29.733333 | 56 | 0.843049 | 31 | 446 | 12.032258 | 0.645161 | 0.053619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125561 | 446 | 14 | 57 | 31.857143 | 0.95641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b9562d9cc2c5a50ea05d9a0e0405dd356a8d6320 | 319 | py | Python | bitmovin/services/encodings/webm_drm_service.py | migutw42/bitmovin-python | 2d82b143bc405ee24398821280621dc64b5af7e9 | [
"Unlicense"
] | 44 | 2016-12-12T17:37:23.000Z | 2021-03-03T09:48:48.000Z | bitmovin/services/encodings/webm_drm_service.py | migutw42/bitmovin-python | 2d82b143bc405ee24398821280621dc64b5af7e9 | [
"Unlicense"
] | 38 | 2017-01-09T14:45:45.000Z | 2022-02-27T18:04:33.000Z | bitmovin/services/encodings/webm_drm_service.py | migutw42/bitmovin-python | 2d82b143bc405ee24398821280621dc64b5af7e9 | [
"Unlicense"
] | 27 | 2017-02-02T22:49:31.000Z | 2019-11-21T07:04:57.000Z | from .drm_service import DRMService
from .cenc_drm_service import CENCDRM
class WebMDRMService(DRMService):
MUXING_TYPE_URL = 'webm'
def __init__(self, http_client):
super().__init__(http_client=http_client)
self.CENC = CENCDRM(http_client=http_client, muxing_type_url=self.MUXING_TYPE_URL)
| 26.583333 | 90 | 0.76489 | 43 | 319 | 5.162791 | 0.44186 | 0.225225 | 0.175676 | 0.18018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153605 | 319 | 11 | 91 | 29 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.012539 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.714286 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b973977bc932d3a00b25074c9c6fc90ccd86ee52 | 193 | py | Python | src/pattern-searching/boj_2775.py | joeyworld/algo | 03e733f8f0dafe8b5cfe85eb9f7d72f370a67c61 | [
"MIT"
] | 1 | 2019-02-11T09:18:14.000Z | 2019-02-11T09:18:14.000Z | src/pattern-searching/boj_2775.py | gyukebox/algo | 03e733f8f0dafe8b5cfe85eb9f7d72f370a67c61 | [
"MIT"
] | null | null | null | src/pattern-searching/boj_2775.py | gyukebox/algo | 03e733f8f0dafe8b5cfe85eb9f7d72f370a67c61 | [
"MIT"
] | null | null | null | def solve(floor, room):
pass
if __name__ == '__main__':
num_tc = int(input())
for _ in range(num_tc):
k = int(input())
n = int(input())
print(solve(k, n))
| 17.545455 | 27 | 0.518135 | 27 | 193 | 3.296296 | 0.666667 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316062 | 193 | 10 | 28 | 19.3 | 0.674242 | 0 | 0 | 0 | 0 | 0 | 0.041451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0 | 0 | 0.125 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b9a3ff697396841c55505470726f1419eccfa0d8 | 161 | py | Python | is_palindrome.py | YessOn/ProjectEuler-Toolkits | cc196c1c6faca32f7613ae40ddb3c7f7b86e071e | [
"MIT"
] | null | null | null | is_palindrome.py | YessOn/ProjectEuler-Toolkits | cc196c1c6faca32f7613ae40ddb3c7f7b86e071e | [
"MIT"
] | null | null | null | is_palindrome.py | YessOn/ProjectEuler-Toolkits | cc196c1c6faca32f7613ae40ddb3c7f7b86e071e | [
"MIT"
] | null | null | null | def is_palindrome(n):
if str(n) == str(n)[::-1]:
return True
return False
# Examples:
is_palindrome(101) # True
is_palindrome(147) # False
| 16.1 | 30 | 0.608696 | 23 | 161 | 4.130435 | 0.565217 | 0.378947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057851 | 0.248447 | 161 | 9 | 31 | 17.888889 | 0.727273 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9b17a163a4842f240419d73afcc80272d7f7296 | 592 | py | Python | cohesity_management_sdk/models/object_class_enum.py | chandrashekar-cohesity/management-sdk-python | 9e6ec99e8a288005804b808c4e9b19fd204e3a8b | [
"Apache-2.0"
] | 1 | 2019-11-07T23:19:32.000Z | 2019-11-07T23:19:32.000Z | cohesity_management_sdk/models/object_class_enum.py | chandrashekar-cohesity/management-sdk-python | 9e6ec99e8a288005804b808c4e9b19fd204e3a8b | [
"Apache-2.0"
] | null | null | null | cohesity_management_sdk/models/object_class_enum.py | chandrashekar-cohesity/management-sdk-python | 9e6ec99e8a288005804b808c4e9b19fd204e3a8b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2019 Cohesity Inc.
class ObjectClassEnum(object):
"""Implementation of the 'ObjectClass' enum.
Specifies the object class of the principal (either 'kGroup' or 'kUser').
'kUser' specifies a user object class.
'kGroup' specifies a group object class.
'kComputer' ... | 22.769231 | 77 | 0.657095 | 66 | 592 | 5.893939 | 0.469697 | 0.113111 | 0.14653 | 0.177378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011186 | 0.244932 | 592 | 25 | 78 | 23.68 | 0.85906 | 0.731419 | 0 | 0 | 0 | 0 | 0.176991 | 0 | 0 | 0 | 0 | 0.12 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b9bee50086fa06af2fef2ce84ec75a8953baeeaf | 1,690 | py | Python | ngcasa/flagging/shadow.py | wxiongccnu1990/cngi_prototype | 7a7230485acc9f8f2be534a832522339153d521e | [
"Apache-2.0"
] | null | null | null | ngcasa/flagging/shadow.py | wxiongccnu1990/cngi_prototype | 7a7230485acc9f8f2be534a832522339153d521e | [
"Apache-2.0"
] | null | null | null | ngcasa/flagging/shadow.py | wxiongccnu1990/cngi_prototype | 7a7230485acc9f8f2be534a832522339153d521e | [
"Apache-2.0"
] | null | null | null | # Copyright 2020 AUI, Inc. Washington DC, USA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... | 39.302326 | 85 | 0.711834 | 246 | 1,690 | 4.865854 | 0.601626 | 0.050125 | 0.037594 | 0.026734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009224 | 0.230178 | 1,690 | 42 | 86 | 40.238095 | 0.910838 | 0.885207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9c7e63896a19f8f68bf0b6cf666cb87713acaae | 1,183 | py | Python | lib/python2.7/site-packages/networkx/algorithms/isomorphism/tests/test_isomorphism.py | nishaero/wifi-userseg-ryu | 1132f2c813b79eff755bdd1a9e73e7ad3980af7c | [
"Apache-2.0"
] | 184 | 2017-12-20T21:50:06.000Z | 2022-03-19T13:24:58.000Z | lib/python2.7/site-packages/networkx/algorithms/isomorphism/tests/test_isomorphism.py | nishaero/wifi-userseg-ryu | 1132f2c813b79eff755bdd1a9e73e7ad3980af7c | [
"Apache-2.0"
] | 71 | 2015-01-05T16:50:55.000Z | 2020-09-30T19:17:47.000Z | lib/python2.7/site-packages/networkx/algorithms/isomorphism/tests/test_isomorphism.py | nishaero/wifi-userseg-ryu | 1132f2c813b79eff755bdd1a9e73e7ad3980af7c | [
"Apache-2.0"
] | 136 | 2018-01-09T22:52:06.000Z | 2022-02-24T13:26:18.000Z | #!/usr/bin/env python
from nose.tools import *
import networkx as nx
from networkx.algorithms import isomorphism as iso
class TestIsomorph:
def setUp(self):
self.G1=nx.Graph()
self.G2=nx.Graph()
self.G3=nx.Graph()
self.G4=nx.Graph()
self.G1.add_edges_from([ [1,2],[1,3],[1,5... | 35.848485 | 68 | 0.666948 | 197 | 1,183 | 3.77665 | 0.228426 | 0.225806 | 0.205645 | 0.254032 | 0.651882 | 0.587366 | 0.50672 | 0.329301 | 0.329301 | 0.076613 | 0 | 0.06524 | 0.170752 | 1,183 | 32 | 69 | 36.96875 | 0.69317 | 0.016906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.32 | 1 | 0.2 | false | 0 | 0.12 | 0 | 0.36 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b9e5f2a40785450b2c248ab3b74c508e43aeb946 | 413 | py | Python | 0x0B-python-input_output/9-student.py | coding-max/holbertonschool-higher_level_programming | 392fed1ae686642b6cca6bb6752050882bbf79fc | [
"MIT"
] | 1 | 2021-04-26T03:45:12.000Z | 2021-04-26T03:45:12.000Z | 0x0B-python-input_output/9-student.py | coding-max/holbertonschool-higher_level_programming | 392fed1ae686642b6cca6bb6752050882bbf79fc | [
"MIT"
] | null | null | null | 0x0B-python-input_output/9-student.py | coding-max/holbertonschool-higher_level_programming | 392fed1ae686642b6cca6bb6752050882bbf79fc | [
"MIT"
] | 1 | 2022-02-02T02:44:35.000Z | 2022-02-02T02:44:35.000Z | #!/usr/bin/python3
"""Student to JSON"""
class Student:
"""representation of a student"""
def __init__(self, first_name, last_name, age):
"""instantiation of the student"""
self.first_name = first_name
self.last_name = last_name
self.age = age
def to_json(self):
""... | 25.8125 | 73 | 0.639225 | 52 | 413 | 4.788462 | 0.461538 | 0.108434 | 0.136546 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003226 | 0.249395 | 413 | 15 | 74 | 27.533333 | 0.8 | 0.363196 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b9f4c1e80f5b309153b9a36f08e85d719f4cc498 | 129 | py | Python | apps/dashboard/appconfig.py | Kpaubert/onlineweb4 | 9ac79f163bc3a816db57ffa8477ea88770d97807 | [
"MIT"
] | 32 | 2017-02-22T13:38:38.000Z | 2022-03-31T23:29:54.000Z | apps/dashboard/appconfig.py | Kpaubert/onlineweb4 | 9ac79f163bc3a816db57ffa8477ea88770d97807 | [
"MIT"
] | 694 | 2017-02-15T23:09:52.000Z | 2022-03-31T23:16:07.000Z | apps/dashboard/appconfig.py | Kpaubert/onlineweb4 | 9ac79f163bc3a816db57ffa8477ea88770d97807 | [
"MIT"
] | 35 | 2017-09-02T21:13:09.000Z | 2022-02-21T11:30:30.000Z | from django.apps import AppConfig
class DashboardConfig(AppConfig):
name = "apps.dashboard"
verbose_name = "dashboard"
| 18.428571 | 33 | 0.744186 | 14 | 129 | 6.785714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170543 | 129 | 6 | 34 | 21.5 | 0.88785 | 0 | 0 | 0 | 0 | 0 | 0.178295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.