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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b93eccf10c2c93114fbc511f62458e1fa6a18684 | 8,863 | py | Python | test/test_main.py | OSM-es/CatAtom2Osm | 89394161b07c5dd7cd2843bce8f911b93796b33a | [
"BSD-2-Clause"
] | 8 | 2018-01-30T18:26:29.000Z | 2022-02-03T19:16:54.000Z | test/test_main.py | OSM-es/CatAtom2Osm | 89394161b07c5dd7cd2843bce8f911b93796b33a | [
"BSD-2-Clause"
] | 99 | 2018-01-22T08:37:53.000Z | 2022-03-28T13:50:06.000Z | test/test_main.py | OSM-es/CatAtom2Osm | 89394161b07c5dd7cd2843bce8f911b93796b33a | [
"BSD-2-Clause"
] | 9 | 2018-01-21T15:51:41.000Z | 2022-01-04T18:35:19.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from future import standard_library
standard_library.install_aliases()
from builtins import str
from argparse import Namespace
import logging
import mock
import os
import unittest
logging.disable(logging.WARNING)
from catatom2osm import __main__
from cata... | 40.286364 | 93 | 0.628117 | 1,031 | 8,863 | 5.159069 | 0.13967 | 0.072758 | 0.161685 | 0.099455 | 0.744125 | 0.72664 | 0.719872 | 0.70878 | 0.661591 | 0.621921 | 0 | 0.034965 | 0.20941 | 8,863 | 219 | 94 | 40.47032 | 0.724133 | 0.002369 | 0 | 0.51269 | 0 | 0 | 0.24129 | 0.152715 | 0 | 0 | 0 | 0 | 0.126904 | 1 | 0.086294 | false | 0 | 0.086294 | 0 | 0.177665 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9499b2fefdd9eb49200a6f7e11e210c7bed199c | 367 | py | Python | zhixuewang/urls.py | lihaoze123/zhixuewang-python | 7a54bb1ae96f74d3bb3a0845f3b084bb5942f758 | [
"MIT"
] | 22 | 2019-01-21T03:49:44.000Z | 2020-02-13T08:43:01.000Z | zhixuewang/urls.py | lihaoze123/zhixuewang-python | 7a54bb1ae96f74d3bb3a0845f3b084bb5942f758 | [
"MIT"
] | 10 | 2019-01-21T03:50:23.000Z | 2020-01-03T13:06:49.000Z | zhixuewang/urls.py | lihaoze123/zhixuewang-python | 7a54bb1ae96f74d3bb3a0845f3b084bb5942f758 | [
"MIT"
] | 3 | 2019-02-17T06:12:35.000Z | 2019-10-29T13:24:06.000Z | BASE_URL = "https://www.zhixue.com"
class Url:
SERVICE_URL = f"{BASE_URL}:443/ssoservice.jsp"
SSO_URL = f"https://sso.zhixue.com/sso_alpha/login?service={SERVICE_URL}"
TEST_PASSWORD_URL = f"{BASE_URL}/weakPwdLogin/?from=web_login"
TEST_URL = f"{BASE_URL}/container/container/teacher/teacherAccountNew"
... | 40.777778 | 77 | 0.735695 | 55 | 367 | 4.636364 | 0.472727 | 0.137255 | 0.12549 | 0.129412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009202 | 0.111717 | 367 | 9 | 78 | 40.777778 | 0.773006 | 0 | 0 | 0 | 0 | 0 | 0.619565 | 0.396739 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
b9731e0ff95cf82c1e022d441b3c64c6ae34f64b | 164 | py | Python | tasks.py | annerachael/fifth_year_project | 3843b4e6315e9a5374f80a2aabc0bcb8423fd0d9 | [
"Apache-2.0"
] | null | null | null | tasks.py | annerachael/fifth_year_project | 3843b4e6315e9a5374f80a2aabc0bcb8423fd0d9 | [
"Apache-2.0"
] | null | null | null | tasks.py | annerachael/fifth_year_project | 3843b4e6315e9a5374f80a2aabc0bcb8423fd0d9 | [
"Apache-2.0"
] | null | null | null | import time
def example(seconds):
print('Starting task')
for i in range(seconds):
print(i)
time.sleep(1)
print('Task completed') | 20.5 | 29 | 0.585366 | 21 | 164 | 4.571429 | 0.714286 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.29878 | 164 | 8 | 30 | 20.5 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.170886 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0.428571 | 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 | 1 | 0 | 4 |
b993ddb61cd9263eac081519ac7de511edf9c159 | 387 | py | Python | flair/nn/distance/__init__.py | thomashallam/flair | bb345bfa917b499d976f1b966776ce0a3349097a | [
"MIT"
] | 7,539 | 2018-06-14T19:55:47.000Z | 2019-12-18T14:48:24.000Z | flair/nn/distance/__init__.py | thomashallam/flair | bb345bfa917b499d976f1b966776ce0a3349097a | [
"MIT"
] | 1,237 | 2018-07-01T10:09:05.000Z | 2019-12-18T09:50:56.000Z | flair/nn/distance/__init__.py | thomashallam/flair | bb345bfa917b499d976f1b966776ce0a3349097a | [
"MIT"
] | 958 | 2018-06-21T07:37:30.000Z | 2019-12-17T14:15:00.000Z | from .cosine import CosineDistance, LogitCosineDistance, NegativeScaledDotProduct
from .euclidean import EuclideanDistance, EuclideanMean
from .hyperbolic import HyperbolicDistance, HyperbolicMean
__all__ = [
"EuclideanDistance",
"EuclideanMean",
"HyperbolicDistance",
"HyperbolicMean",
"CosineDista... | 27.642857 | 81 | 0.775194 | 24 | 387 | 12.333333 | 0.541667 | 0.222973 | 0.385135 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144703 | 387 | 13 | 82 | 29.769231 | 0.89426 | 0 | 0 | 0 | 0 | 0 | 0.307494 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | 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 | 4 |
b9aa7b107f74806da1a05fe2ee24dd12c9a33075 | 1,308 | py | Python | marching_cube/data/ellipsoid.py | YiyiLiao/deep_marching_cubes | afcad99742435eb0d57d32770befed74faaad2ab | [
"Unlicense"
] | 206 | 2018-06-17T19:52:12.000Z | 2022-03-16T02:29:57.000Z | marching_cube/data/ellipsoid.py | ClarenceHoo/deep_marching_cubes | 6fce0b26d110a6c839b6d46ea2ab67b5bdb470b2 | [
"Unlicense"
] | 5 | 2019-04-18T06:27:11.000Z | 2020-11-02T20:06:22.000Z | marching_cube/data/ellipsoid.py | ClarenceHoo/deep_marching_cubes | 6fce0b26d110a6c839b6d46ea2ab67b5bdb470b2 | [
"Unlicense"
] | 32 | 2018-06-18T09:33:34.000Z | 2022-03-01T12:22:43.000Z | # Generate a series of ellipoids
import numpy as np
import os
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from numpy.random import uniform
from shape import Shape
class Ellipsoid(Shape):
def unit_sample(self):
""" randomly sample a point lying on a unit ellipsoid """
... | 27.829787 | 66 | 0.611621 | 220 | 1,308 | 3.563636 | 0.377273 | 0.122449 | 0.229592 | 0.183673 | 0.239796 | 0.174745 | 0.080357 | 0 | 0 | 0 | 0 | 0.05336 | 0.2263 | 1,308 | 46 | 67 | 28.434783 | 0.721344 | 0.022936 | 0 | 0 | 1 | 0 | 0.029557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.051282 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9bf76a5b9f2025e1a8e85dd53caf113bd3dcafa | 6,084 | py | Python | tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py | duaneking/oauthlib | 1dd58397d6a86fc930062cfecc6e2ea94e546aa7 | [
"BSD-3-Clause"
] | 1 | 2018-12-20T20:17:02.000Z | 2018-12-20T20:17:02.000Z | tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py | duaneking/oauthlib | 1dd58397d6a86fc930062cfecc6e2ea94e546aa7 | [
"BSD-3-Clause"
] | 1 | 2019-01-21T12:00:49.000Z | 2019-01-21T12:00:49.000Z | tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py | duaneking/oauthlib | 1dd58397d6a86fc930062cfecc6e2ea94e546aa7 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from json import loads
from mock import MagicMock
from oauthlib.common import urlencode
from oauthlib.oauth2 import RequestValidator, IntrospectEndpoint
from ....unittest import TestCase
class IntrospectEndpointTest(TestCase):
d... | 42.84507 | 86 | 0.619494 | 678 | 6,084 | 5.353982 | 0.138643 | 0.123967 | 0.008264 | 0.088154 | 0.807163 | 0.772176 | 0.729477 | 0.678237 | 0.678237 | 0.636639 | 0 | 0.007062 | 0.25526 | 6,084 | 141 | 87 | 43.148936 | 0.794085 | 0.008383 | 0 | 0.619835 | 0 | 0 | 0.123051 | 0.016418 | 0 | 0 | 0 | 0 | 0.247934 | 1 | 0.082645 | false | 0 | 0.049587 | 0 | 0.140496 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b9e8d140174c634a3c5154ae35b90bffcffbbb9e | 326 | py | Python | IFconditions.py | srgummad/Python-Programming | b031c8a9ac553517a0efd7d2d3d40a87e28d28fd | [
"CC0-1.0"
] | null | null | null | IFconditions.py | srgummad/Python-Programming | b031c8a9ac553517a0efd7d2d3d40a87e28d28fd | [
"CC0-1.0"
] | null | null | null | IFconditions.py | srgummad/Python-Programming | b031c8a9ac553517a0efd7d2d3d40a87e28d28fd | [
"CC0-1.0"
] | null | null | null | x=raw_input('enter the value for x : \n')
if x==10:
print 'yes x is equal to 10'
if x>5:
print 'yes x is bigger than 5'
if x>=8:
print 'yes x is bigger than 8'
if x<20:
print 'yes x is smaller than 20'
if x<=15:
print 'yes x is smaller than 15'
if x!=8:
print 'no x is the same as 8'
print 'that ... | 23.285714 | 41 | 0.613497 | 74 | 326 | 2.689189 | 0.364865 | 0.090452 | 0.226131 | 0.276382 | 0.432161 | 0.432161 | 0 | 0 | 0 | 0 | 0 | 0.075949 | 0.273006 | 326 | 14 | 42 | 23.285714 | 0.763713 | 0 | 0 | 0 | 0 | 0 | 0.51682 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 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 | 1 | 0 | 4 |
6a18a9d749573e76f96a0c27516fa84b4e616f25 | 306 | py | Python | scrumboard/serializers.py | aga8541/djangular | 854f6b57d2916b1ed82aefb47e97bc7ac20dd23d | [
"Apache-2.0"
] | null | null | null | scrumboard/serializers.py | aga8541/djangular | 854f6b57d2916b1ed82aefb47e97bc7ac20dd23d | [
"Apache-2.0"
] | null | null | null | scrumboard/serializers.py | aga8541/djangular | 854f6b57d2916b1ed82aefb47e97bc7ac20dd23d | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
from .models import Card, List
class ListSerializer(serializers.ModelSerializer):
class Meta:
model = List
fields = '__all__'
class CardSerializer(serializers.ModelSerializer):
class Meta:
model = Card
fields = '__all__'
| 18 | 50 | 0.689542 | 30 | 306 | 6.733333 | 0.533333 | 0.257426 | 0.306931 | 0.346535 | 0.39604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245098 | 306 | 16 | 51 | 19.125 | 0.874459 | 0 | 0 | 0.4 | 0 | 0 | 0.045752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6a23408bf0a567e301199f180d1acf14c95813cb | 97 | py | Python | edotBackend/apps.py | RUAN-ZX/artalkBackendDjango | fdcfae2c5123a800d0cb2f2e52f0812070986d64 | [
"MIT"
] | 1 | 2020-05-02T06:37:04.000Z | 2020-05-02T06:37:04.000Z | edotBackend/apps.py | RUAN-ZX/artalkBackendDjango | fdcfae2c5123a800d0cb2f2e52f0812070986d64 | [
"MIT"
] | null | null | null | edotBackend/apps.py | RUAN-ZX/artalkBackendDjango | fdcfae2c5123a800d0cb2f2e52f0812070986d64 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class EdotbackendConfig(AppConfig):
name = 'edotBackend'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6a2a8bef8fc7cab6a195b760043eed948e67eb50 | 445 | py | Python | fme_server_lib/FMERepositoryUtility/FMWFilterIncludeName.py | bcgov/fme | 0564363c59ccd06fe79459ec08ff3b7c5bf7e061 | [
"Apache-2.0"
] | null | null | null | fme_server_lib/FMERepositoryUtility/FMWFilterIncludeName.py | bcgov/fme | 0564363c59ccd06fe79459ec08ff3b7c5bf7e061 | [
"Apache-2.0"
] | 2 | 2021-07-26T20:33:16.000Z | 2021-07-26T20:33:19.000Z | fme_server_lib/FMERepositoryUtility/FMWFilterIncludeName.py | bcgov/fme | 0564363c59ccd06fe79459ec08ff3b7c5bf7e061 | [
"Apache-2.0"
] | null | null | null | import re
from .FMWFilterNameBase import FMWFilterNameBase
class FMWFilterIncludeName(FMWFilterNameBase):
def __init__(self, job_config_name, fmw_name):
self.fmw_name = fmw_name.lower()
super().__init__(job_config_name, "include")
def pass_regex_filter(self, filter_item):
return re.... | 26.176471 | 52 | 0.739326 | 58 | 445 | 5.241379 | 0.413793 | 0.115132 | 0.108553 | 0.131579 | 0.171053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 445 | 16 | 53 | 27.8125 | 0.832877 | 0 | 0 | 0 | 0 | 0 | 0.01573 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.2 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
6a2f1893f917c1f255bf8a1db4df8e05ae608b9a | 6,330 | py | Python | kkbox_line_bot/nlp/response.py | x1001000/tfgai-goodgood | 28c3b091a267253d4e7edc154e3c079a32fba42a | [
"MIT"
] | null | null | null | kkbox_line_bot/nlp/response.py | x1001000/tfgai-goodgood | 28c3b091a267253d4e7edc154e3c079a32fba42a | [
"MIT"
] | null | null | null | kkbox_line_bot/nlp/response.py | x1001000/tfgai-goodgood | 28c3b091a267253d4e7edc154e3c079a32fba42a | [
"MIT"
] | null | null | null | import reprlib
from linebot.models import (
CarouselColumn,
URITemplateAction,
CarouselTemplate,
TemplateSendMessage,
TextSendMessage)
class ErrorResponse(object):
def __init__(self, response_text, status_code=None):
self.response_text = response_text
self... | 35.561798 | 107 | 0.624171 | 697 | 6,330 | 5.315638 | 0.133429 | 0.158704 | 0.14251 | 0.061538 | 0.717139 | 0.707422 | 0.646424 | 0.646424 | 0.626991 | 0.597031 | 0 | 0.003043 | 0.273302 | 6,330 | 178 | 108 | 35.561798 | 0.800435 | 0.021485 | 0 | 0.572581 | 0 | 0 | 0.10386 | 0.003715 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266129 | false | 0 | 0.016129 | 0.177419 | 0.548387 | 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 | 1 | 1 | 0 | 0 | 4 |
6a4065148a0215abb75c3d1d42d3fa553813652f | 135 | py | Python | basic/loops/for1.py | robertob45/learning-python | 7407f7d9e513792150eb2b65ebc644b5f8632c56 | [
"MIT"
] | null | null | null | basic/loops/for1.py | robertob45/learning-python | 7407f7d9e513792150eb2b65ebc644b5f8632c56 | [
"MIT"
] | null | null | null | basic/loops/for1.py | robertob45/learning-python | 7407f7d9e513792150eb2b65ebc644b5f8632c56 | [
"MIT"
] | null | null | null | input_1 = int(input('Ingrese numero 1 = '))
input_2 = int(input('Ingrese numero 2 = '))
for x in range(input_1, input_2):
print(x)
| 27 | 43 | 0.659259 | 24 | 135 | 3.541667 | 0.458333 | 0.141176 | 0.352941 | 0.494118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.177778 | 135 | 4 | 44 | 33.75 | 0.711712 | 0 | 0 | 0 | 0 | 0 | 0.281481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dbeabd0e7dc43416f01616d26ff3bd866551290e | 364 | py | Python | config/model_path.py | hisashi-y/phrase-bert-topic-model | 3d793baa9d3cab4927988acdb51c858e0c2b8c91 | [
"MIT"
] | 36 | 2021-10-29T21:45:22.000Z | 2022-03-23T03:26:23.000Z | config/model_path.py | hisashi-y/phrase-bert-topic-model | 3d793baa9d3cab4927988acdb51c858e0c2b8c91 | [
"MIT"
] | 6 | 2021-10-30T03:03:58.000Z | 2022-03-09T07:16:01.000Z | config/model_path.py | hisashi-y/phrase-bert-topic-model | 3d793baa9d3cab4927988acdb51c858e0c2b8c91 | [
"MIT"
] | 4 | 2021-11-15T08:02:40.000Z | 2022-02-28T09:34:22.000Z | MODEL_PATH = {
"glove": "phrase-emb-storage/saved_models/glove/",
"bert": "bert-base-uncased",
"spanbert": "phrase-emb-storage/saved_models/span-bert-model/",
"sentbert": "bert-base-nli-stsb-mean-tokens",
"phrase-bert": "phrase-emb-storage/saved_models/phrase-bert-model/"
}
GLOVE_FILE_PATH = 'phra... | 36.4 | 71 | 0.706044 | 51 | 364 | 4.901961 | 0.45098 | 0.144 | 0.256 | 0.252 | 0.324 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.104396 | 364 | 10 | 72 | 36.4 | 0.748466 | 0 | 0 | 0 | 0 | 0 | 0.728767 | 0.583562 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e04636b6f05e31c9b15a27c1764c5463ddb085a4 | 4,384 | py | Python | notebook/scipy_stats_trim_mean_tmean.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 174 | 2018-05-30T21:14:50.000Z | 2022-03-25T07:59:37.000Z | notebook/scipy_stats_trim_mean_tmean.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 5 | 2019-08-10T03:22:02.000Z | 2021-07-12T20:31:17.000Z | notebook/scipy_stats_trim_mean_tmean.py | vhn0912/python-snippets | 80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038 | [
"MIT"
] | 53 | 2018-04-27T05:26:35.000Z | 2022-03-25T07:59:37.000Z | import scipy.stats
import numpy as np
import pandas as pd
import scipy
print(scipy.__version__)
# 1.7.1
a = np.array([2**n for n in range(10)])
print(a)
# [ 1 2 4 8 16 32 64 128 256 512]
print(type(a))
# <class 'numpy.ndarray'>
print(a.mean())
# 102.3
print(np.mean(a))
# 102.3
print(scipy.stats.trim_me... | 21.490196 | 70 | 0.580292 | 791 | 4,384 | 3.160556 | 0.149178 | 0.148 | 0.186 | 0.108 | 0.7284 | 0.6536 | 0.532 | 0.4392 | 0.39 | 0.3472 | 0 | 0.264962 | 0.24156 | 4,384 | 203 | 71 | 21.596059 | 0.486917 | 0.42906 | 0 | 0.09375 | 0 | 0 | 0.018212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0.765625 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e05143430b682184094c7c39c8584f026e9b9ec7 | 435 | py | Python | jsparse/yy/__init__.py | PyDee/Spiders | 6fc0a414060032b5ba4332302285e3fcc9a6113e | [
"Apache-2.0"
] | 6 | 2020-06-02T16:22:58.000Z | 2021-09-18T03:20:16.000Z | jsparse/yy/__init__.py | PyDee/Spiders | 6fc0a414060032b5ba4332302285e3fcc9a6113e | [
"Apache-2.0"
] | 4 | 2021-03-31T19:54:37.000Z | 2022-03-12T00:33:41.000Z | jsparse/yy/__init__.py | PyDee/Spiders | 6fc0a414060032b5ba4332302285e3fcc9a6113e | [
"Apache-2.0"
] | 5 | 2020-06-02T16:23:00.000Z | 2021-09-03T02:16:15.000Z | """
http://www.yy.com/more/page.action?biz=chicken&subBiz=cjzc&page=2&moduleId=1776&pageSize=60
主播列表
['data']-['data']-item-['desc'] 简介
['data']-['data']-item-['id'] 用户id
['data']-['data']-item-['sid'] 直播间id
['data']-['data']-item-['ssid'] 直播间id
['data']-['data']-item-['name'] 昵称
['data']-['data'... | 27.1875 | 91 | 0.544828 | 58 | 435 | 4.086207 | 0.517241 | 0.270042 | 0.405063 | 0.14346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018373 | 0.124138 | 435 | 16 | 92 | 27.1875 | 0.603675 | 0.972414 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e05928f192a0f7f76ee22b1333219fb1193ee118 | 89 | py | Python | joey/cli/templates/project/asgi.py | pinecrew/joey | 0a4715051629aa58b2333365149d2f3a4c6f4dee | [
"MIT"
] | 1 | 2020-08-23T22:33:06.000Z | 2020-08-23T22:33:06.000Z | joey/cli/templates/project/asgi.py | pinecrew/joey | 0a4715051629aa58b2333365149d2f3a4c6f4dee | [
"MIT"
] | 8 | 2020-08-13T13:20:19.000Z | 2020-10-19T10:26:17.000Z | joey/cli/templates/project/asgi.py | pinecrew/joey | 0a4715051629aa58b2333365149d2f3a4c6f4dee | [
"MIT"
] | null | null | null | from settings import settings
from joey import Application
app = Application(settings)
| 14.833333 | 29 | 0.820225 | 11 | 89 | 6.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146067 | 89 | 5 | 30 | 17.8 | 0.960526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e0636630ba90bbe41a90d8768e72c766d8ff68c0 | 106 | py | Python | examples/wait.py | rstms/netchat | d9c726528722001d6d295d093df0c337e8ce4e53 | [
"MIT"
] | null | null | null | examples/wait.py | rstms/netchat | d9c726528722001d6d295d093df0c337e8ce4e53 | [
"MIT"
] | null | null | null | examples/wait.py | rstms/netchat | d9c726528722001d6d295d093df0c337e8ce4e53 | [
"MIT"
] | null | null | null | import netchat
# connect and wait for the string 'AAA'
netchat.Session(('localhost', 2000), 'AAA').run()
| 21.2 | 49 | 0.707547 | 15 | 106 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.132075 | 106 | 4 | 50 | 26.5 | 0.771739 | 0.349057 | 0 | 0 | 0 | 0 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0663947a5243402a00763820a605dcb78c883bb | 115 | py | Python | app/admin/__init__.py | DigitME2/oee_server | 450df961ad6eaae3b20e043629089988b5f9e438 | [
"Apache-2.0"
] | 2 | 2020-07-14T12:45:04.000Z | 2022-03-21T05:44:09.000Z | app/admin/__init__.py | DigitME2/oee_server | 450df961ad6eaae3b20e043629089988b5f9e438 | [
"Apache-2.0"
] | 5 | 2022-01-25T00:37:38.000Z | 2022-03-17T17:18:06.000Z | app/admin/__init__.py | DigitME2/oee_server | 450df961ad6eaae3b20e043629089988b5f9e438 | [
"Apache-2.0"
] | 2 | 2020-07-14T12:45:16.000Z | 2020-12-27T00:44:10.000Z | from flask import Blueprint
bp = Blueprint('admin', __name__)
# noinspection PyPep8
from app.admin import routes
| 16.428571 | 33 | 0.782609 | 15 | 115 | 5.733333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.147826 | 115 | 6 | 34 | 19.166667 | 0.867347 | 0.165217 | 0 | 0 | 0 | 0 | 0.053191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 4 |
e069addc0b77db5bccb8f0b63aded7a699a0a946 | 169 | py | Python | src/data/__init__.py | shaysakazi/PrivilegeMisuseDetection | 57a17a05a0bf83890ab99aed874cf2691f7290b6 | [
"FTL"
] | null | null | null | src/data/__init__.py | shaysakazi/PrivilegeMisuseDetection | 57a17a05a0bf83890ab99aed874cf2691f7290b6 | [
"FTL"
] | null | null | null | src/data/__init__.py | shaysakazi/PrivilegeMisuseDetection | 57a17a05a0bf83890ab99aed874cf2691f7290b6 | [
"FTL"
] | null | null | null | import src.data.make_dataset as make_dataset
def data_pipeline():
"""
Start data pipeline
"""
make_dataset.intermediate_data()
print('hello')
| 15.363636 | 44 | 0.656805 | 20 | 169 | 5.3 | 0.6 | 0.311321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236686 | 169 | 10 | 45 | 16.9 | 0.821705 | 0.112426 | 0 | 0 | 0 | 0 | 0.03876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e071b7d38444a2cd86d4d1c5649e2597989bd649 | 96 | py | Python | cogs rework/idstuff/owner.py | lubnc4261/House-Keeper | 6de20014afaf00cf9050e54c91cd8b3a02702a27 | [
"MIT"
] | null | null | null | cogs rework/idstuff/owner.py | lubnc4261/House-Keeper | 6de20014afaf00cf9050e54c91cd8b3a02702a27 | [
"MIT"
] | null | null | null | cogs rework/idstuff/owner.py | lubnc4261/House-Keeper | 6de20014afaf00cf9050e54c91cd8b3a02702a27 | [
"MIT"
] | null | null | null | ##### Used Commands #####
# shutdown
# rename
652530420524777493 # Militär Staubsauger#0668 | 19.2 | 45 | 0.6875 | 8 | 96 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275 | 0.166667 | 96 | 5 | 45 | 19.2 | 0.55 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 4 |
e073ab66b8f5c8ac24bd57c0b9f634c8257eb7fa | 625 | py | Python | src/verifai/monitor.py | BehaviorPredictionTestingPlatform/VerifAI | db05f3573c2e7d98c03029c1b4efca93e6b08edb | [
"BSD-3-Clause"
] | 109 | 2019-04-29T03:30:42.000Z | 2022-03-31T03:06:26.000Z | src/verifai/monitor.py | BehaviorPredictionTestingPlatform/VerifAI | db05f3573c2e7d98c03029c1b4efca93e6b08edb | [
"BSD-3-Clause"
] | 25 | 2019-03-25T00:27:39.000Z | 2022-03-27T20:29:23.000Z | src/verifai/monitor.py | BehaviorPredictionTestingPlatform/VerifAI | db05f3573c2e7d98c03029c1b4efca93e6b08edb | [
"BSD-3-Clause"
] | 35 | 2019-02-12T20:50:32.000Z | 2022-01-05T11:25:06.000Z | from abc import ABC
import mtl
class specification_monitor(ABC):
def __init__(self, specification):
self.specification = specification
def evaluate(self, traj):
return self.specification(traj)
class mtl_specification(specification_monitor):
def __init__(self, specification):
mtl_... | 27.173913 | 63 | 0.6576 | 76 | 625 | 5.105263 | 0.302632 | 0.219072 | 0.056701 | 0.123711 | 0.237113 | 0.237113 | 0.237113 | 0.237113 | 0 | 0 | 0 | 0.006424 | 0.2528 | 625 | 22 | 64 | 28.409091 | 0.824411 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.117647 | 0.588235 | 0 | 0 | 0 | 0 | null | 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 | 1 | 0 | 0 | 4 |
0eb3b3f7ecd88e4180281eac897e220acc15b06c | 109 | py | Python | tests/transformations/test_ozone_transf_quantization.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | tests/transformations/test_ozone_transf_quantization.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | 1 | 2019-11-30T23:39:38.000Z | 2019-12-01T04:34:35.000Z | tests/transformations/test_ozone_transf_quantization.py | jmabry/pyaf | afbc15a851a2445a7824bf255af612dc429265af | [
"BSD-3-Clause"
] | null | null | null | import pyaf.tests.transformations.test_ozone_transf_generic as gen
gen.test_transformation('Quantization');
| 27.25 | 66 | 0.862385 | 14 | 109 | 6.428571 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 109 | 3 | 67 | 36.333333 | 0.873786 | 0 | 0 | 0 | 0 | 0 | 0.110092 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0ebbd6cc6f32edd8a5abca4fa7e1a996a6bc270d | 11,705 | py | Python | papermill/tests/test_execute.py | wsavran/papermill | a28ffe536bb23029169a02c0fd06fe7adf3e1801 | [
"BSD-3-Clause"
] | null | null | null | papermill/tests/test_execute.py | wsavran/papermill | a28ffe536bb23029169a02c0fd06fe7adf3e1801 | [
"BSD-3-Clause"
] | null | null | null | papermill/tests/test_execute.py | wsavran/papermill | a28ffe536bb23029169a02c0fd06fe7adf3e1801 | [
"BSD-3-Clause"
] | null | null | null | import io
import os
import pytest
import shutil
import sys
import tempfile
import unittest
from functools import partial
import six
if six.PY3:
from unittest.mock import patch
else:
from mock import patch
import nbformat
from nbconvert import HTMLExporter
from ..api import read_notebook
from .. import execu... | 41.953405 | 128 | 0.601623 | 1,402 | 11,705 | 4.810984 | 0.131241 | 0.044477 | 0.036027 | 0.044477 | 0.766938 | 0.757598 | 0.715641 | 0.702743 | 0.673981 | 0.60934 | 0 | 0.025354 | 0.191286 | 11,705 | 278 | 129 | 42.104317 | 0.687196 | 0.013413 | 0 | 0.409692 | 0 | 0 | 0.199446 | 0.030324 | 0 | 0 | 0.002426 | 0 | 0.180617 | 1 | 0.110132 | false | 0 | 0.079295 | 0 | 0.211454 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ec42db10119c1bcc64416096038805c6d61fbb0 | 517,193 | py | Python | yt_dlp/extractor/lazy_extractors.py | bestPeople105/BRUHbot | b49ac353170dab0a3d02c6a242184aa8b7999ee7 | [
"MIT"
] | null | null | null | yt_dlp/extractor/lazy_extractors.py | bestPeople105/BRUHbot | b49ac353170dab0a3d02c6a242184aa8b7999ee7 | [
"MIT"
] | 6 | 2022-02-06T10:48:29.000Z | 2022-02-06T13:41:37.000Z | yt_dlp/extractor/lazy_extractors.py | bestPeople105/BRUHbot | b49ac353170dab0a3d02c6a242184aa8b7999ee7 | [
"MIT"
] | null | null | null | # coding: utf-8
import re
from ..utils import bug_reports_message, write_string
class LazyLoadMetaClass(type):
def __getattr__(cls, name):
if '_real_class' not in cls.__dict__:
write_string(
f'WARNING: Falling back to normal extractor since lazy extractor '
f'{... | 58.466312 | 54,751 | 0.519673 | 51,732 | 517,193 | 5.058069 | 0.120119 | 0.052495 | 0.07218 | 0.131237 | 0.616619 | 0.486414 | 0.456165 | 0.4369 | 0.403697 | 0.37346 | 0 | 0.008694 | 0.259394 | 517,193 | 8,845 | 54,752 | 58.472923 | 0.674438 | 0.000845 | 0 | 0.251979 | 0 | 0.035997 | 0.680974 | 0.436945 | 0 | 0 | 0.000015 | 0 | 0 | 1 | 0.016208 | false | 0.004335 | 0.001131 | 0.013946 | 0.970034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0ee49c4eb33132fe73a52aa8b4e04e678ae22d4d | 426 | py | Python | plotly/graph_objs/scatterpolar/__init__.py | gnestor/plotly.py | a8ae062795ddbf9867b8578fe6d9e244948c15ff | [
"MIT"
] | 12 | 2020-04-18T18:10:22.000Z | 2021-12-06T10:11:15.000Z | plotly/graph_objs/scatterpolar/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 27 | 2020-04-28T21:23:12.000Z | 2021-06-25T15:36:38.000Z | plotly/graph_objs/scatterpolar/__init__.py | Vesauza/plotly.py | e53e626d59495d440341751f60aeff73ff365c28 | [
"MIT"
] | 6 | 2020-04-18T23:07:08.000Z | 2021-11-18T07:53:06.000Z | from ._unselected import Unselected
from plotly.graph_objs.scatterpolar import unselected
from ._textfont import Textfont
from ._stream import Stream
from ._selected import Selected
from plotly.graph_objs.scatterpolar import selected
from ._marker import Marker
from plotly.graph_objs.scatterpolar import marker
from ._l... | 35.5 | 53 | 0.861502 | 56 | 426 | 6.357143 | 0.232143 | 0.11236 | 0.168539 | 0.213483 | 0.41573 | 0.41573 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103286 | 426 | 11 | 54 | 38.727273 | 0.931937 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
160f149faf8dca2b404ff13b4aef2af4c1ecd817 | 653 | py | Python | build/iai_kinect2/kinect2_registration/catkin_generated/pkg.installspace.context.pc.py | i10/3DTrackingViaKinect | 04121488e87a40306e5f466f744bf5683e64bf63 | [
"BSD-3-Clause"
] | 1 | 2021-04-13T05:49:57.000Z | 2021-04-13T05:49:57.000Z | build/iai_kinect2/kinect2_registration/catkin_generated/pkg.installspace.context.pc.py | i10/3DTrackingViaKinect | 04121488e87a40306e5f466f744bf5683e64bf63 | [
"BSD-3-Clause"
] | null | null | null | build/iai_kinect2/kinect2_registration/catkin_generated/pkg.installspace.context.pc.py | i10/3DTrackingViaKinect | 04121488e87a40306e5f466f744bf5683e64bf63 | [
"BSD-3-Clause"
] | null | null | null | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/shams3049/catkin_ws/install/include;/usr/local/cuda-9.0/include".split(';') if "/home/shams3049/catkin_ws/install/include;/usr/local/cuda-9.0/include" != "" else []
PROJECT_CATKIN_DEPENDS = "".re... | 72.555556 | 205 | 0.761103 | 95 | 653 | 4.978947 | 0.494737 | 0.082452 | 0.120507 | 0.133192 | 0.511628 | 0.452431 | 0.452431 | 0.452431 | 0.452431 | 0.452431 | 0 | 0.04886 | 0.059724 | 653 | 8 | 206 | 81.625 | 0.721498 | 0.082695 | 0 | 0 | 1 | 0.285714 | 0.549414 | 0.500838 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
161e2888ffe1fcbae6fe8b9e549fe8c8f47f2aa0 | 24 | py | Python | Data/Packages/backrefs/st3/backrefs/__init__.py | koery/win-sublime | 1b16cbe9858eced52567971286109250df787d36 | [
"MIT"
] | 2 | 2018-04-24T10:02:26.000Z | 2019-06-02T13:53:31.000Z | Data/Packages/backrefs/st3/backrefs/__init__.py | koery/win-sublime | 1b16cbe9858eced52567971286109250df787d36 | [
"MIT"
] | null | null | null | Data/Packages/backrefs/st3/backrefs/__init__.py | koery/win-sublime | 1b16cbe9858eced52567971286109250df787d36 | [
"MIT"
] | 2 | 2019-04-11T04:13:02.000Z | 2019-06-02T13:53:33.000Z | """Backrefs package."""
| 12 | 23 | 0.625 | 2 | 24 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.681818 | 0.708333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1625b4514c04b9d7fc51429b34eca6747cff024d | 178 | py | Python | packages/foo/solar.py | rockman/learn-python-online | 9c979fbea7bb2ed502eba2440306ab5a0f4637af | [
"MIT"
] | null | null | null | packages/foo/solar.py | rockman/learn-python-online | 9c979fbea7bb2ed502eba2440306ab5a0f4637af | [
"MIT"
] | null | null | null | packages/foo/solar.py | rockman/learn-python-online | 9c979fbea7bb2ed502eba2440306ab5a0f4637af | [
"MIT"
] | null | null | null |
from .alpha import sun
from .beta.moon import the_moon
SOLAR_PUBLIC = 'SOLAR_PUBLIC'
_SOLAR_PRIVATE = '_SOLAR_PRIVATE'
def the_solar():
return sun.the_sun(), the_moon()
| 16.181818 | 36 | 0.741573 | 27 | 178 | 4.518519 | 0.444444 | 0.114754 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157303 | 178 | 10 | 37 | 17.8 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
163c7120a594e198fb6ea18de16bfecdd63bd318 | 20 | py | Python | submission/python/burungBeo.py | ainarrasyid/toki-pemrogramanDasar | 3109efef300fdf3501f87ea7d8cf04bc0d9a9318 | [
"MIT"
] | null | null | null | submission/python/burungBeo.py | ainarrasyid/toki-pemrogramanDasar | 3109efef300fdf3501f87ea7d8cf04bc0d9a9318 | [
"MIT"
] | null | null | null | submission/python/burungBeo.py | ainarrasyid/toki-pemrogramanDasar | 3109efef300fdf3501f87ea7d8cf04bc0d9a9318 | [
"MIT"
] | null | null | null | A = input()
print(A) | 10 | 11 | 0.6 | 4 | 20 | 3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 2 | 12 | 10 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
165aee01207ff901766319a65002a2dafa8ab911 | 1,027 | py | Python | tests/test_get_nearest_line.py | dnikolayev/botstat-seo | 8193bb804cac789087130a6c9e9d0ad988bad0ac | [
"MIT"
] | 4 | 2018-07-05T16:05:00.000Z | 2021-06-19T09:24:11.000Z | tests/test_get_nearest_line.py | dnikolayev/botstat-seo | 8193bb804cac789087130a6c9e9d0ad988bad0ac | [
"MIT"
] | null | null | null | tests/test_get_nearest_line.py | dnikolayev/botstat-seo | 8193bb804cac789087130a6c9e9d0ad988bad0ac | [
"MIT"
] | 1 | 2021-12-30T08:02:40.000Z | 2021-12-30T08:02:40.000Z | from io import StringIO
from botstat.botstat import get_nearest_line
def test_first():
stream = StringIO(u"123\n"
u"456\n"
u"789\n")
assert get_nearest_line(stream, 0) == u"123\n"
def test_first_in_the_middle():
stream = StringIO(u"123\n"
... | 25.04878 | 50 | 0.532619 | 150 | 1,027 | 3.446667 | 0.22 | 0.038685 | 0.067698 | 0.174081 | 0.783366 | 0.783366 | 0.73501 | 0.676983 | 0.676983 | 0.676983 | 0 | 0.1 | 0.347614 | 1,027 | 41 | 51 | 25.04878 | 0.671642 | 0 | 0 | 0.612903 | 0 | 0 | 0.092412 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 1 | 0.16129 | false | 0 | 0.064516 | 0 | 0.225806 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 4 |
16611cfc150ad2c28b3f1bc0ee3baf9e94fc8471 | 188 | py | Python | src/src2/routes1/application.py | chang-ngeno/ibook-cs050 | ce545ae6d00bf5adfa2a1b7d263876136c1f570c | [
"MIT"
] | null | null | null | src/src2/routes1/application.py | chang-ngeno/ibook-cs050 | ce545ae6d00bf5adfa2a1b7d263876136c1f570c | [
"MIT"
] | 4 | 2020-06-06T01:26:20.000Z | 2021-06-10T22:35:19.000Z | CS50_web_dev/src/src2/routes1/application.py | ChuaCheowHuan/web_app_DPTH | dd901e6359fe76f15b69701c53f76666c3219173 | [
"MIT"
] | 1 | 2020-05-09T15:21:34.000Z | 2020-05-09T15:21:34.000Z | from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "Hello, world!"
@app.route("/<string:name>")
def hello(name):
return "Hello, {}!".format(name)
| 15.666667 | 36 | 0.632979 | 25 | 188 | 4.6 | 0.52 | 0.13913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 188 | 11 | 37 | 17.090909 | 0.727848 | 0 | 0 | 0 | 0 | 0 | 0.202128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 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 | 1 | 1 | 0 | 0 | 4 |
167f6c087cdcc3a614e7b6a686c583424df29b46 | 179 | py | Python | app/__init__.py | washiz99/python-flask-hello | 9d602d53c85c38fd1f5fb191630df096f9cef88d | [
"MIT"
] | null | null | null | app/__init__.py | washiz99/python-flask-hello | 9d602d53c85c38fd1f5fb191630df096f9cef88d | [
"MIT"
] | null | null | null | app/__init__.py | washiz99/python-flask-hello | 9d602d53c85c38fd1f5fb191630df096f9cef88d | [
"MIT"
] | null | null | null | from flask import Flask
def create_app():
app = Flask(__name__)
from .hello import hello as hello_blueprint
app.register_blueprint(hello_blueprint)
return app
| 16.272727 | 47 | 0.731844 | 24 | 179 | 5.125 | 0.5 | 0.227642 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212291 | 179 | 10 | 48 | 17.9 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1697c015b3f52bd8fe80579f58a728273a8aff1a | 347 | py | Python | acq4/analysis/scripts/atlasAnalysis.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 47 | 2015-01-05T16:18:10.000Z | 2022-03-16T13:09:30.000Z | acq4/analysis/scripts/atlasAnalysis.py | aleonlein/acq4 | 4b1fcb9ad2c5e8d4595a2b9cf99d50ece0c0f555 | [
"MIT"
] | 48 | 2015-04-19T16:51:41.000Z | 2022-03-31T14:48:16.000Z | acq4/analysis/scripts/atlasAnalysis.py | sensapex/acq4 | 9561ba73caff42c609bd02270527858433862ad8 | [
"MIT"
] | 32 | 2015-01-15T14:11:49.000Z | 2021-07-15T13:44:52.000Z | from __future__ import print_function
##
## Atlas Analyzer
##
## Basic function: yield information about circuit connectivity by combining maps together into
## a 3D atlas space.
##
## - Measure ellipsoids representing input area
## - Ask whether any variable associated with a cell is correlated with its position ... | 31.545455 | 102 | 0.746398 | 44 | 347 | 5.772727 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003521 | 0.181556 | 347 | 11 | 103 | 31.545455 | 0.890845 | 0.795389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 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 | 1 | 0 | 4 |
16a0239036ea48c65f4679caee304092ae0c7d54 | 185 | py | Python | sparnn/optimizers/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sparnn/optimizers/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | sparnn/optimizers/__init__.py | QUVA-Lab/VideoLSTM | fcacf9be37cff634652ff4e08c694de91627900f | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | __author__ = 'zhenyang'
from optimizer import Optimizer
from sgd import SGD
from adadelta import AdaDelta
from rmsprop import RMSProp
from adam import Adam
from adamopt import AdamOpt
| 20.555556 | 31 | 0.832432 | 26 | 185 | 5.769231 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 185 | 8 | 32 | 23.125 | 0.955414 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.857143 | 0 | 0.857143 | 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 | 1 | 0 | 0 | 4 |
16aa19b73b245c95549d06a825e8c8833dbc8d2a | 130 | py | Python | networking_nsxv3/tests/datasets/__init__.py | sapcc/networking-nsx-t | b701ad2056443b8855d86bb47c31832f06b3d1e1 | [
"Apache-2.0"
] | 10 | 2019-08-14T13:29:35.000Z | 2022-03-11T08:04:50.000Z | networking_nsxv3/tests/datasets/__init__.py | sapcc/networking-nsx-t | b701ad2056443b8855d86bb47c31832f06b3d1e1 | [
"Apache-2.0"
] | 29 | 2019-02-20T13:29:01.000Z | 2022-03-31T14:01:54.000Z | networking_nsxv3/tests/datasets/__init__.py | sapcc/networking-nsx-t | b701ad2056443b8855d86bb47c31832f06b3d1e1 | [
"Apache-2.0"
] | 4 | 2019-04-02T11:51:17.000Z | 2021-05-05T23:47:09.000Z | # This module contains various OpenStack inventories against which will be
# performed validation with unit and functional tests
| 43.333333 | 75 | 0.830769 | 17 | 130 | 6.352941 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 130 | 2 | 76 | 65 | 0.981818 | 0.961538 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
16ae4e3e6bf44d82858b338c81843fd3bc1767cf | 57 | py | Python | AtCoder/ABC/B/page-11/048B.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | AtCoder/ABC/B/page-11/048B.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | AtCoder/ABC/B/page-11/048B.py | Nishi05/Competitive-programming | e59a6755b706d9d5c1f359f4511d92c114e6a94e | [
"MIT"
] | null | null | null | a, b, c = map(int, input().split())
print(b//c-(a-1)//c)
| 19 | 35 | 0.508772 | 13 | 57 | 2.230769 | 0.692308 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.122807 | 57 | 2 | 36 | 28.5 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
16dc99ba56fab977935dc76e9b239f1ac1811a18 | 136 | py | Python | config/development.py | anthon-alindada/sanic_messaging | 2afbc601790b4a3dbe17e0a95c589412250d8bee | [
"MIT"
] | 1 | 2019-06-21T08:51:01.000Z | 2019-06-21T08:51:01.000Z | config/development.py | anthon-alindada/sanic_messaging | 2afbc601790b4a3dbe17e0a95c589412250d8bee | [
"MIT"
] | 6 | 2021-03-09T07:47:26.000Z | 2022-02-26T11:33:25.000Z | config/development.py | anthon-alindada/sanic_messaging | 2afbc601790b4a3dbe17e0a95c589412250d8bee | [
"MIT"
] | null | null | null | # -*- coding: utf-8
from .base import BaseConfig
class DevelopmentConfig(BaseConfig):
# Cookie settings
SECURE_COOKIE = False
| 17 | 36 | 0.720588 | 15 | 136 | 6.466667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.191176 | 136 | 7 | 37 | 19.428571 | 0.872727 | 0.242647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bc4cae90871191d5e642817fc5ba62f4f47ab652 | 87 | py | Python | flex/django/ussd/exc.py | centergy/flex_ussd | ddc0ccd192e3a0a82e8b7705f088862d59656c28 | [
"MIT"
] | null | null | null | flex/django/ussd/exc.py | centergy/flex_ussd | ddc0ccd192e3a0a82e8b7705f088862d59656c28 | [
"MIT"
] | null | null | null | flex/django/ussd/exc.py | centergy/flex_ussd | ddc0ccd192e3a0a82e8b7705f088862d59656c28 | [
"MIT"
] | null | null | null |
class ScreenIdError(ValueError):
pass
class UssdNamespaceError(RuntimeError):
pass | 12.428571 | 39 | 0.816092 | 8 | 87 | 8.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 87 | 7 | 40 | 12.428571 | 0.922078 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bcb6efc4b40e621d7ee06446fdb3d33554ba2f6c | 1,255 | py | Python | adsk/__init__.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | 1 | 2022-03-16T01:01:57.000Z | 2022-03-16T01:01:57.000Z | adsk/__init__.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | null | null | null | adsk/__init__.py | DannoPeters/adsk | 3b328ebbc8ea0292ccfa33327f93c978e10cf88d | [
"MIT"
] | null | null | null |
def terminate():
"""Terminate this script. If defined, the module's 'stop' function will be called. If this module is debugging, the debugger is stopped. The script's module and any modules imported relative to this module are removed from sys.modules and released."""
pass
def autoTerminate(value):
... | 96.538462 | 594 | 0.76255 | 194 | 1,255 | 4.93299 | 0.515464 | 0.037618 | 0.020899 | 0.033438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188048 | 1,255 | 12 | 595 | 104.583333 | 0.939156 | 0.887649 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bcc6904f2ee2e200dca776ed3aea6443f1c3b572 | 208 | py | Python | web/impact/impact/graphql/types/industry_type.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 5 | 2017-10-19T15:11:52.000Z | 2020-03-08T07:16:21.000Z | web/impact/impact/graphql/types/industry_type.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 182 | 2017-06-21T19:32:13.000Z | 2021-03-22T13:38:16.000Z | web/impact/impact/graphql/types/industry_type.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 1 | 2018-06-23T11:53:18.000Z | 2018-06-23T11:53:18.000Z | from graphene_django import DjangoObjectType
from accelerator.models.industry import Industry
class IndustryType(DjangoObjectType):
class Meta:
model = Industry
only_fields = ('name',)
| 20.8 | 48 | 0.740385 | 21 | 208 | 7.238095 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197115 | 208 | 9 | 49 | 23.111111 | 0.91018 | 0 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bccf19cb33310be73d09bf8be110dd1714f5226f | 2,387 | py | Python | templatealchemy_driver/stream.py | cadithealth/templatealchemy | a098aff22a6bcdd693e5ebea51155b96356d3178 | [
"MIT"
] | 1 | 2019-10-06T23:49:58.000Z | 2019-10-06T23:49:58.000Z | templatealchemy_driver/stream.py | cadithealth/templatealchemy | a098aff22a6bcdd693e5ebea51155b96356d3178 | [
"MIT"
] | null | null | null | templatealchemy_driver/stream.py | cadithealth/templatealchemy | a098aff22a6bcdd693e5ebea51155b96356d3178 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# lib: templatealchemy_driver.stream
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2013/07/05
# copy: (C) Copyright 2013 Cadit Health Inc., All Rights Reserved.
#---------------------------------... | 37.888889 | 79 | 0.454545 | 215 | 2,387 | 4.976744 | 0.567442 | 0.056075 | 0.033645 | 0.026168 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006244 | 0.127775 | 2,387 | 62 | 80 | 38.5 | 0.507685 | 0.688312 | 0 | 0 | 0 | 0 | 0.005587 | 0 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0.285714 | false | 0 | 0.095238 | 0.190476 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bce323a6b4ea98bde017b4a5bb0d4748f4307bcb | 226 | py | Python | cowait/network/__init__.py | backtick-se/cowa | 760ddb3ded1b3995bc68f4b74cf28af0c094481f | [
"Apache-2.0"
] | 51 | 2020-06-04T06:08:14.000Z | 2022-03-28T06:59:53.000Z | cowait/network/__init__.py | backtick-se/cowa | 760ddb3ded1b3995bc68f4b74cf28af0c094481f | [
"Apache-2.0"
] | 121 | 2020-06-01T12:09:32.000Z | 2022-03-31T20:47:57.000Z | cowait/network/__init__.py | backtick-se/cowa | 760ddb3ded1b3995bc68f4b74cf28af0c094481f | [
"Apache-2.0"
] | 6 | 2020-06-11T16:05:20.000Z | 2022-03-23T06:30:17.000Z | # flake8: noqa: F401
from .const import *
from .errors import SocketError, AuthError
from .utils import get_local_url, get_remote_url, get_local_ip
from .client import Client
from .server import Server
from .conn import Conn
| 25.111111 | 62 | 0.800885 | 35 | 226 | 5 | 0.514286 | 0.091429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.141593 | 226 | 8 | 63 | 28.25 | 0.881443 | 0.079646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bceaf92c813767fc947a7eb68d929d24eee00050 | 18 | py | Python | motorway/__init__.py | burakozdemir32/motorway | 79b1fdf8a351478ab52572905d16d97b3d617343 | [
"Apache-2.0"
] | 1 | 2016-09-16T14:51:59.000Z | 2016-09-16T14:51:59.000Z | motorway/__init__.py | burakozdemir32/motorway | 79b1fdf8a351478ab52572905d16d97b3d617343 | [
"Apache-2.0"
] | null | null | null | motorway/__init__.py | burakozdemir32/motorway | 79b1fdf8a351478ab52572905d16d97b3d617343 | [
"Apache-2.0"
] | 1 | 2020-12-12T17:35:55.000Z | 2020-12-12T17:35:55.000Z | version = "2.0.5"
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcf3a9ddcb29630d55f396ce10581b2fde1d4edf | 810 | py | Python | build/lib/SciDataTool/__init__.py | enjoyneer87/SciDataTool | 37ddc4071f1edb1270ee03e43595c3f943fb9bd8 | [
"Apache-2.0"
] | null | null | null | build/lib/SciDataTool/__init__.py | enjoyneer87/SciDataTool | 37ddc4071f1edb1270ee03e43595c3f943fb9bd8 | [
"Apache-2.0"
] | null | null | null | build/lib/SciDataTool/__init__.py | enjoyneer87/SciDataTool | 37ddc4071f1edb1270ee03e43595c3f943fb9bd8 | [
"Apache-2.0"
] | null | null | null | from SciDataTool.Classes.Data import Data
from SciDataTool.Classes.Data1D import Data1D
from SciDataTool.Classes.DataFreq import DataFreq
from SciDataTool.Classes.DataTime import DataTime
from SciDataTool.Classes.DataLinspace import DataLinspace
from SciDataTool.Classes.DataND import DataND
from SciDataTool.Classes.Dat... | 45 | 59 | 0.877778 | 104 | 810 | 6.701923 | 0.230769 | 0.322812 | 0.473458 | 0.186514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008043 | 0.079012 | 810 | 17 | 60 | 47.647059 | 0.926273 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9375 | 0 | 0.9375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bcfc2af685b5c31570bdd45254f3438e5e0741b6 | 277 | py | Python | mumbletemps/app_settings.py | wengole/allianceauth-mumble-temp | 5d79dfb966335e0471b2844fd553d6b922ab3dff | [
"MIT"
] | null | null | null | mumbletemps/app_settings.py | wengole/allianceauth-mumble-temp | 5d79dfb966335e0471b2844fd553d6b922ab3dff | [
"MIT"
] | null | null | null | mumbletemps/app_settings.py | wengole/allianceauth-mumble-temp | 5d79dfb966335e0471b2844fd553d6b922ab3dff | [
"MIT"
] | null | null | null | from django.conf import settings
MUMBLE_TEMPS_FORCE_SSO = getattr(settings, "MUMBLE_TEMPS_FORCE_SSO", False)
MUMBLE_TEMPS_SSO_PREFIX = getattr(settings, "MUMBLE_TEMPS_SSO_PREFIX", "[TEMP]")
MUMBLE_TEMPS_LOGIN_PREFIX = getattr(settings, "MUMBLE_TEMPS_LOGIN_PREFIX", "[*TEMP]")
| 46.166667 | 85 | 0.815884 | 38 | 277 | 5.473684 | 0.368421 | 0.317308 | 0.365385 | 0.375 | 0.567308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072202 | 277 | 5 | 86 | 55.4 | 0.809339 | 0 | 0 | 0 | 0 | 0 | 0.299639 | 0.252708 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bcfe66dfa18396efa11de84e659518b418e28ad1 | 337 | py | Python | clipper_admin/clipper_admin/__init__.py | dbczumar/clipper | 80c97d27a38d60caaebb2a1ae6a995dd7ff1c82d | [
"Apache-2.0"
] | null | null | null | clipper_admin/clipper_admin/__init__.py | dbczumar/clipper | 80c97d27a38d60caaebb2a1ae6a995dd7ff1c82d | [
"Apache-2.0"
] | 7 | 2018-06-20T22:06:09.000Z | 2019-01-07T04:01:22.000Z | clipper_admin/clipper_admin/__init__.py | dbczumar/clipper | 80c97d27a38d60caaebb2a1ae6a995dd7ff1c82d | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .docker.docker_container_manager import DockerContainerManager
from .kubernetes.kubernetes_container_manager import KubernetesContainerManager
from .clipper_admin import *
from . import deployers
from .version import __version__
from .exceptions import ClipperException, Unco... | 37.444444 | 79 | 0.881306 | 35 | 337 | 8.085714 | 0.485714 | 0.070671 | 0.155477 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089021 | 337 | 8 | 80 | 42.125 | 0.921824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4c09721ddbba1e8038bb6dd4f98d838ac9c0aece | 785 | py | Python | setup.py | shahbazn/tgc | 4f5dce6aa09f822c0dd5ad9f73eb579490147867 | [
"MIT"
] | null | null | null | setup.py | shahbazn/tgc | 4f5dce6aa09f822c0dd5ad9f73eb579490147867 | [
"MIT"
] | null | null | null | setup.py | shahbazn/tgc | 4f5dce6aa09f822c0dd5ad9f73eb579490147867 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='tgc',
description='The Great Calculation',
author='Shahbaz Nazir',
author_email='shahbaznazir1992@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended... | 27.068966 | 55 | 0.591083 | 78 | 785 | 5.935897 | 0.628205 | 0.24622 | 0.323974 | 0.224622 | 0.116631 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.273885 | 785 | 28 | 56 | 28.035714 | 0.785965 | 0.052229 | 0 | 0 | 0 | 0 | 0.590297 | 0.03504 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.047619 | 0 | 0.047619 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4c2b1a40bc46536128d3013da449d4ffe028f748 | 23,716 | py | Python | dfttk/input_sets.py | ShuangLin212/dfttk | 3be059051424b3eee53e749e9b6064ee8293eff9 | [
"MIT"
] | 14 | 2019-02-27T19:11:35.000Z | 2021-08-14T13:42:26.000Z | dfttk/input_sets.py | ShuangLin212/dfttk | 3be059051424b3eee53e749e9b6064ee8293eff9 | [
"MIT"
] | 24 | 2018-08-28T23:42:14.000Z | 2021-09-24T14:27:38.000Z | dfttk/input_sets.py | yiwang62/dfttk | 7f57cf0b72fb56859da04b0b08671c7f37aa52ef | [
"MIT"
] | 16 | 2019-03-06T21:27:09.000Z | 2021-11-06T09:52:42.000Z | import six
import os
import subprocess
import copy
from pymatgen.io.vasp.inputs import Kpoints, Incar
from pymatgen.io.vasp.sets import DictSet, get_vasprun_outcar, get_structure_from_prev_run, _load_yaml_config
'''
# We set potentials back to the VASP recommended, since we primarily don't work on oxides.
POTCAR_UPD... | 36.94081 | 109 | 0.574212 | 2,812 | 23,716 | 4.698435 | 0.124822 | 0.061308 | 0.064638 | 0.026642 | 0.769149 | 0.732592 | 0.715713 | 0.690736 | 0.668635 | 0.668635 | 0 | 0.022514 | 0.293937 | 23,716 | 641 | 110 | 36.99844 | 0.766497 | 0.168536 | 0 | 0.720085 | 0 | 0 | 0.185277 | 0.010705 | 0 | 0 | 0 | 0.00156 | 0 | 1 | 0.023504 | false | 0.010684 | 0.019231 | 0 | 0.07906 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 4 |
4c4505254af897a0d31319dcc10e91a3a4fa3ced | 498 | py | Python | proset/utility/__init__.py | NRuf77/proset | 101d491e05c2423faddca31029232982f46d8831 | [
"MIT"
] | null | null | null | proset/utility/__init__.py | NRuf77/proset | 101d491e05c2423faddca31029232982f46d8831 | [
"MIT"
] | null | null | null | proset/utility/__init__.py | NRuf77/proset | 101d491e05c2423faddca31029232982f46d8831 | [
"MIT"
] | null | null | null | """Turn utility into a module.
Copyright by Nikolaus Ruf
Released under the MIT license - see LICENSE file for details
"""
from proset.utility.fit import select_hyperparameters
from proset.utility.other import print_hyperparameter_report, print_feature_report, choose_reference_point, \
print_point_report
... | 38.307692 | 110 | 0.825301 | 67 | 498 | 5.940299 | 0.597015 | 0.125628 | 0.213568 | 0.110553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126506 | 498 | 12 | 111 | 41.5 | 0.914943 | 0.232932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0.333333 | 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 | 1 | 0 | 0 | 4 |
4c47edb901ef1cee10399d9cdda4d762de11c672 | 154 | py | Python | prod_announcer/produto/admin.py | lanchinho/Prod-Announcer---Web | 9084ff7904e4a0241bc5eae8c12d7e7977b26cff | [
"MIT"
] | 1 | 2015-11-01T14:10:56.000Z | 2015-11-01T14:10:56.000Z | prod_announcer/produto/admin.py | lanchinho/Prod-Announcer---Web | 9084ff7904e4a0241bc5eae8c12d7e7977b26cff | [
"MIT"
] | null | null | null | prod_announcer/produto/admin.py | lanchinho/Prod-Announcer---Web | 9084ff7904e4a0241bc5eae8c12d7e7977b26cff | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
from django.contrib import admin
from prod_announcer.produto.models import Produto
admin.site.register(Produto, admin.ModelAdmin)
| 25.666667 | 49 | 0.785714 | 21 | 154 | 5.714286 | 0.714286 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0.097403 | 154 | 5 | 50 | 30.8 | 0.856115 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4c5d92029e333f8cd82c345cec77ec9c3d46cb17 | 3,452 | py | Python | test/lfs/test_file_functions.py | yamt/littlefs-python | 5f16aa14c92e025dd668934eb192c28d36fc7f26 | [
"BSD-3-Clause"
] | null | null | null | test/lfs/test_file_functions.py | yamt/littlefs-python | 5f16aa14c92e025dd668934eb192c28d36fc7f26 | [
"BSD-3-Clause"
] | null | null | null | test/lfs/test_file_functions.py | yamt/littlefs-python | 5f16aa14c92e025dd668934eb192c28d36fc7f26 | [
"BSD-3-Clause"
] | null | null | null | import pytest
from littlefs import lfs
from littlefs.errors import LittleFSError
def test_file_open(mounted_fs):
fh = lfs.file_open(mounted_fs, 'test.txt', 'w')
def test_file_open_wb(mounted_fs):
fh = lfs.file_open(mounted_fs, 'test.txt', 'wb')
def test_file_open_a(mounted_fs):
fh = lfs.file_open(moun... | 28.065041 | 66 | 0.69409 | 554 | 3,452 | 4.054152 | 0.122744 | 0.240427 | 0.166518 | 0.166518 | 0.777382 | 0.715049 | 0.676313 | 0.655833 | 0.591273 | 0.560997 | 0 | 0.034941 | 0.170915 | 3,452 | 122 | 67 | 28.295082 | 0.749825 | 0.023754 | 0 | 0.466667 | 0 | 0 | 0.084398 | 0 | 0 | 0 | 0 | 0 | 0.146667 | 1 | 0.226667 | false | 0 | 0.04 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 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 | 4 |
4c66dd857277a9a9947dbb723807dd732d777f45 | 321 | py | Python | Python/8 - kyu/8 kyu - Returning Strings.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/8 - kyu/8 kyu - Returning Strings.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | Python/8 - kyu/8 kyu - Returning Strings.py | danielbom/codewars | d45b5a813c6f1d952a50d22f0b2fcea4ef3d0e27 | [
"MIT"
] | null | null | null | # https://www.codewars.com/kata/returning-strings/train/python
# My solution
def greet(name):
return "Hello, %s how are you doing today?" % name
# ...
def greet(name):
return f'Hello, {name} how are you doing today?'
# ...
def greet(name):
return "Hello, {} how are you doing today?".format(name)
... | 26.75 | 63 | 0.641745 | 47 | 321 | 4.382979 | 0.510638 | 0.116505 | 0.174757 | 0.262136 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202492 | 321 | 11 | 64 | 29.181818 | 0.804688 | 0.249221 | 0 | 0.5 | 0 | 0 | 0.473214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d5b55ac44bc4c402e39ae9d16405e9729c2cee0d | 185 | py | Python | src/cstag/__init__.py | akikuno/cstag | 9e48c8a825a30f36f0b72da27b310f0b5ca2cf74 | [
"MIT"
] | null | null | null | src/cstag/__init__.py | akikuno/cstag | 9e48c8a825a30f36f0b72da27b310f0b5ca2cf74 | [
"MIT"
] | 7 | 2022-03-15T23:42:50.000Z | 2022-03-19T10:04:39.000Z | src/cstag/__init__.py | akikuno/cstag | 9e48c8a825a30f36f0b72da27b310f0b5ca2cf74 | [
"MIT"
] | null | null | null | """
.. include:: ../../README.md
"""
from .shorten import shorten
from .lengthen import lengthen
from .consensus import consensus
from .to_html import to_html
from .mask import mask
| 15.416667 | 32 | 0.72973 | 25 | 185 | 5.32 | 0.44 | 0.090226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151351 | 185 | 11 | 33 | 16.818182 | 0.847134 | 0.151351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
d5bc659574a6efeeb150f4004b629bd2963e91bf | 99 | py | Python | src/poetry/puzzle/__init__.py | zEdS15B3GCwq/poetry | 2afe9840533aacfe561d3fdf65c6fb2e790d89b1 | [
"MIT"
] | 7,258 | 2018-02-28T16:23:08.000Z | 2019-12-11T18:27:58.000Z | src/poetry/puzzle/__init__.py | zEdS15B3GCwq/poetry | 2afe9840533aacfe561d3fdf65c6fb2e790d89b1 | [
"MIT"
] | 1,608 | 2018-02-28T15:31:35.000Z | 2019-12-11T20:00:05.000Z | src/poetry/puzzle/__init__.py | zEdS15B3GCwq/poetry | 2afe9840533aacfe561d3fdf65c6fb2e790d89b1 | [
"MIT"
] | 597 | 2018-03-07T15:07:46.000Z | 2019-12-11T16:36:22.000Z | from __future__ import annotations
from poetry.puzzle.solver import Solver
__all__ = ["Solver"]
| 14.142857 | 39 | 0.787879 | 12 | 99 | 5.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 99 | 6 | 40 | 16.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d5c11bd16e566e15c2339a0d315e61425bef0ac9 | 65 | py | Python | danceschool/vouchers/__init__.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 1 | 2019-02-04T02:11:32.000Z | 2019-02-04T02:11:32.000Z | danceschool/vouchers/__init__.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 2 | 2019-03-26T22:37:49.000Z | 2019-12-02T15:39:35.000Z | danceschool/vouchers/__init__.py | benjwrdill/django-danceschool | 9ecb2754502e62d0f49aa23d08ca6de6cae3c99a | [
"BSD-3-Clause"
] | 1 | 2019-03-19T22:49:01.000Z | 2019-03-19T22:49:01.000Z | default_app_config = 'danceschool.vouchers.apps.VoucherAppConfig' | 65 | 65 | 0.876923 | 7 | 65 | 7.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 65 | 1 | 65 | 65 | 0.873016 | 0 | 0 | 0 | 0 | 0 | 0.636364 | 0.636364 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5c20ac9188e1d682ac59449311aa01049fed6eb | 4,168 | py | Python | backend/ctgov/documents.py | ClinicalTrialsTeam/CTFrontier | d7e2558f314f6bbd9964667e12ee5655bc64215b | [
"Apache-2.0"
] | 4 | 2021-03-07T02:16:22.000Z | 2022-03-13T03:22:42.000Z | backend/ctgov/documents.py | ClinicalTrialsTeam/CTFrontier | d7e2558f314f6bbd9964667e12ee5655bc64215b | [
"Apache-2.0"
] | 8 | 2021-03-14T22:14:07.000Z | 2021-04-26T17:20:56.000Z | backend/ctgov/documents.py | ClinicalTrialsTeam/CTFrontier | d7e2558f314f6bbd9964667e12ee5655bc64215b | [
"Apache-2.0"
] | 1 | 2021-03-07T02:16:39.000Z | 2021-03-07T02:16:39.000Z | from django_elasticsearch_dsl import Document, fields, Index
from elasticsearch_dsl import analyzer, tokenizer
from .models import SearchStudies
studies = Index("search_studies")
studies.settings(number_of_shards=1, number_of_replicas=0)
text_analyzer = analyzer(
"text_analyzer",
tokenizer="standard",
filt... | 32.818898 | 74 | 0.672505 | 417 | 4,168 | 6.503597 | 0.218225 | 0.243363 | 0.356195 | 0.178097 | 0.679572 | 0.657448 | 0.657448 | 0.657448 | 0.621681 | 0.621681 | 0 | 0.001499 | 0.199856 | 4,168 | 126 | 75 | 33.079365 | 0.811694 | 0 | 0 | 0.413793 | 0 | 0 | 0.081094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025862 | 0 | 0.318966 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5e533ab009b5201b53ec92d7c256509d417463e | 179 | py | Python | python/various.py | samuelexferri/scripts | acfa5bee0f590f03acf2a7df7a60e958802d3472 | [
"MIT"
] | null | null | null | python/various.py | samuelexferri/scripts | acfa5bee0f590f03acf2a7df7a60e958802d3472 | [
"MIT"
] | null | null | null | python/various.py | samuelexferri/scripts | acfa5bee0f590f03acf2a7df7a60e958802d3472 | [
"MIT"
] | null | null | null | None #null
a[::-1]
all()
eval()
dict(zip(('a','b','c','d','e'),(1,2,3,4,5)))
sorted(list(set1^set2)), sorted(list(set1&set2)) # ^ A.symmetric_difference(B), & A.intersection(B) | 19.888889 | 99 | 0.592179 | 33 | 179 | 3.181818 | 0.69697 | 0.190476 | 0.266667 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060976 | 0.083799 | 179 | 9 | 99 | 19.888889 | 0.579268 | 0.296089 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5f10cd2f721488145d7294a7820d23b160e0e26 | 1,376 | py | Python | leap_ec/real_rep/initializers.py | thomashopkins32/LEAP | aafada03a261543f35ebfbb9b1ef7140cb079f6c | [
"AFL-3.0"
] | 53 | 2018-10-04T18:01:22.000Z | 2022-03-24T05:24:37.000Z | leap_ec/real_rep/initializers.py | thomashopkins32/LEAP | aafada03a261543f35ebfbb9b1ef7140cb079f6c | [
"AFL-3.0"
] | 180 | 2018-10-11T21:36:57.000Z | 2022-03-25T17:38:33.000Z | leap_ec/real_rep/initializers.py | thomashopkins32/LEAP | aafada03a261543f35ebfbb9b1ef7140cb079f6c | [
"AFL-3.0"
] | 8 | 2019-09-27T23:11:26.000Z | 2021-09-29T21:15:35.000Z | #!/usr/bin/env python3
"""
Initializers for real values.
"""
import numpy as np
from leap_ec.individual import Individual
##############################
# Closure create_real_vector
##############################
def create_real_vector(bounds):
"""
A closure for initializing lists of real numbers for real... | 29.913043 | 84 | 0.609738 | 166 | 1,376 | 4.975904 | 0.542169 | 0.03632 | 0.058111 | 0.053269 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010774 | 0.257994 | 1,376 | 45 | 85 | 30.577778 | 0.797258 | 0.693314 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
912b8eaca3db6001699b91fa0faffeb7f42880ca | 23 | py | Python | tcpparser/__init__.py | brunocriado/tcpparser | 10acb03bb0e594f5930e9e8b29541ec28ed67420 | [
"MIT"
] | 1 | 2020-09-30T07:40:41.000Z | 2020-09-30T07:40:41.000Z | tcpparser/__init__.py | brunocriado/tcpparser | 10acb03bb0e594f5930e9e8b29541ec28ed67420 | [
"MIT"
] | 3 | 2020-08-03T08:41:06.000Z | 2021-06-01T23:59:09.000Z | tcpparser/__init__.py | brunocriado/tcpparser | 10acb03bb0e594f5930e9e8b29541ec28ed67420 | [
"MIT"
] | 2 | 2019-07-16T21:10:50.000Z | 2020-05-20T15:11:04.000Z | __version__ = "v0.0.3"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
912fd20126d87265fa5ea83564151335452a51df | 21 | py | Python | aliyun-python-sdk-live/aliyunsdklive/__init__.py | liuzheng/aliyun-openapi-python-sdk | 1ba6743f3d6f2cef57ec9e3be1754b04293c3150 | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-live/aliyunsdklive/__init__.py | liuzheng/aliyun-openapi-python-sdk | 1ba6743f3d6f2cef57ec9e3be1754b04293c3150 | [
"Apache-2.0"
] | null | null | null | aliyun-python-sdk-live/aliyunsdklive/__init__.py | liuzheng/aliyun-openapi-python-sdk | 1ba6743f3d6f2cef57ec9e3be1754b04293c3150 | [
"Apache-2.0"
] | null | null | null | __version__ = '3.9.7' | 21 | 21 | 0.666667 | 4 | 21 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.095238 | 21 | 1 | 21 | 21 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
913f533f4cd6a15339acfb5a21936ca1087962e7 | 162 | py | Python | CLI_tool/monitor.py | Juniper/vSRX-AWS | a9179d8b115229b1f26aec166a85261fd2352b14 | [
"Apache-2.0"
] | 18 | 2017-07-03T22:45:19.000Z | 2021-04-04T16:51:28.000Z | CLI_tool/monitor.py | Juniper/vSRX-AWS | a9179d8b115229b1f26aec166a85261fd2352b14 | [
"Apache-2.0"
] | 13 | 2017-10-25T18:22:22.000Z | 2021-09-15T00:09:54.000Z | CLI_tool/monitor.py | Juniper/vSRX-AWS | a9179d8b115229b1f26aec166a85261fd2352b14 | [
"Apache-2.0"
] | 23 | 2017-07-20T03:29:25.000Z | 2021-02-24T20:27:05.000Z | import sys
import os
import boto3
import click
@click.command()
def monitor():
"""Monitor vSRX instance with CloudWatch or other applications"""
pass
| 13.5 | 69 | 0.722222 | 21 | 162 | 5.571429 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007692 | 0.197531 | 162 | 11 | 70 | 14.727273 | 0.892308 | 0.364198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0.142857 | 0.571429 | 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 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
e671307d75b268e4dabe0a004f0cf5eff50ea8bc | 104 | py | Python | lib/googlecloudsdk/third_party/apis/toolresults/__init__.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/toolresults/__init__.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | lib/googlecloudsdk/third_party/apis/toolresults/__init__.py | bshaffer/google-cloud-sdk | f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*- #
# Copyright 2015 Google Inc. All Rights Reserved.
"""Package marker file."""
| 20.8 | 49 | 0.634615 | 13 | 104 | 5.076923 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0.173077 | 104 | 4 | 50 | 26 | 0.709302 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e681d5f147d62fac934b4b9038da43146a9e712d | 152 | py | Python | tests/general_graph.py | ndem0/GRAPE | 6d82183b6040de1af1b1524b8553925c88bd7054 | [
"MIT"
] | 8 | 2019-04-03T08:48:06.000Z | 2021-04-22T07:41:41.000Z | tests/general_graph.py | ndem0/GRAPE | 6d82183b6040de1af1b1524b8553925c88bd7054 | [
"MIT"
] | 6 | 2020-11-24T10:31:37.000Z | 2022-01-13T16:02:05.000Z | tests/general_graph.py | ndem0/GRAPE | 6d82183b6040de1af1b1524b8553925c88bd7054 | [
"MIT"
] | 11 | 2019-04-02T16:18:21.000Z | 2021-11-07T14:18:51.000Z | from unittest import TestCase
from .grape import GeneralGraph
class TestGeneralGraph(TestCase):
def create_instance(self):
GeneralGraph()
| 19 | 33 | 0.763158 | 16 | 152 | 7.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177632 | 152 | 7 | 34 | 21.714286 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 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 | 1 | 0 | 0 | 4 |
e68a98476e2c0657591bae5d0b06e141b9fa8407 | 3,722 | py | Python | Admin/authentication/forms.py | shimmerInCorner/FilmWebDjango | 9002ca85cc33e073098e368bfc41fa6b4ac8c708 | [
"Apache-2.0"
] | null | null | null | Admin/authentication/forms.py | shimmerInCorner/FilmWebDjango | 9002ca85cc33e073098e368bfc41fa6b4ac8c708 | [
"Apache-2.0"
] | null | null | null | Admin/authentication/forms.py | shimmerInCorner/FilmWebDjango | 9002ca85cc33e073098e368bfc41fa6b4ac8c708 | [
"Apache-2.0"
] | null | null | null | from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm,PasswordChangeForm,PasswordResetForm,SetPasswordForm
class UserRegistrationForm(UserCreationForm):
email=forms.EmailField(label='Email',widget=forms.EmailInput(attrs={'placeholder': 'Enter y... | 84.590909 | 273 | 0.751209 | 455 | 3,722 | 6.052747 | 0.171429 | 0.051924 | 0.091503 | 0.099855 | 0.747277 | 0.703341 | 0.688816 | 0.669572 | 0.669572 | 0.669572 | 0 | 0.013947 | 0.094573 | 3,722 | 44 | 274 | 84.590909 | 0.803264 | 0 | 0 | 0.325 | 0 | 0 | 0.322589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.525 | 0.075 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
e6c585246fbe5b85e380c4c8c1caa12f6cfda9e1 | 304 | py | Python | plugins/segmentation/api.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | null | null | null | plugins/segmentation/api.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | null | null | null | plugins/segmentation/api.py | bsavelev/medipy | f0da3750a6979750d5f4c96aedc89ad5ae74545f | [
"CECILL-B"
] | 1 | 2022-03-04T05:47:08.000Z | 2022-03-04T05:47:08.000Z | from bet import bet
from change_detection import (
mono_modal_statistical_change_detection, change_detection_clustering,
clusters_to_annotations)
from label import (label_connected_components, order_connected_components,
largest_connected_component)
from skull import skull
| 33.777778 | 75 | 0.805921 | 35 | 304 | 6.571429 | 0.542857 | 0.195652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167763 | 304 | 8 | 76 | 38 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e6f74854ca2ffb704a6370b1880435aa2842fa5b | 140 | py | Python | quran/domain/image.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | quran/domain/image.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | quran/domain/image.py | octabytes/quran | 974d351cf5e6a12a28a5ac9f29c8d2753ae6dd86 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
from quran.domain.entity import Entity
@dataclass
class Image(Entity):
ayah_id: str
image: str
| 14 | 38 | 0.757143 | 19 | 140 | 5.526316 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 140 | 9 | 39 | 15.555556 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e6fcb5713174d6d03656ec1861c93747d46c882c | 792 | py | Python | PyStationB/projects/CellSignalling/tests/simulation/test_load_wrapper_scripts.py | BrunoKM/station-b-libraries | ea3591837e4a33f0bef789d905467754c27913b3 | [
"MIT"
] | 6 | 2021-09-29T15:46:55.000Z | 2021-12-14T18:39:51.000Z | PyStationB/projects/CellSignalling/tests/simulation/test_load_wrapper_scripts.py | BrunoKM/station-b-libraries | ea3591837e4a33f0bef789d905467754c27913b3 | [
"MIT"
] | null | null | null | PyStationB/projects/CellSignalling/tests/simulation/test_load_wrapper_scripts.py | BrunoKM/station-b-libraries | ea3591837e4a33f0bef789d905467754c27913b3 | [
"MIT"
] | 3 | 2021-09-27T10:35:20.000Z | 2021-10-02T17:53:07.000Z | # -------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
# ----------------------------------------------------------------------... | 52.8 | 93 | 0.621212 | 96 | 792 | 4.947917 | 0.583333 | 0.069474 | 0.088421 | 0.132632 | 0.117895 | 0.117895 | 0 | 0 | 0 | 0 | 0 | 0.008596 | 0.118687 | 792 | 14 | 94 | 56.571429 | 0.67192 | 0.526515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fc40ea8911263eccca7f0a7e2b7aad7d66d068ee | 86 | py | Python | uri1155.py | Tiago-Rodrigue2/programacao1.0 | aa272f3958238db9d8d11ba17d5e0ea08fabab3f | [
"MIT"
] | null | null | null | uri1155.py | Tiago-Rodrigue2/programacao1.0 | aa272f3958238db9d8d11ba17d5e0ea08fabab3f | [
"MIT"
] | null | null | null | uri1155.py | Tiago-Rodrigue2/programacao1.0 | aa272f3958238db9d8d11ba17d5e0ea08fabab3f | [
"MIT"
] | null | null | null | i = 2
S = 1
while i <= 100:
S = S + (1 / i)
i += 1
print('{:.2f}'.format(S)) | 10.75 | 25 | 0.383721 | 17 | 86 | 1.941176 | 0.529412 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0.348837 | 86 | 8 | 25 | 10.75 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0 | 1 | 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 | 4 |
fc41ae548d564723defdbca0708f35b4bda5a2f2 | 212 | py | Python | step1/conftest.py | blawesom/niceredfish | 9016f37a9d7bbe1e97a0846c35418825250fa7fc | [
"BSD-2-Clause"
] | 2 | 2019-01-02T17:55:45.000Z | 2019-01-10T08:49:10.000Z | step1/conftest.py | blawesom/niceredfish | 9016f37a9d7bbe1e97a0846c35418825250fa7fc | [
"BSD-2-Clause"
] | 1 | 2019-01-02T18:00:00.000Z | 2019-03-29T10:14:02.000Z | step1/conftest.py | blawesom/niceredfish | 9016f37a9d7bbe1e97a0846c35418825250fa7fc | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/python3
# -*- coding: utf-8 -*-
# __author__ = 'Benjamin'
# file needed for pytest to run
# https://stackoverflow.com/questions/10253826/path-issue-with-pytest-importerror-no-module-named-yadayadayada | 35.333333 | 110 | 0.745283 | 28 | 212 | 5.5 | 0.964286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051813 | 0.089623 | 212 | 6 | 110 | 35.333333 | 0.746114 | 0.95283 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc72650090afce640142416ec2ae6a533b989258 | 53 | py | Python | recognition/detect.py | Mrkr1sher/Put-That-Smile-Away-For-A-While | 5d652b15b74a1f91f776d41afd80bb629630c27c | [
"MIT"
] | null | null | null | recognition/detect.py | Mrkr1sher/Put-That-Smile-Away-For-A-While | 5d652b15b74a1f91f776d41afd80bb629630c27c | [
"MIT"
] | null | null | null | recognition/detect.py | Mrkr1sher/Put-That-Smile-Away-For-A-While | 5d652b15b74a1f91f776d41afd80bb629630c27c | [
"MIT"
] | null | null | null | # log = open("emotion.txt", "w")
# log.write("Hello") | 26.5 | 32 | 0.584906 | 8 | 53 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 2 | 33 | 26.5 | 0.659574 | 0.924528 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc7669eb39a10736fb3025ddc4f03b076572fdcf | 357 | py | Python | eigencalc.py | vaseem-khan/CIELAB_PCA | b1265f99a5b62b5b00adc519b2eee96af2ca3aca | [
"MIT"
] | 1 | 2016-09-06T01:18:35.000Z | 2016-09-06T01:18:35.000Z | eigencalc.py | vaseem-khan/CIELAB_PCA | b1265f99a5b62b5b00adc519b2eee96af2ca3aca | [
"MIT"
] | null | null | null | eigencalc.py | vaseem-khan/CIELAB_PCA | b1265f99a5b62b5b00adc519b2eee96af2ca3aca | [
"MIT"
] | null | null | null | import numpy
import numpy.linalg as linalg
P = numpy.array([[0.616556 ,0.615444], [0.615444 ,0.716556]])
D, V = linalg.eig(P)
print V
print V[1][1]
file = open("result.txt", "w")
file.write(str(V[0][0]))
file.write(" ")
file.write(str(V[0][1]))
file.write(" ")
file.write(str(V[1][0]))
file.write(" ")
file.write(str(V[... | 21 | 62 | 0.627451 | 68 | 357 | 3.294118 | 0.338235 | 0.321429 | 0.214286 | 0.232143 | 0.379464 | 0.3125 | 0.3125 | 0 | 0 | 0 | 0 | 0.119122 | 0.106443 | 357 | 16 | 63 | 22.3125 | 0.583072 | 0 | 0 | 0.25 | 0 | 0 | 0.042017 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.125 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fc874cb8b071230cc2e9f9e2eca90b980c61fef2 | 120 | py | Python | garagem/admin.py | araujo88/minhaGaragem | 31fb16a686eef2caa26e194c03a0528e43867188 | [
"MIT"
] | null | null | null | garagem/admin.py | araujo88/minhaGaragem | 31fb16a686eef2caa26e194c03a0528e43867188 | [
"MIT"
] | null | null | null | garagem/admin.py | araujo88/minhaGaragem | 31fb16a686eef2caa26e194c03a0528e43867188 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Veiculo
admin.site.register(Veiculo) | 20 | 32 | 0.808333 | 17 | 120 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 6 | 33 | 20 | 0.92381 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
fc8db5ef2e48f1bc20829da55574b5e71be9fe46 | 31 | py | Python | scalyr_agent/builtin_monitors/__init__.py | zak905/scalyr-agent-2 | 490f03f2a3f0a8d075d74df20610ceb23dff6c8c | [
"Apache-2.0"
] | 67 | 2015-02-03T00:35:33.000Z | 2022-03-23T10:14:26.000Z | scalyr_agent/builtin_monitors/__init__.py | kdelph23/scalyr-agent-2 | 6b975db59367d271eeba6a614ac40c7cb4205c41 | [
"Apache-2.0"
] | 578 | 2015-04-09T08:58:56.000Z | 2022-03-30T12:13:21.000Z | scalyr_agent/builtin_monitors/__init__.py | kdelph23/scalyr-agent-2 | 6b975db59367d271eeba6a614ac40c7cb4205c41 | [
"Apache-2.0"
] | 58 | 2015-01-15T22:00:43.000Z | 2022-02-18T15:48:31.000Z | all = ["linux_system_metrics"]
| 15.5 | 30 | 0.741935 | 4 | 31 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 31 | 1 | 31 | 31 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.645161 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fca03f2903c99d215912f516915e003b3d970f20 | 35 | py | Python | src/djai/data/models/public/hugging_face.py | Django-AI/DjAI | 85e624de78726ac52f42580121e1a04efe2da2d7 | [
"MIT"
] | 3 | 2021-12-03T13:53:17.000Z | 2021-12-15T11:51:52.000Z | src/djai/data/models/public/hugging_face.py | Django-AI/DjAI | 85e624de78726ac52f42580121e1a04efe2da2d7 | [
"MIT"
] | null | null | null | src/djai/data/models/public/hugging_face.py | Django-AI/DjAI | 85e624de78726ac52f42580121e1a04efe2da2d7 | [
"MIT"
] | 1 | 2022-01-31T08:57:16.000Z | 2022-01-31T08:57:16.000Z | """DjAI Hugging Face Data Sets."""
| 17.5 | 34 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.766667 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d98f8052aa6d9381aa8011f69fd44030b3674c9 | 165 | py | Python | python/left-rotation.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 21 | 2015-02-09T18:08:38.000Z | 2021-11-08T15:00:48.000Z | python/left-rotation.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 7 | 2020-04-12T23:00:19.000Z | 2021-01-30T23:44:24.000Z | python/left-rotation.py | gajubadge11/hackerrank-3 | 132a5019b7ed21507bb95b5063fa66c446b0eff7 | [
"MIT"
] | 27 | 2015-07-22T18:08:12.000Z | 2022-02-28T19:50:26.000Z | (_, d) = tuple(map(int, input().strip().split(' ')))
arr = list(map(int, input().strip().split(' ')))
new_arr = arr[d:] + arr[:d]
print(' '.join(map(str, new_arr)))
| 33 | 52 | 0.563636 | 26 | 165 | 3.461538 | 0.5 | 0.133333 | 0.244444 | 0.355556 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115152 | 165 | 4 | 53 | 41.25 | 0.616438 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5dad0421946f8763acc58b3d7a1a008e882b627c | 30 | py | Python | python/01_python/school/dss/__init__.py | dreandes/Code | 923edb78de912a49def61e5f4867564c526899a1 | [
"MIT"
] | null | null | null | python/01_python/school/dss/__init__.py | dreandes/Code | 923edb78de912a49def61e5f4867564c526899a1 | [
"MIT"
] | null | null | null | python/01_python/school/dss/__init__.py | dreandes/Code | 923edb78de912a49def61e5f4867564c526899a1 | [
"MIT"
] | null | null | null |
__all__ = ["data1", "data2"]
| 10 | 28 | 0.566667 | 3 | 30 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.166667 | 30 | 2 | 29 | 15 | 0.44 | 0 | 0 | 0 | 0 | 0 | 0.344828 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5db2bd2a8ad4c96f29c2c3a39ebfc28a8bf3732b | 92 | py | Python | telegram_bot/__init__.py | Carmo-sousa/telegram-bot | 7a2f675bc3b5da65742851c1a2c4438f9e982745 | [
"MIT"
] | null | null | null | telegram_bot/__init__.py | Carmo-sousa/telegram-bot | 7a2f675bc3b5da65742851c1a2c4438f9e982745 | [
"MIT"
] | null | null | null | telegram_bot/__init__.py | Carmo-sousa/telegram-bot | 7a2f675bc3b5da65742851c1a2c4438f9e982745 | [
"MIT"
] | null | null | null | # TODO: Arrumar a versão
# A versão está errada
# Preguiça de arrumar
__version__ = "0.1.0" | 18.4 | 24 | 0.717391 | 15 | 92 | 4.133333 | 0.733333 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.184783 | 92 | 5 | 25 | 18.4 | 0.786667 | 0.684783 | 0 | 0 | 0 | 0 | 0.192308 | 0 | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5deaab2dfd71a2b8e0f3234f6dd75447761cbd58 | 84 | py | Python | __init__.py | SetRac/Stock_Picking_Type | 89157a05b5d5907c52b66d578d7f421abea00d0b | [
"Apache-2.0"
] | null | null | null | __init__.py | SetRac/Stock_Picking_Type | 89157a05b5d5907c52b66d578d7f421abea00d0b | [
"Apache-2.0"
] | null | null | null | __init__.py | SetRac/Stock_Picking_Type | 89157a05b5d5907c52b66d578d7f421abea00d0b | [
"Apache-2.0"
] | null | null | null | # See LICENSE file for full copyright and licensing details.
#from . import models
| 21 | 60 | 0.77381 | 12 | 84 | 5.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 84 | 3 | 61 | 28 | 0.942029 | 0.928571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5dee0ec60a4e6383c59773e94c261cd3a84f4244 | 133 | py | Python | notifications/providers/telegram.py | mcastellin/anem-per-feina | 5c7072c560e8e34355f7bbf7db12e36403766e68 | [
"MIT"
] | null | null | null | notifications/providers/telegram.py | mcastellin/anem-per-feina | 5c7072c560e8e34355f7bbf7db12e36403766e68 | [
"MIT"
] | null | null | null | notifications/providers/telegram.py | mcastellin/anem-per-feina | 5c7072c560e8e34355f7bbf7db12e36403766e68 | [
"MIT"
] | null | null | null | from .base import ProviderBase
class Telegram(ProviderBase):
code = "telegram"
def _publish(self, tpl: str):
pass
| 14.777778 | 33 | 0.661654 | 15 | 133 | 5.8 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24812 | 133 | 8 | 34 | 16.625 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0.06015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
5df9c44984a20a23c5740dd4d831f8065a79fc45 | 35,954 | py | Python | mpf/tests/test_LogicBlocks.py | haggispinball/mpf_fathom_fast | 1035c3fb90bb279de84cc3ed4aa1e1df38d0d563 | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/tests/test_LogicBlocks.py | haggispinball/mpf_fathom_fast | 1035c3fb90bb279de84cc3ed4aa1e1df38d0d563 | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/tests/test_LogicBlocks.py | haggispinball/mpf_fathom_fast | 1035c3fb90bb279de84cc3ed4aa1e1df38d0d563 | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | """Test logic blocks."""
from mpf.tests.MpfFakeGameTestCase import MpfFakeGameTestCase
from mpf.tests.MpfTestCase import test_config_directory
class TestLogicBlocks(MpfFakeGameTestCase):
def get_config_file(self):
return 'config.yaml'
def get_machine_path(self):
return 'tests/machine_files/l... | 39.993326 | 110 | 0.678951 | 4,137 | 35,954 | 5.585207 | 0.06599 | 0.074786 | 0.121527 | 0.041548 | 0.831213 | 0.768372 | 0.710638 | 0.63754 | 0.597724 | 0.54224 | 0 | 0.0308 | 0.213467 | 35,954 | 899 | 111 | 39.993326 | 0.786273 | 0.073038 | 0 | 0.732484 | 0 | 0 | 0.278737 | 0.132273 | 0 | 0 | 0 | 0 | 0.374204 | 1 | 0.038217 | false | 0 | 0.003185 | 0.003185 | 0.046178 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b901fdc52edb362051072d5e01fc1c4f252b5651 | 23 | py | Python | __version__.py | mneedham/lusid-python-tools | 0fd748fe3d1e303943632dc41721f9b440eaad94 | [
"MIT"
] | null | null | null | __version__.py | mneedham/lusid-python-tools | 0fd748fe3d1e303943632dc41721f9b440eaad94 | [
"MIT"
] | null | null | null | __version__.py | mneedham/lusid-python-tools | 0fd748fe3d1e303943632dc41721f9b440eaad94 | [
"MIT"
] | null | null | null | __version__ = "0.3.56"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d3876053825e3e1acfbc4c9dbfadb5d3b1d42ea | 263 | py | Python | filish_storage/utils.py | oceean/FilishStorage | be3e68af164b2dc8ff8b8798fe8790b569f0dd5f | [
"MIT"
] | null | null | null | filish_storage/utils.py | oceean/FilishStorage | be3e68af164b2dc8ff8b8798fe8790b569f0dd5f | [
"MIT"
] | null | null | null | filish_storage/utils.py | oceean/FilishStorage | be3e68af164b2dc8ff8b8798fe8790b569f0dd5f | [
"MIT"
] | null | null | null | import os as _os
# TODO actions for optimize work in Storage class
def find_abs_path(path:str) -> str:
return _os.path.abspath(path)
def rename(abs_path:str, new_name:str) -> None:
pass
def move_file(abs_path:str, new_abs_path:str) -> None:
pass | 18.785714 | 54 | 0.714829 | 46 | 263 | 3.869565 | 0.543478 | 0.157303 | 0.168539 | 0.146067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18251 | 263 | 14 | 55 | 18.785714 | 0.827907 | 0.178707 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.428571 | false | 0.285714 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
5d45fe6bb1a020b856732cfa6fcbe3d78422b21a | 4,439 | py | Python | Day2.py | snyderks/advent-solutions | 191d525b006dfce590b2e4538ee685080ce2283e | [
"MIT"
] | null | null | null | Day2.py | snyderks/advent-solutions | 191d525b006dfce590b2e4538ee685080ce2283e | [
"MIT"
] | null | null | null | Day2.py | snyderks/advent-solutions | 191d525b006dfce590b2e4538ee685080ce2283e | [
"MIT"
] | null | null | null | # Day 2: http://adventofcode.com/2016/day/2
# Problem:
# Given the following directions (on lines), start at the number 5 on a normal
# 9-key pad and move, when possible, one space in the desired direction until
# the line ends. That is the number for that line. For the next line, start
# at the previous line's endpoin... | 75.237288 | 524 | 0.800405 | 311 | 4,439 | 11.424437 | 0.321543 | 0.04644 | 0.031523 | 0.054039 | 0.185759 | 0.173375 | 0.172812 | 0.13566 | 0.117647 | 0.112581 | 0 | 0.022989 | 0.118045 | 4,439 | 59 | 525 | 75.237288 | 0.884547 | 0.131111 | 0 | 0.4 | 0 | 0 | 0.620806 | 0.611443 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d48e5f619f12adc897547a179068da1cb9dc0c2 | 40,230 | py | Python | benchmarks/Python/json.py | OvermindDL1/are-we-fast-yet | 78b0560c7c3b7a90b22b90c4cb27660e56478d30 | [
"BSD-3-Clause"
] | null | null | null | benchmarks/Python/json.py | OvermindDL1/are-we-fast-yet | 78b0560c7c3b7a90b22b90c4cb27660e56478d30 | [
"BSD-3-Clause"
] | null | null | null | benchmarks/Python/json.py | OvermindDL1/are-we-fast-yet | 78b0560c7c3b7a90b22b90c4cb27660e56478d30 | [
"BSD-3-Clause"
] | null | null | null | # This code is derived from the SOM benchmarks, see AUTHORS.md file.
# This benchmark is based on the minimal-json Java library maintained at:
# https://github.com/ralfstx/minimal-json
#
# Copyright (c) 2015-2021 Stefan Marr <gitself._stefan-marr.de>
#
# Permission is hereby granted, free of charge, to any person obtai... | 75.478424 | 25,881 | 0.626199 | 5,422 | 40,230 | 4.542235 | 0.157322 | 0.115316 | 0.086243 | 0.114991 | 0.567444 | 0.517906 | 0.336893 | 0.317281 | 0.311109 | 0.29434 | 0 | 0.090585 | 0.113945 | 40,230 | 532 | 25,882 | 75.620301 | 0.60032 | 0.036341 | 0 | 0.40874 | 0 | 0.002571 | 0.677165 | 0.660359 | 0 | 0 | 0.00031 | 0 | 0 | 1 | 0.200514 | false | 0.007712 | 0.005141 | 0.092545 | 0.44473 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d4984893d39a5d260b43143942a3e81694ccaab | 274 | py | Python | returnSquareArea.py | vibhawgeass/Python-Thunder | 3debdb3ef924fac6d15b966e38ea94028a1ea6bc | [
"MIT"
] | null | null | null | returnSquareArea.py | vibhawgeass/Python-Thunder | 3debdb3ef924fac6d15b966e38ea94028a1ea6bc | [
"MIT"
] | null | null | null | returnSquareArea.py | vibhawgeass/Python-Thunder | 3debdb3ef924fac6d15b966e38ea94028a1ea6bc | [
"MIT"
] | null | null | null | '''
Problem statement: We need to find the area difference between the squares where for one square circle is a circumcircle and the other one is incircle
Problem Link: https://edabit.com/challenge/NNhkGocuPMcryW7GP
'''
def square_areas_difference(r):
return 2*r*r
| 34.25 | 151 | 0.770073 | 42 | 274 | 4.97619 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.160584 | 274 | 7 | 152 | 39.142857 | 0.9 | 0.770073 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5d53352777085b08396cf1d6b89c916a17f31b98 | 6,893 | py | Python | rpython/rlib/parsing/test/test_regexparse.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/rlib/parsing/test/test_regexparse.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/rlib/parsing/test/test_regexparse.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | from rpython.rlib.parsing.regexparse import make_runner
def test_simple():
r = make_runner("a*")
assert r.recognize("aaaaa")
assert r.recognize("")
assert not r.recognize("aaaaaaaaaaaaaaaaaaaaaaaaaa ")
r = make_runner("a*bc|d")
assert r.recognize("aaaaabc")
assert r.recognize("bc")
as... | 29.969565 | 73 | 0.593065 | 990 | 6,893 | 4.063636 | 0.117172 | 0.377827 | 0.357942 | 0.292816 | 0.66617 | 0.533433 | 0.470544 | 0.354213 | 0.333333 | 0.260005 | 0 | 0.0308 | 0.203975 | 6,893 | 229 | 74 | 30.100437 | 0.702387 | 0 | 0 | 0.301887 | 0 | 0.004717 | 0.132453 | 0.02829 | 0 | 0 | 0 | 0 | 0.721698 | 1 | 0.070755 | false | 0 | 0.009434 | 0 | 0.080189 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d5bc9652b365908b84325c618215069602d0e80 | 3,830 | py | Python | script.baksy.guide/resources/lib/events.py | TheWardoctor/Baksy | d422ce9aa4e0fe5e727d1c638c6e5431e81cbe13 | [
"Apache-2.0"
] | 1 | 2019-03-05T09:38:12.000Z | 2019-03-05T09:38:12.000Z | script.baksy.guide/resources/lib/events.py | TheWardoctor/Baksy | d422ce9aa4e0fe5e727d1c638c6e5431e81cbe13 | [
"Apache-2.0"
] | null | null | null | script.baksy.guide/resources/lib/events.py | TheWardoctor/Baksy | d422ce9aa4e0fe5e727d1c638c6e5431e81cbe13 | [
"Apache-2.0"
] | null | null | null | import xbmc,xbmcaddon,xbmcvfs,xbmcgui,os,re,urllib2
ADDON = xbmcaddon.Addon(id='script.baksy.guide')
path = xbmc.translatePath('special://home/addons/script.baksy.guide/resources/eventList.txt')
f = open(path, 'r+')
f.truncate()
#os.remove(path)
def OPEN_URL(url):
req = urllib2.Request(url)
req.add_header('User-A... | 123.548387 | 2,860 | 0.651958 | 515 | 3,830 | 4.83301 | 0.256311 | 0.226597 | 0.112495 | 0.084371 | 0.260747 | 0.057051 | 0.057051 | 0.057051 | 0.057051 | 0.057051 | 0 | 0.044179 | 0.060313 | 3,830 | 31 | 2,861 | 123.548387 | 0.647402 | 0.003916 | 0 | 0 | 0 | 0.041667 | 0.554653 | 0.039843 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 0 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d66c9a029c07c8a6a3aacc43b6704f77592ee78 | 262 | py | Python | jina/flow/__init__.py | HarshCasper/jina | 81ab098b140b74ad1cfdfde9218cec7a40923749 | [
"Apache-2.0"
] | 1 | 2021-02-25T19:28:50.000Z | 2021-02-25T19:28:50.000Z | jina/flow/__init__.py | HarshCasper/jina | 81ab098b140b74ad1cfdfde9218cec7a40923749 | [
"Apache-2.0"
] | 4 | 2020-09-01T17:47:27.000Z | 2021-04-16T23:11:57.000Z | jina/flow/__init__.py | deepampatel/jina | 97f9e97a4a678a28bdeacbc7346eaf7bbd2aeb89 | [
"Apache-2.0"
] | null | null | null | from .base import BaseFlow
from .mixin.crud import CRUDFlowMixin
class Flow(CRUDFlowMixin, BaseFlow):
"""The synchronous version of :class:`AsyncFlow`.
For proper usage see `this guide` <https://docs.jina.ai/chapters/flow/index.html>
"""
pass
| 23.818182 | 85 | 0.71374 | 34 | 262 | 5.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167939 | 262 | 10 | 86 | 26.2 | 0.857798 | 0.492366 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
5d685a37576775e0365aff8b2ec788e22b2391b8 | 210 | py | Python | katas/kyu_7/string_reversing_changing_case.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | katas/kyu_7/string_reversing_changing_case.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | katas/kyu_7/string_reversing_changing_case.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | def reverse_and_mirror(s1, s2):
swap = s1.swapcase()
return '{}@@@{}{}'.format(s2[::-1].swapcase(), swap[::-1], swap)
# PEP8: function name should use snake_case
reverseAndMirror = reverse_and_mirror
| 26.25 | 68 | 0.666667 | 28 | 210 | 4.821429 | 0.678571 | 0.148148 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038889 | 0.142857 | 210 | 7 | 69 | 30 | 0.711111 | 0.195238 | 0 | 0 | 0 | 0 | 0.053892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5d6afc32eae35bed3d295c8b857c9631d924b163 | 97 | py | Python | lewis_emulators/tekafg3XXX/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 2 | 2020-10-20T16:49:13.000Z | 2021-02-19T10:41:44.000Z | lewis_emulators/tekafg3XXX/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 9 | 2019-03-22T15:35:15.000Z | 2021-07-28T11:05:43.000Z | lewis_emulators/tekafg3XXX/interfaces/__init__.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:02:44.000Z | 2020-10-21T17:02:44.000Z | from .stream_interface import Tekafg3XXXStreamInterface
__all__ = ['Tekafg3XXXStreamInterface']
| 24.25 | 55 | 0.85567 | 7 | 97 | 11.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.082474 | 97 | 3 | 56 | 32.333333 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0.257732 | 0.257732 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5381ef2cdccc22f968135ed2b24bc6d5f61e0150 | 220 | py | Python | 数字媒体安全应用与实践/learn_flask_the_hard_way/app/blueprints.py | jckling/only-python | 9600d798889dfc38b8ecd65abd26e4ce657910d9 | [
"MIT"
] | 1 | 2019-10-12T01:09:15.000Z | 2019-10-12T01:09:15.000Z | 数字媒体安全应用与实践/learn_flask_the_hard_way/app/blueprints.py | jckling/only-python | 9600d798889dfc38b8ecd65abd26e4ce657910d9 | [
"MIT"
] | null | null | null | 数字媒体安全应用与实践/learn_flask_the_hard_way/app/blueprints.py | jckling/only-python | 9600d798889dfc38b8ecd65abd26e4ce657910d9 | [
"MIT"
] | 1 | 2019-10-12T01:10:13.000Z | 2019-10-12T01:10:13.000Z | # -*- coding: UTF-8 -*-
from flask import Blueprint
home = Blueprint('home', 'app.public.views', url_prefix='/')
auth = Blueprint('auth', 'app.auth.views', url_prefix='/auth')
all_blueprints = (
home,
auth,
)
| 18.333333 | 62 | 0.636364 | 28 | 220 | 4.892857 | 0.571429 | 0.189781 | 0.20438 | 0.262774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.163636 | 220 | 11 | 63 | 20 | 0.73913 | 0.095455 | 0 | 0 | 0 | 0 | 0.22335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.571429 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5387c7c29ece3c8f3857340aeff4a8e78c9ababf | 104 | py | Python | apps/subacc/migrations/__init__.py | ekivemark/BlueButtonUser | 096cf439cd0c4ccb3d16b0efebf1c34fd3fb8939 | [
"Apache-2.0"
] | 1 | 2020-10-29T07:29:49.000Z | 2020-10-29T07:29:49.000Z | apps/subacc/migrations/__init__.py | ekivemark/BlueButtonUser | 096cf439cd0c4ccb3d16b0efebf1c34fd3fb8939 | [
"Apache-2.0"
] | 7 | 2020-02-11T23:03:55.000Z | 2021-12-13T19:42:01.000Z | apps/subacc/migrations/__init__.py | ekivemark/BlueButtonUser | 096cf439cd0c4ccb3d16b0efebf1c34fd3fb8939 | [
"Apache-2.0"
] | 2 | 2018-10-06T21:45:51.000Z | 2020-10-10T16:10:36.000Z | """
bbofuser
FILE: __init__.py
Created: 8/4/15 11:35 PM
"""
__author__ = 'Mark Scrimshire:@ekivemark'
| 11.555556 | 41 | 0.692308 | 15 | 104 | 4.266667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089888 | 0.144231 | 104 | 8 | 42 | 13 | 0.629213 | 0.490385 | 0 | 0 | 0 | 0 | 0.604651 | 0.488372 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
539e67d2657d93a4167d3d33023069ab07f91aca | 141 | py | Python | {{cookiecutter.project_name}}/tests/test_example.py | turingincomplete/python-package-template | 56c30002104ed8dceb868bb5ba7c51cde4b8cc9f | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/tests/test_example.py | turingincomplete/python-package-template | 56c30002104ed8dceb868bb5ba7c51cde4b8cc9f | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/tests/test_example.py | turingincomplete/python-package-template | 56c30002104ed8dceb868bb5ba7c51cde4b8cc9f | [
"MIT"
] | null | null | null | """Check unit tests are working"""
import unittest
class TestExample(unittest.TestCase):
def test_example(self):
assert False
| 15.666667 | 37 | 0.70922 | 17 | 141 | 5.823529 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198582 | 141 | 8 | 38 | 17.625 | 0.876106 | 0.198582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
53a402610108ab25c99f92186fa17285434c1a3f | 28 | py | Python | pydtk/bin/sub_commands/__init__.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 11 | 2020-10-09T01:29:18.000Z | 2022-01-21T13:21:40.000Z | pydtk/bin/sub_commands/__init__.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 64 | 2020-10-20T04:55:22.000Z | 2022-01-24T15:52:32.000Z | pydtk/bin/sub_commands/__init__.py | dataware-tools/pydtk | 1da61fb8ca90de6c39a371a9b2b65f4473932991 | [
"Apache-2.0"
] | 1 | 2021-07-30T04:52:38.000Z | 2021-07-30T04:52:38.000Z | """Sub-commands for CLI."""
| 14 | 27 | 0.607143 | 4 | 28 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.68 | 0.75 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
53abda9e645ae8f6d6d9601e15f352440e00f4fd | 113 | py | Python | python/tests/test_substr_tw.py | rlratzel/custrings | 49dabc02aa74649eff09a10d183df94e55037e54 | [
"Apache-2.0"
] | null | null | null | python/tests/test_substr_tw.py | rlratzel/custrings | 49dabc02aa74649eff09a10d183df94e55037e54 | [
"Apache-2.0"
] | null | null | null | python/tests/test_substr_tw.py | rlratzel/custrings | 49dabc02aa74649eff09a10d183df94e55037e54 | [
"Apache-2.0"
] | null | null | null |
import nvstrings
strs = nvstrings.from_csv('../../data/tweets.csv', 7)
print("slice(1,15):",strs.slice(1,15))
| 16.142857 | 53 | 0.663717 | 18 | 113 | 4.111111 | 0.666667 | 0.162162 | 0.216216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067961 | 0.088496 | 113 | 6 | 54 | 18.833333 | 0.650485 | 0 | 0 | 0 | 0 | 0 | 0.294643 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
53f0fc3073add825be501801f5e24382b0e3096f | 1,205 | py | Python | pysyringe/tests/test_injector_values.py | MichalPodeszwa/iocpy | 208c03c9a02443376af56b0526642222f5143d48 | [
"MIT"
] | 1 | 2016-04-30T00:56:03.000Z | 2016-04-30T00:56:03.000Z | pysyringe/tests/test_injector_values.py | MichalPodeszwa/pySyringe | 208c03c9a02443376af56b0526642222f5143d48 | [
"MIT"
] | null | null | null | pysyringe/tests/test_injector_values.py | MichalPodeszwa/pySyringe | 208c03c9a02443376af56b0526642222f5143d48 | [
"MIT"
] | null | null | null | from pysyringe import inject_value
def test_value_injection():
@inject_value(val="FOO")
def test_func(val):
return val
test_func() == "FOO"
test_func("MOCKED") == "MOCKED"
def test_multiple_value_injection():
@inject_value(val="FOO", val2="FOO2")
def test_func(val, val2):
... | 28.023256 | 66 | 0.610788 | 150 | 1,205 | 4.693333 | 0.12 | 0.215909 | 0.109375 | 0.102273 | 0.81392 | 0.81392 | 0.681818 | 0.681818 | 0.681818 | 0.681818 | 0 | 0.02863 | 0.188382 | 1,205 | 42 | 67 | 28.690476 | 0.691207 | 0 | 0 | 0.666667 | 0 | 0 | 0.237344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.033333 | 0.1 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
53fe019537ae195a058c665cd70a1a7f89667d5f | 77 | py | Python | exercises/test_01_04_02.py | rongpenl/spacy-course | e1228321257f70de94ab98ca3f0fec7e95952a86 | [
"MIT"
] | 1 | 2019-07-08T17:32:42.000Z | 2019-07-08T17:32:42.000Z | exercises/test_01_04_02.py | rongpenl/k16math-course | e1228321257f70de94ab98ca3f0fec7e95952a86 | [
"MIT"
] | null | null | null | exercises/test_01_04_02.py | rongpenl/k16math-course | e1228321257f70de94ab98ca3f0fec7e95952a86 | [
"MIT"
] | null | null | null | def test():
__msg__.good(
"Nice work! Check the solution."
)
| 15.4 | 40 | 0.545455 | 9 | 77 | 4.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324675 | 77 | 4 | 41 | 19.25 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0.38961 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
99087fac3d7769f0ad347146e69cd9924ec01d16 | 97 | py | Python | tests/relative/web.py | Kroisse/flask-factory | 02da8e3f6ded6e988853599b694b45e2ffaa9b5e | [
"BSD-3-Clause"
] | 1 | 2015-11-05T18:27:35.000Z | 2015-11-05T18:27:35.000Z | tests/relative/web.py | Kroisse/flask-factory | 02da8e3f6ded6e988853599b694b45e2ffaa9b5e | [
"BSD-3-Clause"
] | null | null | null | tests/relative/web.py | Kroisse/flask-factory | 02da8e3f6ded6e988853599b694b45e2ffaa9b5e | [
"BSD-3-Clause"
] | null | null | null | from flask_factory import Factory
create_app = Factory(__name__)
create_app.step('.db:init_db')
| 19.4 | 33 | 0.804124 | 15 | 97 | 4.666667 | 0.666667 | 0.257143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092784 | 97 | 4 | 34 | 24.25 | 0.795455 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
54ff4dccd238c4387c0030a7cc1c7d84755d0447 | 3,303 | py | Python | iqra/data/loader.py | nunenuh/crnn.pytorch | b0f8bc7fc43622f7396fa0550fb2cc6e17849551 | [
"MIT"
] | 1 | 2020-09-30T04:37:39.000Z | 2020-09-30T04:37:39.000Z | iqra/data/loader.py | nunenuh/crnn.pytorch | b0f8bc7fc43622f7396fa0550fb2cc6e17849551 | [
"MIT"
] | null | null | null | iqra/data/loader.py | nunenuh/crnn.pytorch | b0f8bc7fc43622f7396fa0550fb2cc6e17849551 | [
"MIT"
] | null | null | null | import torch
from torch.utils.data import Dataset, ConcatDataset, Subset, DataLoader
from .dataset import LMDBDataset, BalanceDatasetConcatenator
import torchvision.transforms as VT
from .. import transforms as NT
def train_loader(path, batch_size=32, shuffle=True, num_workers=8,
img_size=(32, 100)... | 37.11236 | 82 | 0.551014 | 319 | 3,303 | 5.479624 | 0.260188 | 0.046339 | 0.037757 | 0.032609 | 0.784325 | 0.75 | 0.733982 | 0.696796 | 0.696796 | 0.696796 | 0 | 0.05278 | 0.357554 | 3,303 | 88 | 83 | 37.534091 | 0.770971 | 0.072661 | 0 | 0.796875 | 0 | 0 | 0.036685 | 0.035375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046875 | false | 0 | 0.078125 | 0 | 0.171875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 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 | 4 |
071d94ca46a1535721cefc706b5058aa0af54149 | 177 | py | Python | controller/registry/mock.py | smothiki/deis | 73246fc62b2cb3e76f3908b9a4014b19110af4e7 | [
"Apache-2.0"
] | 1 | 2019-06-17T18:51:47.000Z | 2019-06-17T18:51:47.000Z | controller/registry/mock.py | smothiki/deis | 73246fc62b2cb3e76f3908b9a4014b19110af4e7 | [
"Apache-2.0"
] | 1 | 2021-06-10T23:58:46.000Z | 2021-06-10T23:58:46.000Z | controller/registry/mock.py | smothiki/deis | 73246fc62b2cb3e76f3908b9a4014b19110af4e7 | [
"Apache-2.0"
] | 1 | 2019-12-16T18:56:52.000Z | 2019-12-16T18:56:52.000Z |
def publish_release(source, config, target):
"""
Publish a new release as a Docker image
This is a mock implementation used for unit tests
"""
return None
| 19.666667 | 53 | 0.672316 | 25 | 177 | 4.72 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.265537 | 177 | 8 | 54 | 22.125 | 0.907692 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.