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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8859d90770f91980a109754a29353bbd93446f4d | 393 | py | Python | msbd/tests/test_fattoriale.py | mnslarcher/metodi-statistici-big-data | 4587b4e4104557e50d09d028259d6c42c44d2814 | [
"MIT"
] | 1 | 2019-02-17T09:28:04.000Z | 2019-02-17T09:28:04.000Z | msbd/tests/test_fattoriale.py | mnslarcher/metodi-statistici-big-data | 4587b4e4104557e50d09d028259d6c42c44d2814 | [
"MIT"
] | null | null | null | msbd/tests/test_fattoriale.py | mnslarcher/metodi-statistici-big-data | 4587b4e4104557e50d09d028259d6c42c44d2814 | [
"MIT"
] | null | null | null | from ..matematica import fattoriale
import math
import pytest
def test_value_error_se_n_non_intero():
with pytest.raises(ValueError):
fattoriale("42")
def test_value_error_se_n_minore_0():
with pytest.raises(ValueError):
fattoriale(-1)
def test_n_uguale_0():
assert fattoriale(0) == 1
... | 17.863636 | 47 | 0.720102 | 56 | 393 | 4.732143 | 0.428571 | 0.10566 | 0.090566 | 0.128302 | 0.535849 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0.040248 | 0.178117 | 393 | 21 | 48 | 18.714286 | 0.780186 | 0 | 0 | 0.153846 | 0 | 0 | 0.005089 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 1 | 0.307692 | true | 0 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
887024e987c8c17e55d18aa110d5d5852d3773bf | 2,209 | py | Python | xunit-autolabeler-v2/ast_parser/python/test_data/new_tests/ending_lines.py | GoogleCloudPlatform/repo-automation-playground | a4c8f104c246ede002f6c18fcebfc0496c8abb94 | [
"Apache-2.0"
] | 5 | 2019-07-11T17:35:44.000Z | 2021-10-09T01:49:04.000Z | xunit-autolabeler-v2/ast_parser/python/test_data/new_tests/ending_lines.py | GoogleCloudPlatform/repo-automation-playground | a4c8f104c246ede002f6c18fcebfc0496c8abb94 | [
"Apache-2.0"
] | 36 | 2019-08-27T18:20:21.000Z | 2022-01-12T21:29:00.000Z | xunit-autolabeler-v2/ast_parser/python/test_data/new_tests/ending_lines.py | GoogleCloudPlatform/repo-automation-playground | a4c8f104c246ede002f6c18fcebfc0496c8abb94 | [
"Apache-2.0"
] | 13 | 2019-10-30T19:39:51.000Z | 2021-04-04T09:31:52.000Z | # Copyright 2020 Google LLC.
#
# 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, ... | 18.256198 | 74 | 0.549117 | 289 | 2,209 | 4.107266 | 0.342561 | 0.111205 | 0.129739 | 0.166807 | 0.407751 | 0.367313 | 0.367313 | 0.342039 | 0.31171 | 0.304971 | 0 | 0.022677 | 0.381168 | 2,209 | 120 | 75 | 18.408333 | 0.845647 | 0.430059 | 0 | 0.326923 | 0 | 0 | 0.003295 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0 | 0.134615 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
88a59b8b4235b7256e6a03a574905370d2675b64 | 832 | py | Python | tests/sources/local/python/5_string_encoding/src/encoding.py | eflows4hpc/compss | c497f6d34722103c6c8f83ebc314b495573ce054 | [
"Apache-2.0"
] | 31 | 2018-03-06T09:30:03.000Z | 2022-03-23T09:51:05.000Z | tests/sources/local/python/5_string_encoding/src/encoding.py | eflows4hpc/compss | c497f6d34722103c6c8f83ebc314b495573ce054 | [
"Apache-2.0"
] | 3 | 2020-08-28T17:16:50.000Z | 2021-11-11T21:58:02.000Z | tests/sources/local/python/5_string_encoding/src/encoding.py | eflows4hpc/compss | c497f6d34722103c6c8f83ebc314b495573ce054 | [
"Apache-2.0"
] | 15 | 2018-06-07T10:03:27.000Z | 2022-02-23T14:59:42.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
PyCOMPSs Testbench Arguments Warnings
=====================================
"""
# Imports
import unittest
from modules.testStandard import testStandard
from modules.testBinary import testBinary
from modules.testOmpSs import testOmpSs
from modules.testMPI import testMPI
... | 26 | 74 | 0.745192 | 79 | 832 | 7.746835 | 0.405063 | 0.089869 | 0.318627 | 0.196078 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002692 | 0.106971 | 832 | 31 | 75 | 26.83871 | 0.820996 | 0.146635 | 0 | 0 | 0 | 0 | 0.011429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.4 | 0 | 0.466667 | 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 |
88b4cb61c9223f78a51cf760f480c9a4970f54ff | 647 | py | Python | tests/settings/mixin_inheritance.py | michael-k/django-configurations | 78f9824f0c7959bec01e5caf6582fbe7cb32cbd1 | [
"BSD-3-Clause"
] | null | null | null | tests/settings/mixin_inheritance.py | michael-k/django-configurations | 78f9824f0c7959bec01e5caf6582fbe7cb32cbd1 | [
"BSD-3-Clause"
] | null | null | null | tests/settings/mixin_inheritance.py | michael-k/django-configurations | 78f9824f0c7959bec01e5caf6582fbe7cb32cbd1 | [
"BSD-3-Clause"
] | null | null | null | from configurations import Configuration
class Mixin1(object):
@property
def ALLOWED_HOSTS(self):
allowed_hosts = super(Mixin1, self).ALLOWED_HOSTS[:]
allowed_hosts.append('test1')
return allowed_hosts
class Mixin2(object):
@property
def ALLOWED_HOSTS(self):
allowed_... | 23.962963 | 65 | 0.68779 | 71 | 647 | 6.056338 | 0.28169 | 0.418605 | 0.223256 | 0.132558 | 0.553488 | 0.553488 | 0.316279 | 0.232558 | 0.232558 | 0 | 0 | 0.017787 | 0.217929 | 647 | 26 | 66 | 24.884615 | 0.832016 | 0 | 0 | 0.444444 | 0 | 0 | 0.023184 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.055556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
88b78c1dc4b30436ff5fc932a805a0cd67f2efa2 | 1,085 | py | Python | lista/models/instrutor_model.py | Leo-Cal/lista-de-compras-backend | b1129268a6d46971a19fd71bca9ba9f15fba2a80 | [
"MIT"
] | null | null | null | lista/models/instrutor_model.py | Leo-Cal/lista-de-compras-backend | b1129268a6d46971a19fd71bca9ba9f15fba2a80 | [
"MIT"
] | null | null | null | lista/models/instrutor_model.py | Leo-Cal/lista-de-compras-backend | b1129268a6d46971a19fd71bca9ba9f15fba2a80 | [
"MIT"
] | null | null | null | from dao import db,Base
from datetime import datetime
class InstrutorModel(Base):
__tablename__ = 'instrutores'
id = db.Column(db.Integer, primary_key=True)
matricula = db.Column(db.Integer, unique = True)
nome = db.Column(db.String(200), unique=True)
#data_criacao = db.Column(db.DateTime)
br... | 27.820513 | 64 | 0.657143 | 134 | 1,085 | 5.164179 | 0.380597 | 0.057803 | 0.072254 | 0.073699 | 0.141619 | 0.078035 | 0 | 0 | 0 | 0 | 0 | 0.003571 | 0.225806 | 1,085 | 39 | 65 | 27.820513 | 0.820238 | 0.066359 | 0 | 0.178571 | 0 | 0 | 0.025692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.107143 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
ee15a551f08a775e877687978a6c5ebbd2832550 | 590 | py | Python | diffpriv_laplace/global_sensitivity/sum.py | aleph-research/diff-priv-laplace-python | 74233931a0edc1503c332d731d9aa2784ec04189 | [
"MIT"
] | 6 | 2020-04-13T01:09:38.000Z | 2020-11-11T08:01:18.000Z | diffpriv_laplace/global_sensitivity/sum.py | aleph-research/diff-priv-laplace-python | 74233931a0edc1503c332d731d9aa2784ec04189 | [
"MIT"
] | null | null | null | diffpriv_laplace/global_sensitivity/sum.py | aleph-research/diff-priv-laplace-python | 74233931a0edc1503c332d731d9aa2784ec04189 | [
"MIT"
] | null | null | null | import numpy as np
from diffpriv_laplace.global_sensitivity.base import GlobalSensitivity
class SumGlobalSensitivity(GlobalSensitivity):
@classmethod
def calculate_value(cls, lower, upper):
value = np.max([np.abs(upper), np.abs(lower)])
return value
def __init__(self, lower, upper):
... | 25.652174 | 74 | 0.677966 | 69 | 590 | 5.449275 | 0.405797 | 0.095745 | 0.074468 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223729 | 590 | 22 | 75 | 26.818182 | 0.820961 | 0 | 0 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.588235 | 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 |
ee4a8f241c4f1e4b24fcfac7e7ef351daa99d87f | 514 | py | Python | xmlBaseLib.py | fermi-lat/xmlBase | 2feb95d3b0f651bbf4d79cde62ba5ca71b8f654e | [
"BSD-3-Clause"
] | null | null | null | xmlBaseLib.py | fermi-lat/xmlBase | 2feb95d3b0f651bbf4d79cde62ba5ca71b8f654e | [
"BSD-3-Clause"
] | null | null | null | xmlBaseLib.py | fermi-lat/xmlBase | 2feb95d3b0f651bbf4d79cde62ba5ca71b8f654e | [
"BSD-3-Clause"
] | null | null | null | #$Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/xmlBase/xmlBaseLib.py,v 1.4 2009/01/23 00:21:04 ecephas Exp $
def generate(env, **kw):
if not kw.get('depsOnly',0):
env.Tool('addLibrary', library = ['xmlBase'], package = 'xmlBase')
if env['PLATFORM']=='win32' and env.get('CONTAINERNAME','')... | 39.538462 | 119 | 0.643969 | 68 | 514 | 4.867647 | 0.661765 | 0.084592 | 0.102719 | 0.145015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04662 | 0.16537 | 514 | 12 | 120 | 42.833333 | 0.724942 | 0.229572 | 0 | 0 | 1 | 0 | 0.306329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
ee7da561f88d784f261ca6b4d2d67ffdb6e0a551 | 201 | py | Python | Downloader/UI/Widgets/scroll_bar.py | Sangeerththan/SangGDownloader | 2ab824633ed2bdb77c25926c6b12f41ef78ec9f6 | [
"MIT"
] | 5 | 2022-01-09T13:38:25.000Z | 2022-01-21T12:04:20.000Z | Downloader/UI/Widgets/scroll_bar.py | Sangeerththan/SangGDownloader | 2ab824633ed2bdb77c25926c6b12f41ef78ec9f6 | [
"MIT"
] | null | null | null | Downloader/UI/Widgets/scroll_bar.py | Sangeerththan/SangGDownloader | 2ab824633ed2bdb77c25926c6b12f41ef78ec9f6 | [
"MIT"
] | 1 | 2022-01-09T13:38:28.000Z | 2022-01-09T13:38:28.000Z | from tkinter import Scrollbar
def create_scrollbar(self):
self.scrollbar = Scrollbar(orient='vertical', command=self.tree.yview)
self.scrollbar.grid(row=6, column=3, rowspan=10, sticky='sn')
| 28.714286 | 74 | 0.746269 | 28 | 201 | 5.321429 | 0.75 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022599 | 0.119403 | 201 | 6 | 75 | 33.5 | 0.819209 | 0 | 0 | 0 | 0 | 0 | 0.049751 | 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 |
c98d24ebe19e583ce805d290f6a6222db5db7706 | 93 | py | Python | mosquitto/__init__.py | glomium/cmstemplate | 6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c | [
"BSD-3-Clause"
] | null | null | null | mosquitto/__init__.py | glomium/cmstemplate | 6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c | [
"BSD-3-Clause"
] | null | null | null | mosquitto/__init__.py | glomium/cmstemplate | 6d51a6d97cf5a132e41ea6d2404bdfedf9edf25c | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/python
# ex:set fileencoding=utf-8:
default_app_config = 'mosquitto.apps.Config'
| 18.6 | 44 | 0.752688 | 14 | 93 | 4.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.086022 | 93 | 4 | 45 | 23.25 | 0.788235 | 0.462366 | 0 | 0 | 0 | 0 | 0.4375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c9bc4526e54e7f248746c9d4bfb83eda292c904a | 1,210 | py | Python | pyusermanager/custom_exceptions.py | Aurvandill137/pyusermanager | 56bb16b3ed510eee70ff33ccafdc0a9b0fc673b0 | [
"MIT"
] | 3 | 2022-02-13T14:10:35.000Z | 2022-02-14T00:20:02.000Z | pyusermanager/custom_exceptions.py | Aurvandill137/pyusermanager | 56bb16b3ed510eee70ff33ccafdc0a9b0fc673b0 | [
"MIT"
] | null | null | null | pyusermanager/custom_exceptions.py | Aurvandill137/pyusermanager | 56bb16b3ed510eee70ff33ccafdc0a9b0fc673b0 | [
"MIT"
] | 1 | 2022-02-13T14:10:03.000Z | 2022-02-13T14:10:03.000Z | class NotInitedException(Exception):
"""Deprecated! was used to state that the database in the general config was not inited yet"""
def __init__(self, *args, **kwargs):
Exception.__init__(self, *args, **kwargs)
class MissingUserException(Exception):
"""The requested User could not be found"""
... | 35.588235 | 98 | 0.682645 | 152 | 1,210 | 5.118421 | 0.381579 | 0.123393 | 0.18509 | 0.277635 | 0.497429 | 0.497429 | 0.497429 | 0.497429 | 0.497429 | 0.497429 | 0 | 0 | 0.192562 | 1,210 | 33 | 99 | 36.666667 | 0.796315 | 0.306612 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 |
c9dca90fa4f5254ebbda22b34bd5abf621ce934d | 57 | py | Python | third_party/webrtc/src/tools/python_charts/gviz_api.py | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/tools/python_charts/gviz_api.py | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/tools/python_charts/gviz_api.py | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | ../../third_party/google-visualization-python/gviz_api.py | 57 | 57 | 0.807018 | 8 | 57 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 57 | 1 | 57 | 57 | 0.77193 | 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 |
c9f0c6366df97e582cd8ef073bfe34bb58a6cf13 | 22 | py | Python | lib/clint/__init__.py | federico123579/BigBrother | 9b61dcf8fd84b6491690ae83bf695bc2b64b17b3 | [
"MIT"
] | 29 | 2017-03-14T11:48:54.000Z | 2022-02-22T02:01:25.000Z | lib/clint/__init__.py | federico123579/BigBrother | 9b61dcf8fd84b6491690ae83bf695bc2b64b17b3 | [
"MIT"
] | null | null | null | lib/clint/__init__.py | federico123579/BigBrother | 9b61dcf8fd84b6491690ae83bf695bc2b64b17b3 | [
"MIT"
] | 10 | 2017-07-16T18:58:05.000Z | 2021-09-27T23:45:24.000Z | __all__ = ['progress'] | 22 | 22 | 0.681818 | 2 | 22 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.347826 | 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 |
c9f128ce4c1a8add95204c76ececbd29a2e21257 | 878 | py | Python | examples/verify-ed25519.py | ubirch/ubirch-protocol-python | b71a5cfc7d7a6b6786bf94510e99a77474469905 | [
"Apache-2.0"
] | 3 | 2020-03-03T08:45:40.000Z | 2021-05-28T06:12:40.000Z | examples/verify-ed25519.py | ubirch/ubirch-protocol-python | b71a5cfc7d7a6b6786bf94510e99a77474469905 | [
"Apache-2.0"
] | 2 | 2018-09-21T07:19:57.000Z | 2021-03-13T16:43:22.000Z | examples/verify-ed25519.py | ubirch/ubirch-protocol-python | b71a5cfc7d7a6b6786bf94510e99a77474469905 | [
"Apache-2.0"
] | 3 | 2018-09-13T09:12:19.000Z | 2019-05-12T10:19:12.000Z | import binascii
import hashlib
import ed25519
# public key
pubkey = "okA7krya3TZbPNEv8SDQIGR/hOppg/mLxMh+D0vozWY="
# message to verify
message = "9623c4109d3c78ff22f34441a5d185c636d486ffc4408033ca8417150ef3ec2bebd7a9b35c8d3d6093d7a37a3025a6d236a088d4760796041c6bf6be8e7a834cea76f071135fcdd9216557f959e8d24d20a114d2ad0... | 39.909091 | 368 | 0.854214 | 66 | 878 | 11.272727 | 0.575758 | 0.064516 | 0.053763 | 0.061828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.080866 | 878 | 21 | 369 | 41.809524 | 0.5886 | 0.145786 | 0 | 0 | 0 | 0 | 0.587366 | 0.537634 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.166667 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c9f7e162e4b08d084b84c6746c4e125a7bef3585 | 239 | py | Python | logger_app/flask_profiler.py | onionj/karamozi_backend | 4b9f4f0fb1e200922972f68359a5f6c0639712b2 | [
"Apache-2.0"
] | null | null | null | logger_app/flask_profiler.py | onionj/karamozi_backend | 4b9f4f0fb1e200922972f68359a5f6c0639712b2 | [
"Apache-2.0"
] | null | null | null | logger_app/flask_profiler.py | onionj/karamozi_backend | 4b9f4f0fb1e200922972f68359a5f6c0639712b2 | [
"Apache-2.0"
] | null | null | null | from main import app
from werkzeug.middleware.profiler import ProfilerMiddleware
app.config['PROFILE'] = True
app.wsgi_app = ProfilerMiddleware(
app.wsgi_app,
# restrictions=[5000],
profile_dir='.')
app.run(debug=True)
| 17.071429 | 59 | 0.723849 | 29 | 239 | 5.862069 | 0.586207 | 0.247059 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.16318 | 239 | 13 | 60 | 18.384615 | 0.83 | 0.083682 | 0 | 0 | 0 | 0 | 0.037209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a0040616f7407201481ff99ef7f11dee3ece6947 | 166 | py | Python | src/simulator/state.py | takeitallsource/pac-simulator | 2c00d878047ec4a0247167e8a7de5aec8b474086 | [
"MIT"
] | 1 | 2018-07-14T07:09:23.000Z | 2018-07-14T07:09:23.000Z | src/simulator/state.py | takeitallsource/pac-simulator | 2c00d878047ec4a0247167e8a7de5aec8b474086 | [
"MIT"
] | null | null | null | src/simulator/state.py | takeitallsource/pac-simulator | 2c00d878047ec4a0247167e8a7de5aec8b474086 | [
"MIT"
] | null | null | null |
class State:
def __init__(self, goal, task, visual, ):
self.goal = None
self.task = None
self.visual = None
self.features = None | 20.75 | 45 | 0.560241 | 20 | 166 | 4.45 | 0.5 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.343373 | 166 | 8 | 46 | 20.75 | 0.816514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 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 |
a00ed53e3f5fe9454770e84b328a885f44f0b807 | 135 | py | Python | Exercicios/Ex_016.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | Exercicios/Ex_016.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | Exercicios/Ex_016.py | jotmar/PythonEx | bf026518ae5479d5c99ff7a4e95fc383dec22d36 | [
"MIT"
] | null | null | null | from math import floor
n1 = float(input('Digite um numero: '))
print(f'O número digitado foi {n1} e sua porção inteira é {floor(n1)}')
| 33.75 | 71 | 0.711111 | 24 | 135 | 4 | 0.875 | 0.145833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.155556 | 135 | 3 | 72 | 45 | 0.815789 | 0 | 0 | 0 | 0 | 0 | 0.585185 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a00fb34b498ab4cd441ac4a11b15f6272fdc4a07 | 17,230 | py | Python | env/lib/python3.8/site-packages/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | env/lib/python3.8/site-packages/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | env/lib/python3.8/site-packages/apache_beam/portability/api/beam_artifact_api_pb2_grpc.py | paulowe/apache-beam-redocumentation | d1b0f345d8e46f9893f56c2bb890edc07be09f2a | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import beam_artifact_api_pb2 as beam__artifact__api__pb2
class ArtifactRetrievalServiceStub(object):
"""A service to retrieve artifacts for use in a... | 43.620253 | 171 | 0.695937 | 1,648 | 17,230 | 6.971481 | 0.121359 | 0.045957 | 0.057446 | 0.068936 | 0.832274 | 0.802507 | 0.685264 | 0.594134 | 0.583254 | 0.535817 | 0 | 0.004706 | 0.235345 | 17,230 | 394 | 172 | 43.730964 | 0.867324 | 0.164829 | 0 | 0.547619 | 1 | 0 | 0.132929 | 0.104643 | 0 | 0 | 0 | 0 | 0 | 1 | 0.087302 | false | 0 | 0.007937 | 0.027778 | 0.170635 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a01bb7bc7db5e342896cd58cce53ac2c75a8a285 | 441 | py | Python | Competitions/Codechef/NOV17/VILTRIBE.py | cnm06/Competitive-Programming | 94242ae458570d503b8218f37624b88cc5020d23 | [
"MIT"
] | 994 | 2017-02-28T06:13:47.000Z | 2022-03-31T10:49:00.000Z | Competitions/Codechef/NOV17/VILTRIBE.py | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 16 | 2018-01-01T02:59:55.000Z | 2021-11-22T12:49:16.000Z | Competitions/Codechef/NOV17/VILTRIBE.py | Quadrified/Competitive-Programming | bccb69952cc5260fb3647b3301ddac1023dacac8 | [
"MIT"
] | 325 | 2017-06-15T03:32:43.000Z | 2022-03-28T22:43:42.000Z | t = int(raw_input())
for i in xrange(t):
text = raw_input()
a = 0
b = 0
tt = '.'
c = 0
for x in text:
if x == 'A':
a += 1
if tt == 'A':
a += c
tt = 'A'
c = 0
elif x == 'B':
b += 1
if tt == 'B'... | 18.375 | 25 | 0.256236 | 58 | 441 | 1.913793 | 0.344828 | 0.054054 | 0.09009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 0.609977 | 441 | 24 | 26 | 18.375 | 0.598837 | 0 | 0 | 0.125 | 0 | 0 | 0.015837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.083333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a01c966903163f840d85e452a6f110d3dcfb3a00 | 171 | py | Python | week4/ranges.py | johnehunt/computationalthinking | 0f3694b7977be5e3015b5a1ad64a50d0d8827842 | [
"Apache-2.0"
] | 1 | 2021-05-16T10:24:47.000Z | 2021-05-16T10:24:47.000Z | week4/ranges.py | johnehunt/computationalthinking | 0f3694b7977be5e3015b5a1ad64a50d0d8827842 | [
"Apache-2.0"
] | null | null | null | week4/ranges.py | johnehunt/computationalthinking | 0f3694b7977be5e3015b5a1ad64a50d0d8827842 | [
"Apache-2.0"
] | 1 | 2019-09-21T08:24:46.000Z | 2019-09-21T08:24:46.000Z | for i in range(1, 10):
print(i, end=', ')
print()
for i in range(0, 10, 2):
print(i, ' ', end='')
print()
for i in range(10, 1, -2):
print(i, ' ', end='')
| 13.153846 | 26 | 0.473684 | 31 | 171 | 2.612903 | 0.322581 | 0.148148 | 0.222222 | 0.407407 | 0.617284 | 0.617284 | 0.617284 | 0.617284 | 0 | 0 | 0 | 0.088 | 0.269006 | 171 | 12 | 27 | 14.25 | 0.56 | 0 | 0 | 0.5 | 0 | 0 | 0.023392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
a01e52db7fefe6f45d686d6c677352c68fad5b74 | 519 | py | Python | model/policymodel.py | erezool/zorya | f745c7baa5c8acc309b663ee45b1f784f1883e4e | [
"MIT"
] | null | null | null | model/policymodel.py | erezool/zorya | f745c7baa5c8acc309b663ee45b1f784f1883e4e | [
"MIT"
] | null | null | null | model/policymodel.py | erezool/zorya | f745c7baa5c8acc309b663ee45b1f784f1883e4e | [
"MIT"
] | null | null | null | """DB model for policy."""
from google.appengine.ext import ndb
class PolicyModel(ndb.Model):
"""
Class that represents a policy and its associated schedule.
"""
Name = ndb.StringProperty(indexed=True, required=True)
Projects = ndb.JsonProperty(repeated=True)
Clusters = ndb.JsonProperty(repea... | 34.6 | 78 | 0.732177 | 61 | 519 | 6.229508 | 0.52459 | 0.118421 | 0.181579 | 0.213158 | 0.210526 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156069 | 519 | 15 | 79 | 34.6 | 0.86758 | 0.154143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4e5bcad6e0108796b814799f21190d77f9e23f96 | 211 | py | Python | tests/conftest.py | digitalsleuth/stringsifter | f4331a0a7156d80f1308993994f53c999da91890 | [
"Apache-2.0"
] | 523 | 2019-09-07T18:05:27.000Z | 2021-09-17T15:23:58.000Z | tests/conftest.py | digitalsleuth/stringsifter | f4331a0a7156d80f1308993994f53c999da91890 | [
"Apache-2.0"
] | 16 | 2019-09-08T09:13:33.000Z | 2020-12-02T19:46:08.000Z | tests/conftest.py | digitalsleuth/stringsifter | f4331a0a7156d80f1308993994f53c999da91890 | [
"Apache-2.0"
] | 108 | 2019-09-07T17:33:26.000Z | 2021-09-09T13:50:39.000Z | # Copyright (C) 2019 FireEye, Inc. All Rights Reserved.
import pytest
import stringsifter.preprocess as preprocess
@pytest.fixture(scope='module')
def featurizer():
f = preprocess.Featurizer()
yield f
| 21.1 | 55 | 0.744076 | 26 | 211 | 6.038462 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.156398 | 211 | 9 | 56 | 23.444444 | 0.859551 | 0.251185 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 |
4e5f2c781b15840481037109c0370d66116d0064 | 782 | py | Python | programmers/lv3/union_find.py | mrbartrns/swacademy_structure | 778f0546030385237c383d81ec37d5bd9ed1272d | [
"MIT"
] | null | null | null | programmers/lv3/union_find.py | mrbartrns/swacademy_structure | 778f0546030385237c383d81ec37d5bd9ed1272d | [
"MIT"
] | null | null | null | programmers/lv3/union_find.py | mrbartrns/swacademy_structure | 778f0546030385237c383d81ec37d5bd9ed1272d | [
"MIT"
] | null | null | null | """
Union find algorithm
"""
def get_parent(arr, i):
if arr[i] == i:
return i
arr[i] = get_parent(arr, arr[i])
return arr[i]
def union_parent(arr, a, b):
a = get_parent(arr, a)
b = get_parent(arr, b)
if a < b:
arr[b] = a
else:
arr[a] = b
def find_parent(arr, a, ... | 17.377778 | 36 | 0.622762 | 139 | 782 | 3.381295 | 0.194245 | 0.229787 | 0.253191 | 0.234043 | 0.561702 | 0.26383 | 0.165957 | 0.165957 | 0.165957 | 0.165957 | 0 | 0.036304 | 0.225064 | 782 | 44 | 37 | 17.772727 | 0.739274 | 0.025575 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09375 | false | 0 | 0 | 0 | 0.1875 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4e60f04935570e565bfcdc93059ccd8388ec62d0 | 478 | py | Python | params/__init__.py | wirawan0/wpylib | f07142c3ada61ec51e0dec623d2c85376b65a72b | [
"Apache-2.0"
] | null | null | null | params/__init__.py | wirawan0/wpylib | f07142c3ada61ec51e0dec623d2c85376b65a72b | [
"Apache-2.0"
] | null | null | null | params/__init__.py | wirawan0/wpylib | f07142c3ada61ec51e0dec623d2c85376b65a72b | [
"Apache-2.0"
] | null | null | null | # $Id: __init__.py,v 1.2 2011-03-10 19:22:37 wirawan Exp $
#
# wpylib.params module
# Created: 20100930
# Wirawan Purwanto
"""Parameter-related stuff.
Exported names:
* flat - flat parameter namespace (but with a sequence of dicts/namespaces
to look value from).
* struct - struct-like container. Do not confuse wit... | 23.9 | 74 | 0.751046 | 73 | 478 | 4.835616 | 0.712329 | 0.101983 | 0.090652 | 0.124646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059406 | 0.154812 | 478 | 19 | 75 | 25.157895 | 0.814356 | 0.719665 | 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 |
4e73d9f08f1ae41d5a9bc0758a2cf0fa9943cd16 | 2,899 | py | Python | boto3_type_annotations/boto3_type_annotations/cloudsearch/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/cloudsearch/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/cloudsearch/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from typing import Union
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import List
class Client(BaseClient):
def build_suggesters(self, DomainName: str) -> Dict:
pass
de... | 30.840426 | 131 | 0.678855 | 339 | 2,899 | 5.666667 | 0.221239 | 0.098386 | 0.131702 | 0.065591 | 0.484643 | 0.249349 | 0.174909 | 0.139511 | 0.121291 | 0.054138 | 0 | 0 | 0.230769 | 2,899 | 93 | 132 | 31.172043 | 0.861435 | 0 | 0 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0.4375 | 0.109375 | 0 | 0.5625 | 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 |
4e8d9a5928ec96b92e53b7942e0ac6ea7b9db5ca | 648 | py | Python | toolkit/workspace/precompiled/LM_catgame.py | BxNxM/MicrOS | e555253de795260b4141f47cb3358e8c690c8c96 | [
"MIT"
] | 2 | 2020-04-17T12:53:44.000Z | 2020-07-06T13:39:45.000Z | micrOS/source/LM_catgame.py | BxNxM/MicrOS | e555253de795260b4141f47cb3358e8c690c8c96 | [
"MIT"
] | null | null | null | micrOS/source/LM_catgame.py | BxNxM/MicrOS | e555253de795260b4141f47cb3358e8c690c8c96 | [
"MIT"
] | 2 | 2020-07-06T13:39:46.000Z | 2020-07-06T17:35:40.000Z | from random import randint
from LM_servo import sduty
from utime import sleep_ms
def game(repeat=10, delta=20):
sduty(75)
for _ in range(0, repeat):
sduty(randint(75-delta, 75+delta))
sleep_ms(randint(20, 1500))
sduty(75)
return 'Game action'
def live_game(chance=10):
action = ra... | 18 | 72 | 0.587963 | 89 | 648 | 4.213483 | 0.41573 | 0.08 | 0.064 | 0.085333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069307 | 0.220679 | 648 | 35 | 73 | 18.514286 | 0.673267 | 0.029321 | 0 | 0.095238 | 0 | 0 | 0.124352 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0 | 0.142857 | 0.142857 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4ea66e48cddab82c3eb272ac230daff0ca9dcf48 | 676 | py | Python | partialdate/tests.py | ugoertz/django-familio | b3db5e508d98bedb32855e102c14218080b4dc01 | [
"BSD-3-Clause"
] | 3 | 2017-04-25T10:41:19.000Z | 2020-10-31T15:08:18.000Z | partialdate/tests.py | ugoertz/django-familio | b3db5e508d98bedb32855e102c14218080b4dc01 | [
"BSD-3-Clause"
] | 2 | 2019-11-02T20:58:31.000Z | 2020-02-08T17:53:14.000Z | partialdate/tests.py | ugoertz/django-familio | b3db5e508d98bedb32855e102c14218080b4dc01 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf8 -*-
from django.test import TestCase
from .fields import PartialDate
class PartialDateTests(TestCase):
def test_create_partialdate(self):
pd1 = PartialDate(2000, 1, 1)
self.assertEqual(pd1.year, 2000)
self.assertEqual(pd1.month, 1)
self.assertEqual(pd1.day, 1)
... | 28.166667 | 55 | 0.640533 | 83 | 676 | 5.192771 | 0.349398 | 0.348028 | 0.185615 | 0.132251 | 0.106729 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110687 | 0.224852 | 676 | 23 | 56 | 29.391304 | 0.711832 | 0.029586 | 0 | 0 | 0 | 0 | 0.041348 | 0 | 0 | 0 | 0 | 0 | 0.625 | 1 | 0.0625 | false | 0 | 0.125 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4eba26d885bea6d5d80cc4e0ec6f1ba573f83168 | 2,789 | py | Python | attachments/denovo1.py | victorazzam/HackTrinity2019 | c4abf2ecb251ba2f442c58c75ff9459028d3d0f6 | [
"MIT"
] | 1 | 2019-10-19T14:23:22.000Z | 2019-10-19T14:23:22.000Z | attachments/denovo1.py | 3mm4h3ff/HackTrinity2019 | bc4eb685c33c3cdeceaf986390c6a86d710c4934 | [
"MIT"
] | null | null | null | attachments/denovo1.py | 3mm4h3ff/HackTrinity2019 | bc4eb685c33c3cdeceaf986390c6a86d710c4934 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
shifted_serial = '''
0000000000400d00 db 0x96 ; '.'
0000000000400d01 db 0x9e ; '.'
0000000000400d02 db 0x86 ; '.'
0000000000400d03 db 0xb0 ; '.'
0000000000400d04 db 0xb4 ; '.'
0000000000400d05 db 0x8c ; '.'
0000000000400d06 db 0x5a ;... | 37.186667 | 72 | 0.582646 | 261 | 2,789 | 6.187739 | 0.509579 | 0.048297 | 0.017337 | 0.011146 | 0.058204 | 0.027245 | 0.027245 | 0.027245 | 0 | 0 | 0 | 0.467932 | 0.301183 | 2,789 | 74 | 73 | 37.689189 | 0.360698 | 0.04948 | 0 | 0.030769 | 0 | 0 | 0.868153 | 0.009445 | 0 | 0 | 0.083113 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.030769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4ebc80ea4bf698c637e1d48a4f67b81dd5374fb2 | 399 | py | Python | e3/common/Node.py | sguillory6/e3 | 1505e6ea389157b9645155b9da13d6d316235f1a | [
"Apache-2.0"
] | null | null | null | e3/common/Node.py | sguillory6/e3 | 1505e6ea389157b9645155b9da13d6d316235f1a | [
"Apache-2.0"
] | null | null | null | e3/common/Node.py | sguillory6/e3 | 1505e6ea389157b9645155b9da13d6d316235f1a | [
"Apache-2.0"
] | null | null | null | class Node:
hostname = None
username = None
key_file = None
def __init__(self, hostname, username, key_file):
self.hostname = hostname
self.username = username
self.key_file = key_file
def __repr__(self):
return self.__str__()
def __str__(self):
return ... | 24.9375 | 93 | 0.62406 | 50 | 399 | 4.56 | 0.32 | 0.153509 | 0.096491 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26817 | 399 | 15 | 94 | 26.6 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.166667 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
14d0500d092a34b8c49120a5568f5593a08750be | 129 | py | Python | api/apps/generator/apps.py | nxexox/boilerplate-generator | 85975c968edad124b778a80e6e028ac3847c511e | [
"Apache-2.0"
] | null | null | null | api/apps/generator/apps.py | nxexox/boilerplate-generator | 85975c968edad124b778a80e6e028ac3847c511e | [
"Apache-2.0"
] | null | null | null | api/apps/generator/apps.py | nxexox/boilerplate-generator | 85975c968edad124b778a80e6e028ac3847c511e | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class GeneratorConfig(AppConfig):
name = 'apps.generator'
verbose_name = 'Генератор'
| 18.428571 | 33 | 0.744186 | 14 | 129 | 6.785714 | 0.785714 | 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 |
14d9a8279fe9a67a7081654caa724980f9e49de5 | 369 | py | Python | src/api/pdi/application/operation/GetDataOperationJobList/GetDataOperationJobListResponse.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:28.000Z | 2020-12-18T21:37:28.000Z | src/api/pdi/application/operation/GetDataOperationJobList/GetDataOperationJobListResponse.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | null | null | null | src/api/pdi/application/operation/GetDataOperationJobList/GetDataOperationJobListResponse.py | ahmetcagriakca/pythondataintegrator | 079b968d6c893008f02c88dbe34909a228ac1c7b | [
"MIT"
] | 1 | 2020-12-18T21:37:31.000Z | 2020-12-18T21:37:31.000Z | from typing import List
from pdip.cqrs.decorators import responseclass
from pdi.application.operation.GetDataOperationJobList.GetDataOperationJobListDto import GetDataOperationJobListDto
@responseclass
class GetDataOperationJobListResponse:
Data: List[GetDataOperationJobListDto] = None
PageNumber: int = Non... | 26.357143 | 115 | 0.813008 | 34 | 369 | 8.823529 | 0.617647 | 0.07 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 369 | 13 | 116 | 28.384615 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.888889 | 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 |
14eb2e833fdd6f250536f51df18eea4edfb2e5a6 | 534 | py | Python | problems/0XX/02X/022/solution.py | jamsidedown/euler_py | b9a6b117dda97b8636cc1f5a1380ae762250090e | [
"MIT"
] | null | null | null | problems/0XX/02X/022/solution.py | jamsidedown/euler_py | b9a6b117dda97b8636cc1f5a1380ae762250090e | [
"MIT"
] | null | null | null | problems/0XX/02X/022/solution.py | jamsidedown/euler_py | b9a6b117dda97b8636cc1f5a1380ae762250090e | [
"MIT"
] | null | null | null | from string import ascii_lowercase
from typing import List
ALPH = {char: i + 1 for i, char in enumerate(ascii_lowercase)}
def run() -> int:
return sum((i + 1) * score(name) for i, name in enumerate(parse()))
def score(name: str) -> int:
return sum(ALPH[char] for char in name)
def parse() -> List[str]:
... | 23.217391 | 84 | 0.634831 | 85 | 534 | 3.870588 | 0.517647 | 0.085106 | 0.072948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018561 | 0.192884 | 534 | 22 | 85 | 24.272727 | 0.74478 | 0 | 0 | 0 | 0 | 0 | 0.127341 | 0.05618 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
0910f79949722d7c614bd03b050902b035a62442 | 689 | py | Python | cli/commands/generate/helpers/generator.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | 22 | 2019-08-18T21:22:41.000Z | 2022-01-18T03:51:34.000Z | cli/commands/generate/helpers/generator.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | 30 | 2019-11-11T12:54:35.000Z | 2022-01-18T01:07:21.000Z | cli/commands/generate/helpers/generator.py | oleoneto/django-clite | 6df3051fe42af6e9385a11df1b20ebd46be69dd9 | [
"BSD-3-Clause"
] | null | null | null | import os
import inflection
from cli.helpers import sanitized_string
from cli.decorators import watch_templates
from cli.helpers.fs import FSHelper, ensure_directory
BASE_DIR = os.path.dirname(os.path.abspath(__file__)).rsplit('/', 1)[0]
@watch_templates(os.path.join(BASE_DIR, 'templates'))
class Generator(FSHelper... | 28.708333 | 95 | 0.711176 | 93 | 689 | 5.053763 | 0.494624 | 0.044681 | 0.059574 | 0.080851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003484 | 0.166909 | 689 | 23 | 96 | 29.956522 | 0.815331 | 0 | 0 | 0.125 | 0 | 0 | 0.014514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0.125 | 0.3125 | 0 | 0.5625 | 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 |
094539b1c6ff0625ad404b150711ca5f2f0cffa4 | 549 | py | Python | src/trees/BinarySearchTree/101SymmetricTree.py | tmbothe/Data-Structures-and-algorithms | ba6bd0b302d16f84694acee1e1eb5d7f948ceeb2 | [
"MIT"
] | null | null | null | src/trees/BinarySearchTree/101SymmetricTree.py | tmbothe/Data-Structures-and-algorithms | ba6bd0b302d16f84694acee1e1eb5d7f948ceeb2 | [
"MIT"
] | null | null | null | src/trees/BinarySearchTree/101SymmetricTree.py | tmbothe/Data-Structures-and-algorithms | ba6bd0b302d16f84694acee1e1eb5d7f948ceeb2 | [
"MIT"
] | null | null | null | # Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def isMirror(self,t1,t2):
if not t1 and not t2:
return True
elif not t1 or not... | 26.142857 | 104 | 0.59745 | 79 | 549 | 4.101266 | 0.405063 | 0.111111 | 0.067901 | 0.104938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033505 | 0.29326 | 549 | 20 | 105 | 27.45 | 0.801546 | 0.326047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0.111111 | 0.777778 | 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 |
09459754622dc142d782694c26d175f9cfc60dad | 246 | py | Python | pyleecan/Methods/Geometry/Segment/reverse.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 95 | 2019-01-23T04:19:45.000Z | 2022-03-17T18:22:10.000Z | pyleecan/Methods/Geometry/Segment/reverse.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 366 | 2019-02-20T07:15:08.000Z | 2022-03-31T13:37:23.000Z | pyleecan/Methods/Geometry/Segment/reverse.py | IrakozeFD/pyleecan | 5a93bd98755d880176c1ce8ac90f36ca1b907055 | [
"Apache-2.0"
] | 74 | 2019-01-24T01:47:31.000Z | 2022-02-25T05:44:42.000Z | def reverse(self):
"""Reverse the begin and end point of the Line
Parameters
----------
self : Segment
An Segment object
Returns
-------
"""
end = self.end
self.end = self.begin
self.begin = end
| 15.375 | 50 | 0.528455 | 29 | 246 | 4.482759 | 0.517241 | 0.161538 | 0.153846 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 246 | 15 | 51 | 16.4 | 0.792683 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
095050204b79b8ecf964e56d539bfdc4170a602a | 140 | py | Python | dumbhost/local.py | fidoman/dumbhost | b18c5572c9dd9249b68815e306cdbafe94a61638 | [
"MIT"
] | null | null | null | dumbhost/local.py | fidoman/dumbhost | b18c5572c9dd9249b68815e306cdbafe94a61638 | [
"MIT"
] | null | null | null | dumbhost/local.py | fidoman/dumbhost | b18c5572c9dd9249b68815e306cdbafe94a61638 | [
"MIT"
] | null | null | null | #!/usr/bin/python
""" run under recipient user's account """
""" if exists .forward send new mail """
""" else deliver to mbox/Maildir """
| 23.333333 | 42 | 0.65 | 20 | 140 | 4.55 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164286 | 140 | 5 | 43 | 28 | 0.777778 | 0.371429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
095ae93687972e3165ffc8ccb3a268f4d760e7f7 | 504 | py | Python | 8_Lesson8/oop/example2-mro-newstyle2.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 8_Lesson8/oop/example2-mro-newstyle2.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | 8_Lesson8/oop/example2-mro-newstyle2.py | turovod/Otus | 57433c6944bca155177b07ff361139ff30f7f692 | [
"MIT"
] | null | null | null | """
In Python 2, search path is F, A, X, Y, B.
With Python 3, search path should be : F, A, X, Y, B, Y, X and after removing « bad heads » : F, A, B, Y, X.
"""
class X():
def who_am_i(self):
print("I am a X")
class Y():
def who_am_i(self):
print("I am a Y")
class A(Y, X):
def who_am_i... | 15.272727 | 108 | 0.517857 | 106 | 504 | 2.386792 | 0.283019 | 0.118577 | 0.158103 | 0.177866 | 0.494071 | 0.454545 | 0.454545 | 0.454545 | 0.454545 | 0.280632 | 0 | 0.005764 | 0.311508 | 504 | 32 | 109 | 15.75 | 0.717579 | 0.301587 | 0 | 0.3125 | 0 | 0 | 0.116279 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0 | 0 | 0.625 | 0.375 | 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 |
1195862c21e5d3c8aababebda15e339847748d59 | 53 | py | Python | aiobml/__init__.py | quillfires/aioBML | 2c65120b4837df5fbc01202a68ac11b44d2b4a49 | [
"MIT"
] | 16 | 2021-03-27T23:07:09.000Z | 2022-02-06T19:28:57.000Z | aiobml/__init__.py | quillfires/aioBML | 2c65120b4837df5fbc01202a68ac11b44d2b4a49 | [
"MIT"
] | null | null | null | aiobml/__init__.py | quillfires/aioBML | 2c65120b4837df5fbc01202a68ac11b44d2b4a49 | [
"MIT"
] | 5 | 2021-03-30T17:44:25.000Z | 2021-06-13T12:55:34.000Z | from .client import asyncBML
__version__ = '1.0.0'
| 17.666667 | 29 | 0.716981 | 8 | 53 | 4.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.169811 | 53 | 2 | 30 | 26.5 | 0.704545 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 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 |
11a4e9ff0b8f7c024d9475e516230c86170dbfbf | 2,902 | py | Python | analysis/chart.py | aryamanarora/indo-aryan | aab75a0df24de90183165fe470a2c38cb04e3042 | [
"MIT"
] | 3 | 2021-06-17T04:33:34.000Z | 2021-11-29T20:39:26.000Z | analysis/chart.py | aryamanarora/indo-aryan | aab75a0df24de90183165fe470a2c38cb04e3042 | [
"MIT"
] | 5 | 2021-04-02T04:32:05.000Z | 2021-10-08T09:26:36.000Z | analysis/chart.py | aryamanarora/bhasacitra | aab75a0df24de90183165fe470a2c38cb04e3042 | [
"MIT"
] | 2 | 2021-05-03T23:39:31.000Z | 2021-09-03T03:13:53.000Z | import matplotlib.pyplot as plt
cts = [19,6,7,19,1,1,8,4,3,3,8,2,1,6,2,3,1,4,11,8,8,3,1,7,1,3,6,1,2,6,2,10,24,2,2,19,22,24,1,5,14,14,9,10,4,1,22,1,7,3,4,1,1,4,4,2,2,6,3,1,9,2,1,6,6,13,4,6,3,5,2,1,1,1,8,3,1,24,1,2,1,2,1,2,5,4,1,1,2,1,2,2,3,11,8,4,2,2,2,1,1,1,2,5,1,1,1,1,1,1,1,1,1,1,1,2,5,3,16,4,1,1,1,14,1,2,4,3,1,2,2,6... | 107.481481 | 491 | 0.741558 | 703 | 2,902 | 3.061166 | 0.174964 | 0.04461 | 0.034851 | 0.104089 | 0.082249 | 0.068773 | 0.06645 | 0.06645 | 0.046004 | 0.046004 | 0 | 0.695455 | 0.014473 | 2,902 | 27 | 492 | 107.481481 | 0.056993 | 0 | 0 | 0 | 0 | 0 | 0.017568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.04 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11b36f7760006f21a92dc3b696cda46c38e60e80 | 254 | py | Python | 5.) Bottle Deposits.py | L0ganhowlett/Ben-Stephenson-workbook | a5c968a0d313767b60173ab912e27475063c477e | [
"MIT"
] | null | null | null | 5.) Bottle Deposits.py | L0ganhowlett/Ben-Stephenson-workbook | a5c968a0d313767b60173ab912e27475063c477e | [
"MIT"
] | null | null | null | 5.) Bottle Deposits.py | L0ganhowlett/Ben-Stephenson-workbook | a5c968a0d313767b60173ab912e27475063c477e | [
"MIT"
] | 1 | 2021-03-14T17:30:54.000Z | 2021-03-14T17:30:54.000Z | #Bottle deposits
x = float(input('Enter the number of containers holding 1 litre or less: '))
y = float(input('Enter the number of containers holding more than 1 litre: '))
refund = float((x*.10)+(y*.25))
print('The refund received will be $',refund) | 50.8 | 79 | 0.704724 | 41 | 254 | 4.365854 | 0.609756 | 0.111732 | 0.167598 | 0.201117 | 0.480447 | 0.480447 | 0.480447 | 0.480447 | 0 | 0 | 0 | 0.028037 | 0.15748 | 254 | 5 | 80 | 50.8 | 0.808411 | 0.059055 | 0 | 0 | 0 | 0 | 0.608511 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11b8c06221ca1d1315367d7ca92aecefd1dbd59c | 195 | py | Python | pycrm/__init__.py | pfcor/pycrm | 57a74774d1d513a9ee49a06c296b06812ffd486e | [
"MIT"
] | null | null | null | pycrm/__init__.py | pfcor/pycrm | 57a74774d1d513a9ee49a06c296b06812ffd486e | [
"MIT"
] | 2 | 2019-03-01T12:09:16.000Z | 2019-03-11T19:41:55.000Z | pycrm/__init__.py | pfcor/pycrm | 57a74774d1d513a9ee49a06c296b06812ffd486e | [
"MIT"
] | null | null | null | """pycrm - CRM analysis functions"""
__version__ = '0.1.0'
__author__ = 'Pedro Correia <pedrocorreia.rs@gmail.com>'
__all__ = []
from . import plotting
from . import datasets
from .crm import * | 21.666667 | 56 | 0.712821 | 25 | 195 | 5.08 | 0.76 | 0.15748 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.148718 | 195 | 9 | 57 | 21.666667 | 0.746988 | 0.153846 | 0 | 0 | 0 | 0 | 0.2875 | 0.16875 | 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 |
11ba50eb1328d5945f7c3899c8a352fe5137cc38 | 296 | py | Python | src/StarchScanner/util.py | fffe5390/StarchScanner | bb860078785c691329df51d2a1bd7cc19223229b | [
"Apache-2.0"
] | 1 | 2015-03-21T07:15:48.000Z | 2015-03-21T07:15:48.000Z | src/StarchScanner/util.py | fffe5390/StarchScanner | bb860078785c691329df51d2a1bd7cc19223229b | [
"Apache-2.0"
] | null | null | null | src/StarchScanner/util.py | fffe5390/StarchScanner | bb860078785c691329df51d2a1bd7cc19223229b | [
"Apache-2.0"
] | null | null | null | #encoding: UTF8
import threading
#根据函数创建线程
class CreateThread(threading.Thread):
def __init__(self, callback, args):
super(CreateThread, self).__init__()
self.callback = callback
self.args = args
def run(self):
self.callback(*self.args)
| 21.142857 | 44 | 0.625 | 31 | 296 | 5.709677 | 0.483871 | 0.20339 | 0.180791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004651 | 0.273649 | 296 | 13 | 45 | 22.769231 | 0.818605 | 0.074324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11c3f623cd3495bdd8b25a6242e3e9e0ba62f167 | 97 | py | Python | python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/assignmentWithComplexUnpacking.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/assignmentWithComplexUnpacking.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertTypeCommentToVariableAnnotationIntentionTest/assignmentWithComplexUnpacking.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | [y, (x, (z))] = undefined() # ty<caret>pe: Optional[Union[None, Any]], (Callable[..., int], Any) | 97 | 97 | 0.56701 | 14 | 97 | 3.928571 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123711 | 97 | 1 | 97 | 97 | 0.647059 | 0.680412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
11fe7e31d04647ab759bb02aabc0eebe237dcc01 | 290 | py | Python | output/models/nist_data/atomic/unsigned_int/schema_instance/nistschema_sv_iv_atomic_unsigned_int_total_digits_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/nist_data/atomic/unsigned_int/schema_instance/nistschema_sv_iv_atomic_unsigned_int_total_digits_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/nist_data/atomic/unsigned_int/schema_instance/nistschema_sv_iv_atomic_unsigned_int_total_digits_3_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.nist_data.atomic.unsigned_int.schema_instance.nistschema_sv_iv_atomic_unsigned_int_total_digits_3_xsd.nistschema_sv_iv_atomic_unsigned_int_total_digits_3 import NistschemaSvIvAtomicUnsignedIntTotalDigits3
__all__ = [
"NistschemaSvIvAtomicUnsignedIntTotalDigits3",
]
| 48.333333 | 223 | 0.906897 | 33 | 290 | 7.242424 | 0.606061 | 0.175732 | 0.213389 | 0.167364 | 0.359833 | 0.359833 | 0.359833 | 0.359833 | 0.359833 | 0 | 0 | 0.014493 | 0.048276 | 290 | 5 | 224 | 58 | 0.851449 | 0 | 0 | 0 | 0 | 0 | 0.148276 | 0.148276 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
f5015a96d06761ea7a48261b4bbb7e77f9c379f8 | 100 | py | Python | xoxln/__init__.py | danikavu/xoxln | f0574f2b83f2ce0e7767395aa079d1d73f55988f | [
"MIT"
] | null | null | null | xoxln/__init__.py | danikavu/xoxln | f0574f2b83f2ce0e7767395aa079d1d73f55988f | [
"MIT"
] | null | null | null | xoxln/__init__.py | danikavu/xoxln | f0574f2b83f2ce0e7767395aa079d1d73f55988f | [
"MIT"
] | null | null | null | # -*- pretty cool init mate? -*-
import sys
from xoxln.xoxln import XO
__all__ = [
'XO',
] | 12.5 | 32 | 0.58 | 13 | 100 | 4.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.27 | 100 | 8 | 33 | 12.5 | 0.739726 | 0.3 | 0 | 0 | 0 | 0 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ee998027057210865b7cb51d9bb5d7e93040ef7c | 447 | py | Python | tests/test_rosella_code.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | null | null | null | tests/test_rosella_code.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | 6 | 2020-08-08T16:58:01.000Z | 2020-09-03T02:01:45.000Z | tests/test_rosella_code.py | clara0/learn-python | ab6d6f3503314ae01442a777c453a383aafdd190 | [
"Apache-2.0"
] | 1 | 2020-07-24T20:29:41.000Z | 2020-07-24T20:29:41.000Z | #!usr/bin/python3
import unittest
import rosella_code
class TestRosellaCode(unittest.TestCase):
def test_rosellaCode(self):
self.assertEqual(rosella_code.rosellaCode("test", "testing"), "test")
self.assertEqual(rosella_code.rosellaCode("thisisatest", "123"), "")
self.assertEqual(rosella_c... | 34.384615 | 82 | 0.715884 | 47 | 447 | 6.680851 | 0.425532 | 0.175159 | 0.280255 | 0.33121 | 0.566879 | 0.33121 | 0.33121 | 0.33121 | 0 | 0 | 0 | 0.010336 | 0.134228 | 447 | 12 | 83 | 37.25 | 0.801034 | 0.035794 | 0 | 0.25 | 0 | 0 | 0.148837 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ee9c8153571076864b59588847119a77d129ab60 | 4,055 | py | Python | mkt/langpacks/tests/test_utils_.py | clouserw/zamboni | c4a568b69c1613f27da41d46328b2975cbdc1c07 | [
"BSD-3-Clause"
] | null | null | null | mkt/langpacks/tests/test_utils_.py | clouserw/zamboni | c4a568b69c1613f27da41d46328b2975cbdc1c07 | [
"BSD-3-Clause"
] | null | null | null | mkt/langpacks/tests/test_utils_.py | clouserw/zamboni | c4a568b69c1613f27da41d46328b2975cbdc1c07 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from django.forms import ValidationError
from mock import patch
from nose.tools import eq_
from mkt.files.tests.test_utils_ import TestWebAppParser
from mkt.langpacks.utils import LanguagePackParser
class TestLangPackUpload(TestWebAppParser):
klass = LanguagePackParser
base_mock_data... | 42.239583 | 78 | 0.636252 | 505 | 4,055 | 4.908911 | 0.231683 | 0.062122 | 0.09762 | 0.078661 | 0.745058 | 0.733764 | 0.707543 | 0.688987 | 0.646228 | 0.61194 | 0 | 0.002992 | 0.2582 | 4,055 | 95 | 79 | 42.684211 | 0.821144 | 0.164242 | 0 | 0.479452 | 0 | 0 | 0.24763 | 0.099526 | 0 | 0 | 0 | 0 | 0.068493 | 1 | 0.082192 | false | 0.013699 | 0.068493 | 0 | 0.191781 | 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 |
eea53cf3900d7a2a97f8939173c168ae2874a8d4 | 54 | py | Python | enb-analysis/mobile_insight_enb/analyzer/__init__.py | Project-Flora/Flora | 00cce150470ee3474b4b0d301a8e46c63006a306 | [
"Apache-2.0"
] | null | null | null | enb-analysis/mobile_insight_enb/analyzer/__init__.py | Project-Flora/Flora | 00cce150470ee3474b4b0d301a8e46c63006a306 | [
"Apache-2.0"
] | null | null | null | enb-analysis/mobile_insight_enb/analyzer/__init__.py | Project-Flora/Flora | 00cce150470ee3474b4b0d301a8e46c63006a306 | [
"Apache-2.0"
] | 2 | 2020-12-23T07:28:17.000Z | 2022-03-19T14:14:20.000Z | __all__ = ["Analyzer"]
from .analyzer import Analyzer | 18 | 30 | 0.759259 | 6 | 54 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 3 | 30 | 18 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.145455 | 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 |
eeb902c2727f09c81a57c65045a458c374c9f1d6 | 712 | py | Python | Examples/IMAP/SetCustomFlags.py | Muzammil-khan/Aspose.Email-Python-Dotnet | 04ca3a6f440339f3ddf316218f92d15d66f24e7e | [
"MIT"
] | 5 | 2019-01-28T05:17:12.000Z | 2020-04-14T14:31:34.000Z | Examples/IMAP/SetCustomFlags.py | Muzammil-khan/Aspose.Email-Python-Dotnet | 04ca3a6f440339f3ddf316218f92d15d66f24e7e | [
"MIT"
] | 1 | 2019-01-28T16:07:26.000Z | 2021-11-25T10:59:52.000Z | Examples/IMAP/SetCustomFlags.py | Muzammil-khan/Aspose.Email-Python-Dotnet | 04ca3a6f440339f3ddf316218f92d15d66f24e7e | [
"MIT"
] | 6 | 2018-07-16T14:57:34.000Z | 2020-08-30T05:59:52.000Z | import aspose.email
from aspose.email.clients.imap import ImapClient
from aspose.email.clients.imap import ImapMessageFlags
from aspose.email.clients import SecurityOptions
from aspose.email.clients.imap import ImapFolderInfo
from aspose.email import MailMessage
def run():
#ExStart: SetCustomFlags
... | 33.904762 | 89 | 0.727528 | 82 | 712 | 6.182927 | 0.487805 | 0.130178 | 0.147929 | 0.17357 | 0.189349 | 0.189349 | 0 | 0 | 0 | 0 | 0 | 0.010067 | 0.162921 | 712 | 20 | 90 | 35.6 | 0.840604 | 0.102528 | 0 | 0 | 0 | 0 | 0.155844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0.076923 | 0.461538 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
011c87104ff4414530e92cb48c8a8ed51b752f67 | 699 | py | Python | blog/django/myblog/posts/views.py | Anshul-GH/django | f0a0d3c8a6cf98dbef3ec9c5a056645ddd0f4ee6 | [
"MIT"
] | null | null | null | blog/django/myblog/posts/views.py | Anshul-GH/django | f0a0d3c8a6cf98dbef3ec9c5a056645ddd0f4ee6 | [
"MIT"
] | null | null | null | blog/django/myblog/posts/views.py | Anshul-GH/django | f0a0d3c8a6cf98dbef3ec9c5a056645ddd0f4ee6 | [
"MIT"
] | null | null | null | from django.shortcuts import render
## (C)reate
# This is our create post view.
def create_post_view(request):
return render(request, 'posts/create.html')
## (R)etrieve
# This is to view one specific blog post.
def detail_post_view(request):
return render(request, 'posts/detail.html')
## (R)etrieve
# This is... | 25.888889 | 47 | 0.729614 | 109 | 699 | 4.587156 | 0.330275 | 0.096 | 0.15 | 0.21 | 0.486 | 0.486 | 0.486 | 0 | 0 | 0 | 0 | 0 | 0.154506 | 699 | 26 | 48 | 26.884615 | 0.846024 | 0.344778 | 0 | 0 | 0 | 0 | 0.187783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.454545 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
011e04331e031f2d58525ce621e5ec796764bc0d | 51,380 | py | Python | testRig.py | ai-se/george | cc4f388edaae3ebcb7ac34e964b38884553cb9b1 | [
"MIT"
] | null | null | null | testRig.py | ai-se/george | cc4f388edaae3ebcb7ac34e964b38884553cb9b1 | [
"MIT"
] | 19 | 2015-01-10T00:14:52.000Z | 2017-04-24T20:31:00.000Z | testRig.py | ai-se/george | cc4f388edaae3ebcb7ac34e964b38884553cb9b1 | [
"MIT"
] | null | null | null | from __future__ import division,print_function
import sys, random, math
import numpy as np
from sklearn.tree import DecisionTreeClassifier , DecisionTreeRegressor
from sklearn.linear_model import LinearRegression
from lib import *
from where2 import *
import Technix.sk as sk
import Technix.CoCoMo as CoCoMo
import Techn... | 39.131759 | 128 | 0.668315 | 7,017 | 51,380 | 4.700014 | 0.054724 | 0.0745 | 0.036598 | 0.042935 | 0.771498 | 0.739388 | 0.70473 | 0.682262 | 0.670952 | 0.654275 | 0 | 0.023177 | 0.187953 | 51,380 | 1,312 | 129 | 39.161585 | 0.767275 | 0.055605 | 0 | 0.605163 | 0 | 0 | 0.046949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.053537 | false | 0 | 0.015296 | 0.000956 | 0.091778 | 0.06501 | 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 |
01288c47f75735f1ec86c260d1258d902cdca4d5 | 6,703 | py | Python | examples/PALET - Apr 8 2022 - Diabetes.py | tmsis/palet | 6d2483ce19dd9289e82a4bcb78404f1f8399be28 | [
"CC0-1.0"
] | 1 | 2022-02-10T21:15:55.000Z | 2022-02-10T21:15:55.000Z | examples/PALET - Apr 8 2022 - Diabetes.py | tmsis/palet | 6d2483ce19dd9289e82a4bcb78404f1f8399be28 | [
"CC0-1.0"
] | null | null | null | examples/PALET - Apr 8 2022 - Diabetes.py | tmsis/palet | 6d2483ce19dd9289e82a4bcb78404f1f8399be28 | [
"CC0-1.0"
] | null | null | null | # Databricks notebook source
# COMMAND ----------
from palet.Enrollment import Enrollment
from palet.Diagnoses import Diagnoses
from palet.ServiceCategory import ServiceCategory
# COMMAND ----------
# MAGIC %md
# MAGIC ##### Self-Service
# COMMAND ----------
AFib = ['I230', 'I231', 'I232', 'I233', 'I234', 'I235',... | 69.103093 | 4,089 | 0.593913 | 644 | 6,703 | 6.159938 | 0.813665 | 0.019662 | 0.037812 | 0.049156 | 0.108646 | 0.108646 | 0.108646 | 0.108646 | 0.108646 | 0.108646 | 0 | 0.414785 | 0.134268 | 6,703 | 96 | 4,090 | 69.822917 | 0.268826 | 0.078472 | 0 | 0.560976 | 0 | 0 | 0.48159 | 0.003421 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.073171 | 0 | 0.073171 | 0.073171 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
012f586ad2ea32d6e3131a99b23496649473c9dd | 911 | py | Python | predictionserver/serverhabits/ownershiphabits.py | EricZLou/predictionserver | 5f9d4a6711f9941f3c221ef1dccf57418dd17306 | [
"MIT"
] | null | null | null | predictionserver/serverhabits/ownershiphabits.py | EricZLou/predictionserver | 5f9d4a6711f9941f3c221ef1dccf57418dd17306 | [
"MIT"
] | null | null | null | predictionserver/serverhabits/ownershiphabits.py | EricZLou/predictionserver | 5f9d4a6711f9941f3c221ef1dccf57418dd17306 | [
"MIT"
] | null | null | null | from predictionserver.serverhabits.obscurityhabits import ObscurityHabits
from predictionserver.futureconventions.sepconventions import SepConventions
# Ownership server has the limited responsibility of tracking the official owners of each stream
#
# Terminology:
# - sponsor refers to public identity (co... | 36.44 | 143 | 0.73326 | 105 | 911 | 6.228571 | 0.561905 | 0.036697 | 0.06422 | 0.105505 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19539 | 911 | 24 | 144 | 37.958333 | 0.892224 | 0.454446 | 0 | 0 | 0 | 0 | 0.047228 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0.181818 | 0.272727 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
01510c846327af3e8700223af62a9d5c5ef328cb | 735 | py | Python | accounts/views.py | oliveiradigital/keyvalue | dca1fbac357d6bfd117a84b0e926f80083175e67 | [
"MIT"
] | 1 | 2020-10-19T22:00:01.000Z | 2020-10-19T22:00:01.000Z | accounts/views.py | oliveiradigital/keyvalue | dca1fbac357d6bfd117a84b0e926f80083175e67 | [
"MIT"
] | null | null | null | accounts/views.py | oliveiradigital/keyvalue | dca1fbac357d6bfd117a84b0e926f80083175e67 | [
"MIT"
] | null | null | null | from rest_framework.views import APIView
from rest_framework.response import Response
from django.utils.crypto import get_random_string
from django.contrib.auth import get_user_model
from rest_framework.authtoken.models import Token
class CreateUser(APIView):
def post(self, request):
"""Create a user and ... | 38.684211 | 85 | 0.722449 | 95 | 735 | 5.431579 | 0.463158 | 0.046512 | 0.098837 | 0.081395 | 0.089147 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006645 | 0.180952 | 735 | 19 | 86 | 38.684211 | 0.850498 | 0.047619 | 0 | 0 | 0 | 0 | 0.034532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.142857 | 0.357143 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
01577a8984d56f30a8aee813e5a5fa2344f03b61 | 147 | py | Python | app1/models.py | zxk18339930029/demo2 | 69c1c80cdbc6be773b97a68d30275b648e5ce7b0 | [
"MIT"
] | null | null | null | app1/models.py | zxk18339930029/demo2 | 69c1c80cdbc6be773b97a68d30275b648e5ce7b0 | [
"MIT"
] | null | null | null | app1/models.py | zxk18339930029/demo2 | 69c1c80cdbc6be773b97a68d30275b648e5ce7b0 | [
"MIT"
] | null | null | null | from django.db import models
class Like(model.Models):
uid = models.IntegerField()
name = models.CharField()
# Create your models here.
| 16.333333 | 31 | 0.707483 | 19 | 147 | 5.473684 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 147 | 8 | 32 | 18.375 | 0.87395 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0168758bdfddaa625748d81015eaa42403fb4a63 | 153 | py | Python | Riva Parvez/pattern1.py | GoogleDSC-AUL/Algorithmic-Quesions | 5b765b395216ec0207e12e9bfd8b9c8137ff63b7 | [
"MIT"
] | 2 | 2021-12-22T18:44:36.000Z | 2021-12-22T18:44:47.000Z | Riva Parvez/pattern1.py | GoogleDSC-AUL/Algorithmic-Quesions | 5b765b395216ec0207e12e9bfd8b9c8137ff63b7 | [
"MIT"
] | 3 | 2021-10-16T10:37:16.000Z | 2021-10-18T06:30:46.000Z | Riva Parvez/pattern1.py | GoogleDSC-AUL/Algorithmic-Quesions | 5b765b395216ec0207e12e9bfd8b9c8137ff63b7 | [
"MIT"
] | 14 | 2021-10-16T06:12:56.000Z | 2022-03-19T14:41:24.000Z | ##python program to print a pattern
n=int(input("No of rows\n"))
for i in range(0,n):
for j in range (0,i+1):
print("*", end="")
print()
| 21.857143 | 35 | 0.562092 | 29 | 153 | 2.965517 | 0.689655 | 0.093023 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.24183 | 153 | 6 | 36 | 25.5 | 0.715517 | 0.215686 | 0 | 0 | 0 | 0 | 0.110169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 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 |
0168a6a4caf2de289a33aa68a78e74c461e327b6 | 4,076 | py | Python | noronha/bay/utils.py | pierodesenzi/noronha | ee7cba8d0d29d0dc5484d2000e1a42c9954c20e4 | [
"Apache-2.0"
] | 43 | 2021-04-14T00:41:15.000Z | 2022-01-02T23:32:58.000Z | noronha/bay/utils.py | pierodesenzi/noronha | ee7cba8d0d29d0dc5484d2000e1a42c9954c20e4 | [
"Apache-2.0"
] | 19 | 2021-04-14T00:35:21.000Z | 2022-01-12T14:24:48.000Z | noronha/bay/utils.py | pierodesenzi/noronha | ee7cba8d0d29d0dc5484d2000e1a42c9954c20e4 | [
"Apache-2.0"
] | 8 | 2021-04-14T00:31:02.000Z | 2022-01-02T23:33:08.000Z | # -*- coding: utf-8 -*-
# Copyright Noronha Development Team
#
# 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 applica... | 26.640523 | 76 | 0.602306 | 498 | 4,076 | 4.773092 | 0.341365 | 0.037021 | 0.025242 | 0.013462 | 0.054691 | 0.019352 | 0 | 0 | 0 | 0 | 0 | 0.004539 | 0.29735 | 4,076 | 152 | 77 | 26.815789 | 0.825419 | 0.141806 | 0 | 0.126437 | 0 | 0 | 0.019811 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 1 | 0.229885 | false | 0 | 0.08046 | 0.103448 | 0.551724 | 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 |
016a7dd87a7bc9d0fdc9e29e6ab26ea5dd4f0bae | 861 | py | Python | 10_state/sold_state.py | hypersport/Head-First-Design-Patterns-Python | 0c8b831ae89ebbbef8b203b96508deb7e3063590 | [
"MIT"
] | null | null | null | 10_state/sold_state.py | hypersport/Head-First-Design-Patterns-Python | 0c8b831ae89ebbbef8b203b96508deb7e3063590 | [
"MIT"
] | null | null | null | 10_state/sold_state.py | hypersport/Head-First-Design-Patterns-Python | 0c8b831ae89ebbbef8b203b96508deb7e3063590 | [
"MIT"
] | null | null | null | from state import State
class SoldState(State):
def __init__(self, gumball_machine):
self.gumball_machine = gumball_machine
def insert_quarter(self):
print('Please wait, we\'re already giving you a gumball.')
def eject_quarter(self):
print('Sorry, you already turned the crank.')
... | 28.7 | 87 | 0.663182 | 111 | 861 | 4.873874 | 0.468468 | 0.232902 | 0.266174 | 0.116451 | 0.173752 | 0.173752 | 0.173752 | 0.173752 | 0.173752 | 0 | 0 | 0.001527 | 0.239257 | 861 | 29 | 88 | 29.689655 | 0.824427 | 0 | 0 | 0 | 0 | 0 | 0.133566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.047619 | 0.047619 | 0.047619 | 0.47619 | 0.190476 | 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 |
01798453484488314c56bfbbad065f2572e118f0 | 149 | py | Python | src/types.py | lhupfeldt/file_groups | ed4230fcfd9ae546410cca74cc042370a2bff940 | [
"BSD-3-Clause"
] | null | null | null | src/types.py | lhupfeldt/file_groups | ed4230fcfd9ae546410cca74cc042370a2bff940 | [
"BSD-3-Clause"
] | null | null | null | src/types.py | lhupfeldt/file_groups | ed4230fcfd9ae546410cca74cc042370a2bff940 | [
"BSD-3-Clause"
] | null | null | null | from os import DirEntry
from pathlib import Path
from typing import Union
FsPath = Union[DirEntry, Path] # pylint: disable=unsubscriptable-object
| 21.285714 | 72 | 0.798658 | 20 | 149 | 5.95 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147651 | 149 | 6 | 73 | 24.833333 | 0.937008 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
6d7968b79c3f555aae0c2af4e63510ad9c4ab371 | 3,022 | py | Python | pysystemfan/thermometer.py | bluecube/pysystemfan | d9c3bb96060dfc0658a8ae5ed341b33649623472 | [
"MIT"
] | 1 | 2017-07-12T01:46:25.000Z | 2017-07-12T01:46:25.000Z | pysystemfan/thermometer.py | bluecube/pysystemfan | d9c3bb96060dfc0658a8ae5ed341b33649623472 | [
"MIT"
] | 5 | 2015-09-29T12:01:57.000Z | 2016-08-29T07:01:20.000Z | pysystemfan/thermometer.py | bluecube/pysystemfan | d9c3bb96060dfc0658a8ae5ed341b33649623472 | [
"MIT"
] | null | null | null | from . import config_params
import os
import collections
import logging
logger = logging.getLogger(__name__)
class Thermometer(config_params.Configurable):
_params = [
("name", "", "Name that will appear in status output."),
("target_temperature", None, "We're trying to keep temperature below thi... | 34.340909 | 135 | 0.666446 | 347 | 3,022 | 5.564842 | 0.322767 | 0.108752 | 0.043501 | 0.049715 | 0.329881 | 0.163646 | 0.13102 | 0.043501 | 0 | 0 | 0 | 0.006454 | 0.230973 | 3,022 | 87 | 136 | 34.735632 | 0.82315 | 0.111516 | 0 | 0.416667 | 0 | 0.016667 | 0.189322 | 0.013631 | 0 | 0 | 0 | 0 | 0 | 1 | 0.233333 | false | 0 | 0.066667 | 0.116667 | 0.55 | 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 |
6d7f983059facb744bc9736b2b7e46d0f13c0e90 | 118 | py | Python | Common/__init__.py | belf-kr/storage-service | fa502357518a47dbc1dc5dd35c63bc2d2ca0cdbc | [
"MIT"
] | null | null | null | Common/__init__.py | belf-kr/storage-service | fa502357518a47dbc1dc5dd35c63bc2d2ca0cdbc | [
"MIT"
] | 20 | 2021-07-28T15:31:29.000Z | 2021-12-23T22:44:39.000Z | Common/__init__.py | belf-kr/storage-service | fa502357518a47dbc1dc5dd35c63bc2d2ca0cdbc | [
"MIT"
] | null | null | null | from .Path import CommonPath
from .Converter import Converter
path = CommonPath.get_instance()
converter = Converter
| 19.666667 | 32 | 0.813559 | 14 | 118 | 6.785714 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 118 | 5 | 33 | 23.6 | 0.92233 | 0 | 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 |
6d826d386fe15bc8a63cb554d76f86fe9619a771 | 152 | py | Python | SNPlice/src/version.py | gwcbi/HorvathLabNGS | 20c87dfcad236990ce1a3ed6e9d180de10ca9dbc | [
"MIT"
] | 1 | 2018-08-27T15:10:17.000Z | 2018-08-27T15:10:17.000Z | SNPlice/src/version.py | HorvathLab/SNPlice | 20c87dfcad236990ce1a3ed6e9d180de10ca9dbc | [
"MIT"
] | 1 | 2016-12-16T20:55:00.000Z | 2016-12-16T20:55:00.000Z | SNPlice/src/version.py | gwcbi/HorvathLabNGS | 20c87dfcad236990ce1a3ed6e9d180de10ca9dbc | [
"MIT"
] | null | null | null | #!/bin/env python2.7
VERSION = '1.8.0'
PROGRAMS = 'SNPlice.py SNPlice-Combine.py'
if __name__ == '__main__':
import sys
print eval(sys.argv[1])
| 21.714286 | 42 | 0.664474 | 24 | 152 | 3.875 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0.164474 | 152 | 6 | 43 | 25.333333 | 0.685039 | 0.125 | 0 | 0 | 0 | 0 | 0.318182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6d8cc64503abbe23dcb5e4830329c0199d9ff686 | 1,887 | py | Python | action/info/recipe.py | steem-driver/steem-cookbook | daadd61064bf468c36fdb1259b86bf162c93147c | [
"MIT"
] | null | null | null | action/info/recipe.py | steem-driver/steem-cookbook | daadd61064bf468c36fdb1259b86bf162c93147c | [
"MIT"
] | 1 | 2021-10-05T23:57:41.000Z | 2021-10-05T23:57:41.000Z | action/info/recipe.py | awesome-steem/cn-curator | d08aa08bf003ea88a1a557bd92e06145fa235187 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from steem.collector import query
from action.info.bot import InfoBot
from utils.logging.logger import logger
class InfoRecipe:
def __init__(self):
self.author = self.by()
self.bot = InfoBot(author=self.author, mode=self.mode(), config=self.config())
self.ops = None... | 26.577465 | 154 | 0.554849 | 234 | 1,887 | 4.397436 | 0.286325 | 0.040816 | 0.050535 | 0.052478 | 0.115646 | 0.054422 | 0 | 0 | 0 | 0 | 0 | 0.004619 | 0.311606 | 1,887 | 70 | 155 | 26.957143 | 0.787529 | 0.167462 | 0 | 0.133333 | 0 | 0 | 0.073671 | 0.013453 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.2 | 0.622222 | 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 |
6dc2206a2c2d48de2c161902ace8a4dda5f1afcc | 108 | py | Python | apps/customers/constants.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 206 | 2015-10-15T07:05:08.000Z | 2021-02-19T11:48:36.000Z | apps/customers/constants.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 8 | 2017-10-16T10:18:31.000Z | 2022-03-09T14:24:27.000Z | apps/customers/constants.py | goztrk/django-htk | c56bf112e5d627780d2f4288460eae5cce80fa9e | [
"MIT"
] | 61 | 2015-10-15T08:12:44.000Z | 2022-03-10T12:25:06.000Z | # HTK Imports
from htk.apps.customers.enums import *
DEFAULT_ORGANIZATION_TYPE = OrganizationType.UNKNOWN
| 18 | 52 | 0.824074 | 13 | 108 | 6.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 5 | 53 | 21.6 | 0.90625 | 0.101852 | 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 |
6dc38d3f5788384faae5e2bd63613d758e4624bf | 97 | py | Python | backend/histocat/core/constants.py | BodenmillerGroup/histocat-web | c598cd07506febf0b7c209626d4eb869761f2e62 | [
"MIT"
] | 4 | 2021-06-14T15:19:25.000Z | 2022-02-09T13:17:39.000Z | backend/histocat/core/constants.py | BodenmillerGroup/histocat-web | c598cd07506febf0b7c209626d4eb869761f2e62 | [
"MIT"
] | null | null | null | backend/histocat/core/constants.py | BodenmillerGroup/histocat-web | c598cd07506febf0b7c209626d4eb869761f2e62 | [
"MIT"
] | 1 | 2022-02-09T13:17:41.000Z | 2022-02-09T13:17:41.000Z | CSV_FILE_EXTENSION = ".csv"
FEATHER_FILE_EXTENSION = ".feather"
ANNDATA_FILE_EXTENSION = ".h5ad"
| 24.25 | 35 | 0.783505 | 12 | 97 | 5.833333 | 0.5 | 0.557143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 0.092784 | 97 | 3 | 36 | 32.333333 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 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 |
6de79997f95ad27b23a35e7cd3fbac80fb702fc0 | 154 | py | Python | main.py | joshuayap98/py_crawler | 36592535f35c9d479a0d7d05ac3d04604ac88ad2 | [
"MIT"
] | null | null | null | main.py | joshuayap98/py_crawler | 36592535f35c9d479a0d7d05ac3d04604ac88ad2 | [
"MIT"
] | 1 | 2021-03-31T20:58:51.000Z | 2021-03-31T20:58:51.000Z | main.py | joshuayap98/py_crawler | 36592535f35c9d479a0d7d05ac3d04604ac88ad2 | [
"MIT"
] | 1 | 2020-05-30T15:56:00.000Z | 2020-05-30T15:56:00.000Z | from postscrawl.run_scraper import Scraper
def main():
scraper = Scraper()
scraper.start_AAPL_posts_crawl()
if __name__ == '__main__':
main() | 17.111111 | 42 | 0.714286 | 19 | 154 | 5.157895 | 0.684211 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175325 | 154 | 9 | 43 | 17.111111 | 0.771654 | 0 | 0 | 0 | 0 | 0 | 0.051613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 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 |
09642b7249f78508efcd572edbc87482561eeba4 | 100 | py | Python | gumazonopensource/__init__.py | gumazon/gumazonopensource | 0eb1e4b1ae923af677f079e85cc8fd9aeed8c1fb | [
"MIT"
] | null | null | null | gumazonopensource/__init__.py | gumazon/gumazonopensource | 0eb1e4b1ae923af677f079e85cc8fd9aeed8c1fb | [
"MIT"
] | null | null | null | gumazonopensource/__init__.py | gumazon/gumazonopensource | 0eb1e4b1ae923af677f079e85cc8fd9aeed8c1fb | [
"MIT"
] | null | null | null | __version__ = '0.1.0'
__all__ = ['gumazonopensource']
from .gumazonopensource import Application
| 14.285714 | 42 | 0.76 | 10 | 100 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.13 | 100 | 6 | 43 | 16.666667 | 0.747126 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 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 |
0968ef2accb36f3bda6d251014f86591ab0e3c3d | 1,157 | py | Python | test.py | shug3502/software_best_practices | 24d7d8c64ef819a8a1ad744fe11463eeeab74c96 | [
"MIT"
] | null | null | null | test.py | shug3502/software_best_practices | 24d7d8c64ef819a8a1ad744fe11463eeeab74c96 | [
"MIT"
] | null | null | null | test.py | shug3502/software_best_practices | 24d7d8c64ef819a8a1ad744fe11463eeeab74c96 | [
"MIT"
] | null | null | null | import unittest
import maths_custom_functions as mcf
class TestMathsCustomFunctions(unittest.TestCase):
def test_factorial(self):
self.assertEqual(mcf.factorial(0), 1)
self.assertEqual(mcf.factorial(1), 1)
self.assertEqual(mcf.factorial(2), 2)
self.assertEqual(mcf.factorial(15), ... | 33.057143 | 100 | 0.697494 | 147 | 1,157 | 5.265306 | 0.265306 | 0.116279 | 0.193798 | 0.209302 | 0.563307 | 0.335917 | 0 | 0 | 0 | 0 | 0 | 0.053968 | 0.183233 | 1,157 | 34 | 101 | 34.029412 | 0.765079 | 0 | 0 | 0 | 0 | 0 | 0.029386 | 0 | 0 | 0 | 0 | 0 | 0.68 | 1 | 0.12 | false | 0 | 0.08 | 0 | 0.24 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
098084d0733c137ff4fbb59f15fab7dcc0576eb0 | 32 | py | Python | nefit/version.py | patvdleer/nefit-client-python | 97f2c1e454b7c0d5829e1a9c285c998980c603e3 | [
"MIT"
] | 11 | 2017-07-20T10:12:55.000Z | 2020-12-25T12:40:31.000Z | nefit/version.py | patvdleer/nefit-client-python | 97f2c1e454b7c0d5829e1a9c285c998980c603e3 | [
"MIT"
] | 5 | 2018-01-01T22:11:09.000Z | 2020-05-14T20:59:50.000Z | nefit/version.py | patvdleer/nefit-client-python | 97f2c1e454b7c0d5829e1a9c285c998980c603e3 | [
"MIT"
] | 11 | 2017-04-09T18:55:53.000Z | 2020-04-22T14:31:12.000Z | version = __version__ = '0.3.0'
| 16 | 31 | 0.65625 | 5 | 32 | 3.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0.15625 | 32 | 1 | 32 | 32 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 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 |
098270b42ca7886e6a9516535891a49f4e4c7fa3 | 3,785 | py | Python | positive/data/ksm2_cw.py | Galadirith/positive | 8a0cb633ce0ded68c7eacf9b7263717d14365c3e | [
"MIT"
] | 8 | 2017-06-01T21:06:48.000Z | 2021-07-15T04:08:44.000Z | kerr/formula/ksm2_cw.py | llondon6/kerr_public | 455f2d50f1ba78d76ab939d7934b78916d1f8daf | [
"MIT"
] | 13 | 2018-08-23T11:37:20.000Z | 2021-12-13T15:24:32.000Z | kerr/formula/ksm2_cw.py | llondon6/kerr_public | 455f2d50f1ba78d76ab939d7934b78916d1f8daf | [
"MIT"
] | 3 | 2018-08-29T06:36:58.000Z | 2021-11-21T16:06:22.000Z | '''
Module written by "mmrdns_write_python_freq_fit_eqns.m". Here be fitting functions for QNM frequencies for gravitational perturbations of kerr (spin weight -2).
'''
# Import useful things
from numpy import log,exp
# Domain map jf --> kappa( x =def [jf,l,m] ).
# NOTE that the function below MUST be consistent wit... | 105.138889 | 357 | 0.597094 | 786 | 3,785 | 2.86514 | 0.225191 | 0.146092 | 0.159858 | 0.062167 | 0.348579 | 0.167407 | 0.092806 | 0.069716 | 0.035524 | 0 | 0 | 0.308576 | 0.103567 | 3,785 | 35 | 358 | 108.142857 | 0.355143 | 0.141083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.045455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
09a63de1ad0beb72eeb73102036c33cc1c4d17ac | 246 | py | Python | crawler/violin_scraper/retinues/smzdm_search/items.py | bbcyyb/violin | 6af965ffd71a81fe27565e818d4291565632f032 | [
"MIT"
] | null | null | null | crawler/violin_scraper/retinues/smzdm_search/items.py | bbcyyb/violin | 6af965ffd71a81fe27565e818d4291565632f032 | [
"MIT"
] | 3 | 2021-02-10T02:15:46.000Z | 2021-06-08T22:21:40.000Z | crawler/violin_scraper/retinues/smzdm_search/items.py | bbcyyb/violin | 6af965ffd71a81fe27565e818d4291565632f032 | [
"MIT"
] | null | null | null | import scrapy
class SmzdmSearchItem(scrapy.Item):
url = scrapy.Field()
title = scrapy.Field()
price = scrapy.Field()
keyword = scrapy.Field()
channel = scrapy.Field()
platform = scrapy.Field()
brand = scrapy.Field()
| 20.5 | 35 | 0.646341 | 27 | 246 | 5.888889 | 0.481481 | 0.484277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223577 | 246 | 11 | 36 | 22.363636 | 0.832461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 1 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
09b13c056b5f82e4dc8c4fccf6578f42a6237dd2 | 893 | py | Python | main.py | nlnadialigia/site-com-flask | c6b002344b955a6ca5a37f60e0f41d89aef1a672 | [
"MIT"
] | null | null | null | main.py | nlnadialigia/site-com-flask | c6b002344b955a6ca5a37f60e0f41d89aef1a672 | [
"MIT"
] | null | null | null | main.py | nlnadialigia/site-com-flask | c6b002344b955a6ca5a37f60e0f41d89aef1a672 | [
"MIT"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
# criar a 1ª página do site
# route => qual link vai ficar na página - caminho que vem depois do dominio
# função => o que será exibido na página
# template => um para cada página
@app.route('/')
def homepage():
return render_template('homepage.html... | 22.897436 | 80 | 0.739082 | 128 | 893 | 5 | 0.5625 | 0.0875 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001342 | 0.165733 | 893 | 38 | 81 | 23.5 | 0.857718 | 0.4972 | 0 | 0 | 0 | 0 | 0.18578 | 0.055046 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.230769 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
09d6a0a4196d4fca0b1f577b3c3c15a291424da7 | 156 | py | Python | load_json.py | contra8/ImageClassifier-AI | c5afec2ac9bd209dd74bd661e192d47df2abf5a6 | [
"MIT"
] | null | null | null | load_json.py | contra8/ImageClassifier-AI | c5afec2ac9bd209dd74bd661e192d47df2abf5a6 | [
"MIT"
] | null | null | null | load_json.py | contra8/ImageClassifier-AI | c5afec2ac9bd209dd74bd661e192d47df2abf5a6 | [
"MIT"
] | null | null | null | import json
def load_json(path_to_json):
with open(path_to_json, 'r') as f:
cat_to_name = json.load(f)
return cat_to_name, len(cat_to_name) | 26 | 40 | 0.698718 | 30 | 156 | 3.266667 | 0.5 | 0.153061 | 0.27551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198718 | 156 | 6 | 40 | 26 | 0.784 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 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 |
09dfcaf38a0b8e4a44351790e4571976194f8daa | 366 | py | Python | leloop_rfid_open_door.py | LeLoop/LeLoopRFID | 9a97aa3608a171593025e898426fb8876946a00e | [
"Unlicense"
] | 2 | 2015-02-18T11:26:49.000Z | 2015-07-03T12:06:07.000Z | leloop_rfid_open_door.py | LeLoop/LeLoopRFID | 9a97aa3608a171593025e898426fb8876946a00e | [
"Unlicense"
] | null | null | null | leloop_rfid_open_door.py | LeLoop/LeLoopRFID | 9a97aa3608a171593025e898426fb8876946a00e | [
"Unlicense"
] | null | null | null |
import socket
def open_door():
door = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
door.connect(("192.168.42.242", 4242))
door.send("1\n")
door.close()
def deny_entrance():
door = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
door.connect(("192.168.42.242", 4242))
door.send("0\n"... | 21.529412 | 60 | 0.655738 | 55 | 366 | 4.090909 | 0.454545 | 0.213333 | 0.142222 | 0.195556 | 0.693333 | 0.693333 | 0.693333 | 0.693333 | 0.693333 | 0.693333 | 0 | 0.105263 | 0.169399 | 366 | 16 | 61 | 22.875 | 0.634868 | 0 | 0 | 0.333333 | 0 | 0 | 0.115068 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.083333 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
61ee8f58cdac6aea30e2ebe04afe02c982e91487 | 590 | py | Python | toal/samplers/RandomSampler.py | Bhaskers-Blu-Org1/text-oriented-active-learning | facfb40673a59e43391b7bdb508e612dff1988d9 | [
"MIT"
] | 4 | 2020-10-23T14:42:30.000Z | 2021-06-10T13:29:04.000Z | toal/samplers/RandomSampler.py | Bhaskers-Blu-Org1/text-oriented-active-learning | facfb40673a59e43391b7bdb508e612dff1988d9 | [
"MIT"
] | null | null | null | toal/samplers/RandomSampler.py | Bhaskers-Blu-Org1/text-oriented-active-learning | facfb40673a59e43391b7bdb508e612dff1988d9 | [
"MIT"
] | 1 | 2020-07-30T10:35:09.000Z | 2020-07-30T10:35:09.000Z | from random import shuffle
import pandas as pd
from .AbstractSampler import AbstractSampler
from toal.stores import BasicStore
class RandomSampler(AbstractSampler):
def choose_instances(self, store: BasicStore, batch_size=10) -> pd.DataFrame:
# just get the next n (random) samples
shuf_idx = list... | 31.052632 | 88 | 0.737288 | 73 | 590 | 5.821918 | 0.657534 | 0.049412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006276 | 0.189831 | 590 | 18 | 89 | 32.777778 | 0.882845 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
61f1378efdfdc1b6a3a7ab055898ea66bf183ac4 | 578 | py | Python | src/install.py | beirving/mysql-to-bigquery | 75dfe3390f1e1a0dc54d5cace0cf1a89a0560ae6 | [
"MIT"
] | null | null | null | src/install.py | beirving/mysql-to-bigquery | 75dfe3390f1e1a0dc54d5cace0cf1a89a0560ae6 | [
"MIT"
] | null | null | null | src/install.py | beirving/mysql-to-bigquery | 75dfe3390f1e1a0dc54d5cace0cf1a89a0560ae6 | [
"MIT"
] | null | null | null | from prefect import task, Flow
import mysql_bigquery.prefect_utils.install.storage as storage_install
import mysql_bigquery.prefect_utils.install.pub_sub as pub_sub_install
import mysql_bigquery.prefect_utils.install.big_query as big_query_install
@task
def storage():
return storage_install.storage_flow_runner()
... | 19.266667 | 74 | 0.785467 | 86 | 578 | 4.930233 | 0.267442 | 0.084906 | 0.134434 | 0.183962 | 0.301887 | 0.301887 | 0.212264 | 0 | 0 | 0 | 0 | 0 | 0.134948 | 578 | 29 | 75 | 19.931034 | 0.848 | 0 | 0 | 0.166667 | 0 | 0 | 0.029463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.222222 | 0.166667 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
61fc7e571a033adce8b08b2c61e4ee9667c09aef | 621 | py | Python | blog/tests/test_views.py | javamon1174/web-django-blog | e457e38dfe0ab9b848495db770057a929bb29d90 | [
"MIT"
] | null | null | null | blog/tests/test_views.py | javamon1174/web-django-blog | e457e38dfe0ab9b848495db770057a929bb29d90 | [
"MIT"
] | null | null | null | blog/tests/test_views.py | javamon1174/web-django-blog | e457e38dfe0ab9b848495db770057a929bb29d90 | [
"MIT"
] | null | null | null | from django.test import TestCase
from blog.views import *
from django.test import Client
import datetime
client = Client()
class PostListTests(TestCase):
def setUp(self):
# Setup run before every test method.
pass
def test_url_mapping_to_username(self):
response = client.get('/1/') #... | 28.227273 | 59 | 0.658615 | 79 | 621 | 5.012658 | 0.506329 | 0.106061 | 0.136364 | 0.10101 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020704 | 0.222222 | 621 | 21 | 60 | 29.571429 | 0.799172 | 0.42351 | 0 | 0 | 0 | 0 | 0.008596 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0.090909 | 0.363636 | 0 | 0.636364 | 0.090909 | 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 |
1102b7fc3e34268462b49c2376df16dff4b5326d | 1,192 | py | Python | vhsys/vhsys_pedidos.py | hbolzan/minipcp-vhsys | 314deada0b3ac8af2ab11dcc46bc23cdd8d9f7b7 | [
"BSD-2-Clause"
] | null | null | null | vhsys/vhsys_pedidos.py | hbolzan/minipcp-vhsys | 314deada0b3ac8af2ab11dcc46bc23cdd8d9f7b7 | [
"BSD-2-Clause"
] | null | null | null | vhsys/vhsys_pedidos.py | hbolzan/minipcp-vhsys | 314deada0b3ac8af2ab11dcc46bc23cdd8d9f7b7 | [
"BSD-2-Clause"
] | null | null | null | from .vhsys_requests import vhsys_get, vhsys_get_with_params, vhsys_get_since
PEDIDOS_BASE_ENDPOINT = "pedidos"
ITENS_BASE_ENDPOINT = "pedidos/{pedido_id}/produtos"
STATUS_EM_ABERTO = "Em Aberto"
STATUS_EM_ANDAMENTO = "Em Andamento"
STATUS_ATENDIDO = "Atendido"
STATUS_CANCELADO = "Cancelado"
DEFAULT_PARAMS = [("statu... | 27.090909 | 92 | 0.752517 | 166 | 1,192 | 5.072289 | 0.271084 | 0.066508 | 0.090261 | 0.064133 | 0.24228 | 0.178147 | 0.102138 | 0.102138 | 0 | 0 | 0 | 0 | 0.152685 | 1,192 | 43 | 93 | 27.72093 | 0.833663 | 0.038591 | 0 | 0.071429 | 0 | 0 | 0.083916 | 0.024476 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.035714 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
113168aebd04314353bea55e29973551f8f0b0c7 | 53 | py | Python | totalcorner/__init__.py | jimtje/totalcorner | 9389fb494086dd195fbf9ea01849915224d422ef | [
"MIT"
] | 5 | 2019-12-13T13:09:47.000Z | 2022-03-31T06:25:03.000Z | totalcorner/__init__.py | jimtje/totalcorner | 9389fb494086dd195fbf9ea01849915224d422ef | [
"MIT"
] | 1 | 2019-07-04T09:57:22.000Z | 2019-08-23T14:57:19.000Z | totalcorner/__init__.py | jimtje/totalcorner | 9389fb494086dd195fbf9ea01849915224d422ef | [
"MIT"
] | 2 | 2019-07-02T14:48:40.000Z | 2021-03-26T11:54:15.000Z | from .client import *
__all__ = ['TotalCornerAPI']
| 10.6 | 28 | 0.698113 | 5 | 53 | 6.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 53 | 4 | 29 | 13.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.264151 | 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 |
113d2796ff8dc7e6369c396a8d983242786f97e1 | 27 | py | Python | userslist.py | MYou123/TweetBot | bebe867924c0f3446d73f8ea83b5e041a356b61b | [
"MIT"
] | null | null | null | userslist.py | MYou123/TweetBot | bebe867924c0f3446d73f8ea83b5e041a356b61b | [
"MIT"
] | null | null | null | userslist.py | MYou123/TweetBot | bebe867924c0f3446d73f8ea83b5e041a356b61b | [
"MIT"
] | null | null | null | userslist = ['Cristiano',]
| 13.5 | 26 | 0.666667 | 2 | 27 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 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 |
fec339b79512f8a3e5d5a46577d88bbf46bed0e8 | 128 | py | Python | testing/correctness/tests/topology/conftest.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,459 | 2017-09-16T13:13:15.000Z | 2020-10-05T06:19:50.000Z | testing/correctness/tests/topology/conftest.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 1,413 | 2017-09-14T18:18:14.000Z | 2020-09-28T08:10:30.000Z | testing/correctness/tests/topology/conftest.py | pvmsikrsna/wallaroo | a08ef579ec809e5bf4ffe10937b2be20059a0530 | [
"Apache-2.0"
] | 80 | 2017-09-27T23:16:23.000Z | 2020-06-02T09:18:53.000Z | # Sort the tests alphabetically
def pytest_collection_modifyitems(session, config, items):
items.sort(key=lambda i: i.name)
| 32 | 58 | 0.78125 | 18 | 128 | 5.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 128 | 3 | 59 | 42.666667 | 0.875 | 0.226563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
feee10b70aa834514a6cca593c55cbf9118ac330 | 175 | py | Python | backend/recommendation/urls/admin.py | skkuse/2019spring_01class_team4 | a4fa81dcaf58b0f189addb3392224e6cd1fbf127 | [
"MIT"
] | 5 | 2019-05-19T06:50:40.000Z | 2019-05-19T07:05:50.000Z | backend/recommendation/urls/admin.py | skkuse/2019spring_01class_team4 | a4fa81dcaf58b0f189addb3392224e6cd1fbf127 | [
"MIT"
] | 1 | 2019-10-24T05:46:34.000Z | 2019-10-24T05:46:56.000Z | backend/recommendation/urls/admin.py | skkuse/2019spring_01class_team4 | a4fa81dcaf58b0f189addb3392224e6cd1fbf127 | [
"MIT"
] | 3 | 2019-06-28T09:41:56.000Z | 2021-11-23T13:04:44.000Z | from django.conf.urls import url
# from ..views.admin import LevelTestProblemAPI
urlpatterns = [
# url(r"^test_case/?$", TestCaseAPI.as_view(), name="test_case_api"),
]
| 21.875 | 73 | 0.714286 | 23 | 175 | 5.26087 | 0.782609 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131429 | 175 | 7 | 74 | 25 | 0.796053 | 0.645714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 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 |
fefbe527bf1577ea6da4970470d3589f22fa8b6e | 254 | py | Python | miefield/__init__.py | paulmueller/miefield | 00c8d1099b2b77471d506d611108c89762717a4a | [
"BSD-3-Clause"
] | 2 | 2016-02-02T06:11:43.000Z | 2021-01-12T20:05:25.000Z | miefield/__init__.py | RI-imaging/miefield | 00c8d1099b2b77471d506d611108c89762717a4a | [
"BSD-3-Clause"
] | 2 | 2015-02-24T09:37:44.000Z | 2015-03-11T22:24:47.000Z | miefield/__init__.py | RI-imaging/miefield | 00c8d1099b2b77471d506d611108c89762717a4a | [
"BSD-3-Clause"
] | 2 | 2018-08-23T02:28:58.000Z | 2022-02-14T13:17:10.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Module mie
Analytical solution (series) for scattering on spheres and cylinders
"""
from ._Scat_Cylinder import *
from ._Scat_Cylinder_Line import *
from ._Scat_Sphere import *
__version__ = "0.0.1"
| 15.875 | 68 | 0.712598 | 35 | 254 | 4.857143 | 0.771429 | 0.141176 | 0.188235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018692 | 0.15748 | 254 | 15 | 69 | 16.933333 | 0.775701 | 0.484252 | 0 | 0 | 0 | 0 | 0.041322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 |
3a06dc288a7772d2a033d5f8f7613d632ec8ad60 | 589 | py | Python | data/train/python/3a06dc288a7772d2a033d5f8f7613d632ec8ad60users.py | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/train/python/3a06dc288a7772d2a033d5f8f7613d632ec8ad60users.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/train/python/3a06dc288a7772d2a033d5f8f7613d632ec8ad60users.py | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | from app.nodes.api.base.users import ApiUserList as _ApiUserList, ApiUserLogin as _ApiUserLogin, ApiUserLoginFb as _ApiUserLoginFb, ApiUser as _ApiUser
class ApiUserList(_ApiUserList):
"""
Handle the the api with endpoint: /users
"""
pass
class ApiUserLogin(_ApiUserLogin):
"""
Handle the the ... | 21.814815 | 151 | 0.680815 | 66 | 589 | 5.954545 | 0.318182 | 0.091603 | 0.122137 | 0.152672 | 0.3257 | 0.3257 | 0.3257 | 0 | 0 | 0 | 0 | 0 | 0.224109 | 589 | 26 | 152 | 22.653846 | 0.859956 | 0.310696 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.444444 | 0.111111 | 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 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
3a2145c4331b6adccc20594766ea3eb2253307c1 | 453 | py | Python | python-source-codes/install/install.py | Obenny/Python-Customly-Get-Even-Prime-Odd-Numbers | e7f4da92637e934fed43169c55037cf967451666 | [
"MIT"
] | null | null | null | python-source-codes/install/install.py | Obenny/Python-Customly-Get-Even-Prime-Odd-Numbers | e7f4da92637e934fed43169c55037cf967451666 | [
"MIT"
] | null | null | null | python-source-codes/install/install.py | Obenny/Python-Customly-Get-Even-Prime-Odd-Numbers | e7f4da92637e934fed43169c55037cf967451666 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# Copyright (c) Isaac Obenson "(eT. A. M)".
# See LICENSE for details.
import os #for operating system dependent functionality
#installing playsound to play .mp3 notifications.
print("\n\nInstalling playsound to play .mp3 notifications:\n\n")
os.system("pip install playsound")
#updating system
pr... | 23.842105 | 65 | 0.746137 | 64 | 453 | 5.28125 | 0.640625 | 0.053254 | 0.088757 | 0.106509 | 0.183432 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005 | 0.116998 | 453 | 18 | 66 | 25.166667 | 0.84 | 0.470199 | 0 | 0 | 0 | 0 | 0.652361 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
28b6d4f1996c13a7eb858685b39dd0f4d8d2b9c4 | 13 | py | Python | src/sme/__init__.py | JeffValenti/SME | 2b2b946706d31dbfbf9efdf7dd0855780aeaf76e | [
"BSD-3-Clause"
] | 4 | 2020-01-29T09:24:03.000Z | 2021-08-04T13:19:40.000Z | src/sme/__init__.py | JeffValenti/SME | 2b2b946706d31dbfbf9efdf7dd0855780aeaf76e | [
"BSD-3-Clause"
] | 119 | 2019-01-11T17:49:52.000Z | 2022-03-27T13:17:07.000Z | src/sme/__init__.py | JeffValenti/SME | 2b2b946706d31dbfbf9efdf7dd0855780aeaf76e | [
"BSD-3-Clause"
] | 3 | 2018-09-24T12:12:01.000Z | 2019-06-22T12:34:49.000Z | name = "sme"
| 6.5 | 12 | 0.538462 | 2 | 13 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 13 | 1 | 13 | 13 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 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 |
28c80c51ba0e1d248c66df8edcb89e4a12c79ba4 | 96 | py | Python | tests/inputs/lists-tuples/25-list-index-bad.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 4 | 2019-10-06T18:01:24.000Z | 2020-07-03T05:27:35.000Z | tests/inputs/lists-tuples/25-list-index-bad.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | 5 | 2021-06-07T15:50:04.000Z | 2021-06-07T15:50:06.000Z | tests/inputs/lists-tuples/25-list-index-bad.py | helq/pytropos | 497ed5902e6e4912249ca0a46b477f9bfa6ae80a | [
"MIT"
] | null | null | null | p = []
i = 0
while i < 10:
p.append(i)
i += 1
p[2] = p[6] = p
p[a] = p # Makes p Top
| 9.6 | 23 | 0.395833 | 22 | 96 | 1.727273 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101695 | 0.385417 | 96 | 9 | 24 | 10.666667 | 0.542373 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
28cdeec2ed0156c67e6db50810ac411de729af4f | 17 | py | Python | ccat/controller/feature/__init__.py | bhaveshrawal/Python | 5b67c3df196a72ab986b52c84e816d5674ca9af3 | [
"MIT"
] | 3 | 2018-11-25T16:45:01.000Z | 2019-06-16T13:50:44.000Z | ccat/controller/feature/__init__.py | bliiir/ccat | b9a4418c93961e8400703d87d3e94518199c5f09 | [
"MIT"
] | 10 | 2018-12-19T14:38:06.000Z | 2021-06-01T23:41:36.000Z | ccat/controller/feature/__init__.py | bliiir/ccat | b9a4418c93961e8400703d87d3e94518199c5f09 | [
"MIT"
] | null | null | null | name = 'feature'
| 8.5 | 16 | 0.647059 | 2 | 17 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 17 | 1 | 17 | 17 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 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 |
28dea1db68c139c7e4c3eb4ee149e03047eaeb11 | 1,405 | py | Python | mnelab/dialogs/utils.py | GuillaumeFavelier/mnelab | ae20ca685c052e1ba9552ffc9bb6ec1d5505e6c8 | [
"BSD-3-Clause"
] | null | null | null | mnelab/dialogs/utils.py | GuillaumeFavelier/mnelab | ae20ca685c052e1ba9552ffc9bb6ec1d5505e6c8 | [
"BSD-3-Clause"
] | null | null | null | mnelab/dialogs/utils.py | GuillaumeFavelier/mnelab | ae20ca685c052e1ba9552ffc9bb6ec1d5505e6c8 | [
"BSD-3-Clause"
] | null | null | null | # © MNELAB developers
#
# License: BSD (3-clause)
from PySide6.QtCore import Qt
from PySide6.QtWidgets import QTableWidgetItem
def select_all(list_widget):
"""Select all items in a QListWidget."""
for i in range(list_widget.count()):
list_widget.item(i).setSelected(True)
class IntTableWidgetItem(QT... | 26.509434 | 77 | 0.61637 | 169 | 1,405 | 4.964497 | 0.366864 | 0.042908 | 0.052443 | 0.064362 | 0.631704 | 0.564958 | 0.564958 | 0.564958 | 0.564958 | 0.564958 | 0 | 0.004883 | 0.271174 | 1,405 | 52 | 78 | 27.019231 | 0.813477 | 0.120285 | 0 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.257143 | false | 0 | 0.057143 | 0.114286 | 0.542857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
28e1368efe66b325b543f82644f4b6329f5e39d2 | 2,115 | py | Python | tests/unit/test_utils.py | aK0nshin/aiovk | 85098d195e4836858856416258ea3249c5c9e95b | [
"MIT"
] | 2 | 2020-10-05T18:14:48.000Z | 2020-10-11T10:35:58.000Z | tests/unit/test_utils.py | AndreyKlychnikov/aiovk | c435aa97725f8456634aaf302cc688fddbc64b71 | [
"MIT"
] | null | null | null | tests/unit/test_utils.py | AndreyKlychnikov/aiovk | c435aa97725f8456634aaf302cc688fddbc64b71 | [
"MIT"
] | null | null | null | import asyncio
from unittest.mock import Mock
import time
import math
from aiohttp.test_utils import unittest_run_loop
from aiovk.utils import TaskQueue, wait_free_slot
from tests.utils import AioTestCase
class TaskQueueTestCase(AioTestCase):
@unittest_run_loop
async def test_long_init(self):
size ... | 23.5 | 58 | 0.579196 | 265 | 2,115 | 4.486792 | 0.207547 | 0.138772 | 0.12111 | 0.158957 | 0.756939 | 0.756939 | 0.713204 | 0.615643 | 0.587889 | 0.587889 | 0 | 0.011111 | 0.319149 | 2,115 | 89 | 59 | 23.764045 | 0.814583 | 0 | 0 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 1 | 0 | false | 0.027778 | 0.097222 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 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 |
28e6adab3e1dabe88dbfac2ca127536f5578e839 | 706 | py | Python | minimaldistance_TwoEqualsNumber.py | mariobarbosa777/Solving-Algorithm-Problems | c0c77a56d3513f4d1a553466aca8f3ee3d9861bf | [
"MIT"
] | 2 | 2020-06-20T19:11:03.000Z | 2020-06-22T00:49:04.000Z | minimaldistance_TwoEqualsNumber.py | mariobarbosa777/Solving-Algorithm-Problems | c0c77a56d3513f4d1a553466aca8f3ee3d9861bf | [
"MIT"
] | null | null | null | minimaldistance_TwoEqualsNumber.py | mariobarbosa777/Solving-Algorithm-Problems | c0c77a56d3513f4d1a553466aca8f3ee3d9861bf | [
"MIT"
] | null | null | null | def Min_Distance_two_equals_numbers(arr):
from collections import defaultdict
min_distance_so_far = -1
memory = defaultdict(list) #To append the index in a list
for i in range(len(arr)):
if arr[i] in memory.keys():
for index in memory[arr[i]]:
distance ... | 26.148148 | 64 | 0.586402 | 98 | 706 | 3.877551 | 0.387755 | 0.231579 | 0.205263 | 0.252632 | 0.247368 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0.018908 | 0.325779 | 706 | 26 | 65 | 27.153846 | 0.779412 | 0.041076 | 0 | 0 | 0 | 0 | 0.011869 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 0.058824 | 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 |
e9022f6fc6273e052b07738928a986319f08998f | 304 | py | Python | filter_plugins/compact.py | rootolog/aws-cloudformation | dc8be420cbd63c1c9cbe3c08a29f2b4e0c0c4bf9 | [
"MIT"
] | 7 | 2017-03-02T16:15:08.000Z | 2021-01-23T13:28:23.000Z | filter_plugins/compact.py | rootolog/aws-cloudformation | dc8be420cbd63c1c9cbe3c08a29f2b4e0c0c4bf9 | [
"MIT"
] | null | null | null | filter_plugins/compact.py | rootolog/aws-cloudformation | dc8be420cbd63c1c9cbe3c08a29f2b4e0c0c4bf9 | [
"MIT"
] | 29 | 2017-06-21T08:22:48.000Z | 2021-05-01T13:06:02.000Z | import json
class FilterModule(object):
''' Returns dictionary of items with keyed overrides that override properties with a matching selector'''
def filters(self):
return {
'compact': compact
}
def compact(obj, separators=(',',':')):
return json.dumps(obj, separators=separators) | 27.636364 | 107 | 0.700658 | 35 | 304 | 6.085714 | 0.742857 | 0.122066 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180921 | 304 | 11 | 108 | 27.636364 | 0.855422 | 0.322368 | 0 | 0 | 0 | 0 | 0.045 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e907ff8c89752fcd8e8efac27365d22a7adf8ab4 | 43 | py | Python | controller/menu/__init__.py | johndao1005/SDV602-Milestone2-QuangThanhDao | 5818f11db599042ab0ba7379fb08cb27932f7cc1 | [
"MIT"
] | 1 | 2021-09-30T01:25:23.000Z | 2021-09-30T01:25:23.000Z | controller/menu/__init__.py | johndao1005/SDV602-Milestone2-QuangThanhDao | 5818f11db599042ab0ba7379fb08cb27932f7cc1 | [
"MIT"
] | 3 | 2021-08-31T09:36:06.000Z | 2021-09-03T08:22:36.000Z | controller/menu/__init__.py | johndao1005/SDV602-Milestone2-QuangThanhDao | 5818f11db599042ab0ba7379fb08cb27932f7cc1 | [
"MIT"
] | null | null | null | __all__ = ["logout","open_csv","merge_csv"] | 43 | 43 | 0.697674 | 6 | 43 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046512 | 43 | 1 | 43 | 43 | 0.585366 | 0 | 0 | 0 | 0 | 0 | 0.522727 | 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 |
3a6ab08e7f941971e992529382d4e32f853dc25f | 1,715 | py | Python | musicxml_toolbox/test/test_musicxml_part.py | Kanma/musicxml_toolbox | 0a3e70d70c4731cfd6eb8456b5d68497ebfd2922 | [
"MIT"
] | 2 | 2018-05-03T19:06:26.000Z | 2021-04-13T11:21:57.000Z | musicxml_toolbox/test/test_musicxml_part.py | Kanma/musicxml_toolbox | 0a3e70d70c4731cfd6eb8456b5d68497ebfd2922 | [
"MIT"
] | null | null | null | musicxml_toolbox/test/test_musicxml_part.py | Kanma/musicxml_toolbox | 0a3e70d70c4731cfd6eb8456b5d68497ebfd2922 | [
"MIT"
] | null | null | null | from unittest import TestCase
import os
import xml.etree.ElementTree as ET
from ..musicxml import Score
from ..musicxml import Measure
from ..musicxml import Chord
from ..musicxml import Note
from . import data_dir
class TestMeasure(TestCase):
def test_addFingering(self):
filename = os.path.join(data_di... | 25.984848 | 70 | 0.640233 | 204 | 1,715 | 5.362745 | 0.220588 | 0.137112 | 0.175503 | 0.204753 | 0.605119 | 0.605119 | 0.605119 | 0.605119 | 0.605119 | 0.605119 | 0 | 0.018547 | 0.245481 | 1,715 | 65 | 71 | 26.384615 | 0.826893 | 0 | 0 | 0.533333 | 0 | 0 | 0.012245 | 0 | 0 | 0 | 0 | 0 | 0.422222 | 1 | 0.022222 | false | 0 | 0.177778 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3a71dcc5e5989e6e0073f04ef7361c09103e9de5 | 154 | py | Python | dposlib/ark/sig.py | Moustikitos/dpos | 3f53fb269c75a9b2dcc116590901131a38b2f5a3 | [
"MIT"
] | 5 | 2019-02-15T21:20:58.000Z | 2022-02-08T22:01:54.000Z | dposlib/ark/sig.py | Moustikitos/dpos | 3f53fb269c75a9b2dcc116590901131a38b2f5a3 | [
"MIT"
] | 1 | 2019-02-15T13:58:39.000Z | 2019-02-20T21:38:21.000Z | dposlib/ark/sig.py | Moustikitos/dpos | 3f53fb269c75a9b2dcc116590901131a38b2f5a3 | [
"MIT"
] | 5 | 2018-07-27T20:44:58.000Z | 2022-03-22T05:59:03.000Z | # -*- encoding:utf-8 -*-
from pySecp256k1 import sig
from dposlib.util.bin import unhexlify
sig._unhexlify = unhexlify
Signature = sig.Signature
| 19.25 | 39 | 0.727273 | 19 | 154 | 5.842105 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03937 | 0.175325 | 154 | 7 | 40 | 22 | 0.834646 | 0.142857 | 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 |
3a7866a0b120e397f876ce517688654f68203b65 | 204 | py | Python | src/main/jython/listEasyScopes.py | ClearControl/EasyFijiScopy | d4dcf273d93bf8a7d8b48a77a451ee010fd6ea36 | [
"BSD-3-Clause"
] | 1 | 2018-02-11T21:46:13.000Z | 2018-02-11T21:46:13.000Z | src/main/jython/listEasyScopes.py | ClearControl/EasyScopy | d4dcf273d93bf8a7d8b48a77a451ee010fd6ea36 | [
"BSD-3-Clause"
] | null | null | null | src/main/jython/listEasyScopes.py | ClearControl/EasyScopy | d4dcf273d93bf8a7d8b48a77a451ee010fd6ea36 | [
"BSD-3-Clause"
] | null | null | null | from net.clearcontrol.easyscopy import EasyScopy;
from ij import IJ;
IJ.log("Supported microscopes:");
for lMicroscopeClass in EasyScopy.listEasyScopes():
IJ.log(" * " + str(lMicroscopeClass));
| 29.142857 | 51 | 0.735294 | 23 | 204 | 6.521739 | 0.608696 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142157 | 204 | 7 | 52 | 29.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3a88f00564e1a76207419612e0c2a7d2b1a00fc7 | 25,099 | py | Python | generate_state_machine_compact_version_v256/generate.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | 7 | 2020-01-15T13:36:37.000Z | 2021-04-10T02:54:28.000Z | generate_state_machine_compact_version_v256/generate.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | null | null | null | generate_state_machine_compact_version_v256/generate.py | pmassolino/hw-sike | 1fee8af81dcc3d0dcc57bc656e06acc6adf810a1 | [
"CC0-1.0"
] | null | null | null | import sys
nop_4_stages = {}
nop_8_stages = {}
nop_4_stages_v128 = {}
nop_8_stages_v128 = {}
nop_4_stages_v256 = {}
nop_8_stages_v256 = {}
nop_4_stages_v128['next_sm_rotation_size'] = '10'
nop_4_stages_v128['next_sel_address_a'] = '0'
nop_4_stages_v128['next_sel_address_b_prime'] = '00'
nop_4_stages_v12... | 56.656885 | 863 | 0.73222 | 3,606 | 25,099 | 4.503882 | 0.060177 | 0.052152 | 0.044948 | 0.028447 | 0.827289 | 0.769719 | 0.711964 | 0.670895 | 0.613201 | 0.49609 | 0 | 0.047501 | 0.164588 | 25,099 | 443 | 864 | 56.656885 | 0.72706 | 0.006972 | 0 | 0.301746 | 0 | 0.009975 | 0.320845 | 0.250286 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024938 | false | 0 | 0.002494 | 0 | 0.047382 | 0.052369 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3a8dccd4067fa93ab125ce3063cd8685da4e8522 | 252 | py | Python | retro/cores/gba/src/platform/python/cinema/util.py | MatPoliquin/retro | c70c174a9818d1e97bc36e61abb4694d28fc68e1 | [
"MIT-0",
"MIT"
] | 2,706 | 2018-04-05T18:28:50.000Z | 2022-03-29T16:56:59.000Z | retro/cores/gba/src/platform/python/cinema/util.py | MatPoliquin/retro | c70c174a9818d1e97bc36e61abb4694d28fc68e1 | [
"MIT-0",
"MIT"
] | 242 | 2018-04-05T22:30:42.000Z | 2022-03-19T01:55:11.000Z | retro/cores/gba/src/platform/python/cinema/util.py | MatPoliquin/retro | c70c174a9818d1e97bc36e61abb4694d28fc68e1 | [
"MIT-0",
"MIT"
] | 464 | 2018-04-05T19:10:34.000Z | 2022-03-28T13:33:32.000Z | def dictMerge(a, b):
for key, value in b.items():
if isinstance(value, dict):
if key in a:
dictMerge(a[key], value)
else:
a[key] = dict(value)
else:
a[key] = value
| 25.2 | 40 | 0.436508 | 31 | 252 | 3.548387 | 0.419355 | 0.218182 | 0.163636 | 0.236364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.448413 | 252 | 9 | 41 | 28 | 0.791367 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3a94aece3b5db050b095a9f958ef6d6d7a9d9890 | 288 | py | Python | tests/plots/test_quickslicer.py | Karel-van-de-Plassche/QLKNN-develop | f2d29be625c2ddbddad6c1e98e5c03a43cf2797f | [
"MIT"
] | null | null | null | tests/plots/test_quickslicer.py | Karel-van-de-Plassche/QLKNN-develop | f2d29be625c2ddbddad6c1e98e5c03a43cf2797f | [
"MIT"
] | null | null | null | tests/plots/test_quickslicer.py | Karel-van-de-Plassche/QLKNN-develop | f2d29be625c2ddbddad6c1e98e5c03a43cf2797f | [
"MIT"
] | 2 | 2018-02-28T14:18:43.000Z | 2018-11-26T11:06:08.000Z | from unittest import TestCase, skip
from IPython import embed
from qlknn.plots.quickslicer import *
test_files_dir = os.path.abspath(os.path.join(__file__, '../../gen2_test_files'))
efi_network_path = os.path.join(test_files_dir, 'network_1393')
class TestTestCase(TestCase):
pass
| 26.181818 | 81 | 0.777778 | 42 | 288 | 5.02381 | 0.595238 | 0.127962 | 0.113744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019455 | 0.107639 | 288 | 10 | 82 | 28.8 | 0.801556 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0.072917 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
3a962f686d9428144fac24e8a69032b6291b5039 | 524 | py | Python | operator_overloading.py | Deepak483/codewithharry | 23323ba2dc7ce70daf9b5bd40ff7649d56dcdfc3 | [
"Apache-2.0"
] | null | null | null | operator_overloading.py | Deepak483/codewithharry | 23323ba2dc7ce70daf9b5bd40ff7649d56dcdfc3 | [
"Apache-2.0"
] | null | null | null | operator_overloading.py | Deepak483/codewithharry | 23323ba2dc7ce70daf9b5bd40ff7649d56dcdfc3 | [
"Apache-2.0"
] | null | null | null | class Calculator:
def __init__(self,num1):
self.num1 = num1
def __add__(self,num2):
return self.num1 + num2.num1
def __mul__(self,num2):
return self.num1 * num2.num1
def __len__(self,str):
return len(self.str)
def __str__(self):
return ... | 18.714286 | 67 | 0.570611 | 72 | 524 | 3.875 | 0.375 | 0.143369 | 0.100358 | 0.129032 | 0.236559 | 0.236559 | 0.236559 | 0.236559 | 0 | 0 | 0 | 0.06044 | 0.305344 | 524 | 28 | 68 | 18.714286 | 0.706044 | 0.179389 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.307692 | 0.769231 | 0.076923 | 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 |
3aa62e6a93a758b1f977b4470f4f2641631b0557 | 288 | py | Python | models/__init__.py | rosinality/vision-transformers-pytorch | b884b5da79900c96e4ce17fbb575cf1c5cb3cd5f | [
"MIT"
] | 77 | 2021-04-03T06:44:19.000Z | 2021-07-07T07:05:01.000Z | models/__init__.py | rosinality/vision-transformers-pytorch | b884b5da79900c96e4ce17fbb575cf1c5cb3cd5f | [
"MIT"
] | 1 | 2021-04-08T06:59:41.000Z | 2021-04-08T11:20:32.000Z | models/__init__.py | rosinality/vision-transformers-pytorch | b884b5da79900c96e4ce17fbb575cf1c5cb3cd5f | [
"MIT"
] | 6 | 2021-04-15T13:36:37.000Z | 2022-02-03T12:32:20.000Z | from .halo_transformer import HaloTransformer
from .nfnet import NFNet
from .pvt import PyramidVisionTransformer
from .swin_transformer import SwinTransformer
from .efficientnet import efficientnet, efficientnetv2
from .nfefficientnet import nfefficientnetv2
from .vit import dino
| 36 | 55 | 0.847222 | 31 | 288 | 7.806452 | 0.516129 | 0.140496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.125 | 288 | 7 | 56 | 41.142857 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.