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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1833d907ed347dddd5f476baffd6dfeccbc93794 | 716 | py | Python | libraries/IndexBuffer.py | skg44444/pyOpenGL | e89ea52a1c16ed7878d08271e1134fce4f1708ae | [
"MIT"
] | null | null | null | libraries/IndexBuffer.py | skg44444/pyOpenGL | e89ea52a1c16ed7878d08271e1134fce4f1708ae | [
"MIT"
] | null | null | null | libraries/IndexBuffer.py | skg44444/pyOpenGL | e89ea52a1c16ed7878d08271e1134fce4f1708ae | [
"MIT"
] | null | null | null | from OpenGL.GL import glGenBuffers, glBindBuffer, glBufferData, glDeleteBuffers, GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, GLuint
import ctypes
class IndexBuffer:
def __init__(self, data, count):
self.m_Count = count
self.m_RendererID = glGenBuffers(1)
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ... | 34.095238 | 129 | 0.73324 | 90 | 716 | 5.466667 | 0.355556 | 0.060976 | 0.142276 | 0.203252 | 0.272358 | 0.272358 | 0.191057 | 0.191057 | 0 | 0 | 0 | 0.005164 | 0.188547 | 716 | 21 | 130 | 34.095238 | 0.841652 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0 | 0.125 | 0.0625 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
1836313474d754e7b2e7f7c2d035dcf50604fdab | 1,953 | py | Python | python2sky/context/IgnoredTracerContext.py | alonelaval/skywalking-client-python | 414c16a71ae7d48c199dc25ae2641a4b983d44ec | [
"Apache-2.0"
] | 19 | 2020-05-05T12:09:13.000Z | 2020-06-29T11:50:49.000Z | python2sky/context/IgnoredTracerContext.py | alonelaval/skywalking-client-python | 414c16a71ae7d48c199dc25ae2641a4b983d44ec | [
"Apache-2.0"
] | null | null | null | python2sky/context/IgnoredTracerContext.py | alonelaval/skywalking-client-python | 414c16a71ae7d48c199dc25ae2641a4b983d44ec | [
"Apache-2.0"
] | 2 | 2020-05-05T14:07:22.000Z | 2020-05-06T01:49:40.000Z | # -*- coding:utf-8 -*-
# author:huawei
import threading
from python2sky.context.context_carrier import ContextCarrier
from python2sky.context.noop_span import NoopSpan
from python2sky.context.trace_context import AbstractTracerContext
class IgnoredTracerContext(AbstractTracerContext):
__noop_span = NoopSpan()
... | 25.697368 | 66 | 0.699949 | 202 | 1,953 | 6.440594 | 0.331683 | 0.036895 | 0.064566 | 0.046118 | 0.33897 | 0.272098 | 0.272098 | 0.161414 | 0.161414 | 0.121445 | 0 | 0.006631 | 0.227855 | 1,953 | 75 | 67 | 26.04 | 0.856101 | 0.017409 | 0 | 0.326923 | 0 | 0 | 0.007829 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.096154 | 0.076923 | 0.057692 | 0.596154 | 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 |
1837bba996bb22877ba02effe04a6b2e02b04590 | 65 | py | Python | fuocore/qqmusic/__init__.py | cosven/feeluown-core | 62dc64638f62971b16be0a75c0b8c7ae2999869e | [
"MIT"
] | 37 | 2017-06-12T14:22:25.000Z | 2021-04-21T07:29:58.000Z | fuocore/netease/__init__.py | cosven/feeluown-core | 62dc64638f62971b16be0a75c0b8c7ae2999869e | [
"MIT"
] | 21 | 2016-09-21T16:15:01.000Z | 2019-05-11T04:14:11.000Z | fuocore/xiami/__init__.py | cosven/feeluown-core | 62dc64638f62971b16be0a75c0b8c7ae2999869e | [
"MIT"
] | 10 | 2018-02-22T02:25:29.000Z | 2019-08-23T03:50:20.000Z | from .provider import provider # noqa
__all__ = ('provider', )
| 16.25 | 38 | 0.692308 | 7 | 65 | 5.857143 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184615 | 65 | 3 | 39 | 21.666667 | 0.773585 | 0.061538 | 0 | 0 | 0 | 0 | 0.135593 | 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 |
184d83ac04a7fc41309795f4f56b6cbff9946eb7 | 1,150 | py | Python | nuvem-parallel/nuvem/sqldb.py | isabella232/nuvem | b92a21dc6d902845810a67711e25a3f6fa9fb9f3 | [
"Apache-2.0"
] | 4 | 2016-03-11T21:13:57.000Z | 2021-11-10T13:38:53.000Z | nuvem-parallel/nuvem/sqldb.py | apache/nuvem | b92a21dc6d902845810a67711e25a3f6fa9fb9f3 | [
"Apache-2.0"
] | 1 | 2021-11-04T13:04:16.000Z | 2021-11-04T13:04:16.000Z | nuvem-parallel/nuvem/sqldb.py | isabella232/nuvem | b92a21dc6d902845810a67711e25a3f6fa9fb9f3 | [
"Apache-2.0"
] | 9 | 2015-12-05T21:09:42.000Z | 2021-11-10T13:35:50.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... | 38.333333 | 63 | 0.705217 | 172 | 1,150 | 4.715116 | 0.488372 | 0.073983 | 0.073983 | 0.083847 | 0.160296 | 0.11344 | 0 | 0 | 0 | 0 | 0 | 0.004278 | 0.186957 | 1,150 | 29 | 64 | 39.655172 | 0.863102 | 0.670435 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
18503fb3c086fcd6cafff6869cbd6979244e42cc | 5,173 | py | Python | source/repomd.py | mattdees/repomd-1 | a9862e4e2f99ff39af31de15dafbb3ace62689e2 | [
"MIT"
] | 14 | 2018-05-04T17:12:16.000Z | 2021-10-03T08:32:13.000Z | source/repomd.py | mattdees/repomd-1 | a9862e4e2f99ff39af31de15dafbb3ace62689e2 | [
"MIT"
] | 10 | 2018-05-04T18:33:40.000Z | 2022-03-24T00:15:17.000Z | source/repomd.py | mattdees/repomd-1 | a9862e4e2f99ff39af31de15dafbb3ace62689e2 | [
"MIT"
] | 10 | 2018-07-25T08:35:10.000Z | 2022-03-18T09:14:51.000Z | import datetime
import gzip
import io
import defusedxml.lxml
import pathlib
import urllib.request
import urllib.parse
_ns = {
'common': 'http://linux.duke.edu/metadata/common',
'repo': 'http://linux.duke.edu/metadata/repo',
'rpm': 'http://linux.duke.edu/metadata/rpm'
}
def load(baseurl):
# pars... | 27.08377 | 106 | 0.639861 | 623 | 5,173 | 5.088283 | 0.200642 | 0.072555 | 0.070662 | 0.072871 | 0.362776 | 0.282019 | 0.123659 | 0.123659 | 0.082019 | 0.059937 | 0 | 0.000252 | 0.231974 | 5,173 | 190 | 107 | 27.226316 | 0.797634 | 0.047168 | 0 | 0.242647 | 0 | 0 | 0.141636 | 0.062678 | 0 | 0 | 0 | 0 | 0 | 1 | 0.242647 | false | 0 | 0.051471 | 0.183824 | 0.558824 | 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 |
185abfb7d7e17c822b92146a2a263078310a6177 | 520 | py | Python | SubInfo.py | naruse/SRTTranslate | 9ae6e3afdfa5e24b6c3355c01f35047918e1f13f | [
"MIT"
] | 16 | 2015-06-12T08:35:49.000Z | 2021-10-07T04:56:36.000Z | SubInfo.py | naruse/SubTranslate | 9ae6e3afdfa5e24b6c3355c01f35047918e1f13f | [
"MIT"
] | 2 | 2018-06-05T09:06:19.000Z | 2020-04-21T11:14:31.000Z | SubInfo.py | naruse/SubTranslate | 9ae6e3afdfa5e24b6c3355c01f35047918e1f13f | [
"MIT"
] | 3 | 2017-07-26T07:28:17.000Z | 2020-05-29T03:30:28.000Z | class SubInfo:
""" This class contains info of the subtitle like the time and the text to display"""
# E.G
# 906
# 00:59:15,789 --> 00:59:18,789
# Mike's married?
def __init__(self, index, time, text):
self._index = index
self._time = time
self._text = text
def GetI... | 22.608696 | 89 | 0.588462 | 71 | 520 | 4.15493 | 0.492958 | 0.091525 | 0.142373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058496 | 0.309615 | 520 | 22 | 90 | 23.636364 | 0.763231 | 0.255769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0 | 0.230769 | 0.692308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
1882312fd13d2947cec96ebee64693d9047fef33 | 831 | py | Python | bin/challenge.py | jdiazmx/cmdchallenge | 7a7a34bb9f3b8efed25c890100e2c315adef5d5c | [
"MIT"
] | 14 | 2017-08-20T20:33:55.000Z | 2019-03-09T05:29:44.000Z | bin/challenge.py | johncmunson/cmdchallenge | 56ca049f090249572e2d919471e5f0663207cb9d | [
"MIT"
] | 1 | 2017-08-28T21:14:18.000Z | 2017-08-28T21:14:18.000Z | bin/challenge.py | johncmunson/cmdchallenge | 56ca049f090249572e2d919471e5f0663207cb9d | [
"MIT"
] | 2 | 2017-08-28T19:06:58.000Z | 2020-08-04T22:34:42.000Z | # -*- coding: utf-8 -*-
from __future__ import print_function
def bool_to_int_dyn(value):
if value:
return 1
else:
return 2
def verify_result(result):
pass_checks = ['OutputPass', 'TestsPass', 'AfterRandOutputPass', 'AfterRandTestsPass']
for check in pass_checks:
if check in ... | 24.441176 | 93 | 0.702768 | 103 | 831 | 5.427184 | 0.378641 | 0.0322 | 0.048301 | 0.064401 | 0.150268 | 0.150268 | 0.150268 | 0.150268 | 0.150268 | 0.150268 | 0 | 0.007599 | 0.208183 | 831 | 33 | 94 | 25.181818 | 0.841945 | 0.025271 | 0 | 0.090909 | 0 | 0 | 0.206683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.227273 | false | 0.363636 | 0.045455 | 0.045455 | 0.681818 | 0.045455 | 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 |
43ff196c40591643ab8ea9cc85a1ca61dbfb3080 | 167 | py | Python | v2/espacioVacioMenu.py | Davidgh96/LP_Coloca4 | 2d290267e05ffb3d25b2291c7b80bea51cf9ff4a | [
"Apache-2.0"
] | null | null | null | v2/espacioVacioMenu.py | Davidgh96/LP_Coloca4 | 2d290267e05ffb3d25b2291c7b80bea51cf9ff4a | [
"Apache-2.0"
] | null | null | null | v2/espacioVacioMenu.py | Davidgh96/LP_Coloca4 | 2d290267e05ffb3d25b2291c7b80bea51cf9ff4a | [
"Apache-2.0"
] | null | null | null | from tkinter import *
class espacioVacioMenu(Canvas):
def __init__(self, master=None):
Canvas.__init__(self)
self.configure(width=340, height=150) | 27.833333 | 45 | 0.700599 | 20 | 167 | 5.45 | 0.8 | 0.146789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.191617 | 167 | 6 | 45 | 27.833333 | 0.762963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a10636fce3d201d7efa4c4d76a20a9edc7233864 | 18 | py | Python | caesar/__version__.py | lq3552/caesar | 60eb79eb3f5482ac8f1e8d52520ee876029b3075 | [
"BSD-3-Clause"
] | 6 | 2019-12-12T14:13:28.000Z | 2021-11-09T21:08:45.000Z | caesar/__version__.py | lq3552/caesar | 60eb79eb3f5482ac8f1e8d52520ee876029b3075 | [
"BSD-3-Clause"
] | 26 | 2020-04-14T23:19:32.000Z | 2022-02-28T20:59:21.000Z | caesar/__version__.py | lq3552/caesar | 60eb79eb3f5482ac8f1e8d52520ee876029b3075 | [
"BSD-3-Clause"
] | 13 | 2019-12-12T18:48:55.000Z | 2021-11-30T21:33:42.000Z | VERSION = '0.2b0'
| 9 | 17 | 0.611111 | 3 | 18 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 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 |
a10c8911f8d9ebb595712ad805bf19b78959b3d8 | 318 | py | Python | methylprep/utils/progress_bar.py | WonyoungCho/methylprep | 4e34f62be969158453ba9b05b7629433f9bbba8b | [
"MIT"
] | 5 | 2019-08-28T08:27:16.000Z | 2020-03-11T17:20:01.000Z | methylprep/utils/progress_bar.py | WonyoungCho/methylprep | 4e34f62be969158453ba9b05b7629433f9bbba8b | [
"MIT"
] | 16 | 2021-04-08T22:02:58.000Z | 2022-03-18T17:30:50.000Z | methylcheck/progress_bar.py | LifeEGX/methQC | 2b4f960e7e5c7baca9dc778ca05ee332e2f27653 | [
"MIT"
] | 3 | 2022-01-26T00:12:19.000Z | 2022-03-09T22:43:22.000Z | def in_notebook():
if hasattr(__builtins__,'__IPYTHON__'):
return True #globals()[notebook_mod] = __import__(notebook_mod)
else:
return False #globals()[console_mod] = __import__(console_mod)
if in_notebook():
from tqdm import tqdm_notebook as tqdm
else:
from tqdm import tqdm as tqdm
| 28.909091 | 71 | 0.707547 | 41 | 318 | 4.926829 | 0.439024 | 0.09901 | 0.138614 | 0.178218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198113 | 318 | 10 | 72 | 31.8 | 0.792157 | 0.308176 | 0 | 0.222222 | 0 | 0 | 0.050459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.222222 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a1109a8966e574676f161f5379451dabec91bd01 | 547 | py | Python | credentials.py | nanih98/GitlabGroupExporter | da0df427a0fcf2fbc2f904a37590b7c39eb82a14 | [
"Apache-2.0"
] | 1 | 2021-04-26T13:32:33.000Z | 2021-04-26T13:32:33.000Z | credentials.py | nanih98/GitlabGroupExporter | da0df427a0fcf2fbc2f904a37590b7c39eb82a14 | [
"Apache-2.0"
] | null | null | null | credentials.py | nanih98/GitlabGroupExporter | da0df427a0fcf2fbc2f904a37590b7c39eb82a14 | [
"Apache-2.0"
] | 1 | 2021-04-27T11:52:23.000Z | 2021-04-27T11:52:23.000Z | import gitlab
import urllib3
import json
import pprint
from config import get_config
urllib3.disable_warnings()
data = get_config()
def old_config_credentials():
'''
Credentials from old gitlab instance
'''
gl_old = gitlab.Gitlab(data["OLD_GITLAB_URL"], private_token=data["OLD_TOKEN"], ssl_verify=True... | 23.782609 | 100 | 0.731261 | 75 | 547 | 5.053333 | 0.32 | 0.07124 | 0.147757 | 0.168865 | 0.269129 | 0.137203 | 0 | 0 | 0 | 0 | 0 | 0.004386 | 0.166362 | 547 | 22 | 101 | 24.863636 | 0.826754 | 0.133455 | 0 | 0 | 0 | 0 | 0.103837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.384615 | 0 | 0.692308 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
a1167f500cc1e3417d39c5f1aa7cadbfb7c14c59 | 6,089 | py | Python | XTest/settings.py | RealLau/xtest | e59ccaf4a80160ce87c1b09bbe7874739b70d0fb | [
"MIT"
] | null | null | null | XTest/settings.py | RealLau/xtest | e59ccaf4a80160ce87c1b09bbe7874739b70d0fb | [
"MIT"
] | 4 | 2019-12-23T07:43:01.000Z | 2022-03-12T00:03:30.000Z | XTest/settings.py | RealLau/xtest | e59ccaf4a80160ce87c1b09bbe7874739b70d0fb | [
"MIT"
] | null | null | null | """
Django settings for XTest project.
Generated by 'django-admin startproject' using Django 2.2.4.
For more information on this file, see
https://docs.djangoproject.com/en/2.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import os
# B... | 30.293532 | 95 | 0.71621 | 706 | 6,089 | 5.922096 | 0.344193 | 0.055967 | 0.036594 | 0.041856 | 0.207606 | 0.181296 | 0.070318 | 0.054532 | 0.028701 | 0 | 0 | 0.006797 | 0.154377 | 6,089 | 200 | 96 | 30.445 | 0.805205 | 0.192971 | 0 | 0.029197 | 1 | 0.007299 | 0.552782 | 0.431465 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.051095 | 0.007299 | 0 | 0.007299 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a1173553e4030e88f1d064e67d23d5711e13ddf7 | 693 | py | Python | solver/state.py | huberemanuel/missionaries-and-cannibals | 8e894fe7c183d680ecce72f3fa5d764c9e6029d3 | [
"Apache-2.0"
] | null | null | null | solver/state.py | huberemanuel/missionaries-and-cannibals | 8e894fe7c183d680ecce72f3fa5d764c9e6029d3 | [
"Apache-2.0"
] | null | null | null | solver/state.py | huberemanuel/missionaries-and-cannibals | 8e894fe7c183d680ecce72f3fa5d764c9e6029d3 | [
"Apache-2.0"
] | null | null | null | class State:
def __init__(self, lc, lm, rc, rm):
self.lc = lc
self.lm = lm
self.rc = rc
self.rm = rm
def __repr__(self):
return f"{self.lc},{self.lm}-{self.rc},{self.rm}"
def is_done(self):
return self.rc == 3 and self.rm == 3
def is_valid(self):
... | 27.72 | 88 | 0.505051 | 111 | 693 | 3.063063 | 0.261261 | 0.123529 | 0.094118 | 0.105882 | 0.394118 | 0.229412 | 0.141176 | 0.141176 | 0 | 0 | 0 | 0.020595 | 0.369408 | 693 | 24 | 89 | 28.875 | 0.757437 | 0.047619 | 0 | 0.157895 | 0 | 0 | 0.059271 | 0.059271 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0 | 0.105263 | 0.578947 | 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 |
a11b449b3c9eba58d136bd88a5f0a3ab2987cd6a | 5,023 | py | Python | py_midicsv/csv_converters.py | timwedde/pydicsv | a7d9b45006622b6bdd5aab93ed8cf14e18c52aad | [
"MIT"
] | null | null | null | py_midicsv/csv_converters.py | timwedde/pydicsv | a7d9b45006622b6bdd5aab93ed8cf14e18c52aad | [
"MIT"
] | null | null | null | py_midicsv/csv_converters.py | timwedde/pydicsv | a7d9b45006622b6bdd5aab93ed8cf14e18c52aad | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
### System ###
import struct
### Local ###
from .midi.events import *
def as_midi_bytes(text):
midi_bytes = b""
X = iter(text)
for c in X:
if c == "\\":
cc = next(X)
if cc == "\\":
midi_bytes += struct.pack("B", ord(cc))
... | 29.374269 | 87 | 0.689827 | 665 | 5,023 | 5.130827 | 0.157895 | 0.041032 | 0.15592 | 0.188746 | 0.487984 | 0.427315 | 0.326495 | 0.326495 | 0.304807 | 0.304807 | 0 | 0.011685 | 0.182162 | 5,023 | 170 | 88 | 29.547059 | 0.81889 | 0.013737 | 0 | 0.179245 | 0 | 0 | 0.002431 | 0 | 0 | 0 | 0.001215 | 0 | 0 | 1 | 0.283019 | false | 0 | 0.018868 | 0.028302 | 0.584906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
a11fb1f7b8df70c6290a8f4800bd5acf4d4da676 | 8,267 | py | Python | swagger_client/models/get_characters_character_id_mail_200_ok.py | rseichter/bootini-star | a80258f01a05e4df38748b8cb47dfadabd42c20d | [
"MIT"
] | null | null | null | swagger_client/models/get_characters_character_id_mail_200_ok.py | rseichter/bootini-star | a80258f01a05e4df38748b8cb47dfadabd42c20d | [
"MIT"
] | null | null | null | swagger_client/models/get_characters_character_id_mail_200_ok.py | rseichter/bootini-star | a80258f01a05e4df38748b8cb47dfadabd42c20d | [
"MIT"
] | null | null | null | # coding: utf-8
"""
EVE Swagger Interface
An OpenAPI for EVE Online # noqa: E501
OpenAPI spec version: 0.8.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six
from swagger_client.models.get_characters_character_id_mail_reci... | 29.007018 | 137 | 0.606629 | 878 | 8,267 | 5.563781 | 0.149203 | 0.062231 | 0.223541 | 0.184852 | 0.447288 | 0.358854 | 0.320983 | 0.150665 | 0.04217 | 0.015558 | 0 | 0.038986 | 0.308092 | 8,267 | 284 | 138 | 29.109155 | 0.815035 | 0.414419 | 0 | 0.076271 | 1 | 0 | 0.061996 | 0.010837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.169492 | false | 0 | 0.033898 | 0 | 0.338983 | 0.016949 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1341177d772fe37236dc6ffcd14228d65361025 | 4,140 | py | Python | tpDcc/dccs/mobu/dcc.py | tpDcc/tpDcc-dccs-mobu | 1e28dfa95d72aeaccf4c916259b7e07380758cc7 | [
"MIT"
] | null | null | null | tpDcc/dccs/mobu/dcc.py | tpDcc/tpDcc-dccs-mobu | 1e28dfa95d72aeaccf4c916259b7e07380758cc7 | [
"MIT"
] | null | null | null | tpDcc/dccs/mobu/dcc.py | tpDcc/tpDcc-dccs-mobu | 1e28dfa95d72aeaccf4c916259b7e07380758cc7 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
"""
Module that contains DCC functionality for MotionBuilder
"""
from __future__ import print_function, division, absolute_import
from tpDcc.core import dcc
from tpDcc.libs.python import decorators
from tpDcc.dccs.mobu.core import helpers, gui
def get_name():
"""
... | 21.675393 | 115 | 0.559662 | 442 | 4,140 | 5.104072 | 0.316742 | 0.018617 | 0.014184 | 0.024823 | 0.366135 | 0.343528 | 0.288121 | 0.288121 | 0.288121 | 0.164894 | 0 | 0.000912 | 0.205072 | 4,140 | 190 | 116 | 21.789474 | 0.684594 | 0.559662 | 0 | 0.204545 | 0 | 0 | 0.01636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.409091 | false | 0.068182 | 0.090909 | 0 | 0.818182 | 0.022727 | 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 |
a138782fbc65a708831b31b4381b459a21523dd5 | 49 | py | Python | work_lib/__init__.py | SelYui/working-hours | b4929d2bf3b2d2271f2719c18b77c294464f1535 | [
"MIT"
] | null | null | null | work_lib/__init__.py | SelYui/working-hours | b4929d2bf3b2d2271f2719c18b77c294464f1535 | [
"MIT"
] | null | null | null | work_lib/__init__.py | SelYui/working-hours | b4929d2bf3b2d2271f2719c18b77c294464f1535 | [
"MIT"
] | null | null | null | __all__ = ["work_time","web_time","shutdown_lib"] | 49 | 49 | 0.734694 | 7 | 49 | 4.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 49 | 1 | 49 | 49 | 0.617021 | 0 | 0 | 0 | 0 | 0 | 0.58 | 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 |
a14d831d515c36f7ce0a84ccf151531153a7778e | 121 | py | Python | calculamediaponderada.py | joseigorgomes/Listas | c23a9a0adc9f13473552751d4f0dbddce38a5627 | [
"MIT"
] | null | null | null | calculamediaponderada.py | joseigorgomes/Listas | c23a9a0adc9f13473552751d4f0dbddce38a5627 | [
"MIT"
] | null | null | null | calculamediaponderada.py | joseigorgomes/Listas | c23a9a0adc9f13473552751d4f0dbddce38a5627 | [
"MIT"
] | 11 | 2019-10-01T13:52:31.000Z | 2019-10-19T16:43:04.000Z | lista = [1,2,3,4]
soma = 0
soma = (lista[0]*10) +(lista[1]*10)+(lista[2]*30)+(lista[3]*50)
media = soma/100
print(media)
| 20.166667 | 63 | 0.595041 | 25 | 121 | 2.88 | 0.52 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186916 | 0.115702 | 121 | 5 | 64 | 24.2 | 0.485981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a16c469e295d572bacd6d9c9fff72b8d3386ac40 | 631 | py | Python | tests/unit/test_cli.py | kruserr/i6 | 90a198ae543844faa1073d8bd317f11e1bb80298 | [
"MIT"
] | 1 | 2020-07-05T22:08:22.000Z | 2020-07-05T22:08:22.000Z | tests/unit/test_cli.py | kruserr/i6 | 90a198ae543844faa1073d8bd317f11e1bb80298 | [
"MIT"
] | null | null | null | tests/unit/test_cli.py | kruserr/i6 | 90a198ae543844faa1073d8bd317f11e1bb80298 | [
"MIT"
] | null | null | null | import i6
import sys
import subprocess
def test_cli():
i6.cli(menu=False).run()
def test_cli_subprocess_direct():
subprocess.run([sys.executable, 'src/i6/cli/main.py'], timeout=5)
def test_cli_subprocess_path():
subprocess.run(['i6'], timeout=5)
def test_cli_subprocess_python_module():
subprocess.... | 21.033333 | 69 | 0.66878 | 92 | 631 | 4.391304 | 0.315217 | 0.10396 | 0.148515 | 0.247525 | 0.534653 | 0.366337 | 0.29703 | 0.148515 | 0 | 0 | 0 | 0.023301 | 0.183835 | 631 | 29 | 70 | 21.758621 | 0.761165 | 0 | 0 | 0.285714 | 0 | 0 | 0.063391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0 | 0.142857 | 0 | 0.428571 | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a18129fef76d9a0fa86b0bd8dbd46e668c1b49e3 | 45 | py | Python | spellbook/__init__.py | bobcorey/merlin-spellbook | 2b7b61bdf44182bdf8f5207874e2357f98a44452 | [
"MIT"
] | 1 | 2020-06-05T22:08:39.000Z | 2020-06-05T22:08:39.000Z | spellbook/__init__.py | bobcorey/merlin-spellbook | 2b7b61bdf44182bdf8f5207874e2357f98a44452 | [
"MIT"
] | 12 | 2020-09-29T18:34:48.000Z | 2021-04-14T18:39:43.000Z | spellbook/__init__.py | bobcorey/merlin-spellbook | 2b7b61bdf44182bdf8f5207874e2357f98a44452 | [
"MIT"
] | 5 | 2020-04-14T23:14:05.000Z | 2022-03-18T21:35:24.000Z | __version__ = "0.4.3"
VERSION = __version__
| 11.25 | 21 | 0.711111 | 6 | 45 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 0.155556 | 45 | 3 | 22 | 15 | 0.552632 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
a1a3ce1131fe96722594f553411dc93472f8fee3 | 98 | py | Python | pacote-download/ex(1-100)/ex111/teste.py | gssouza2051/python-exercicios | 81e87fed7ead0adf58473a741aaa3c83064f6cb5 | [
"MIT"
] | null | null | null | pacote-download/ex(1-100)/ex111/teste.py | gssouza2051/python-exercicios | 81e87fed7ead0adf58473a741aaa3c83064f6cb5 | [
"MIT"
] | null | null | null | pacote-download/ex(1-100)/ex111/teste.py | gssouza2051/python-exercicios | 81e87fed7ead0adf58473a741aaa3c83064f6cb5 | [
"MIT"
] | null | null | null | from ex111.utilidadescev import moeda
p=float(input('Digite o preço: R$ '))
moeda.resumo(p,20,12) | 24.5 | 37 | 0.744898 | 17 | 98 | 4.294118 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079545 | 0.102041 | 98 | 4 | 38 | 24.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.191919 | 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 |
a1c852098596aba31f0791f0abdc2df717a8c848 | 1,182 | py | Python | tests/test_base.py | borninfreedom/dancerl | e9794947f05fb1b8057a4f8b0544671d75554e40 | [
"Apache-2.0"
] | 1 | 2021-06-30T07:04:27.000Z | 2021-06-30T07:04:27.000Z | tests/test_base.py | borninfreedom/dancerl | e9794947f05fb1b8057a4f8b0544671d75554e40 | [
"Apache-2.0"
] | null | null | null | tests/test_base.py | borninfreedom/dancerl | e9794947f05fb1b8057a4f8b0544671d75554e40 | [
"Apache-2.0"
] | null | null | null | from dancerl.models.base import CreateCNN,CreateMLP
import torch.nn as nn
if __name__ == '__main__':
mlp=CreateMLP(model_config=[[4,32,nn.ReLU()],
[32,64,nn.ReLU()],
[64,3,nn.Identity()]])
print(mlp)
cnn=CreateCNN(model_config=[[4,32,3,2,1,n... | 39.4 | 69 | 0.383249 | 160 | 1,182 | 2.74375 | 0.2 | 0.205011 | 0.109339 | 0.205011 | 0.512528 | 0.512528 | 0.512528 | 0.464692 | 0.464692 | 0.464692 | 0 | 0.167852 | 0.405245 | 1,182 | 29 | 70 | 40.758621 | 0.456615 | 0 | 0 | 0.25 | 0 | 0 | 0.006768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.083333 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1ccd8687a506b928f8b079847bcb4e4643d560c | 8,855 | py | Python | sequences/tests.py | zupr-io/django-sequences | 8946891a081490cff0784350ef80c85b5718f7b1 | [
"BSD-3-Clause"
] | null | null | null | sequences/tests.py | zupr-io/django-sequences | 8946891a081490cff0784350ef80c85b5718f7b1 | [
"BSD-3-Clause"
] | null | null | null | sequences/tests.py | zupr-io/django-sequences | 8946891a081490cff0784350ef80c85b5718f7b1 | [
"BSD-3-Clause"
] | 1 | 2019-09-25T08:49:12.000Z | 2019-09-25T08:49:12.000Z | import threading
import time
from django.db import OperationalError, connection, transaction
from django.test import TestCase, TransactionTestCase
from . import get_next_value
class SingleConnectionTestsMixin(object):
def test_defaults(self):
self.assertEqual(get_next_value(), 1)
self.assertEqu... | 29.714765 | 79 | 0.493619 | 831 | 8,855 | 5.126354 | 0.105897 | 0.115493 | 0.090141 | 0.06385 | 0.771831 | 0.753521 | 0.682629 | 0.68169 | 0.68169 | 0.619249 | 0 | 0.013586 | 0.368267 | 8,855 | 297 | 80 | 29.814815 | 0.747944 | 0.014229 | 0 | 0.766949 | 0 | 0 | 0.067851 | 0 | 0 | 0 | 0 | 0 | 0.088983 | 1 | 0.118644 | false | 0.008475 | 0.021186 | 0 | 0.15678 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a1d55d106c84f001923abd036d7ee512e92eadff | 103 | py | Python | nablapps/news/__init__.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | nablapps/news/__init__.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | nablapps/news/__init__.py | pettaroni/nablaweb | 5e610698a276884b9cd779a718dfdee641713636 | [
"MIT"
] | null | null | null | """
App for front page news and news articles
"""
default_app_config = 'nablapps.news.apps.NewsConfig'
| 20.6 | 52 | 0.757282 | 15 | 103 | 5.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126214 | 103 | 4 | 53 | 25.75 | 0.844444 | 0.398058 | 0 | 0 | 0 | 0 | 0.537037 | 0.537037 | 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 |
a1f9bd16eff296dd0d58f160402441435847f48d | 477 | py | Python | chrononet/data_tools/data_scheme.py | sjeblee/chrononet | df71d227f28e7ee3545ca41efe79574f2f48381f | [
"MIT"
] | null | null | null | chrononet/data_tools/data_scheme.py | sjeblee/chrononet | df71d227f28e7ee3545ca41efe79574f2f48381f | [
"MIT"
] | 7 | 2021-04-30T21:43:06.000Z | 2022-03-12T00:56:31.000Z | chrononet/data_tools/data_scheme.py | sjeblee/chrononet | df71d227f28e7ee3545ca41efe79574f2f48381f | [
"MIT"
] | null | null | null | #!/usr/bin/python3
ORIG = ['docid', 'text', 'tags', 'events', 'event_ranks' 'diagnosis', 'dct']
SEQ = ['docid', 'seqid', 'text', 'text_orig', 'seq', 'seq_labels', 'diagnosis']
ORDER = ['docid', 'text', 'text_orig', 'tags', 'seq', 'seq_labels', 'events', 'event_ranks', 'diagnosis', 'dct']
RELATION = ['docid', 'relid' '... | 25.105263 | 112 | 0.612159 | 59 | 477 | 4.830508 | 0.40678 | 0.063158 | 0.112281 | 0.175439 | 0.196491 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.157233 | 477 | 18 | 113 | 26.5 | 0.701493 | 0.035639 | 0 | 0 | 0 | 0 | 0.398693 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 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 |
b8002d14f3c55d3dab187f419f3fbc3bcfb710d6 | 1,647 | py | Python | pipedrive/persons.py | maaikez/pipedrive-python | a602806a21ae040b56a6268dc495255ad7a6660c | [
"MIT"
] | null | null | null | pipedrive/persons.py | maaikez/pipedrive-python | a602806a21ae040b56a6268dc495255ad7a6660c | [
"MIT"
] | null | null | null | pipedrive/persons.py | maaikez/pipedrive-python | a602806a21ae040b56a6268dc495255ad7a6660c | [
"MIT"
] | null | null | null | class Persons(object):
def __init__(self, client):
self._client = client
def get_person(self, person_id, **kwargs):
url = 'persons/{}'.format(person_id)
return self._client._get(self._client.BASE_URL + url, **kwargs)
def get_all_persons(self, params=None, **kwargs):
url = '... | 42.230769 | 90 | 0.660595 | 217 | 1,647 | 4.709677 | 0.152074 | 0.18591 | 0.1409 | 0.133072 | 0.789628 | 0.715264 | 0.597847 | 0.584149 | 0.584149 | 0.466732 | 0 | 0 | 0.195507 | 1,647 | 39 | 91 | 42.230769 | 0.771321 | 0 | 0 | 0.366667 | 0 | 0 | 0.064927 | 0.013956 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
b80476beda1407149a56051f493c055e2609ae71 | 135 | py | Python | codechef/number_tower.py | fairoz-ahmed/Code_chef | 80cac433713db457f45bd5483c2cd9a2f5d4e7d6 | [
"MIT"
] | null | null | null | codechef/number_tower.py | fairoz-ahmed/Code_chef | 80cac433713db457f45bd5483c2cd9a2f5d4e7d6 | [
"MIT"
] | null | null | null | codechef/number_tower.py | fairoz-ahmed/Code_chef | 80cac433713db457f45bd5483c2cd9a2f5d4e7d6 | [
"MIT"
] | null | null | null | n = raw_input()
n=int(n)
ask=[]
for i in range(n):
num=int(raw_input())
num=ask.append(num)
for j in ask:
print(j)
| 15 | 25 | 0.555556 | 26 | 135 | 2.807692 | 0.5 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 135 | 8 | 26 | 16.875 | 0.737374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.125 | 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 |
b8119f9919e41ac5727b2e1ec08224dda10f1e84 | 682 | py | Python | gradgpad/foundations/annotations/attributes/conditions_attributes.py | acostapazo/gradgpad | bbf75e11eed844a0014f7cb6627c8fa0c73cd3f1 | [
"MIT"
] | 9 | 2021-06-29T03:31:11.000Z | 2022-03-17T08:26:35.000Z | gradgpad/foundations/annotations/attributes/conditions_attributes.py | acostapazo/gradgpad | bbf75e11eed844a0014f7cb6627c8fa0c73cd3f1 | [
"MIT"
] | 5 | 2021-04-14T19:15:29.000Z | 2022-01-09T22:30:10.000Z | gradgpad/foundations/annotations/attributes/conditions_attributes.py | acostapazo/gradgpad | bbf75e11eed844a0014f7cb6627c8fa0c73cd3f1 | [
"MIT"
] | 1 | 2021-08-28T19:17:24.000Z | 2021-08-28T19:17:24.000Z | class ConditionsAttributes:
def __init__(self, lighting: int, capture_device: int):
self.lighting = lighting
self.capture_device = capture_device
@staticmethod
def from_item(item):
return ConditionsAttributes(
lighting=int(item.info.get("common_lighting", -1)),
... | 32.47619 | 86 | 0.658358 | 73 | 682 | 5.90411 | 0.273973 | 0.271462 | 0.074246 | 0.064965 | 0.092807 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003817 | 0.231672 | 682 | 20 | 87 | 34.1 | 0.818702 | 0 | 0 | 0.235294 | 0 | 0 | 0.117302 | 0.030792 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0 | 0.176471 | 0.470588 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
b81b15cf3fb6fa37d9cca428cc06f976b1452cb2 | 213 | py | Python | SpacyToolKit/setup.py | Lednik7/Backet | b1bb0db3b5e16a3707b22e13048271dd3aa695ba | [
"MIT"
] | 2 | 2021-05-26T10:06:49.000Z | 2022-01-22T13:51:06.000Z | SpacyToolKit/setup.py | Lednik7/Backet | b1bb0db3b5e16a3707b22e13048271dd3aa695ba | [
"MIT"
] | null | null | null | SpacyToolKit/setup.py | Lednik7/Backet | b1bb0db3b5e16a3707b22e13048271dd3aa695ba | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='SpacyToolKit',
version='1.0.0',
packages=['Tools.py'],
author='Maxim Gerasimov',
install_requires=['spacy>=2.0', 'pymorphy2>=0.8', "googletrans=>3.0.0"]
)
| 21.3 | 74 | 0.652582 | 29 | 213 | 4.758621 | 0.793103 | 0.028986 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060109 | 0.140845 | 213 | 9 | 75 | 23.666667 | 0.693989 | 0 | 0 | 0 | 0 | 0 | 0.384977 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 |
62a9490e0429c40999ba2d5f16a1189d56c348aa | 7,541 | py | Python | xm_rst_to_timesheet_estimation.py | exmakhina/xm_rst | 940813d5e1cd1a40d611a3ae640fa7fe80a6e94b | [
"MIT"
] | null | null | null | xm_rst_to_timesheet_estimation.py | exmakhina/xm_rst | 940813d5e1cd1a40d611a3ae640fa7fe80a6e94b | [
"MIT"
] | null | null | null | xm_rst_to_timesheet_estimation.py | exmakhina/xm_rst | 940813d5e1cd1a40d611a3ae640fa7fe80a6e94b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 vi:noet
# Gets worked hours from a rst document
import sys, os, re, datetime, decimal, logging
import docutils
import docutils.nodes
import docutils.utils
import docutils.parsers.rst
import docutils.frontend
import datetimeparse
logger = logging.getLogger(__name__)
def p... | 32.226496 | 157 | 0.608142 | 1,138 | 7,541 | 3.924429 | 0.14587 | 0.066279 | 0.024631 | 0.025526 | 0.742275 | 0.736677 | 0.720107 | 0.654501 | 0.654501 | 0.627183 | 0 | 0.009533 | 0.207134 | 7,541 | 233 | 158 | 32.364807 | 0.737414 | 0.033815 | 0 | 0.674157 | 0 | 0.02809 | 0.124416 | 0.063514 | 0 | 0 | 0 | 0 | 0.050562 | 1 | 0.061798 | false | 0.011236 | 0.039326 | 0.011236 | 0.140449 | 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 |
62a9bc96f6183bc3c3ee4c06c98ebd80ee9f046e | 405 | py | Python | tests/functional/modules/test_ttp.py | s0undt3ch/salt-ext-ttp | 488e3a2eb45b86dece98781e57c4a89835c32c61 | [
"Apache-2.0"
] | 1 | 2020-11-11T22:42:04.000Z | 2020-11-11T22:42:04.000Z | tests/functional/modules/test_ttp.py | s0undt3ch/salt-ext-ttp | 488e3a2eb45b86dece98781e57c4a89835c32c61 | [
"Apache-2.0"
] | 1 | 2020-11-15T21:30:42.000Z | 2020-11-17T11:21:09.000Z | tests/functional/modules/test_ttp.py | saltstack/salt-ext-ttp | 1978a1b2b0b62544749f8fd74b9863e9565cf071 | [
"Apache-2.0"
] | 1 | 2020-11-10T06:29:38.000Z | 2020-11-10T06:29:38.000Z | import pytest
import salt.loader
@pytest.fixture(scope="module")
def loader(minion):
return salt.loader.minion_mods(minion.config)
def test_loader_no_match(loader):
"""
Test that a non existing module does not show up in the loader
"""
assert "monty.python" not in loader
def test_loader(loader... | 18.409091 | 66 | 0.68642 | 59 | 405 | 4.627119 | 0.559322 | 0.07326 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214815 | 405 | 21 | 67 | 19.285714 | 0.858491 | 0.22963 | 0 | 0 | 0 | 0 | 0.088968 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.333333 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
62b6516d96cf163a820df022215c9835deee2a68 | 1,685 | py | Python | tests/test_api.py | ltekieli/ds | d05021c105be5cf5eb907510257a48ea2d4c28eb | [
"MIT"
] | null | null | null | tests/test_api.py | ltekieli/ds | d05021c105be5cf5eb907510257a48ea2d4c28eb | [
"MIT"
] | null | null | null | tests/test_api.py | ltekieli/ds | d05021c105be5cf5eb907510257a48ea2d4c28eb | [
"MIT"
] | null | null | null | import json
import pytest
from mock import patch, Mock
from ds.api import AuthApi, LoginFailed, LogoutFailed
@patch('ds.api.urllib.request.urlopen')
def test_login_success(mock_urlopen):
mock_urlopen.return_value.read.return_value = json.dumps({'data': {'sid': 'w65edxZ6uuIx.1560MPN622801'}, 'success': True})
... | 36.630435 | 126 | 0.720475 | 247 | 1,685 | 4.720648 | 0.210526 | 0.132075 | 0.042882 | 0.068611 | 0.795883 | 0.749571 | 0.749571 | 0.749571 | 0.699828 | 0.536021 | 0 | 0.064339 | 0.132938 | 1,685 | 45 | 127 | 37.444444 | 0.733744 | 0 | 0 | 0.4 | 0 | 0 | 0.205341 | 0.101484 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.142857 | false | 0.028571 | 0.114286 | 0 | 0.257143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 |
62d0ac6a648e832e99a6512e3e1148a81d335657 | 168 | py | Python | photo/urls.py | moha-abdul/photo-gallery | 3fa57ba25b2c92871377b223d7ab91bf428e4ff6 | [
"MIT"
] | null | null | null | photo/urls.py | moha-abdul/photo-gallery | 3fa57ba25b2c92871377b223d7ab91bf428e4ff6 | [
"MIT"
] | null | null | null | photo/urls.py | moha-abdul/photo-gallery | 3fa57ba25b2c92871377b223d7ab91bf428e4ff6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.conf.urls import url,include
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'',include('gallery.urls'))
]
| 21 | 40 | 0.696429 | 24 | 168 | 4.875 | 0.541667 | 0.17094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 168 | 7 | 41 | 24 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 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 |
62dc9e62784f6693228ee176f54bd95d2e92f09d | 3,449 | py | Python | lazylabel/labeller/metrics.py | lgvaz/pigboat | db743f4170c9af31643d5e3d7b2e6db2520396b2 | [
"Apache-2.0"
] | 1 | 2021-06-23T16:41:04.000Z | 2021-06-23T16:41:04.000Z | lazylabel/labeller/metrics.py | lgvaz/pigboat | db743f4170c9af31643d5e3d7b2e6db2520396b2 | [
"Apache-2.0"
] | 15 | 2020-04-09T18:28:13.000Z | 2020-04-18T15:01:10.000Z | lazylabel/labeller/metrics.py | lgvaz/lazylabel | db743f4170c9af31643d5e3d7b2e6db2520396b2 | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: nbs/02a_labeller.metrics.ipynb (unless otherwise specified).
__all__ = ['LabelMetric', 'ValidLabelMetric', 'Coverage', 'Polarity', 'CountCorrect', 'CountIncorrect', 'LabelAccuracy']
# Cell
from fastai2.basics import *
from ..basics import *
from .core import Labeller
# Cel... | 33.485437 | 120 | 0.66599 | 465 | 3,449 | 4.849462 | 0.249462 | 0.043902 | 0.052772 | 0.05898 | 0.264745 | 0.206208 | 0.103769 | 0.056763 | 0.029268 | 0 | 0 | 0.009098 | 0.203247 | 3,449 | 103 | 121 | 33.485437 | 0.811499 | 0.080603 | 0 | 0.207792 | 1 | 0 | 0.038693 | 0 | 0 | 0 | 0 | 0.009709 | 0 | 1 | 0.324675 | false | 0 | 0.038961 | 0.103896 | 0.493506 | 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 |
62e80f9b73cb02fc351ae4cb75fa90bd20300edc | 10,990 | py | Python | pyproffx/_lib/raw.py | halm/pyproffx | 52168e4c536acd6e7d10dc53451a6f70edc8e214 | [
"MIT"
] | null | null | null | pyproffx/_lib/raw.py | halm/pyproffx | 52168e4c536acd6e7d10dc53451a6f70edc8e214 | [
"MIT"
] | 7 | 2015-02-21T02:30:40.000Z | 2015-09-01T02:44:44.000Z | pyproffx/_lib/raw.py | halm/pyproffx | 52168e4c536acd6e7d10dc53451a6f70edc8e214 | [
"MIT"
] | null | null | null | # Copyright (C) 2015 Haruhiko Matsuo <halm.matsuo@gmail.com>
#
# Distributed under the MIT License.
# See accompanying file LICENSE or copy at
# http://opensource.org/licenses/MIT
from common import tag_maker, element_wise
class RawData(object):
def __init__(self, parsed_input):
(self._PA1, self._PA2,... | 26.870416 | 76 | 0.589991 | 1,423 | 10,990 | 4.210119 | 0.108925 | 0.062093 | 0.101819 | 0.180771 | 0.76882 | 0.741446 | 0.619262 | 0.551494 | 0.341178 | 0.209982 | 0 | 0.019861 | 0.26697 | 10,990 | 408 | 77 | 26.936275 | 0.723808 | 0.024477 | 0 | 0.427536 | 0 | 0 | 0.08795 | 0.031867 | 0 | 0 | 0 | 0 | 0 | 1 | 0.213768 | false | 0 | 0.003623 | 0 | 0.431159 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62ecb07d41aaca5fd4107e7ea01ded87d7577c0f | 9,024 | py | Python | source/rttov_test/profile-datasets-py/div52_zen50deg/047.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | source/rttov_test/profile-datasets-py/div52_zen50deg/047.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:19:59.000Z | 2022-03-12T12:19:59.000Z | source/rttov_test/profile-datasets-py/div52_zen50deg/047.py | bucricket/projectMAScorrection | 89489026c8e247ec7c364e537798e766331fe569 | [
"BSD-3-Clause"
] | null | null | null | """
Profile ../profile-datasets-py/div52_zen50deg/047.py
file automaticaly created by prof_gen.py script
"""
self["ID"] = "../profile-datasets-py/div52_zen50deg/047.py"
self["Q"] = numpy.array([ 1.60776800e+00, 7.95355900e+00, 6.74945900e+00,
7.45557100e+00, 6.46067300e+00, 6.20967000e+0... | 54.361446 | 92 | 0.574468 | 1,392 | 9,024 | 3.720546 | 0.436063 | 0.016799 | 0.015447 | 0.016219 | 0.055995 | 0.041128 | 0.041128 | 0.020274 | 0.010041 | 0.010041 | 0 | 0.665028 | 0.256316 | 9,024 | 165 | 93 | 54.690909 | 0.106691 | 0.011525 | 0 | 0 | 0 | 0 | 0.028077 | 0.004942 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
62fe440d35f5c4308db9b1eedf5f7c3d81331b1b | 235 | py | Python | app/templates/failure.py | rkk09c/TextHomelessHelp | 3868272ba391990089083f5c53082ae893559c8f | [
"Apache-2.0"
] | 1 | 2019-04-20T23:19:19.000Z | 2019-04-20T23:19:19.000Z | app/templates/failure.py | rkk09c/TextHomelessHelp | 3868272ba391990089083f5c53082ae893559c8f | [
"Apache-2.0"
] | null | null | null | app/templates/failure.py | rkk09c/TextHomelessHelp | 3868272ba391990089083f5c53082ae893559c8f | [
"Apache-2.0"
] | null | null | null | def failure_message(message=None, user=None, user_group=None):
return '''
Message failed to send, please try again later or contact administrator
from: TextHomelessHelp Admin
- Only you can see this message
'''
| 33.571429 | 75 | 0.706383 | 31 | 235 | 5.290323 | 0.806452 | 0.097561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221277 | 235 | 6 | 76 | 39.166667 | 0.896175 | 0 | 0 | 0 | 0 | 0 | 0.655319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
1a1a7a5cb082934211eedc07eff7b969a2942e76 | 47 | py | Python | constants.py | varunvd/Recursive-URL-Extraction | e3ca2cae30cd0409d1e2b89cb1690fe0f96dd8d5 | [
"Apache-2.0"
] | null | null | null | constants.py | varunvd/Recursive-URL-Extraction | e3ca2cae30cd0409d1e2b89cb1690fe0f96dd8d5 | [
"Apache-2.0"
] | null | null | null | constants.py | varunvd/Recursive-URL-Extraction | e3ca2cae30cd0409d1e2b89cb1690fe0f96dd8d5 | [
"Apache-2.0"
] | null | null | null | URL="your_url"
NUMBER_OF_THREADS=5
LIMIT=10000
| 11.75 | 19 | 0.829787 | 9 | 47 | 4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.06383 | 47 | 3 | 20 | 15.666667 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 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 |
1a22cf8776aca7be2c72bb0e76c0b8610d8bac59 | 725,541 | py | Python | pysnmp-with-texts/Nortel-Magellan-Passport-CasTestMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-CasTestMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-Magellan-Passport-CasTestMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-Magellan-Passport-CasTestMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-CasTestMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:26:44 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Usi... | 163.557484 | 17,687 | 0.822233 | 67,787 | 725,541 | 8.800566 | 0.034874 | 0.010121 | 0.102366 | 0.010091 | 0.478737 | 0.358424 | 0.351662 | 0.348434 | 0.326398 | 0.293685 | 0 | 0.058162 | 0.070163 | 725,541 | 4,435 | 17,688 | 163.594363 | 0.826115 | 0.000502 | 0 | 0 | 0 | 0.015808 | 0.233164 | 0.1001 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.069557 | 0.002033 | 0 | 0.002033 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
1a24f713a046c72c7b9956cb5f80655853c46b51 | 1,301 | py | Python | models.py | spotify-song-suggestor/spotify | c35ced0c40dab0be1d26bf86389325c9a9f9d61c | [
"MIT"
] | null | null | null | models.py | spotify-song-suggestor/spotify | c35ced0c40dab0be1d26bf86389325c9a9f9d61c | [
"MIT"
] | null | null | null | models.py | spotify-song-suggestor/spotify | c35ced0c40dab0be1d26bf86389325c9a9f9d61c | [
"MIT"
] | 5 | 2021-05-24T17:00:05.000Z | 2021-12-20T14:07:19.000Z | from flask_sqlalchemy import SQLAlchemy
from app import app, server, db
# server.config["SQLALCHEMY_DATABASE_URI"] = "sqlite://spotify.sqlite3"
# db = SQLAlchemy(server)
def test():
print("Hello")
class spotify(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(120), nul... | 37.171429 | 71 | 0.700999 | 178 | 1,301 | 5.061798 | 0.314607 | 0.168701 | 0.210877 | 0.233074 | 0.506104 | 0.506104 | 0.071032 | 0 | 0 | 0 | 0 | 0.008242 | 0.160646 | 1,301 | 35 | 72 | 37.171429 | 0.81685 | 0.071483 | 0 | 0 | 0 | 0 | 0.019901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0.076923 | 0.038462 | 0.961538 | 0.038462 | 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 |
a7eb5a59afd04df8a261334076b5773cd2dfc93a | 1,118 | py | Python | wmipa/integrator.py | masinag/wmi-pa | 419ef37d15c4858df08dbfb799ea2f66fa3423f3 | [
"MIT"
] | 7 | 2017-09-04T09:21:50.000Z | 2020-11-21T08:33:58.000Z | wmipa/integrator.py | masinag/wmi-pa | 419ef37d15c4858df08dbfb799ea2f66fa3423f3 | [
"MIT"
] | null | null | null | wmipa/integrator.py | masinag/wmi-pa | 419ef37d15c4858df08dbfb799ea2f66fa3423f3 | [
"MIT"
] | 3 | 2018-05-11T18:14:06.000Z | 2021-11-11T10:50:28.000Z |
from abc import ABC, abstractmethod
class Integrator(ABC):
"""This class represents the general integrator with which to compute integrals.
For the moment there is only one integrator that uses LattE Integrale.
"""
"""Default constructor.
Args:
**options: whatever ... | 26 | 98 | 0.603757 | 114 | 1,118 | 5.833333 | 0.464912 | 0.112782 | 0.157895 | 0.210526 | 0.216541 | 0.123308 | 0.123308 | 0.123308 | 0 | 0 | 0 | 0 | 0.323792 | 1,118 | 42 | 99 | 26.619048 | 0.87963 | 0.133274 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.090909 | 0 | 0.454545 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a7f7ccff5dfc9da55102e445f16994ce2383c7f3 | 100 | py | Python | code/genre_classification/pymvpa2_zscore_ds.py | psychoinformatics-de/pandora_data | cb8f1670a267699ee865dea1a7b4bcb5d000ae5f | [
"AAL"
] | 2 | 2017-12-05T20:57:16.000Z | 2021-05-15T18:07:49.000Z | code/genre_classification/pymvpa2_zscore_ds.py | psychoinformatics-de/pandora_data | cb8f1670a267699ee865dea1a7b4bcb5d000ae5f | [
"AAL"
] | null | null | null | code/genre_classification/pymvpa2_zscore_ds.py | psychoinformatics-de/pandora_data | cb8f1670a267699ee865dea1a7b4bcb5d000ae5f | [
"AAL"
] | 3 | 2017-01-28T13:33:43.000Z | 2022-01-05T05:17:08.000Z | from mvpa2.mappers.zscore import zscore
def fx(ds):
zscore(ds, chunks_attr=None)
return ds
| 16.666667 | 39 | 0.72 | 16 | 100 | 4.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012346 | 0.19 | 100 | 5 | 40 | 20 | 0.864198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c5070f6a598eb4e7e0f17a963350900e95348fea | 2,445 | py | Python | server/datawake/util/dataconnector/data_connector.py | Sotera/Datawake | ae63058f74afb476ecc42a0d88c007049980db2e | [
"Apache-2.0"
] | 21 | 2015-02-24T17:43:31.000Z | 2021-04-04T12:11:01.000Z | server/datawake/util/dataconnector/data_connector.py | Sotera/Datawake | ae63058f74afb476ecc42a0d88c007049980db2e | [
"Apache-2.0"
] | 16 | 2015-01-07T17:56:24.000Z | 2015-10-06T12:49:43.000Z | server/datawake/util/dataconnector/data_connector.py | Sotera/Datawake | ae63058f74afb476ecc42a0d88c007049980db2e | [
"Apache-2.0"
] | 7 | 2015-01-29T21:03:19.000Z | 2017-09-03T10:24:19.000Z | """
Copyright 2014 Sotera Defense Solutions, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | 31.753247 | 91 | 0.758282 | 290 | 2,445 | 6.151724 | 0.372414 | 0.188341 | 0.258969 | 0.06222 | 0.295404 | 0.152466 | 0.065022 | 0.065022 | 0 | 0 | 0 | 0.00391 | 0.16319 | 2,445 | 76 | 92 | 32.171053 | 0.868035 | 0.231493 | 0 | 0 | 0 | 0 | 0.247859 | 0.127409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.483871 | false | 0.032258 | 0 | 0 | 0.516129 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c5232a4d920d5c1791cb0ad922e8bc20c21d5189 | 180 | py | Python | exercises/pt/test_03_14_02.py | Jette16/spacy-course | 32df0c8f6192de6c9daba89740a28c0537e4d6a0 | [
"MIT"
] | 2,085 | 2019-04-17T13:10:40.000Z | 2022-03-30T21:51:46.000Z | exercises/pt/test_03_14_02.py | Jette16/spacy-course | 32df0c8f6192de6c9daba89740a28c0537e4d6a0 | [
"MIT"
] | 79 | 2019-04-18T14:42:55.000Z | 2022-03-07T08:15:43.000Z | exercises/pt/test_03_14_02.py | Jette16/spacy-course | 32df0c8f6192de6c9daba89740a28c0537e4d6a0 | [
"MIT"
] | 361 | 2019-04-17T13:34:32.000Z | 2022-03-28T04:42:45.000Z | def test():
assert (
"docs = list(nlp.pipe(TEXTS))" in __solution__
), "Você está usando nlp.pipe envolvido em uma lista (list)?"
__msg__.good("Bom trabalho!")
| 30 | 65 | 0.627778 | 24 | 180 | 4.375 | 0.875 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227778 | 180 | 5 | 66 | 36 | 0.755396 | 0 | 0 | 0 | 0 | 0 | 0.538889 | 0.116667 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c53a1f61e81076eaab0897a73070cbd5e79114a1 | 421 | py | Python | clustergrammer/demo_pages/__init__.py | delosrogers/clustergrammer-web | 14102cfca328214d3bc8285e8331663fe0e5fad4 | [
"MIT"
] | 5 | 2018-04-04T16:25:06.000Z | 2021-04-10T23:47:20.000Z | clustergrammer/demo_pages/__init__.py | delosrogers/clustergrammer-web | 14102cfca328214d3bc8285e8331663fe0e5fad4 | [
"MIT"
] | 8 | 2016-07-16T02:55:12.000Z | 2022-02-02T16:42:17.000Z | clustergrammer/demo_pages/__init__.py | delosrogers/clustergrammer-web | 14102cfca328214d3bc8285e8331663fe0e5fad4 | [
"MIT"
] | 4 | 2019-05-28T08:52:41.000Z | 2021-01-11T22:14:48.000Z | from flask import Blueprint, render_template
from pymongo import MongoClient
def add_routes(app=None):
demo_pages = Blueprint('demo_pages', __name__, static_url_path='/demo_pages/static',
static_folder='./static', template_folder='./templates')
@demo_pages.route(app.config['ENTRY_POINT'] + "/demo/")
def dem... | 35.083333 | 86 | 0.75772 | 56 | 421 | 5.375 | 0.5 | 0.149502 | 0.119601 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106888 | 421 | 12 | 87 | 35.083333 | 0.800532 | 0 | 0 | 0 | 0 | 0 | 0.172986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.555556 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c54b9c11fb4fb46a49f192ad88425076d737c2a9 | 84 | py | Python | tests/res/script-hello_world.py | jobrachem/alfred3_scheduler | 5a58a6c483d590ba93ef69108d042e48ec4ca996 | [
"MIT"
] | 9 | 2020-05-11T08:13:12.000Z | 2022-01-20T11:35:14.000Z | tests/res/script-hello_world.py | jobrachem/alfred3_scheduler | 5a58a6c483d590ba93ef69108d042e48ec4ca996 | [
"MIT"
] | 77 | 2019-02-22T07:34:58.000Z | 2022-02-23T15:32:34.000Z | tests/res/script-hello_world.py | jobrachem/alfred3_scheduler | 5a58a6c483d590ba93ef69108d042e48ec4ca996 | [
"MIT"
] | 6 | 2020-11-11T16:51:04.000Z | 2022-02-21T10:29:02.000Z | import alfred3 as al
exp = al.Experiment()
exp += al.Page(title="Page 1", name="p1") | 28 | 41 | 0.678571 | 15 | 84 | 3.8 | 0.733333 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.130952 | 84 | 3 | 41 | 28 | 0.739726 | 0 | 0 | 0 | 0 | 0 | 0.094118 | 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 |
c556e92661013314f0b8e25bb6fcef3e900c113f | 72,192 | py | Python | rbql_core/test_rbql.py | gregsadetsky/sublime_rainbow_csv | e9e906351f8b6f934e463f700ccbc4c04d33f409 | [
"MIT"
] | null | null | null | rbql_core/test_rbql.py | gregsadetsky/sublime_rainbow_csv | e9e906351f8b6f934e463f700ccbc4c04d33f409 | [
"MIT"
] | null | null | null | rbql_core/test_rbql.py | gregsadetsky/sublime_rainbow_csv | e9e906351f8b6f934e463f700ccbc4c04d33f409 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from __future__ import print_function
import sys
import os
import argparse
import random
import unittest
import re
import tempfile
import time
import importlib
import codecs
import io
import subprocess
import rbql
import rbql_utils
... | 45.518285 | 308 | 0.630098 | 9,366 | 72,192 | 4.581572 | 0.062033 | 0.071264 | 0.057794 | 0.045513 | 0.79052 | 0.760434 | 0.714013 | 0.695183 | 0.675188 | 0.65792 | 0 | 0.027497 | 0.224208 | 72,192 | 1,585 | 309 | 45.547003 | 0.738689 | 0.005596 | 0 | 0.555377 | 0 | 0.026485 | 0.168724 | 0.018071 | 0 | 0 | 0 | 0.000631 | 0.05618 | 1 | 0.058587 | false | 0 | 0.020064 | 0.001605 | 0.109149 | 0.006421 | 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 |
c561e74099998098480bac93f18a11cb0e413670 | 1,152 | py | Python | 0001-0050/0032-LongestValidParentheses/LongestValidParentheses.py | Sun-Zhen/leetcode | 57fe0de95881255393e0d6817e75bfae8f5744dc | [
"Apache-2.0"
] | 3 | 2018-04-12T05:13:52.000Z | 2018-04-15T05:11:51.000Z | 0001-0050/0032-LongestValidParentheses/LongestValidParentheses.py | Sun-Zhen/leetcode | 57fe0de95881255393e0d6817e75bfae8f5744dc | [
"Apache-2.0"
] | null | null | null | 0001-0050/0032-LongestValidParentheses/LongestValidParentheses.py | Sun-Zhen/leetcode | 57fe0de95881255393e0d6817e75bfae8f5744dc | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
"""
@author: Alden
@email: sunzhenhy@gmail.com
@date: 2018/3/29
@version: 1.0.0.0
"""
class Solution(object):
def longestValidParentheses(self, s):
"""
:type s: str
:rtype: int
"""
start = t_max = 0
stack = list()
for i in range(len(s)... | 26.790698 | 69 | 0.484375 | 117 | 1,152 | 4.649573 | 0.384615 | 0.088235 | 0.426471 | 0.4375 | 0.470588 | 0.470588 | 0.426471 | 0.426471 | 0.426471 | 0.426471 | 0 | 0.025676 | 0.357639 | 1,152 | 42 | 70 | 27.428571 | 0.709459 | 0.017361 | 0 | 0.185185 | 0 | 0 | 0.039434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.296296 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c562400c4d6961582a4ca7a3c0be8ed73f9701f6 | 321 | py | Python | player.py | parin2092/cook | 45a28599eaaaf05fb228d23792892a5dbacc6c41 | [
"MIT"
] | null | null | null | player.py | parin2092/cook | 45a28599eaaaf05fb228d23792892a5dbacc6c41 | [
"MIT"
] | null | null | null | player.py | parin2092/cook | 45a28599eaaaf05fb228d23792892a5dbacc6c41 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# def f(n):
# return 1
# F(2) = 45, F(4) = 4284990, F(100) = 26365463243, F(104) = 2495838522951.
# S = {0, 45, 2070, 4284945, 753524550, 478107844, 894218625, ...}.
s = [0, 45, 2070, 4284945]
for i in xrange(4,100000001):
elem = (pow(s[i-1],2) + 45) % 1000000007
s.append(elem)
print len(s... | 21.4 | 74 | 0.604361 | 54 | 321 | 3.592593 | 0.648148 | 0.030928 | 0.041237 | 0.082474 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461832 | 0.183801 | 321 | 15 | 75 | 21.4 | 0.278626 | 0.557632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3d75790fe35b2e91744e00194714287aff4d7829 | 1,057 | py | Python | views/menuview.py | KDerec/chesstournamentmanager | 2b57d2703d654e4ffc3c44293a031bd596463ba0 | [
"MIT"
] | null | null | null | views/menuview.py | KDerec/chesstournamentmanager | 2b57d2703d654e4ffc3c44293a031bd596463ba0 | [
"MIT"
] | null | null | null | views/menuview.py | KDerec/chesstournamentmanager | 2b57d2703d654e4ffc3c44293a031bd596463ba0 | [
"MIT"
] | null | null | null | """Display menus texts."""
from views import userinput
def display_main_menu():
"""Display main menu and return a user choice."""
print(
"""Menu principal :
1. Tournoi ->
2. Joueurs ->
3. Rapports ->
4. Quitter.
"""
)
return userinput.input_a_number()... | 19.218182 | 59 | 0.55913 | 119 | 1,057 | 4.831933 | 0.361345 | 0.069565 | 0.090435 | 0.097391 | 0.506087 | 0.506087 | 0.506087 | 0.382609 | 0.153043 | 0 | 0 | 0.013986 | 0.323557 | 1,057 | 54 | 60 | 19.574074 | 0.79021 | 0.194891 | 0 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | true | 0 | 0.058824 | 0 | 0.529412 | 0.235294 | 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 |
3d77ab2192adfbff6f432721866dae88498e5bfe | 162 | py | Python | src/batou/tests/fixture/basic_service/components/zeo/component.py | gocept/batou | 4d239996f464c406cde82c48155e5b8273a9063d | [
"BSD-2-Clause-FreeBSD"
] | 34 | 2019-09-06T05:30:10.000Z | 2022-03-12T01:25:38.000Z | src/batou/tests/fixture/basic_service/components/zeo/component.py | gocept/batou | 4d239996f464c406cde82c48155e5b8273a9063d | [
"BSD-2-Clause-FreeBSD"
] | 204 | 2019-09-05T14:41:12.000Z | 2022-03-10T12:14:37.000Z | src/batou/tests/fixture/basic_service/components/zeo/component.py | gocept/batou | 4d239996f464c406cde82c48155e5b8273a9063d | [
"BSD-2-Clause-FreeBSD"
] | 25 | 2019-10-10T07:13:41.000Z | 2022-03-24T14:52:25.000Z | from batou.component import Attribute, Component
class ZEO(Component):
port = Attribute(int, default_conf_string="9001")
features = ["test", "test2"]
| 18 | 53 | 0.709877 | 19 | 162 | 5.947368 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.166667 | 162 | 8 | 54 | 20.25 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.080247 | 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 |
3d97d2f9b51451ff9d0bbe5af06c98d1c474b100 | 1,150 | py | Python | src/benchmark/report.py | RodrigoHolztrattner/fixed_point | 7fe8b459f63760a747cbcca244c002d62bf896a5 | [
"BSL-1.0"
] | 239 | 2016-03-01T12:01:21.000Z | 2022-03-16T22:57:15.000Z | src/benchmark/report.py | RodrigoHolztrattner/fixed_point | 7fe8b459f63760a747cbcca244c002d62bf896a5 | [
"BSL-1.0"
] | 117 | 2015-09-12T05:35:23.000Z | 2018-07-06T23:28:32.000Z | src/benchmark/report.py | RodrigoHolztrattner/fixed_point | 7fe8b459f63760a747cbcca244c002d62bf896a5 | [
"BSL-1.0"
] | 38 | 2016-03-02T17:59:24.000Z | 2021-02-05T14:56:50.000Z | #!/usr/bin/env python
import csv
import itertools
import sys
help_text = "please provide CSV-formatted google/benchmark output"
def sum_from_rows(rows):
return ["total"] + [str(sum(float(cell) for cell in column)) for
column in itertools.islice(zip(*rows), 1, None)]
def report_from_table(table):
return ... | 28.75 | 70 | 0.701739 | 171 | 1,150 | 4.473684 | 0.362573 | 0.078431 | 0.05098 | 0.052288 | 0.112418 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.166087 | 1,150 | 39 | 71 | 29.487179 | 0.790407 | 0.017391 | 0 | 0 | 0 | 0 | 0.08946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.111111 | 0.222222 | 0.703704 | 0.037037 | 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 |
3db8b06797cca24294a81e71af47279e353b321d | 1,197 | py | Python | regions.py | crashoverloaded/PAWS-VPN | a8ebed0f06c6ef74ef12c7da8b45e9d90beaf123 | [
"MIT"
] | 1 | 2020-12-08T23:51:25.000Z | 2020-12-08T23:51:25.000Z | regions.py | crashoverloaded/PAWS-VPN | a8ebed0f06c6ef74ef12c7da8b45e9d90beaf123 | [
"MIT"
] | null | null | null | regions.py | crashoverloaded/PAWS-VPN | a8ebed0f06c6ef74ef12c7da8b45e9d90beaf123 | [
"MIT"
] | null | null | null |
# List of regions
region={
"No.":"Region",
1:"US East (N. Virginia)",
2:"US East (Ohio)",
3:"US West (Oregon)",
4:"US West (N. California)",
5:"EU (Ireland)",
6:"EU (Frankfurt)",
7:"EU (London)",
8:"EU (Paris)",
9:"EU (Stockholm)",
10:"Asia Pacific (Singapore)",
11:"Asia Pacific (Tokyo)",
12:"Asia Pacific (Sydney)",... | 18.415385 | 31 | 0.67335 | 186 | 1,197 | 4.327957 | 0.392473 | 0.068323 | 0.017391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.237443 | 0.085213 | 1,197 | 64 | 32 | 18.703125 | 0.497717 | 0.030075 | 0 | 0 | 0 | 0 | 0.690579 | 0.290406 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3db960cf015179cf9c7d3759e2b6fcd0562d618e | 1,620 | py | Python | cli/kaos_cli/services/state_service.py | aalhour/kaos | 321f596413ae0faea1aa86534eee9449cc53e287 | [
"Apache-2.0"
] | 98 | 2019-10-17T14:46:53.000Z | 2021-12-29T08:28:43.000Z | cli/kaos_cli/services/state_service.py | aalhour/kaos | 321f596413ae0faea1aa86534eee9449cc53e287 | [
"Apache-2.0"
] | 78 | 2019-10-17T16:14:34.000Z | 2020-02-10T13:31:49.000Z | cli/kaos_cli/services/state_service.py | aalhour/kaos | 321f596413ae0faea1aa86534eee9449cc53e287 | [
"Apache-2.0"
] | 11 | 2019-10-17T15:41:33.000Z | 2021-08-29T20:07:14.000Z | import glob
import os
import shutil
from configobj import ConfigObj
from kaos_cli.constants import KAOS_STATE_DIR, CONFIG_PATH, KAOS_TF_PATH
class StateService:
def __init__(self, config=None):
self.config = config or ConfigObj(CONFIG_PATH)
def set(self, section, **kwargs):
self.config[sect... | 26.557377 | 93 | 0.675309 | 211 | 1,620 | 5 | 0.28436 | 0.094787 | 0.056872 | 0.094787 | 0.225592 | 0.094787 | 0.094787 | 0.094787 | 0.094787 | 0.094787 | 0 | 0 | 0.221605 | 1,620 | 60 | 94 | 27 | 0.836638 | 0 | 0 | 0.209302 | 0 | 0 | 0.02284 | 0.021605 | 0 | 0 | 0 | 0 | 0 | 1 | 0.325581 | false | 0 | 0.116279 | 0.116279 | 0.581395 | 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 |
9a750faad5a3d142415242339950a2150764c0f5 | 492 | py | Python | everest/bythic/exceptions.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 2 | 2020-12-17T02:27:28.000Z | 2020-12-17T23:50:13.000Z | everest/bythic/exceptions.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-12-07T10:14:45.000Z | 2020-12-07T10:14:45.000Z | everest/bythic/exceptions.py | rsbyrne/everest | 1ec06301cdeb7c2b7d85daf6075d996c5529247e | [
"MIT"
] | 1 | 2020-10-22T11:16:50.000Z | 2020-10-22T11:16:50.000Z | ###############################################################################
''''''
###############################################################################
from everest import exceptions as _exceptions
NotYetImplemented = _exceptions.NotYetImplemented
class BythicException(_exceptions.EverestException)... | 27.333333 | 79 | 0.268293 | 13 | 492 | 9.923077 | 0.692308 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058943 | 492 | 17 | 80 | 28.941176 | 0.278618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9a8cf0c888e915f6fe1dc8e7f01cf6b443eccfc3 | 297 | py | Python | boardom/multiprocessing/util.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | 2 | 2021-10-05T15:52:50.000Z | 2021-11-22T00:05:03.000Z | boardom/multiprocessing/util.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | null | null | null | boardom/multiprocessing/util.py | dmarnerides/boardom | b7eec437b43398ac8dd8d2755dca9bbe7a8ff8a3 | [
"BSD-2-Clause"
] | null | null | null | import boardom as bd
# import torch.distributed as dist
from multiprocessing import current_process
def is_main_process():
return current_process().name == 'MainProcess'
def only_main_process(func):
if is_main_process():
return func
else:
return bd.null_function
| 18.5625 | 50 | 0.723906 | 39 | 297 | 5.282051 | 0.589744 | 0.160194 | 0.126214 | 0.184466 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208754 | 297 | 15 | 51 | 19.8 | 0.876596 | 0.107744 | 0 | 0 | 0 | 0 | 0.041985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
9a96c9a8094265e0a6e083fd6cbbb9dfcb129bf4 | 1,081 | py | Python | CS111_CS213/Crapz/die.py | jawaff/CollegeCS | ab7d24bd78719842f8790cc0e6c06dd1b327e416 | [
"Apache-2.0"
] | null | null | null | CS111_CS213/Crapz/die.py | jawaff/CollegeCS | ab7d24bd78719842f8790cc0e6c06dd1b327e416 | [
"Apache-2.0"
] | null | null | null | CS111_CS213/Crapz/die.py | jawaff/CollegeCS | ab7d24bd78719842f8790cc0e6c06dd1b327e416 | [
"Apache-2.0"
] | null | null | null | """
Program: die.py
Author(s): Jacob Waffle
Katy Phipps
Casey Blamires
Die (plural: Dice) class. The die can be rolled and its value returned to the caller
1. Significant constants
None
2. The inputs are
There are no user-required inputs in this class. The class *does* require the ra... | 23.5 | 89 | 0.653099 | 157 | 1,081 | 4.420382 | 0.522293 | 0.051873 | 0.037464 | 0.054755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01125 | 0.259945 | 1,081 | 45 | 90 | 24.022222 | 0.85625 | 0.657724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9a99dd13d5e30e6b327cede3f9a36a9d5af370fb | 1,326 | py | Python | src/chronos/__init__.py | hacktlib/py-chronos | 1e82d882d8513a4542dbb9aeaad40eaf60018d67 | [
"Apache-2.0"
] | 1 | 2021-02-02T04:48:29.000Z | 2021-02-02T04:48:29.000Z | src/chronos/__init__.py | hacktlib/py-chronos | 1e82d882d8513a4542dbb9aeaad40eaf60018d67 | [
"Apache-2.0"
] | null | null | null | src/chronos/__init__.py | hacktlib/py-chronos | 1e82d882d8513a4542dbb9aeaad40eaf60018d67 | [
"Apache-2.0"
] | null | null | null | import calendar
import datetime
from typing import Optional
from chronos import types, datetime_filter
def future_utc_timestamp(**delta_kwargs) -> int:
return utc_timestamp(future_utc_datetime(**delta_kwargs))
def future_utc_datetime(**delta_kwargs) -> datetime.datetime:
return utc_now() + datetime.timedel... | 25.5 | 79 | 0.698341 | 155 | 1,326 | 5.683871 | 0.277419 | 0.163451 | 0.072645 | 0.099886 | 0.367764 | 0.283768 | 0.283768 | 0.283768 | 0.183882 | 0.183882 | 0 | 0 | 0.205882 | 1,326 | 51 | 80 | 26 | 0.836657 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.117647 | 0.147059 | 0.529412 | 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 |
9a9a007cd35d157327af395aa1778500d9218cdb | 507 | py | Python | Chapter02/MCTextGen.py | FriendlyUser/Keras-Reinforcement-Learning-Projects | e5d4b3cd1b44c9015b1113593e645f204e8df0a3 | [
"MIT"
] | 45 | 2018-07-06T14:11:19.000Z | 2021-10-04T17:56:49.000Z | Chapter02/MCTextGen.py | FriendlyUser/Keras-Reinforcement-Learning-Projects | e5d4b3cd1b44c9015b1113593e645f204e8df0a3 | [
"MIT"
] | null | null | null | Chapter02/MCTextGen.py | FriendlyUser/Keras-Reinforcement-Learning-Projects | e5d4b3cd1b44c9015b1113593e645f204e8df0a3 | [
"MIT"
] | 36 | 2018-10-29T14:55:47.000Z | 2021-12-07T14:12:22.000Z | import markovify
with open("corpus.txt") as f:
CorpusText = f.read()
TextModel = markovify.Text(CorpusText)
print("Five randomly-generated sentences")
print("-----------------------------------")
for i in range(5):
print(TextModel.make_sentence())
print("-----------------------------------")
pr... | 28.166667 | 75 | 0.552268 | 54 | 507 | 5.12963 | 0.611111 | 0.122744 | 0.187726 | 0.079422 | 0.115523 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018307 | 0.138067 | 507 | 17 | 76 | 29.823529 | 0.615561 | 0 | 0 | 0.230769 | 1 | 0 | 0.434694 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.538462 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
9ab34cdbca0a9f87f19232b75883033adb5701c1 | 70 | py | Python | Python/Topics/Nested lists/A lot of nested lists/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 5 | 2020-08-29T15:15:31.000Z | 2022-03-01T18:22:34.000Z | Python/Topics/Nested lists/A lot of nested lists/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | null | null | null | Python/Topics/Nested lists/A lot of nested lists/main.py | drtierney/hyperskill-problems | b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0 | [
"MIT"
] | 1 | 2020-12-02T11:13:14.000Z | 2020-12-02T11:13:14.000Z | n = int(input())
my_list = [[1, 2] for _ in range(n)]
print(my_list)
| 14 | 36 | 0.6 | 14 | 70 | 2.785714 | 0.785714 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.185714 | 70 | 4 | 37 | 17.5 | 0.649123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
9ac6eb020403fc0d3f379de892fb0783847cb070 | 801 | py | Python | elstruct/elstruct/reader/_mrcc2018/__init__.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | null | null | null | elstruct/elstruct/reader/_mrcc2018/__init__.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | 1 | 2022-02-15T19:35:14.000Z | 2022-02-15T19:35:14.000Z | elstruct/elstruct/reader/_mrcc2018/__init__.py | sjklipp/autoio | e2b471e9c9dec933319c98a30d4d519ca5d47645 | [
"Apache-2.0"
] | 13 | 2020-06-24T05:21:11.000Z | 2021-05-05T19:58:30.000Z | """ mrcc 2018 output reading module """
from elstruct.reader._mrcc2018.energ import energy
from elstruct.reader._mrcc2018.surface import gradient
from elstruct.reader._mrcc2018.prop import dipole_moment
from elstruct.reader._mrcc2018.status import has_normal_exit_message
from elstruct.reader._mrcc2018.status import err... | 33.375 | 71 | 0.805243 | 100 | 801 | 6.1 | 0.31 | 0.177049 | 0.265574 | 0.383607 | 0.432787 | 0.432787 | 0.432787 | 0 | 0 | 0 | 0 | 0.056577 | 0.117353 | 801 | 23 | 72 | 34.826087 | 0.806223 | 0.038702 | 0 | 0 | 0 | 0 | 0.170604 | 0.064304 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.45 | 0 | 0.45 | 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 |
9acbf17ba3acfe306f6be1ef2465bbf37ad4fe73 | 274 | py | Python | webbell/api/__init__.py | mekanix/webbell-backend | 512c390a2bdd7046121f3e93525e6fce6d09b918 | [
"BSD-2-Clause"
] | null | null | null | webbell/api/__init__.py | mekanix/webbell-backend | 512c390a2bdd7046121f3e93525e6fce6d09b918 | [
"BSD-2-Clause"
] | null | null | null | webbell/api/__init__.py | mekanix/webbell-backend | 512c390a2bdd7046121f3e93525e6fce6d09b918 | [
"BSD-2-Clause"
] | null | null | null | from freenit.api import register_endpoints
def create_api(app):
from .medic import blueprint as medic
from .social import blueprint as social
register_endpoints(
app,
'/api/v0',
[
medic,
social,
],
)
| 18.266667 | 43 | 0.565693 | 29 | 274 | 5.241379 | 0.482759 | 0.223684 | 0.223684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.364964 | 274 | 14 | 44 | 19.571429 | 0.867816 | 0 | 0 | 0 | 0 | 0 | 0.025547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.25 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9ad7ea5f7da352c58311a34d936f49de61f3f7fd | 415 | py | Python | projeto_cliente/cliente/validators.py | LeandroMelloo/curso_completo_api_rest_django_framework | c56771a2103ac755e68984b2b1b78f591c1d4b5a | [
"Apache-2.0"
] | null | null | null | projeto_cliente/cliente/validators.py | LeandroMelloo/curso_completo_api_rest_django_framework | c56771a2103ac755e68984b2b1b78f591c1d4b5a | [
"Apache-2.0"
] | null | null | null | projeto_cliente/cliente/validators.py | LeandroMelloo/curso_completo_api_rest_django_framework | c56771a2103ac755e68984b2b1b78f591c1d4b5a | [
"Apache-2.0"
] | null | null | null | import re
from validate_docbr import CPF
def cpf_valido(numero_cpf):
cpf = CPF()
return cpf.validate(numero_cpf)
def nome_valido(nome):
return nome.isalpha()
def rg_valido(rg):
return len(rg) == 9
def celular_valido(celular):
"""Verifica se o celular é valido modelo => 11 91234-1234"""
model... | 23.055556 | 64 | 0.66747 | 65 | 415 | 4.153846 | 0.461538 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062687 | 0.192771 | 415 | 18 | 65 | 23.055556 | 0.743284 | 0.13012 | 0 | 0 | 0 | 0 | 0.073034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.153846 | 0.153846 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9af0854685b463f4ae58bd11a52aa38f03df4b58 | 280 | py | Python | recursion-nth-fibonacci.py | AlgoDataStructure/datastructure-algorithm-python | 9aeb68c5cc0ee5b1a4a823fe4649a6ca6a00d299 | [
"Apache-2.0"
] | null | null | null | recursion-nth-fibonacci.py | AlgoDataStructure/datastructure-algorithm-python | 9aeb68c5cc0ee5b1a4a823fe4649a6ca6a00d299 | [
"Apache-2.0"
] | 3 | 2021-06-18T06:55:36.000Z | 2021-06-20T13:57:25.000Z | recursion-nth-fibonacci.py | AlgoDataStructure/dsalgo-python-solutions | 9aeb68c5cc0ee5b1a4a823fe4649a6ca6a00d299 | [
"Apache-2.0"
] | 1 | 2021-04-13T02:56:37.000Z | 2021-04-13T02:56:37.000Z |
# O(n) time | O(1) space
def getNthFib(n):
defaultArray = [0,1]
if n == 1:
return defaultArray[0]
count = 3
while count <= n:
sum = defaultArray[0] + defaultArray[1]
defaultArray[0] = defaultArray[1]
defaultArray[1] = sum
count = count + 1
return defaultArray[1] | 18.666667 | 41 | 0.646429 | 41 | 280 | 4.414634 | 0.365854 | 0.287293 | 0.209945 | 0.287293 | 0.353591 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.210714 | 280 | 15 | 42 | 18.666667 | 0.760181 | 0.078571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b109e6f8156df2be551ff9be4fcce0f9832fe235 | 918 | py | Python | env/Lib/site-packages/OpenGL/GLES2/EXT/float_blend.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 210 | 2016-04-09T14:26:00.000Z | 2022-03-25T18:36:19.000Z | env/Lib/site-packages/OpenGL/GLES2/EXT/float_blend.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 72 | 2016-09-04T09:30:19.000Z | 2022-03-27T17:06:53.000Z | env/Lib/site-packages/OpenGL/GLES2/EXT/float_blend.py | 5gconnectedbike/Navio2 | 8c3f2b5d8bbbcea1fc08739945183c12b206712c | [
"BSD-3-Clause"
] | 64 | 2016-04-09T14:26:49.000Z | 2022-03-21T11:19:47.000Z | '''OpenGL extension EXT.float_blend
This module customises the behaviour of the
OpenGL.raw.GLES2.EXT.float_blend to provide a more
Python-friendly API
Overview (from the spec)
This extension expands upon the EXT_color_buffer_float extension
to allow support for blending with 32-bit floating-point color
buffers... | 31.655172 | 71 | 0.805011 | 130 | 918 | 5.576923 | 0.523077 | 0.082759 | 0.089655 | 0.070345 | 0.13931 | 0.13931 | 0.102069 | 0.102069 | 0 | 0 | 0 | 0.007528 | 0.131808 | 918 | 29 | 72 | 31.655172 | 0.902133 | 0.603486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.777778 | 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 |
b11fa6869dac0e1143e6e63b300bd9b05eb1c536 | 375 | py | Python | src/openne/tasks/__init__.py | zhangzw16/OpenNE | 3a5ceec95da6c090537a288a7e521bc9eed1718e | [
"MIT"
] | 4 | 2020-09-21T07:32:36.000Z | 2021-06-09T07:23:34.000Z | src/openne/tasks/__init__.py | Bznkxs/OpenNE | 046b038d32a29e9f377163c2bc80dda949629483 | [
"MIT"
] | 1 | 2020-12-02T03:32:45.000Z | 2020-12-02T03:32:45.000Z | src/openne/tasks/__init__.py | zhangzw16/OpenNE | 3a5ceec95da6c090537a288a7e521bc9eed1718e | [
"MIT"
] | 3 | 2020-07-04T12:43:53.000Z | 2021-08-05T09:47:26.000Z | from .classify import Classifier, TopKRanker
from .supervised_node_classification import SupervisedNodeClassification, supervisedmodels
from .unsupervised_node_classification import UnsupervisedNodeClassification
from .tasks import BaseTask
tasklist = [SupervisedNodeClassification, UnsupervisedNodeClassification]
task... | 46.875 | 90 | 0.869333 | 34 | 375 | 9.352941 | 0.617647 | 0.113208 | 0.150943 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082667 | 375 | 7 | 91 | 53.571429 | 0.924419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b12ef6f47ae22d4891c69b713cc059bf7f24d104 | 1,084 | py | Python | ravop/__init__.py | mouni97matelabs/raven-distribution-framework | d577e0f00fd5471613aea79af61e655f0831bb3d | [
"MIT"
] | null | null | null | ravop/__init__.py | mouni97matelabs/raven-distribution-framework | d577e0f00fd5471613aea79af61e655f0831bb3d | [
"MIT"
] | null | null | null | ravop/__init__.py | mouni97matelabs/raven-distribution-framework | d577e0f00fd5471613aea79af61e655f0831bb3d | [
"MIT"
] | null | null | null | class Singleton:
def __init__(self, cls):
self._cls = cls
def Instance(self):
try:
return self._instance
except AttributeError:
self._instance = self._cls()
return self._instance
def __call__(self):
raise TypeError('Singletons must be ac... | 22.122449 | 76 | 0.643911 | 131 | 1,084 | 4.900763 | 0.312977 | 0.098131 | 0.099688 | 0.11215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005051 | 0.269373 | 1,084 | 48 | 77 | 22.583333 | 0.805556 | 0 | 0 | 0.2 | 0 | 0 | 0.076568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.114286 | 0.514286 | 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 |
b13782af7479b554b74c25b442c8e91ec61d0266 | 1,085 | py | Python | src/nunit_test_fixture.py | Belp-k/Nunit-Stats | f7752ef4ed2909f3c1fc9b8cc6a84c8c73edf4c7 | [
"MIT"
] | null | null | null | src/nunit_test_fixture.py | Belp-k/Nunit-Stats | f7752ef4ed2909f3c1fc9b8cc6a84c8c73edf4c7 | [
"MIT"
] | null | null | null | src/nunit_test_fixture.py | Belp-k/Nunit-Stats | f7752ef4ed2909f3c1fc9b8cc6a84c8c73edf4c7 | [
"MIT"
] | null | null | null | class NUnitTestFixture(object):
"""Representation of a NUnitTest test fixture.
Attributes:
name: A string representation of the fixture name.
order: An integer indicating the fixture order inside the test suite.
duration: An integer indicating the fixture execution duration in milliseco... | 35 | 110 | 0.637788 | 142 | 1,085 | 4.774648 | 0.338028 | 0.066372 | 0.057522 | 0.064897 | 0.253687 | 0.168142 | 0.103245 | 0 | 0 | 0 | 0 | 0.009901 | 0.2553 | 1,085 | 30 | 111 | 36.166667 | 0.829208 | 0.297696 | 0 | 0 | 0 | 0 | 0.123119 | 0.028728 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0 | 0.176471 | 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 |
b16622e332d29f1e08a5daf07008d0d4588b0961 | 2,023 | py | Python | rpncalc/classes.py | newmanrs/rpncalc | 8663e5221efd78c12889b6db4eda20821b27d52a | [
"MIT"
] | null | null | null | rpncalc/classes.py | newmanrs/rpncalc | 8663e5221efd78c12889b6db4eda20821b27d52a | [
"MIT"
] | 11 | 2021-11-10T04:28:51.000Z | 2022-02-25T05:19:22.000Z | rpncalc/classes.py | newmanrs/rpncalc | 8663e5221efd78c12889b6db4eda20821b27d52a | [
"MIT"
] | null | null | null | import enum
from rpncalc.state import state
from rpncalc.exceptions import StackDepletedError
class StackAccessor:
def gen_n(self, n):
if n > len(state.stack):
msg = (
f"Empty stack processing {self} trying "
f"to pop {n} values. Stack: {state.stack}")
... | 24.975309 | 67 | 0.587741 | 257 | 2,023 | 4.513619 | 0.396887 | 0.060345 | 0.048276 | 0.062069 | 0.081034 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006569 | 0.322788 | 2,023 | 80 | 68 | 25.2875 | 0.840146 | 0.17301 | 0 | 0.040816 | 0 | 0 | 0.09479 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.265306 | false | 0 | 0.061224 | 0.102041 | 0.571429 | 0.020408 | 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 |
b17b14633a78abc7d4e2b6c6557db8f7daefd93e | 141 | py | Python | python/getdata from arduino.py | devlops101/Rfid | 14682cd5985049215d1ef7f90d60780ad9c44704 | [
"MIT"
] | null | null | null | python/getdata from arduino.py | devlops101/Rfid | 14682cd5985049215d1ef7f90d60780ad9c44704 | [
"MIT"
] | null | null | null | python/getdata from arduino.py | devlops101/Rfid | 14682cd5985049215d1ef7f90d60780ad9c44704 | [
"MIT"
] | null | null | null | import serial.tools.list_ports
import serial
se=serial.Serial("/dev/ttyACM1",9600)
b=''
b=str(se.readline())
b=b[2:len(b)-5]
print(b)
| 17.625 | 38 | 0.680851 | 26 | 141 | 3.653846 | 0.615385 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056 | 0.113475 | 141 | 7 | 39 | 20.142857 | 0.704 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b18be7ef6aadb45d07fcac57ad2634f279c07994 | 180 | py | Python | course2/printonoff.py | 3M-Pi-Robot/RobotHack2021 | f20adec2205b0fe5785cc1ef16f4ade80b4f456b | [
"MIT"
] | null | null | null | course2/printonoff.py | 3M-Pi-Robot/RobotHack2021 | f20adec2205b0fe5785cc1ef16f4ade80b4f456b | [
"MIT"
] | null | null | null | course2/printonoff.py | 3M-Pi-Robot/RobotHack2021 | f20adec2205b0fe5785cc1ef16f4ade80b4f456b | [
"MIT"
] | null | null | null | # function / module
def first(input):
if(input==1):
print("On")
else:
print("Off")
def second():
print("test")
#first(1)
#second()
| 10 | 20 | 0.466667 | 20 | 180 | 4.2 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.355556 | 180 | 17 | 21 | 10.588235 | 0.706897 | 0.183333 | 0 | 0 | 0 | 0 | 0.06338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0 | 0.285714 | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
b1a27f59c6bbf4b701bfff1e6232aed2c3fe0b48 | 135 | py | Python | generated.py | vontell/ErrorCode | 3155e2b522981872ae6292e36280e3b544ea6a97 | [
"MIT"
] | null | null | null | generated.py | vontell/ErrorCode | 3155e2b522981872ae6292e36280e3b544ea6a97 | [
"MIT"
] | null | null | null | generated.py | vontell/ErrorCode | 3155e2b522981872ae6292e36280e3b544ea6a97 | [
"MIT"
] | null | null | null | import unittest
import logging
logger = logging.getLogger('myapp')
logging.basicConfig(filename='testresults.log',level=logging.DEBUG)
| 27 | 67 | 0.822222 | 16 | 135 | 6.9375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059259 | 135 | 4 | 68 | 33.75 | 0.874016 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 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 |
b1ae1fb69b47bacd6d198bf5297fec4c6bd6eaa2 | 421 | py | Python | js/ehynds_multiselect/__init__.py | gocept/js.ehynds_multiselect | 29679842cd95405a76074c3bb75fe3b82f18491b | [
"BSD-3-Clause"
] | null | null | null | js/ehynds_multiselect/__init__.py | gocept/js.ehynds_multiselect | 29679842cd95405a76074c3bb75fe3b82f18491b | [
"BSD-3-Clause"
] | null | null | null | js/ehynds_multiselect/__init__.py | gocept/js.ehynds_multiselect | 29679842cd95405a76074c3bb75fe3b82f18491b | [
"BSD-3-Clause"
] | null | null | null | from js.jquery import jquery
from js.jqueryui import jqueryui
import fanstatic
library = fanstatic.Library('ehynds_multiselect', 'resources')
multiselect_css = fanstatic.Resource(
library, 'jquery.multiselect.css', minified='jquery.multiselect.min.css')
multiselect = fanstatic.Resource(
library, 'jquery.mul... | 30.071429 | 77 | 0.776722 | 48 | 421 | 6.75 | 0.3125 | 0.209877 | 0.148148 | 0.185185 | 0.253086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106888 | 421 | 13 | 78 | 32.384615 | 0.861702 | 0 | 0 | 0 | 0 | 0 | 0.287411 | 0.223278 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
491419bcb7de7ee6f5a83046d670147b9f912f97 | 431 | py | Python | scorecardpy/__init__.py | HejiaHo/scorecardpy | 2716f810d8b8b819efc5829e7604edf7452ca5b1 | [
"MIT"
] | null | null | null | scorecardpy/__init__.py | HejiaHo/scorecardpy | 2716f810d8b8b819efc5829e7604edf7452ca5b1 | [
"MIT"
] | null | null | null | scorecardpy/__init__.py | HejiaHo/scorecardpy | 2716f810d8b8b819efc5829e7604edf7452ca5b1 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from scorecardpy.germancredit import germancredit
from scorecardpy.split_df import split_df
from scorecardpy.info_value import iv
# from .info_ent_indx_gini import (ig, ie)
from scorecardpy.var_filter import var_filter
from scorecardpy.woebin import (woebin, woebin_ply, woebin_plot, woebin_adj)... | 43.1 | 76 | 0.823666 | 62 | 431 | 5.5 | 0.435484 | 0.307918 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002584 | 0.102088 | 431 | 10 | 77 | 43.1 | 0.878553 | 0.143852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
492001511f195f49a610c8b73416240adc8cff7e | 2,026 | py | Python | app/webapp.py | h-amg/Android-app-website-and-backend | 925dc4ef6aa7b0e43ddd25589afb8a173b279ebd | [
"Apache-2.0"
] | null | null | null | app/webapp.py | h-amg/Android-app-website-and-backend | 925dc4ef6aa7b0e43ddd25589afb8a173b279ebd | [
"Apache-2.0"
] | 1 | 2021-06-02T00:37:24.000Z | 2021-06-02T00:37:24.000Z | app/webapp.py | h-amg/XHominid-website-and-backend | 925dc4ef6aa7b0e43ddd25589afb8a173b279ebd | [
"Apache-2.0"
] | null | null | null | # app/webapp.py
# This script used as an alternative to __init__.py (in app module)
# to create the app module deployed to gooogle cloud appp engiune
import os
from flask import Flask, render_template
from flask_login import LoginManager
from flask_bcrypt import Bcrypt
from flask_debugtoolbar import DebugToolbarExte... | 27.378378 | 67 | 0.803554 | 293 | 2,026 | 5.31058 | 0.286689 | 0.040488 | 0.051414 | 0.1491 | 0.205656 | 0.205656 | 0.092545 | 0 | 0 | 0 | 0 | 0.026726 | 0.113524 | 2,026 | 73 | 68 | 27.753425 | 0.839644 | 0.0923 | 0 | 0 | 0 | 0 | 0.041507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.122449 | false | 0 | 0.306122 | 0.102041 | 0.55102 | 0.326531 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
4923a5247fbac6618a74c5008702c66d4e461d71 | 228 | py | Python | app/__init__.py | CabbyWang/ifttt | cb7049ec6e7e76332de0e4d4461b98279b8f7b1f | [
"MIT"
] | null | null | null | app/__init__.py | CabbyWang/ifttt | cb7049ec6e7e76332de0e4d4461b98279b8f7b1f | [
"MIT"
] | null | null | null | app/__init__.py | CabbyWang/ifttt | cb7049ec6e7e76332de0e4d4461b98279b8f7b1f | [
"MIT"
] | null | null | null | #coding:utf-8
import os
import sys
import pathlib
from .config import Config
sys.path.insert(0, str(pathlib.Path(__file__).parent.parent))
config = Config()
config.from_object('app.setting')
config.from_object('app.secure')
| 16.285714 | 61 | 0.767544 | 35 | 228 | 4.828571 | 0.542857 | 0.142012 | 0.189349 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009709 | 0.096491 | 228 | 13 | 62 | 17.538462 | 0.81068 | 0.052632 | 0 | 0 | 0 | 0 | 0.097674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
49318332d3199b87293e91f4f9cf66ccb914b648 | 1,229 | py | Python | 06/Assembler/code_generator.py | thinker1990/nand2tetris | 5df492cc63187c774cc77cd4d689d32f4363e685 | [
"MIT"
] | null | null | null | 06/Assembler/code_generator.py | thinker1990/nand2tetris | 5df492cc63187c774cc77cd4d689d32f4363e685 | [
"MIT"
] | null | null | null | 06/Assembler/code_generator.py | thinker1990/nand2tetris | 5df492cc63187c774cc77cd4d689d32f4363e685 | [
"MIT"
] | null | null | null | from code_map import DEST, JUMP, COMP
from command import A_Command, C_Command
class CodeGenerator:
def __init__(self, symbol_table):
self.symbol_table = symbol_table
def generate(self, asm):
cmds = filter(self.translatable, asm)
binary_parts = map(self.binary_code, cmds)
ret... | 27.931818 | 71 | 0.632221 | 161 | 1,229 | 4.608696 | 0.285714 | 0.053908 | 0.060647 | 0.056604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007701 | 0.260374 | 1,229 | 43 | 72 | 28.581395 | 0.808581 | 0 | 0 | 0.0625 | 1 | 0 | 0.059398 | 0.052075 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.09375 | 0.59375 | 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 | 0 | 1 | 0 | 0 | 3 |
4944d0d3975404bc53877861c17615106e09264e | 12,443 | py | Python | evolved5g/swagger_client/models/as_session_with_qo_s_subscription_create.py | EVOLVED-5G/SDK-CLI | 0f289c7b21c14c3e349164d21cc78d9b6af0a237 | [
"Apache-2.0"
] | 3 | 2021-10-19T14:37:14.000Z | 2021-11-01T10:43:33.000Z | evolved5g/swagger_client/models/as_session_with_qo_s_subscription_create.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | 14 | 2021-11-02T10:30:56.000Z | 2022-03-10T11:30:59.000Z | evolved5g/swagger_client/models/as_session_with_qo_s_subscription_create.py | skolome/evolved5g_cli | b202a878befe22b8dda66ee05610408777f4f006 | [
"Apache-2.0"
] | 1 | 2021-11-16T16:20:31.000Z | 2021-11-16T16:20:31.000Z | # coding: utf-8
"""
NEF_Emulator
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 0.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pprint
import re # noqa: F401
import six... | 34.756983 | 281 | 0.650727 | 1,416 | 12,443 | 5.519774 | 0.139124 | 0.047083 | 0.204708 | 0.168884 | 0.618091 | 0.525205 | 0.469294 | 0.389713 | 0.26868 | 0.174642 | 0 | 0.027906 | 0.268504 | 12,443 | 357 | 282 | 34.854342 | 0.830806 | 0.449007 | 0 | 0.077922 | 1 | 0 | 0.097268 | 0.025606 | 0 | 0 | 0 | 0 | 0 | 1 | 0.168831 | false | 0 | 0.019481 | 0 | 0.311688 | 0.012987 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4945da15f2296f796100c2c58079304cc8ee525d | 1,874 | py | Python | measure_mate/migrations/0011_auto_20160225_1305.py | niche-tester/measure-mate | c3acba57747bcb89fe0c6b9509ec90f04a581506 | [
"MIT"
] | 15 | 2015-12-14T02:20:31.000Z | 2022-01-30T04:36:39.000Z | measure_mate/migrations/0011_auto_20160225_1305.py | rloomans/measure-mate | e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2 | [
"MIT"
] | 1,403 | 2017-02-16T01:00:04.000Z | 2022-03-15T21:12:13.000Z | measure_mate/migrations/0011_auto_20160225_1305.py | rloomans/measure-mate | e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2 | [
"MIT"
] | 10 | 2015-12-18T01:30:46.000Z | 2022-01-30T04:36:41.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9.1 on 2016-02-25 13:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('measure_mate', '0010_measurement_target_rating'),
]
operations = [
migration... | 33.464286 | 101 | 0.590715 | 196 | 1,874 | 5.479592 | 0.27551 | 0.148976 | 0.18622 | 0.216015 | 0.70298 | 0.666667 | 0.597765 | 0.459963 | 0.422719 | 0.422719 | 0 | 0.021772 | 0.289221 | 1,874 | 55 | 102 | 34.072727 | 0.784535 | 0.035752 | 0 | 0.625 | 1 | 0 | 0.114191 | 0.01663 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.104167 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
49483911e270d8bc3ba5f4f5c8025420ec54174c | 1,296 | py | Python | pypeit/traceimage.py | baileyji/PypeIt | eea71304f4a4bcf70148ea686967ed699dc36dfb | [
"BSD-3-Clause"
] | null | null | null | pypeit/traceimage.py | baileyji/PypeIt | eea71304f4a4bcf70148ea686967ed699dc36dfb | [
"BSD-3-Clause"
] | null | null | null | pypeit/traceimage.py | baileyji/PypeIt | eea71304f4a4bcf70148ea686967ed699dc36dfb | [
"BSD-3-Clause"
] | null | null | null | """
Module for generating the Trace image
"""
import inspect
import numpy as np
from pypeit import msgs
from pypeit import processimages
from pypeit.par import pypeitpar
from pypeit import debugger
class TraceImage(processimages.ProcessImages):
"""
Generate the image for tracing the slits/orders, typically ... | 32.4 | 85 | 0.665895 | 156 | 1,296 | 5.474359 | 0.49359 | 0.046838 | 0.056206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002073 | 0.255401 | 1,296 | 39 | 86 | 33.230769 | 0.882902 | 0.524691 | 0 | 0 | 0 | 0 | 0.042125 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 1 | 0.083333 | false | 0 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
49597eaaa2edffdb42095bf2584e56dae92588b8 | 51 | py | Python | python-package/mlbox/model/__init__.py | richinvest/Test1 | ee49ae6d9fb941209ab894b42aae4e83abc16eb4 | [
"BSD-3-Clause"
] | 1 | 2017-11-23T03:36:14.000Z | 2017-11-23T03:36:14.000Z | python-package/mlbox/model/__init__.py | richinvest/Test1 | ee49ae6d9fb941209ab894b42aae4e83abc16eb4 | [
"BSD-3-Clause"
] | null | null | null | python-package/mlbox/model/__init__.py | richinvest/Test1 | ee49ae6d9fb941209ab894b42aae4e83abc16eb4 | [
"BSD-3-Clause"
] | 1 | 2020-01-27T15:33:19.000Z | 2020-01-27T15:33:19.000Z | from . import supervised
__all__ = ['supervised']
| 12.75 | 24 | 0.72549 | 5 | 51 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 51 | 3 | 25 | 17 | 0.767442 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 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 |
496138a22c2bb4d9b855f70bc01a5e58860eed71 | 60,308 | py | Python | tests/parsers/c_parser/module_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 21 | 2017-12-12T20:38:43.000Z | 2019-04-14T12:46:10.000Z | tests/parsers/c_parser/module_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 6 | 2018-01-06T13:32:23.000Z | 2018-09-14T15:09:11.000Z | tests/parsers/c_parser/module_tests.py | mehrdad-shokri/retdec-regression-tests-framework | 9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3 | [
"MIT"
] | 11 | 2017-12-12T20:38:46.000Z | 2018-07-19T03:12:03.000Z | """
Tests for the :module`regression_tests.parsers.c_parser.module` module.
"""
import io
import re
import sys
from textwrap import dedent
from unittest import mock
from regression_tests.utils.list import NamedObjectList
from tests.parsers.c_parser import WithModuleTests
class ModuleTests(WithModuleTests):
... | 33.69162 | 106 | 0.585097 | 7,199 | 60,308 | 4.526184 | 0.043478 | 0.068439 | 0.102197 | 0.118371 | 0.877854 | 0.820679 | 0.71443 | 0.65391 | 0.595446 | 0.507151 | 0 | 0.009529 | 0.298733 | 60,308 | 1,789 | 107 | 33.710453 | 0.760924 | 0.008805 | 0 | 0.578667 | 0 | 0 | 0.277966 | 0.001071 | 0 | 0 | 0 | 0 | 0.201333 | 1 | 0.148 | false | 0.010667 | 0.004667 | 0 | 0.156 | 0.005333 | 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 |
496440bf8cf0ec5e783965bd9cad741166097eef | 658 | py | Python | taobao/items.py | AuxinJeron/ScrapyTaobao | 0b64b91b9af21ec241a5bbba97247a0d1f1f8513 | [
"Apache-2.0"
] | null | null | null | taobao/items.py | AuxinJeron/ScrapyTaobao | 0b64b91b9af21ec241a5bbba97247a0d1f1f8513 | [
"Apache-2.0"
] | null | null | null | taobao/items.py | AuxinJeron/ScrapyTaobao | 0b64b91b9af21ec241a5bbba97247a0d1f1f8513 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class TaobaoItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
collection = scrapy.Field()
nid = sc... | 23.5 | 51 | 0.645897 | 83 | 658 | 5.084337 | 0.542169 | 0.364929 | 0.080569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001953 | 0.221885 | 658 | 27 | 52 | 24.37037 | 0.822266 | 0.31003 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.0625 | 0.0625 | 0 | 0.9375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4966de714054f29b1abbc42692f54d8e476a9f5e | 84 | py | Python | scripts/training/test_gpu_utilization.py | vantuan5644/ReceiptOCR | 5e167b55a73c935622ecdfb05f502855d8d44004 | [
"MIT"
] | null | null | null | scripts/training/test_gpu_utilization.py | vantuan5644/ReceiptOCR | 5e167b55a73c935622ecdfb05f502855d8d44004 | [
"MIT"
] | null | null | null | scripts/training/test_gpu_utilization.py | vantuan5644/ReceiptOCR | 5e167b55a73c935622ecdfb05f502855d8d44004 | [
"MIT"
] | null | null | null | import tensorflow as tf
gpus = tf.config.experimental.list_physical_devices('GPU') | 21 | 58 | 0.809524 | 12 | 84 | 5.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 84 | 4 | 58 | 21 | 0.868421 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 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 |
496ce7fac7584ee6ccab078c4edd4cb83f31e3e3 | 148 | py | Python | evenodd.py | nawnaw1/PythonTesting | eade05cee4af0c2c0f805db6cf17ff9981f4688f | [
"MIT"
] | null | null | null | evenodd.py | nawnaw1/PythonTesting | eade05cee4af0c2c0f805db6cf17ff9981f4688f | [
"MIT"
] | null | null | null | evenodd.py | nawnaw1/PythonTesting | eade05cee4af0c2c0f805db6cf17ff9981f4688f | [
"MIT"
] | null | null | null | a=0
while a>=0:
a=int(input('enter a number '))
print(a)
if a%2==0:
print('this is evan')
else:
print('this is odd') | 18.5 | 35 | 0.5 | 26 | 148 | 2.846154 | 0.576923 | 0.054054 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.324324 | 148 | 8 | 36 | 18.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.255034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.375 | 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 |
498cae3dc96eb14233d5360e0f8dc89e2f6850f7 | 171 | py | Python | main/urls.py | AhmadShalein/tarjama-task | 0d4f1d0a69859a47b27dc3aa38f2db1db2eda027 | [
"Unlicense"
] | null | null | null | main/urls.py | AhmadShalein/tarjama-task | 0d4f1d0a69859a47b27dc3aa38f2db1db2eda027 | [
"Unlicense"
] | null | null | null | main/urls.py | AhmadShalein/tarjama-task | 0d4f1d0a69859a47b27dc3aa38f2db1db2eda027 | [
"Unlicense"
] | null | null | null | from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name='home'),
url(r'^authentication/$', views.login, name='login')
] | 21.375 | 56 | 0.654971 | 23 | 171 | 4.869565 | 0.608696 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 171 | 8 | 57 | 21.375 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 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 |
499434d1904ec31dc786c3317532da7ffbacdff0 | 320 | py | Python | pbpstats/resources/enhanced_pbp/data_nba/violation.py | pauldevos/pbpstats | 71c0b5e2bd45d0ca031646c70cd1c1f30c6a7152 | [
"MIT"
] | null | null | null | pbpstats/resources/enhanced_pbp/data_nba/violation.py | pauldevos/pbpstats | 71c0b5e2bd45d0ca031646c70cd1c1f30c6a7152 | [
"MIT"
] | null | null | null | pbpstats/resources/enhanced_pbp/data_nba/violation.py | pauldevos/pbpstats | 71c0b5e2bd45d0ca031646c70cd1c1f30c6a7152 | [
"MIT"
] | null | null | null | from pbpstats.resources.enhanced_pbp.data_nba.enhanced_pbp_item import (
DataEnhancedPbpItem,
)
from pbpstats.resources.enhanced_pbp import Violation
class DataViolation(Violation, DataEnhancedPbpItem):
"""
Class for violation events
"""
def __init__(self, *args):
super().__init__(*args)
| 22.857143 | 72 | 0.7375 | 34 | 320 | 6.558824 | 0.588235 | 0.147982 | 0.188341 | 0.26009 | 0.286996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16875 | 320 | 13 | 73 | 24.615385 | 0.838346 | 0.08125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
499ef18825a2067f54a7d0488e9b0756c171a90e | 349 | py | Python | account/models.py | NERSC/newt-2.0 | 9b16d61b3bb6b03d731573fc11c85b1527e8a40a | [
"BSD-2-Clause"
] | 11 | 2015-04-15T02:09:51.000Z | 2022-03-06T15:54:36.000Z | account/models.py | shreddd/newt-2.0 | 8ef448ac1a6f34c2f16b0deafdcdc27ebfc255ae | [
"BSD-2-Clause"
] | 21 | 2019-06-06T17:54:09.000Z | 2021-07-14T05:57:14.000Z | account/models.py | shreddd/newt-2.0 | 8ef448ac1a6f34c2f16b0deafdcdc27ebfc255ae | [
"BSD-2-Clause"
] | 3 | 2015-08-27T00:42:43.000Z | 2019-04-04T23:10:18.000Z | from django.conf import settings
from importlib import import_module
import inspect
# Imports all the models from the class listed in settings.py
models_file = settings.NEWT_CONFIG['ADAPTERS']['ACCOUNT']['models']
if models_file:
for name, model in inspect.getmembers(import_module(models_file), inspect.isclass):
... | 38.777778 | 87 | 0.773639 | 49 | 349 | 5.387755 | 0.571429 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13467 | 349 | 9 | 88 | 38.777778 | 0.874172 | 0.169054 | 0 | 0 | 0 | 0 | 0.072664 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
b8e22b58a045770c2aa1837433bdb11530939577 | 238 | py | Python | python/items/backstage_passes.py | slavik57/GildedRose-Refactoring-Kata | a638ac97dd56cba93aae5e42493b5be3816f5e44 | [
"MIT"
] | null | null | null | python/items/backstage_passes.py | slavik57/GildedRose-Refactoring-Kata | a638ac97dd56cba93aae5e42493b5be3816f5e44 | [
"MIT"
] | null | null | null | python/items/backstage_passes.py | slavik57/GildedRose-Refactoring-Kata | a638ac97dd56cba93aae5e42493b5be3816f5e44 | [
"MIT"
] | null | null | null | from .item import Item
class BackstagePasses(Item):
def __init__(self, sell_in=16, quality=4):
super(BackstagePasses, self).__init__(
"Backstage passes to a TAFKAL80ETC concert", sell_in=sell_in, quality=quality) | 34 | 90 | 0.714286 | 31 | 238 | 5.129032 | 0.645161 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025907 | 0.189076 | 238 | 7 | 90 | 34 | 0.797927 | 0 | 0 | 0 | 0 | 0 | 0.171548 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.6 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b8f0d0f2cbf2c119d9b71d5ae1f891c7b4d8da2f | 155 | py | Python | source/blockchain_backup/core_version.py | denova-com/blockchain-backup | a445bcbd67bd6485a4969dc1e24d51fbffc43cff | [
"OLDAP-2.6",
"OLDAP-2.4"
] | null | null | null | source/blockchain_backup/core_version.py | denova-com/blockchain-backup | a445bcbd67bd6485a4969dc1e24d51fbffc43cff | [
"OLDAP-2.6",
"OLDAP-2.4"
] | null | null | null | source/blockchain_backup/core_version.py | denova-com/blockchain-backup | a445bcbd67bd6485a4969dc1e24d51fbffc43cff | [
"OLDAP-2.6",
"OLDAP-2.4"
] | null | null | null | '''
Bitcoin Core version last tested
with Blockchain Backup.
Copyright 2020 DeNova
Last modified: 2020-11-03
'''
CORE_VERSION = '0.20.1'
| 15.5 | 36 | 0.664516 | 21 | 155 | 4.857143 | 0.809524 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 0.23871 | 155 | 9 | 37 | 17.222222 | 0.728814 | 0.677419 | 0 | 0 | 0 | 0 | 0.230769 | 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 |
b8f3130bcddbf9d9eb4c7448360d192ed14d71fe | 129 | py | Python | backend/mapas/urls.py | ES2-UFPI/404-portal | ac673d341a5a215441859fcd6184ff1e22a3fab4 | [
"Apache-2.0"
] | 1 | 2019-03-21T19:53:55.000Z | 2019-03-21T19:53:55.000Z | backend/mapas/urls.py | ES2-UFPI/404-portal | ac673d341a5a215441859fcd6184ff1e22a3fab4 | [
"Apache-2.0"
] | 46 | 2019-03-28T14:34:19.000Z | 2021-09-22T19:02:11.000Z | backend/mapas/urls.py | ES2-UFPI/404-portal | ac673d341a5a215441859fcd6184ff1e22a3fab4 | [
"Apache-2.0"
] | 1 | 2022-02-17T16:51:04.000Z | 2022-02-17T16:51:04.000Z | from django.urls import path
from . import views
app_name = 'mapas'
urlpatterns = [
path('', views.listar, name='listar'),
] | 18.428571 | 42 | 0.682171 | 17 | 129 | 5.117647 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170543 | 129 | 7 | 43 | 18.428571 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0.084615 | 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 |
b8f7b75e625c818bfd397660ad83f2924aafe93b | 617 | py | Python | tests/test_laws.py | internetimagery/returns | 8f4f23bae6861fb3969a8d0c8979f96c5589fc61 | [
"BSD-2-Clause"
] | null | null | null | tests/test_laws.py | internetimagery/returns | 8f4f23bae6861fb3969a8d0c8979f96c5589fc61 | [
"BSD-2-Clause"
] | null | null | null | tests/test_laws.py | internetimagery/returns | 8f4f23bae6861fb3969a8d0c8979f96c5589fc61 | [
"BSD-2-Clause"
] | null | null | null | from __future__ import absolute_import
from returns.context import (
Reader,
ReaderFutureResult,
ReaderIOResult,
ReaderResult,
)
from returns.contrib.hypothesis.laws import check_all_laws
from returns.future import Future, FutureResult
from returns.io import IO, IOResult
from returns.maybe import Maybe
... | 22.851852 | 58 | 0.836305 | 84 | 617 | 5.821429 | 0.238095 | 0.179959 | 0.269939 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105348 | 617 | 26 | 59 | 23.730769 | 0.88587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.318182 | 0 | 0.318182 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
770e078a336b6449e045d55d26f9399a86b827de | 3,332 | py | Python | src/config.py | johnbensnyder/deep-learning-containers | 5ecc625683887edd54c28431ac3cf6b95f30e84d | [
"Apache-2.0"
] | null | null | null | src/config.py | johnbensnyder/deep-learning-containers | 5ecc625683887edd54c28431ac3cf6b95f30e84d | [
"Apache-2.0"
] | 1 | 2022-02-10T06:25:52.000Z | 2022-02-10T06:25:52.000Z | src/config.py | ZeroInfinite/deep-learning-containers | 6eea9db5e06e2c61178532378ea3b2b9ed4f7a4d | [
"Apache-2.0"
] | null | null | null | import os
import re
import logging
import sys
from enum import Enum
import toml
LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG)
LOGGER.addHandler(logging.StreamHandler(sys.stdout))
LOGGER.addHandler(logging.StreamHandler(sys.stderr))
def get_dlc_developer_config_path():
root_dir_pattern = r... | 28.478632 | 115 | 0.748199 | 440 | 3,332 | 5.302273 | 0.3 | 0.07201 | 0.080154 | 0.113159 | 0.30733 | 0.235319 | 0.189027 | 0.115731 | 0 | 0 | 0 | 0.001078 | 0.165066 | 3,332 | 116 | 116 | 28.724138 | 0.837527 | 0.073229 | 0 | 0 | 0 | 0 | 0.157068 | 0.04712 | 0 | 0 | 0 | 0 | 0 | 1 | 0.202899 | false | 0 | 0.086957 | 0.130435 | 0.57971 | 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 |
7718a627b64780d196d2f0b9d8f970b7d26f960f | 411 | py | Python | healthcareai/common/healthcareai_error.py | iEvidently/healthcareai-py | 8aaf1f7f758ae7797859dc21eae1c38686931e4f | [
"MIT"
] | 263 | 2017-05-04T17:00:33.000Z | 2022-03-31T20:57:27.000Z | healthcareai/common/healthcareai_error.py | iEvidently/healthcareai-py | 8aaf1f7f758ae7797859dc21eae1c38686931e4f | [
"MIT"
] | 290 | 2017-05-03T05:04:35.000Z | 2020-08-14T20:18:23.000Z | healthcareai/common/healthcareai_error.py | iEvidently/healthcareai-py | 8aaf1f7f758ae7797859dc21eae1c38686931e4f | [
"MIT"
] | 168 | 2017-05-18T19:44:20.000Z | 2022-03-16T19:55:51.000Z | """HealthcareAIError
This is the error to communicate things to non technical users.
"""
class HealthcareAIError(Exception):
"""This is the error that should be thrown to help communicate problems to users in a nice way."""
def __init__(self, message):
"""Instantiate the error with a given message""... | 25.6875 | 102 | 0.693431 | 54 | 411 | 5.12963 | 0.611111 | 0.086643 | 0.064982 | 0.101083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221411 | 411 | 15 | 103 | 27.4 | 0.865625 | 0.530414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
77270423eb1fd42b411dac7b48cad1f290cb9d39 | 92 | py | Python | IA/Python/2/2.2/1.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | 1 | 2022-02-23T12:47:00.000Z | 2022-02-23T12:47:00.000Z | IA/Python/2/2.2/1.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | IA/Python/2/2.2/1.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | my_list = []
nr=int(input())
for i in range(nr):
my_list.append(input())
print(my_list)
| 15.333333 | 27 | 0.652174 | 17 | 92 | 3.352941 | 0.647059 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 5 | 28 | 18.4 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7738d67f100211cc361de7471c383b8e8f0ae817 | 351 | py | Python | cli_password_manager/cli.py | iamtinsae/cli_password_manager | d5d2fddbc9772ddc0dd5faa5592725641ce89e2c | [
"MIT"
] | 1 | 2021-12-30T09:50:13.000Z | 2021-12-30T09:50:13.000Z | cli_password_manager/cli.py | iamtinsae/cli_password_manager | d5d2fddbc9772ddc0dd5faa5592725641ce89e2c | [
"MIT"
] | null | null | null | cli_password_manager/cli.py | iamtinsae/cli_password_manager | d5d2fddbc9772ddc0dd5faa5592725641ce89e2c | [
"MIT"
] | null | null | null | """Console script for cli_password_manager."""
import sys
import click
from cli_password_manager import PasswordManager
@click.command()
def main(args=None):
"""Console script for cli_password_manager."""
pass_mgr = PasswordManager()
pass_mgr.screen()
return 0
if __name__ == "__main__":
sys.ex... | 18.473684 | 50 | 0.712251 | 45 | 351 | 5.2 | 0.6 | 0.141026 | 0.230769 | 0.162393 | 0.290598 | 0.290598 | 0 | 0 | 0 | 0 | 0 | 0.003448 | 0.173789 | 351 | 18 | 51 | 19.5 | 0.803448 | 0.282051 | 0 | 0 | 0 | 0 | 0.033195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0.3 | 0.3 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
775075a591c555577cb99efe788b9a321d32c274 | 1,751 | py | Python | unit_test_decision_tree_algorithm.py | maelstromdat/YOSHI | 67e5176f24ff12e598025d4250b408da564f53d1 | [
"Apache-2.0"
] | 6 | 2017-05-07T09:39:18.000Z | 2021-10-07T01:46:08.000Z | unit_test_decision_tree_algorithm.py | maelstromdat/YOSHI | 67e5176f24ff12e598025d4250b408da564f53d1 | [
"Apache-2.0"
] | 1 | 2018-01-15T15:31:03.000Z | 2018-01-15T15:31:03.000Z | unit_test_decision_tree_algorithm.py | maelstromdat/YOSHI | 67e5176f24ff12e598025d4250b408da564f53d1 | [
"Apache-2.0"
] | 5 | 2020-02-28T04:16:16.000Z | 2021-04-30T09:35:19.000Z | __author__ = 'jackie'
import unittest
import json
import os
from YoshiViz import report_generator,decision_tree_algorithm
file_directory = os.path.join(os.path.abspath('.'), 'YoshiViz', 'input.txt')
file = open(file_directory)
#temp(string) txt to string
temp = file.read()
data = json.loads(temp)
class test_decision... | 36.479167 | 99 | 0.661907 | 213 | 1,751 | 5.206573 | 0.286385 | 0.108206 | 0.18936 | 0.19477 | 0.479711 | 0.479711 | 0.396754 | 0.302976 | 0.302976 | 0.205591 | 0 | 0.040238 | 0.233581 | 1,751 | 48 | 100 | 36.479167 | 0.78614 | 0.014849 | 0 | 0.277778 | 0 | 0 | 0.148406 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.166667 | false | 0.055556 | 0.111111 | 0 | 0.305556 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7754ea7f75a5da543323ca8653efe36bbb922f7d | 531 | py | Python | copybook/abstract_field.py | zalmane/copybook | 1afe405ee8466ca87706c6067b227a62ecd61203 | [
"MIT"
] | 12 | 2020-10-27T11:54:51.000Z | 2022-03-06T18:38:05.000Z | copybook/abstract_field.py | zalmane/copybook | 1afe405ee8466ca87706c6067b227a62ecd61203 | [
"MIT"
] | 5 | 2021-01-11T16:01:04.000Z | 2022-03-10T06:37:36.000Z | copybook/abstract_field.py | zalmane/copybook | 1afe405ee8466ca87706c6067b227a62ecd61203 | [
"MIT"
] | 1 | 2021-11-27T03:34:30.000Z | 2021-11-27T03:34:30.000Z | # class representing a field or field group
class AbstractField:
def __init__(self,level:int,name:str):
self.level = level
self.name = name
self.start_pos:int = 0
self.length:int = 0
def __repr__(self):
return f"name: {self.name}"
def _rename_with_suffix(self,suffi... | 29.5 | 117 | 0.645951 | 77 | 531 | 4.272727 | 0.584416 | 0.072948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007772 | 0.27307 | 531 | 17 | 118 | 31.235294 | 0.84456 | 0.280603 | 0 | 0 | 0 | 0 | 0.044855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
91f0b5058b363da4b20b17b7fa7993e6f6edc12d | 165 | py | Python | tree/Ratndeep/print min from bst.py | Nagendracse1/Competitive-Programming | 325e151b9259dbc31d331c8932def42e3ab09913 | [
"MIT"
] | 3 | 2020-12-20T10:23:11.000Z | 2021-06-16T10:34:18.000Z | tree/Ratndeep/print min from bst.py | Spring-dot/Competitive-Programming | 98add277a8b029710c749d1082de25c524e12408 | [
"MIT"
] | null | null | null | tree/Ratndeep/print min from bst.py | Spring-dot/Competitive-Programming | 98add277a8b029710c749d1082de25c524e12408 | [
"MIT"
] | null | null | null | def minValue(root):
##Your code here
if root is None:
return -1
temp=root
while temp.left!=None:
temp=temp.left
return temp.data
| 18.333333 | 26 | 0.587879 | 24 | 165 | 4.041667 | 0.625 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.321212 | 165 | 8 | 27 | 20.625 | 0.857143 | 0.084848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6200696271d82e624322386527ef9b348f06649e | 202 | py | Python | app/handlers/home_page.py | VadymHutei/ukubuka-front | eaea5d6de8ca2ea931b1d5155675b1bd1b35790b | [
"MIT"
] | null | null | null | app/handlers/home_page.py | VadymHutei/ukubuka-front | eaea5d6de8ca2ea931b1d5155675b1bd1b35790b | [
"MIT"
] | 1 | 2021-06-02T00:40:39.000Z | 2021-06-02T00:40:39.000Z | app/handlers/home_page.py | VadymHutei/ukubuka-front | eaea5d6de8ca2ea931b1d5155675b1bd1b35790b | [
"MIT"
] | null | null | null | from views import HomePageView
class HomePageHandler():
def __init__(self):
self._view = HomePageView()
def getHomePage(self):
page = self._view.render()
return page
| 16.833333 | 35 | 0.643564 | 21 | 202 | 5.904762 | 0.666667 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.267327 | 202 | 11 | 36 | 18.363636 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.