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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d856d18eed63d9344d67ebf51ea46bc4d12833df | 170 | py | Python | lacos_api/activity_api/admin.py | fga-gpp-mds/2018.1-Lacos-da-Alegria-API | 8cee4c2714b907076bcfc5c5e91fe0aed2b1a77d | [
"MIT"
] | 9 | 2018-03-31T03:01:00.000Z | 2018-07-11T16:46:12.000Z | lacos_api/activity_api/admin.py | fga-eps-mds/2018.1-Lacos-da-Alegria-API | 8cee4c2714b907076bcfc5c5e91fe0aed2b1a77d | [
"MIT"
] | 6 | 2018-04-29T15:56:12.000Z | 2018-06-23T17:41:51.000Z | lacos_api/activity_api/admin.py | fga-eps-mds/2018.1-Lacos-da-Alegria-API | 8cee4c2714b907076bcfc5c5e91fe0aed2b1a77d | [
"MIT"
] | 2 | 2018-03-29T14:41:13.000Z | 2018-06-16T02:32:42.000Z | from django.contrib import admin
from . import models
# Register your models here.
admin.site.register(models.HospitalActivity)
admin.site.register(models.NGOActivity)
| 21.25 | 44 | 0.817647 | 22 | 170 | 6.318182 | 0.545455 | 0.129496 | 0.244604 | 0.330935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 170 | 7 | 45 | 24.285714 | 0.908497 | 0.152941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
d8582ab131e13f334f25bfdabc167445114c86db | 108 | py | Python | week16/classwork/snake_to_camel.py | YAtOff/python0 | b5af5004131d64dd52d42746eddb72b6c43a13c7 | [
"Apache-2.0"
] | 6 | 2017-11-08T14:04:39.000Z | 2019-03-24T22:11:04.000Z | archive/2016/week16/homework/snake_to_camel.py | YAtOff/python0 | b5af5004131d64dd52d42746eddb72b6c43a13c7 | [
"Apache-2.0"
] | null | null | null | archive/2016/week16/homework/snake_to_camel.py | YAtOff/python0 | b5af5004131d64dd52d42746eddb72b6c43a13c7 | [
"Apache-2.0"
] | 7 | 2015-10-27T09:04:58.000Z | 2019-03-03T14:18:26.000Z | def snake_to_camel(s):
"""
>>> snake_to_camel('snake_to_camel')
'snakeToCamel'
"""
pass
| 15.428571 | 40 | 0.574074 | 13 | 108 | 4.307692 | 0.538462 | 0.375 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 108 | 6 | 41 | 18 | 0.7 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
d89ab0b117374a01699136f6536b67630cb1f818 | 19,369 | py | Python | server.py | leeyoshinari/image_video | 3e5c24e5cb54508d0c5994983939f48b00f92027 | [
"MIT"
] | null | null | null | server.py | leeyoshinari/image_video | 3e5c24e5cb54508d0c5994983939f48b00f92027 | [
"MIT"
] | null | null | null | server.py | leeyoshinari/image_video | 3e5c24e5cb54508d0c5994983939f48b00f92027 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: leeyoshinari
import os
import time
import json
import asyncio
import traceback
import redis
import jinja2
from aiohttp import web
import aiohttp_jinja2
from common.config import getServer, user_name, DateEncoder
from common.deal_ip import IPQueue
f... | 48.062035 | 193 | 0.640302 | 2,427 | 19,369 | 4.959621 | 0.079522 | 0.09504 | 0.033895 | 0.068539 | 0.81399 | 0.806181 | 0.804021 | 0.786658 | 0.723104 | 0.690454 | 0 | 0.012047 | 0.19428 | 19,369 | 402 | 194 | 48.181592 | 0.759259 | 0.009964 | 0 | 0.573864 | 0 | 0 | 0.197783 | 0.045396 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.002841 | 0.036932 | 0 | 0.178977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d8b9192896b69f2255af7de5134fa8d7c5e8f2ff | 37 | py | Python | mlrun/api/crud/__init__.py | EdmondIguazio/mlrun | e63b34a610788ebe522ce7a46642e26927e39882 | [
"Apache-2.0"
] | null | null | null | mlrun/api/crud/__init__.py | EdmondIguazio/mlrun | e63b34a610788ebe522ce7a46642e26927e39882 | [
"Apache-2.0"
] | null | null | null | mlrun/api/crud/__init__.py | EdmondIguazio/mlrun | e63b34a610788ebe522ce7a46642e26927e39882 | [
"Apache-2.0"
] | 1 | 2021-05-05T14:19:46.000Z | 2021-05-05T14:19:46.000Z | from .logs import Logs # noqa: F401
| 18.5 | 36 | 0.702703 | 6 | 37 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.216216 | 37 | 1 | 37 | 37 | 0.793103 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d8c2a4ec9afa40db09d1aec3f4053b9177f38580 | 2,654 | py | Python | tests/test_ostinato.py | profintegra/stumpy | 66b3402d91820005b466e1da6fe353b61e6246c5 | [
"BSD-3-Clause"
] | 2,296 | 2019-05-03T19:26:39.000Z | 2022-03-31T20:42:08.000Z | tests/test_ostinato.py | vishalbelsare/stumpy | 5f192a0a41fbb44f144cc4b676d525f19aaeaa98 | [
"BSD-3-Clause"
] | 436 | 2019-05-06T14:14:01.000Z | 2022-03-31T20:39:31.000Z | tests/test_ostinato.py | vishalbelsare/stumpy | 5f192a0a41fbb44f144cc4b676d525f19aaeaa98 | [
"BSD-3-Clause"
] | 318 | 2019-05-04T01:36:05.000Z | 2022-03-31T20:31:11.000Z | import numpy as np
import numpy.testing as npt
from dask.distributed import Client, LocalCluster
import stumpy
import naive
import pytest
@pytest.fixture(scope="module")
def dask_cluster():
cluster = LocalCluster(n_workers=2, threads_per_worker=2)
yield cluster
cluster.close()
@pytest.mark.parametrize(
... | 33.175 | 83 | 0.707234 | 415 | 2,654 | 4.224096 | 0.168675 | 0.045636 | 0.102681 | 0.136908 | 0.87279 | 0.87279 | 0.87279 | 0.87279 | 0.87279 | 0.87279 | 0 | 0.052656 | 0.18425 | 2,654 | 79 | 84 | 33.594937 | 0.757044 | 0 | 0 | 0.688525 | 0 | 0 | 0.008289 | 0 | 0 | 0 | 0 | 0 | 0.196721 | 1 | 0.081967 | false | 0 | 0.098361 | 0 | 0.180328 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
2b0c223330f290d96a0223dd450b1bace35d8956 | 162 | py | Python | pget/__init__.py | tehZevo/pget | f3b5ff85221d15911548f7d18d45b1bec9c68ddb | [
"MIT"
] | 2 | 2019-09-06T13:53:20.000Z | 2021-07-04T14:12:21.000Z | pget/__init__.py | tehZevo/pget | f3b5ff85221d15911548f7d18d45b1bec9c68ddb | [
"MIT"
] | null | null | null | pget/__init__.py | tehZevo/pget | f3b5ff85221d15911548f7d18d45b1bec9c68ddb | [
"MIT"
] | null | null | null | from .agent import Agent
from .pget import create_traces, update_traces, step_weights
from .pget import explore_continuous, explore_discrete, explore_multibinary
| 40.5 | 75 | 0.858025 | 22 | 162 | 6.045455 | 0.590909 | 0.120301 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 162 | 3 | 76 | 54 | 0.910959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2b416f878ebc79c7a34b10d6046b1e758fb1fb3b | 141 | py | Python | backend/print_schema.py | fivaldi/pyladies-courseware | 453f9c6f399b343aa8257c8b0232e56e952c2c79 | [
"MIT"
] | 13 | 2018-08-27T08:56:40.000Z | 2022-02-10T15:59:18.000Z | backend/print_schema.py | fivaldi/pyladies-courseware | 453f9c6f399b343aa8257c8b0232e56e952c2c79 | [
"MIT"
] | 198 | 2018-08-23T08:10:05.000Z | 2022-02-17T20:46:42.000Z | backend/print_schema.py | fivaldi/pyladies-courseware | 453f9c6f399b343aa8257c8b0232e56e952c2c79 | [
"MIT"
] | 30 | 2018-08-25T15:50:35.000Z | 2021-11-12T14:28:34.000Z | #!/usr/bin/env python3
from graphql import print_schema
from cw_backend import graphql_schema
print(print_schema(graphql_schema).rstrip())
| 20.142857 | 44 | 0.822695 | 21 | 141 | 5.285714 | 0.571429 | 0.198198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.092199 | 141 | 6 | 45 | 23.5 | 0.859375 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
2b58c7a6c8d99369d0e8077fe2f0b5dc56c2cba3 | 162 | py | Python | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/core/playlist/mapper/handlers/__init__.py | disrupted/Trakttv.bundle | 24712216c71f3b22fd58cb5dd89dad5bb798ed60 | [
"RSA-MD"
] | 1,346 | 2015-01-01T14:52:24.000Z | 2022-03-28T12:50:48.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/core/playlist/mapper/handlers/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 474 | 2015-01-01T10:27:46.000Z | 2022-03-21T12:26:16.000Z | Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/core/playlist/mapper/handlers/__init__.py | alcroito/Plex-Trakt-Scrobbler | 4f83fb0860dcb91f860d7c11bc7df568913c82a6 | [
"RSA-MD"
] | 191 | 2015-01-02T18:27:22.000Z | 2022-03-29T10:49:48.000Z | from plugin.sync.core.playlist.mapper.handlers.plex_ import PlexPlaylistHandler
from plugin.sync.core.playlist.mapper.handlers.trakt_ import TraktPlaylistHandler
| 54 | 81 | 0.876543 | 20 | 162 | 7 | 0.6 | 0.142857 | 0.2 | 0.257143 | 0.571429 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 162 | 2 | 82 | 81 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
2b73654b9bc545a208b95b97674d362d066fffd5 | 144 | py | Python | kyu7/odd_int.py | sanjayts/codewars-py | 5156374745a1966c0502f554262179646084c52c | [
"MIT"
] | null | null | null | kyu7/odd_int.py | sanjayts/codewars-py | 5156374745a1966c0502f554262179646084c52c | [
"MIT"
] | null | null | null | kyu7/odd_int.py | sanjayts/codewars-py | 5156374745a1966c0502f554262179646084c52c | [
"MIT"
] | null | null | null | import functools
from typing import List
def find_it(seq: List[int]) -> int:
return functools.reduce(lambda x, y: x ^ y, seq[1:], seq[0])
| 20.571429 | 64 | 0.673611 | 25 | 144 | 3.84 | 0.68 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.180556 | 144 | 6 | 65 | 24 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.5 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
992da79aad7928c71120b52ff8489b5d1891585b | 1,885 | py | Python | imageEnhancement.py | krishna1401/Digital-Image-Processing | 47a4da4bef9d08708ac84174b0fcd0ced6a8b5e2 | [
"MIT"
] | 1 | 2021-11-28T12:06:11.000Z | 2021-11-28T12:06:11.000Z | imageEnhancement.py | krishna1401/Digital-Image-Processing | 47a4da4bef9d08708ac84174b0fcd0ced6a8b5e2 | [
"MIT"
] | null | null | null | imageEnhancement.py | krishna1401/Digital-Image-Processing | 47a4da4bef9d08708ac84174b0fcd0ced6a8b5e2 | [
"MIT"
] | null | null | null | #Program to perform Image Enhancement using Subtraction & Averaging technique
import cv2
def performSubtraction(image1, image2):
#Objective: Perform subtraction of 2 images
#Input: Two Images
#Output: Resultant Image
if(image1.shape[0] == image2.shape[0] and image1.shape[1] == image2.shape[1]):
... | 32.5 | 89 | 0.643501 | 239 | 1,885 | 5.033473 | 0.238494 | 0.093101 | 0.0399 | 0.086451 | 0.804655 | 0.804655 | 0.778055 | 0.778055 | 0.778055 | 0.684954 | 0 | 0.055788 | 0.239257 | 1,885 | 57 | 90 | 33.070175 | 0.783124 | 0.259416 | 0 | 0.645161 | 0 | 0 | 0.044235 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.032258 | 0 | 0.16129 | 0.064516 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
994aa1d0db42409d36d48a811539f82326ccefcb | 2,702 | py | Python | RecoLocalMuon/CSCSegment/python/CSCSegmentAlgorithmDF_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoLocalMuon/CSCSegment/python/CSCSegmentAlgorithmDF_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoLocalMuon/CSCSegment/python/CSCSegmentAlgorithmDF_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
# The following DF algorithms looks how far a rechit is from the
# proto segment in terms of its error ellipse. This is different
# from SK & TC algorithms which use a cylinder around the proto
# segment and look for rechits within that cylinder
DF_ME1234_1 = cms.PSet(
pre... | 38.056338 | 121 | 0.676906 | 365 | 2,702 | 4.967123 | 0.260274 | 0.148924 | 0.079426 | 0.104247 | 0.759515 | 0.729178 | 0.729178 | 0.729178 | 0.729178 | 0.729178 | 0 | 0.080935 | 0.176906 | 2,702 | 70 | 122 | 38.6 | 0.734263 | 0.088083 | 0 | 0.71875 | 0 | 0 | 0.025224 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015625 | 0 | 0.015625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 6 |
997b52d0f209389015179383c610fcd98a815e60 | 20,737 | py | Python | tests/gbe/scheduling/test_ticketed_event_wizard.py | bethlakshmi/gbe-divio-djangocms-python2.7 | 6e9b2c894162524bbbaaf73dcbe927988707231d | [
"Apache-2.0"
] | 1 | 2021-03-14T11:56:47.000Z | 2021-03-14T11:56:47.000Z | tests/gbe/scheduling/test_ticketed_event_wizard.py | bethlakshmi/gbe-divio-djangocms-python2.7 | 6e9b2c894162524bbbaaf73dcbe927988707231d | [
"Apache-2.0"
] | 180 | 2019-09-15T19:52:46.000Z | 2021-11-06T23:48:01.000Z | tests/gbe/scheduling/test_ticketed_event_wizard.py | bethlakshmi/gbe-divio-djangocms-python2.7 | 6e9b2c894162524bbbaaf73dcbe927988707231d | [
"Apache-2.0"
] | null | null | null | from django.test import TestCase
from django.test.client import RequestFactory
from django.test import Client
from django.urls import reverse
from tests.factories.gbe_factories import (
ConferenceFactory,
ConferenceDayFactory,
PersonaFactory,
ProfileFactory,
RoomFactory,
)
from ticketing.models impo... | 38.833333 | 77 | 0.590539 | 2,224 | 20,737 | 5.272032 | 0.103417 | 0.037015 | 0.047591 | 0.058166 | 0.801109 | 0.783625 | 0.77049 | 0.753689 | 0.740043 | 0.69774 | 0 | 0.006744 | 0.299272 | 20,737 | 533 | 78 | 38.906191 | 0.800151 | 0.003134 | 0 | 0.686391 | 0 | 0 | 0.154553 | 0.040453 | 0 | 0 | 0 | 0 | 0.118343 | 1 | 0.045365 | false | 0 | 0.031558 | 0 | 0.08284 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
99854a930747dff4dc1ada0d9841a28e23203c66 | 157 | py | Python | 22. Workshop - Custom List/errors.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | 1 | 2021-03-27T16:56:30.000Z | 2021-03-27T16:56:30.000Z | 22. Workshop - Custom List/errors.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | null | null | null | 22. Workshop - Custom List/errors.py | elenaborisova/Python-OOP | 584882c08f84045b12322917f0716c7c7bd9befc | [
"MIT"
] | 1 | 2021-03-15T14:50:39.000Z | 2021-03-15T14:50:39.000Z | class CustomListIndexException(Exception):
pass
class CustomListTypeException(Exception):
pass
class CustomListSumException(Exception):
pass
| 14.272727 | 42 | 0.783439 | 12 | 157 | 10.25 | 0.5 | 0.317073 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 157 | 10 | 43 | 15.7 | 0.931818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
41f8153a485a496fcbdc1a8288a1c19c13171769 | 40 | py | Python | tests/conftest.py | jhrmnn/schnetpack | 2f96dee7d184b8db8ee610d6743570daeb3763b9 | [
"MIT"
] | null | null | null | tests/conftest.py | jhrmnn/schnetpack | 2f96dee7d184b8db8ee610d6743570daeb3763b9 | [
"MIT"
] | null | null | null | tests/conftest.py | jhrmnn/schnetpack | 2f96dee7d184b8db8ee610d6743570daeb3763b9 | [
"MIT"
] | null | null | null | import pytest
from .test_data import *
| 10 | 24 | 0.775 | 6 | 40 | 5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 3 | 25 | 13.333333 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
512d382d3300f20a6e5a0e3d49af192c5bdae31e | 156 | py | Python | code/frameworks/pisr/visualizers/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | null | null | null | code/frameworks/pisr/visualizers/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | null | null | null | code/frameworks/pisr/visualizers/__init__.py | wukailu/EDSR-PyTorch | 5625cf83ce88050b68e649beb4155b32c38018fa | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from .visualizer_factory import get_visualizer | 31.2 | 46 | 0.891026 | 20 | 156 | 6.15 | 0.5 | 0.243902 | 0.390244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 156 | 5 | 46 | 31.2 | 0.878571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5a9548fb0352cbe02aa6e74ff1cc066c5d719ffd | 27 | py | Python | fizzier/todolists/__init__.py | francaellerman/fizzier | da9cc6a5e84c4ecc72bce09e0625d6b59b6c7b61 | [
"MIT"
] | null | null | null | fizzier/todolists/__init__.py | francaellerman/fizzier | da9cc6a5e84c4ecc72bce09e0625d6b59b6c7b61 | [
"MIT"
] | null | null | null | fizzier/todolists/__init__.py | francaellerman/fizzier | da9cc6a5e84c4ecc72bce09e0625d6b59b6c7b61 | [
"MIT"
] | null | null | null | from .taskwarrior import *
| 13.5 | 26 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5ab2a30173cb0f37592e1a9104dd0705c87db7b6 | 7,681 | py | Python | firehole/algorithms/ahp/tests/test_parser.py | xSumner/firehole | 50007fdf3d71cfe3a2c2aa76d2043bca1b52a05b | [
"Apache-2.0"
] | 4 | 2020-06-23T08:27:07.000Z | 2021-05-18T06:59:03.000Z | firehole/algorithms/ahp/tests/test_parser.py | xSumner/firehole | 50007fdf3d71cfe3a2c2aa76d2043bca1b52a05b | [
"Apache-2.0"
] | null | null | null | firehole/algorithms/ahp/tests/test_parser.py | xSumner/firehole | 50007fdf3d71cfe3a2c2aa76d2043bca1b52a05b | [
"Apache-2.0"
] | null | null | null | import pytest
from firehole.algorithms.ahp import parse
from firehole.algorithms.ahp.errors import *
def test_empty_model():
model = {}
with pytest.raises(AHPModelError):
parse(model)
def test_non_dict_model():
model = []
with pytest.raises(AHPTypeMismatchError) as err:
parse(mode... | 27.82971 | 65 | 0.497982 | 887 | 7,681 | 4.232244 | 0.073281 | 0.102824 | 0.134257 | 0.152371 | 0.89105 | 0.833245 | 0.782632 | 0.774907 | 0.760788 | 0.704049 | 0 | 0.055246 | 0.300091 | 7,681 | 275 | 66 | 27.930909 | 0.643043 | 0 | 0 | 0.657534 | 0 | 0 | 0.185653 | 0 | 0 | 0 | 0 | 0 | 0.159817 | 1 | 0.063927 | false | 0 | 0.013699 | 0 | 0.077626 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ab6122a75ee8502b193355da0d643e7b791a7ee | 66 | py | Python | pylon/models/__init__.py | ch41rmn/pylon-oss | c9ad06438e4d6c8b496b92eabd07d2b12e661e6e | [
"Apache-2.0"
] | 3 | 2020-09-27T02:09:52.000Z | 2022-02-25T02:30:24.000Z | pylon/models/__init__.py | ch41rmn/pylon-oss | c9ad06438e4d6c8b496b92eabd07d2b12e661e6e | [
"Apache-2.0"
] | 8 | 2020-09-24T07:47:14.000Z | 2020-10-16T08:48:38.000Z | pylon/models/__init__.py | ch41rmn/pylon-oss | c9ad06438e4d6c8b496b92eabd07d2b12e661e6e | [
"Apache-2.0"
] | 4 | 2020-09-24T07:41:23.000Z | 2020-09-27T02:07:01.000Z | from . import messages
from . import data
from . import ingestion
| 16.5 | 23 | 0.772727 | 9 | 66 | 5.666667 | 0.555556 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 66 | 3 | 24 | 22 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5acbfe749966a68e184e848eb5b0d1cffced18c2 | 124 | py | Python | karmband/__init__.py | zhampel/k-armed-bandits | 07d6d69f2aeb4d4fdc83ae0ed94b5095f0d00a69 | [
"MIT"
] | null | null | null | karmband/__init__.py | zhampel/k-armed-bandits | 07d6d69f2aeb4d4fdc83ae0ed94b5095f0d00a69 | [
"MIT"
] | null | null | null | karmband/__init__.py | zhampel/k-armed-bandits | 07d6d69f2aeb4d4fdc83ae0ed94b5095f0d00a69 | [
"MIT"
] | null | null | null | # __init__.py
from .__version__ import __version__
from .bandit import *
from .distributions import *
from .plots import *
| 17.714286 | 36 | 0.774194 | 15 | 124 | 5.6 | 0.533333 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 124 | 6 | 37 | 20.666667 | 0.8 | 0.08871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51d237dabc8b6ad4182cdfc843a00a91ff5521db | 282 | py | Python | Problems/Stack class/task.py | DaospinaDLAB/coffee_machine | 2e4b62142f472a1fab29082fa80b152ed9b8904f | [
"Apache-2.0"
] | null | null | null | Problems/Stack class/task.py | DaospinaDLAB/coffee_machine | 2e4b62142f472a1fab29082fa80b152ed9b8904f | [
"Apache-2.0"
] | null | null | null | Problems/Stack class/task.py | DaospinaDLAB/coffee_machine | 2e4b62142f472a1fab29082fa80b152ed9b8904f | [
"Apache-2.0"
] | null | null | null | class Stack:
def __init__(self):
self.stack = []
def push(self, el):
self.stack.append(el)
def pop(self):
return self.stack.pop()
def peek(self):
return self.stack[-1]
def is_empty(self):
return len(self.stack) == 0
| 15.666667 | 35 | 0.542553 | 38 | 282 | 3.894737 | 0.421053 | 0.304054 | 0.189189 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010471 | 0.322695 | 282 | 17 | 36 | 16.588235 | 0.764398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
cf8e5dec8742b71b114fe1b90352ac21fcbf7c5f | 125 | py | Python | Config/MongoXMLConfig.py | sulantha2006/Processing_Pipeline | fb135560b7db79d811177cf02ee96e6081ce3364 | [
"Apache-2.0"
] | 1 | 2015-08-11T17:39:26.000Z | 2015-08-11T17:39:26.000Z | Config/MongoXMLConfig.py | sulantha2006/Processing_Pipeline | fb135560b7db79d811177cf02ee96e6081ce3364 | [
"Apache-2.0"
] | null | null | null | Config/MongoXMLConfig.py | sulantha2006/Processing_Pipeline | fb135560b7db79d811177cf02ee96e6081ce3364 | [
"Apache-2.0"
] | 2 | 2015-11-13T18:05:48.000Z | 2020-01-17T17:28:08.000Z | XMLArchivePath = '/data/data03/RawArchive/XMLArchive'
XMLProcessedArchivePath = '/data/data03/RawArchive/XMLProcessedArchive' | 62.5 | 71 | 0.848 | 10 | 125 | 10.6 | 0.7 | 0.188679 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.04 | 125 | 2 | 71 | 62.5 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0.611111 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 1 | 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 | 6 |
cf8ed098364c5d9a95cac3761617eded84415b0c | 347 | py | Python | eventsourcing/infrastructure/repositories/collection_repo.py | scbabacus/eventsourcing | 8404c5b26719ed9d9d1d257ebba774879c7243c4 | [
"BSD-3-Clause"
] | 1 | 2020-02-10T08:12:31.000Z | 2020-02-10T08:12:31.000Z | eventsourcing/infrastructure/repositories/collection_repo.py | scbabacus/eventsourcing | 8404c5b26719ed9d9d1d257ebba774879c7243c4 | [
"BSD-3-Clause"
] | null | null | null | eventsourcing/infrastructure/repositories/collection_repo.py | scbabacus/eventsourcing | 8404c5b26719ed9d9d1d257ebba774879c7243c4 | [
"BSD-3-Clause"
] | null | null | null | from eventsourcing.domain.model.collection import AbstractCollectionRepository, Collection
from eventsourcing.infrastructure.eventsourcedrepository import EventSourcedRepository
class CollectionRepository(EventSourcedRepository, AbstractCollectionRepository):
"""
Event sourced repository for the Collection do... | 38.555556 | 90 | 0.84438 | 27 | 347 | 10.851852 | 0.62963 | 0.116041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106628 | 347 | 8 | 91 | 43.375 | 0.945161 | 0.184438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf8fa967fbde9f4c81f8b41e6172dbb95fb64b92 | 2,800 | py | Python | final/Code/asr.py | zmzfpc/HCI | 454e13099485d7d2028daa81cf989686fc1fa3b2 | [
"Apache-2.0"
] | null | null | null | final/Code/asr.py | zmzfpc/HCI | 454e13099485d7d2028daa81cf989686fc1fa3b2 | [
"Apache-2.0"
] | null | null | null | final/Code/asr.py | zmzfpc/HCI | 454e13099485d7d2028daa81cf989686fc1fa3b2 | [
"Apache-2.0"
] | null | null | null | # import pyaudio
# #from recorder import Recorder
# from PyQt5.QtCore import QThread, pyqtSignal
# from aip import AipSpeech
# APP_ID = '24156401'
# API_KEY = 'E0IoR5KgwaxNfBdLWsimRi34'
# SECRET_KEY = 'ZfmpKut46SnGap4VgvXozy5u5TdnAnQB'
# client = AipSpeech(APP_ID, API_KEY, SECRET_KEY)
# def baidu_asr(wave, format, rat... | 30.107527 | 81 | 0.627143 | 356 | 2,800 | 4.623596 | 0.227528 | 0.032807 | 0.034022 | 0.041312 | 0.959903 | 0.959903 | 0.959903 | 0.959903 | 0.959903 | 0.959903 | 0 | 0.028423 | 0.246071 | 2,800 | 92 | 82 | 30.434783 | 0.751303 | 0.512857 | 0 | 0 | 0 | 0 | 0.104308 | 0.042328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.096774 | false | 0 | 0.064516 | 0.032258 | 0.322581 | 0.064516 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5ca3c414c70d59c12c1e4f3c9c51f9902be13f97 | 25 | py | Python | FP_Growth/__init__.py | Vyzrala/ZTED_Algorithms | bc4c70d4d350d0bb644e2973b6c6994b336d94c6 | [
"MIT"
] | null | null | null | FP_Growth/__init__.py | Vyzrala/ZTED_Algorithms | bc4c70d4d350d0bb644e2973b6c6994b336d94c6 | [
"MIT"
] | null | null | null | FP_Growth/__init__.py | Vyzrala/ZTED_Algorithms | bc4c70d4d350d0bb644e2973b6c6994b336d94c6 | [
"MIT"
] | null | null | null | from .FPGrowth import FPG | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5cb757ac1a898285c5431911ce3f71a6c8e8d816 | 224 | py | Python | tests/context.py | mjturtora/pyexamp | ef56b028c4bf990e3c2f4e05a8f3df6cda38c00c | [
"BSD-2-Clause"
] | null | null | null | tests/context.py | mjturtora/pyexamp | ef56b028c4bf990e3c2f4e05a8f3df6cda38c00c | [
"BSD-2-Clause"
] | null | null | null | tests/context.py | mjturtora/pyexamp | ef56b028c4bf990e3c2f4e05a8f3df6cda38c00c | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import sys
import os
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
print "\nIn context.py, os.path.dirname(__file__) = ", os.path.dirname(__file__)
import sample
| 28 | 82 | 0.696429 | 35 | 224 | 4.114286 | 0.514286 | 0.208333 | 0.270833 | 0.354167 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.098214 | 224 | 7 | 83 | 32 | 0.70297 | 0.09375 | 0 | 0 | 0 | 0 | 0.233831 | 0.124378 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.6 | null | null | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5ce1576b3964417c7c7bdef32f91981bd3d498ee | 1,916 | py | Python | graphene_django/filter/tests/test_array_field_overlap_filter.py | mebel-akvareli/graphene-django | 23008ad22094f3e7b8fb26b73811ce49b20cca25 | [
"MIT"
] | 4,038 | 2016-09-18T01:45:22.000Z | 2022-03-31T01:06:57.000Z | graphene_django/filter/tests/test_array_field_overlap_filter.py | mebel-akvareli/graphene-django | 23008ad22094f3e7b8fb26b73811ce49b20cca25 | [
"MIT"
] | 1,104 | 2016-09-19T20:10:22.000Z | 2022-03-30T17:37:46.000Z | graphene_django/filter/tests/test_array_field_overlap_filter.py | mebel-akvareli/graphene-django | 23008ad22094f3e7b8fb26b73811ce49b20cca25 | [
"MIT"
] | 791 | 2016-09-18T13:48:11.000Z | 2022-03-29T08:32:06.000Z | import pytest
from graphene import Schema
from ...compat import ArrayField, MissingType
@pytest.mark.skipif(ArrayField is MissingType, reason="ArrayField should exist")
def test_array_field_overlap_multiple(Query):
"""
Test overlap filter on a array field of string.
"""
schema = Schema(query=Query)... | 22.541176 | 80 | 0.523486 | 185 | 1,916 | 5.335135 | 0.248649 | 0.091185 | 0.091185 | 0.079027 | 0.884498 | 0.884498 | 0.884498 | 0.884498 | 0.884498 | 0.884498 | 0 | 0 | 0.341336 | 1,916 | 84 | 81 | 22.809524 | 0.782092 | 0.074635 | 0 | 0.590164 | 0 | 0 | 0.412276 | 0 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.04918 | false | 0 | 0.04918 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a222e5b6987acb8241ac0cdaa3bb7affe16a7d0 | 25 | py | Python | iqoption_api/__init__.py | dewanto/IQOption-Api | 036972de9c8d2bc56cc4044e99f59eb51ec739a1 | [
"Apache-2.0"
] | 5 | 2018-04-04T18:10:56.000Z | 2018-12-27T19:50:58.000Z | iqoption_api/__init__.py | JafferWilson/IQOption-Api | 036972de9c8d2bc56cc4044e99f59eb51ec739a1 | [
"Apache-2.0"
] | null | null | null | iqoption_api/__init__.py | JafferWilson/IQOption-Api | 036972de9c8d2bc56cc4044e99f59eb51ec739a1 | [
"Apache-2.0"
] | 1 | 2022-03-06T13:33:31.000Z | 2022-03-06T13:33:31.000Z | from .api import IQOption | 25 | 25 | 0.84 | 4 | 25 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7a615dfb1a1a46c7a9f1786cd397562d50742393 | 464 | py | Python | Day 19 - Turtle Race/turtle_race_art.py | atulmkamble/100DaysOfCode | ccfb6cb8582be69c63c666a3b097e0130585e4c9 | [
"MIT"
] | 2 | 2021-12-07T00:39:57.000Z | 2021-12-07T01:44:21.000Z | Day 19 - Turtle Race/turtle_race_art.py | atulmkamble/100DaysOfCode | ccfb6cb8582be69c63c666a3b097e0130585e4c9 | [
"MIT"
] | null | null | null | Day 19 - Turtle Race/turtle_race_art.py | atulmkamble/100DaysOfCode | ccfb6cb8582be69c63c666a3b097e0130585e4c9 | [
"MIT"
] | 1 | 2021-09-12T14:02:27.000Z | 2021-09-12T14:02:27.000Z | logo = """
___________ __ .__ __________
\__ ___/_ __________/ |_| | ____ \______ \_____ ____ ____
| | | | \_ __ \ __\ | _/ __ \ | _/\__ \ _/ ___\/ __ \
| | | | /| | \/| | | |_\ ___/ | | \ / __ \\ \__\ ___/
|____| ... | 58 | 74 | 0.282328 | 1 | 464 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.528017 | 464 | 8 | 75 | 58 | 0.018265 | 0 | 0 | 0 | 0 | 0.375 | 0.969892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f9b97cd2741ed63e58f2e793a568b8a66ab6cb5 | 44 | py | Python | CodeWars/Python/021-Subtract_the_Sum.py | IsFilimonov/Interviews | 261b59cd80e1451804c37b03b4cce7c1b63f609d | [
"MIT"
] | 2 | 2021-05-09T22:39:49.000Z | 2021-09-16T12:44:09.000Z | CodeWars/Python/021-Subtract_the_Sum.py | IsFilimonov/Interviews | 261b59cd80e1451804c37b03b4cce7c1b63f609d | [
"MIT"
] | null | null | null | CodeWars/Python/021-Subtract_the_Sum.py | IsFilimonov/Interviews | 261b59cd80e1451804c37b03b4cce7c1b63f609d | [
"MIT"
] | null | null | null | def subtract_sum(number):
return "apple" | 22 | 25 | 0.727273 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 44 | 2 | 26 | 22 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
8fae52521b84b0350e326f925b0f04472cbd1846 | 143 | py | Python | tests/request/django_2x/__init__.py | zlqm/django_improved_view | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | 1 | 2021-02-10T08:26:30.000Z | 2021-02-10T08:26:30.000Z | tests/request/django_2x/__init__.py | zlqm/simple_django_api | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | null | null | null | tests/request/django_2x/__init__.py | zlqm/simple_django_api | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | null | null | null | import django
def django_after_2_2():
"""check whether django version greater than 2.2
"""
return django.__version__[:3] > '2.2'
| 17.875 | 52 | 0.664336 | 21 | 143 | 4.190476 | 0.571429 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061947 | 0.20979 | 143 | 7 | 53 | 20.428571 | 0.716814 | 0.314685 | 0 | 0 | 0 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8fb772d2c06931ada65403ddd1f1ae83ee2fe5ce | 42 | py | Python | src/models/__init__.py | ignavier/golem | 9e99e615c43a288532c319a29ac4bc2a0830226a | [
"Apache-2.0"
] | 10 | 2020-12-03T00:55:06.000Z | 2021-06-30T07:43:23.000Z | src/models/__init__.py | ignavier/golem | 9e99e615c43a288532c319a29ac4bc2a0830226a | [
"Apache-2.0"
] | null | null | null | src/models/__init__.py | ignavier/golem | 9e99e615c43a288532c319a29ac4bc2a0830226a | [
"Apache-2.0"
] | 1 | 2021-12-09T09:43:30.000Z | 2021-12-09T09:43:30.000Z | from models.golem_model import GolemModel
| 21 | 41 | 0.880952 | 6 | 42 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 42 | 1 | 42 | 42 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8902cc51b625bd58c91d82da71eaa59b76c24b85 | 71 | py | Python | app/models/__init__.py | wsx66848/detection | 4b9c40d2c4d3c98c24e94e539f9867b3f826d147 | [
"Apache-2.0"
] | null | null | null | app/models/__init__.py | wsx66848/detection | 4b9c40d2c4d3c98c24e94e539f9867b3f826d147 | [
"Apache-2.0"
] | null | null | null | app/models/__init__.py | wsx66848/detection | 4b9c40d2c4d3c98c24e94e539f9867b3f826d147 | [
"Apache-2.0"
] | null | null | null | from .bbox_heads import *
from .utils import *
from .detectors import * | 23.666667 | 25 | 0.760563 | 10 | 71 | 5.3 | 0.6 | 0.377358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 26 | 23.666667 | 0.883333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
890a61cf30f0c4e71e9697bbadaf6896af8a0c24 | 108 | py | Python | nxpy/util.py | Kent1/nxpy | acc61daea2bb197506d87d3166dde252238553af | [
"Apache-2.0"
] | 1 | 2016-11-30T17:41:09.000Z | 2016-11-30T17:41:09.000Z | nxpy/util.py | Kent1/nxpy | acc61daea2bb197506d87d3166dde252238553af | [
"Apache-2.0"
] | null | null | null | nxpy/util.py | Kent1/nxpy | acc61daea2bb197506d87d3166dde252238553af | [
"Apache-2.0"
] | null | null | null | import re
# Globals
tag_pattern = re.compile(r'({.*})?(.*)')
whitespace_pattern = re.compile(r'[\n\r\s]+')
| 18 | 45 | 0.62037 | 16 | 108 | 4.0625 | 0.625 | 0.276923 | 0.492308 | 0.523077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101852 | 108 | 5 | 46 | 21.6 | 0.670103 | 0.064815 | 0 | 0 | 0 | 0 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
64eb1ffd6092f2d1d540e48fe14baeda1726b0b1 | 133,564 | py | Python | ornstein_auto_encoder/_build_base_network.py | Young-won/ornstein_auto_encoders | 7ebe15f79f56cb75f4948dc7cf6d4633ccec84ec | [
"MIT"
] | 1 | 2021-06-08T10:28:32.000Z | 2021-06-08T10:28:32.000Z | ornstein_auto_encoder/_build_base_network.py | Young-won/ornstein_auto_encoders | 7ebe15f79f56cb75f4948dc7cf6d4633ccec84ec | [
"MIT"
] | null | null | null | ornstein_auto_encoder/_build_base_network.py | Young-won/ornstein_auto_encoders | 7ebe15f79f56cb75f4948dc7cf6d4633ccec84ec | [
"MIT"
] | null | null | null | import time
import json
import sys
import os
import abc
import copy
import numpy as np
import pandas as pd
from functools import partial
import keras
import keras.backend as k
from keras.models import Model, load_model, model_from_yaml
from keras.layers import Input, Concatenate, Conv2D, Lambda, Dense, Add, Average, M... | 53.361566 | 153 | 0.552327 | 15,278 | 133,564 | 4.536719 | 0.038879 | 0.018958 | 0.018568 | 0.021353 | 0.874971 | 0.856201 | 0.836926 | 0.819829 | 0.803728 | 0.791133 | 0 | 0.008927 | 0.325709 | 133,564 | 2,502 | 154 | 53.382894 | 0.760684 | 0.399434 | 0 | 0.662651 | 0 | 0 | 0.109601 | 0.012852 | 0 | 0 | 0 | 0.001998 | 0 | 1 | 0.040448 | false | 0 | 0.021515 | 0.003442 | 0.085198 | 0.020654 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f142a685e5d13dc844bd191be0ac77b5bd1d1a1 | 217 | py | Python | huobi/model/generic/__init__.py | codemonkey89/huobi_Python | 92b96679f6e239c785df7c4354a0a94deda2768f | [
"Apache-2.0"
] | null | null | null | huobi/model/generic/__init__.py | codemonkey89/huobi_Python | 92b96679f6e239c785df7c4354a0a94deda2768f | [
"Apache-2.0"
] | null | null | null | huobi/model/generic/__init__.py | codemonkey89/huobi_Python | 92b96679f6e239c785df7c4354a0a94deda2768f | [
"Apache-2.0"
] | null | null | null | from huobi.model.generic.symbol import Symbol
from huobi.model.generic.exchange_info import ExchangeInfo
from huobi.model.generic.chain import Chain
from huobi.model.generic.reference_currency import ReferenceCurrency | 54.25 | 68 | 0.875576 | 30 | 217 | 6.266667 | 0.433333 | 0.191489 | 0.297872 | 0.446809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069124 | 217 | 4 | 68 | 54.25 | 0.930693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 6 |
8f222ac565008be53924de01c393a233de851e8b | 12,496 | py | Python | tests/unit_tests/test_core.py | romilly/pdp8 | 68e1025c5e4c6b6fa92a62cc81117d841c214137 | [
"MIT"
] | 2 | 2018-06-02T03:46:24.000Z | 2021-09-26T06:16:25.000Z | tests/unit_tests/test_core.py | romilly/pdp8 | 68e1025c5e4c6b6fa92a62cc81117d841c214137 | [
"MIT"
] | null | null | null | tests/unit_tests/test_core.py | romilly/pdp8 | 68e1025c5e4c6b6fa92a62cc81117d841c214137 | [
"MIT"
] | 1 | 2019-06-19T05:41:48.000Z | 2019-06-19T05:41:48.000Z | from abc import ABCMeta
from unittest import TestCase
from hamcrest import assert_that
from pdp8.core import PDP8, octal
from pdp8.pal import Pal
from pdp8.tracing import HaltTracer
from tests.helpers.checker import PDPChecker
# TODO: Add tests (and then code) for AutoIndexing
class AbstractCodeTest(TestCase):
... | 32.123393 | 101 | 0.601873 | 1,728 | 12,496 | 4.304398 | 0.078125 | 0.174106 | 0.122345 | 0.124227 | 0.861791 | 0.8427 | 0.82697 | 0.797392 | 0.783678 | 0.742269 | 0 | 0.053695 | 0.247359 | 12,496 | 388 | 102 | 32.206186 | 0.737161 | 0.018566 | 0 | 0.605351 | 0 | 0 | 0.040573 | 0 | 0 | 0 | 0 | 0.002577 | 0.006689 | 1 | 0.173913 | false | 0 | 0.023411 | 0.003344 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f38d6d36310339a4ea4a0eb1cb37f846ccceda6 | 6,166 | py | Python | word2vec/main.py | hietalajulius/word-2-vec-sentiment | ebe91e21c6a7640d034d6a9a8e8f1ba93bd1b133 | [
"MIT"
] | null | null | null | word2vec/main.py | hietalajulius/word-2-vec-sentiment | ebe91e21c6a7640d034d6a9a8e8f1ba93bd1b133 | [
"MIT"
] | 3 | 2021-02-02T22:34:46.000Z | 2021-08-23T20:40:43.000Z | word2vec/main.py | hietalajulius/aalto-snlp-2020 | ebe91e21c6a7640d034d6a9a8e8f1ba93bd1b133 | [
"MIT"
] | 1 | 2021-01-02T19:17:28.000Z | 2021-01-02T19:17:28.000Z | from gensim.test.utils import datapath
import pandas as pd
import gensim.models
class TweetCorpusWithStops(object):
"""An interator that yields sentences (lists of str)."""
def __iter__(self, filename="../data/processed_all_stops_included.csv"):
df = pd.read_csv(filename)
for i in ... | 52.254237 | 282 | 0.510866 | 679 | 6,166 | 4.435935 | 0.212077 | 0.043825 | 0.047809 | 0.050465 | 0.851262 | 0.839309 | 0.839309 | 0.839309 | 0.812749 | 0.812749 | 0 | 0.023906 | 0.362309 | 6,166 | 118 | 283 | 52.254237 | 0.742116 | 0.01638 | 0 | 0.2 | 0 | 0 | 0.160526 | 0.046491 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.133333 | 0.05 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f7f40f777fd05627be9fe3230ccb98d6f2e252b | 73 | py | Python | tests/test_jinn.py | transcode-de/jinn | fc57f980fd957d371d02990a0ca7b1b250b66b17 | [
"BSD-2-Clause"
] | null | null | null | tests/test_jinn.py | transcode-de/jinn | fc57f980fd957d371d02990a0ca7b1b250b66b17 | [
"BSD-2-Clause"
] | 2 | 2016-03-21T13:27:19.000Z | 2016-08-12T09:37:19.000Z | tests/test_jinn.py | transcode-de/jinn | fc57f980fd957d371d02990a0ca7b1b250b66b17 | [
"BSD-2-Clause"
] | null | null | null |
import jinn
def test_main():
assert jinn # use your library here
| 10.428571 | 40 | 0.684932 | 11 | 73 | 4.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 73 | 6 | 41 | 12.166667 | 0.907407 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56aebac4014b6d7ff9f614ee2d5315427b4f5bca | 74 | py | Python | Calculator/squareroot.py | harshalupadhye/statistic | 33d9fa183e6268f97c2394d8134f1e3fc2efc2c0 | [
"MIT"
] | null | null | null | Calculator/squareroot.py | harshalupadhye/statistic | 33d9fa183e6268f97c2394d8134f1e3fc2efc2c0 | [
"MIT"
] | null | null | null | Calculator/squareroot.py | harshalupadhye/statistic | 33d9fa183e6268f97c2394d8134f1e3fc2efc2c0 | [
"MIT"
] | 1 | 2019-11-17T04:15:50.000Z | 2019-11-17T04:15:50.000Z | import math
def squareroot(a):
return round(float(math.sqrt(a)), 7)
| 12.333333 | 40 | 0.675676 | 12 | 74 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.175676 | 74 | 5 | 41 | 14.8 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
56cae1d677c86be887357084161dd466d24444a9 | 2,452 | py | Python | cmtimer.py | wrwrwr/cmtimer | d041b246ace4eeb2d3f4884b4888635700fc65b5 | [
"MIT"
] | null | null | null | cmtimer.py | wrwrwr/cmtimer | d041b246ace4eeb2d3f4884b4888635700fc65b5 | [
"MIT"
] | null | null | null | cmtimer.py | wrwrwr/cmtimer | d041b246ace4eeb2d3f4884b4888635700fc65b5 | [
"MIT"
] | null | null | null | from numbers import Real
from time import perf_counter
class Timer(Real):
"""
Simple timing context manager.
Implements all abstract methods of numbers.Real.
"""
def __enter__(self):
self.entry_time = perf_counter()
return self
def __exit__(self, *args, **kwargs):
sel... | 23.576923 | 54 | 0.639886 | 292 | 2,452 | 4.575342 | 0.208904 | 0.202096 | 0.291916 | 0.224551 | 0.269461 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245514 | 2,452 | 103 | 55 | 23.805825 | 0.722162 | 0.032626 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.469697 | false | 0 | 0.030303 | 0.439394 | 0.969697 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
71014f642084ed22dfc6bb3d6af892f41c5767de | 96 | py | Python | venv/lib/python3.8/site-packages/parso/utils.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/parso/utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/parso/utils.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/1f/e3/d3/a473b14e6b5eefaf84fe70a24c32990bc403fa495a8935ce341709b96e | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 0 | 96 | 1 | 96 | 96 | 0.489583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
712f4e0225d5dd1c99a89108cca8e2f1f02bfd95 | 110 | py | Python | osf/files/addons-dropbox-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-dropbox-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-dropbox-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | import os
DROPBOX_KEY = os.environ['DROPBOX_CLIENT_ID']
DROPBOX_SECRET = os.environ['DROPBOX_CLIENT_SECRET']
| 22 | 52 | 0.809091 | 16 | 110 | 5.1875 | 0.5 | 0.216867 | 0.385542 | 0.53012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 110 | 4 | 53 | 27.5 | 0.821782 | 0 | 0 | 0 | 0 | 0 | 0.345455 | 0.190909 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
713ddcd41052cbbf1ee7f833efd8cbe2bdc26554 | 35 | py | Python | internalblue/fw/__init__.py | drewbug/internalblue | 8c3f4f98a753ed90ebf93e780d9d003b39f0f95c | [
"Unlicense"
] | 485 | 2018-09-08T12:12:34.000Z | 2022-03-30T19:37:22.000Z | internalblue/fw/__init__.py | drewbug/internalblue | 8c3f4f98a753ed90ebf93e780d9d003b39f0f95c | [
"Unlicense"
] | 46 | 2018-09-09T14:35:27.000Z | 2022-03-09T16:43:26.000Z | internalblue/fw/__init__.py | drewbug/internalblue | 8c3f4f98a753ed90ebf93e780d9d003b39f0f95c | [
"Unlicense"
] | 62 | 2018-09-09T14:35:37.000Z | 2022-02-03T06:20:58.000Z | from .fw import FirmwareDefinition
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
85447a55b116459f4f6a174ece0a0da0437dd163 | 115 | py | Python | src/cms/views/chat/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 14 | 2020-12-03T07:56:30.000Z | 2021-10-30T13:09:50.000Z | integreat_cms/cms/views/chat/__init__.py | Carlosbogo/integreat-cms | 066f188b138e105e72f5420bc36d25709f25402d | [
"Apache-2.0"
] | 367 | 2020-11-20T00:34:20.000Z | 2021-12-14T15:20:42.000Z | src/cms/views/chat/__init__.py | mckinly/cms-django | c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca | [
"Apache-2.0"
] | 3 | 2021-02-09T18:46:52.000Z | 2021-12-07T10:41:39.000Z | """
This package contains all dashboard views
"""
from .chat_actions import send_chat_message, delete_chat_message
| 23 | 64 | 0.817391 | 16 | 115 | 5.5625 | 0.8125 | 0.247191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113043 | 115 | 4 | 65 | 28.75 | 0.872549 | 0.356522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
856b47b930eab1810d7e3ec3b6e8687bc8844e48 | 158 | py | Python | app/status/views/healthcheck.py | TechforgoodCAST/notifications-admin | 0a9e06aafd79d0fbe50c26a85bf757aaeaa59340 | [
"MIT"
] | null | null | null | app/status/views/healthcheck.py | TechforgoodCAST/notifications-admin | 0a9e06aafd79d0fbe50c26a85bf757aaeaa59340 | [
"MIT"
] | 1 | 2021-10-19T13:34:15.000Z | 2021-10-19T13:34:15.000Z | app/status/views/healthcheck.py | TechforgoodCAST/notifications-admin | 0a9e06aafd79d0fbe50c26a85bf757aaeaa59340 | [
"MIT"
] | 1 | 2021-03-05T13:18:44.000Z | 2021-03-05T13:18:44.000Z | from flask import jsonify
from app.status import status
@status.route('/_status', methods=['GET'])
def show_status():
return jsonify(status="ok"), 200
| 17.555556 | 42 | 0.71519 | 22 | 158 | 5.045455 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.139241 | 158 | 8 | 43 | 19.75 | 0.794118 | 0 | 0 | 0 | 0 | 0 | 0.082278 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
856c034905ff22a799e14e93e6d5e78619bdd986 | 10,819 | py | Python | tests/components/unifiprotect/test_binary_sensor.py | orcema/core | ce144bf63145813c76fbbe4f9423341764695057 | [
"Apache-2.0"
] | null | null | null | tests/components/unifiprotect/test_binary_sensor.py | orcema/core | ce144bf63145813c76fbbe4f9423341764695057 | [
"Apache-2.0"
] | null | null | null | tests/components/unifiprotect/test_binary_sensor.py | orcema/core | ce144bf63145813c76fbbe4f9423341764695057 | [
"Apache-2.0"
] | null | null | null | """Test the UniFi Protect binary_sensor platform."""
# pylint: disable=protected-access
from __future__ import annotations
from datetime import datetime, timedelta
from unittest.mock import Mock
from pyunifiprotect.data import Camera, Event, EventType, Light, MountType, Sensor
from pyunifiprotect.data.nvr import Even... | 29.560109 | 88 | 0.718643 | 1,360 | 10,819 | 5.408824 | 0.1 | 0.066884 | 0.054377 | 0.046221 | 0.805873 | 0.789016 | 0.758564 | 0.752991 | 0.727433 | 0.68162 | 0 | 0.005531 | 0.197893 | 10,819 | 365 | 89 | 29.641096 | 0.84213 | 0.008781 | 0 | 0.618519 | 0 | 0 | 0.002542 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0 | false | 0 | 0.044444 | 0 | 0.044444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
858e5fbb15751a9a1d7081c4dbf01d8d50f00ff4 | 48 | py | Python | geosnap/visualize/__init__.py | weikang9009/geosnap | 276c99bf60657bcd2ee18cc207cf1f8344a44422 | [
"BSD-3-Clause"
] | null | null | null | geosnap/visualize/__init__.py | weikang9009/geosnap | 276c99bf60657bcd2ee18cc207cf1f8344a44422 | [
"BSD-3-Clause"
] | null | null | null | geosnap/visualize/__init__.py | weikang9009/geosnap | 276c99bf60657bcd2ee18cc207cf1f8344a44422 | [
"BSD-3-Clause"
] | null | null | null | from .seq import *
from .commviz import explore
| 16 | 28 | 0.770833 | 7 | 48 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 29 | 24 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a418135dff71446d4431c9cb6f797d78694124aa | 140 | py | Python | Exercicios/func_linha.py | beatrizflorenccio/Projects-Python | fc584167a2816dc89f22baef0fa0f780af796c98 | [
"MIT"
] | 1 | 2021-10-10T08:18:45.000Z | 2021-10-10T08:18:45.000Z | Exercicios/func_linha.py | beatrizflorenccio/Projects-Python | fc584167a2816dc89f22baef0fa0f780af796c98 | [
"MIT"
] | null | null | null | Exercicios/func_linha.py | beatrizflorenccio/Projects-Python | fc584167a2816dc89f22baef0fa0f780af796c98 | [
"MIT"
] | null | null | null | #MaBe
def linhas(titulo):
print("-" * (len(titulo)+4))
print(f' {titulo}')
print("-" * (len(titulo)+4))
linhas('Olá, Mundo!') | 17.5 | 32 | 0.535714 | 18 | 140 | 4.166667 | 0.555556 | 0.293333 | 0.373333 | 0.533333 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017699 | 0.192857 | 140 | 8 | 33 | 17.5 | 0.646018 | 0.028571 | 0 | 0.4 | 0 | 0 | 0.169118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
a44c2fec6d434071ce5b351f4194c19febd3b574 | 34 | py | Python | kurento/__init__.py | delpass/aiokurento | eddbd908c24ea049db4a9f04a0e2c96c74ccd288 | [
"MIT"
] | 2 | 2016-08-20T15:07:07.000Z | 2017-03-28T08:33:13.000Z | kurento/__init__.py | delpass/aiokurento | eddbd908c24ea049db4a9f04a0e2c96c74ccd288 | [
"MIT"
] | null | null | null | kurento/__init__.py | delpass/aiokurento | eddbd908c24ea049db4a9f04a0e2c96c74ccd288 | [
"MIT"
] | null | null | null | from .client import KurentoClient
| 17 | 33 | 0.852941 | 4 | 34 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 1 | 34 | 34 | 0.966667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4858319d33e07945f3f9ae9bc0068b9798a3da0 | 133 | py | Python | summertime/model/single_doc/multilingual/__init__.py | techthiyanes/SummerTime | 7fd6b4d3eb5c41f117d2b3350611a8e040e48a1f | [
"Apache-2.0"
] | 178 | 2021-07-07T23:46:20.000Z | 2022-03-26T17:47:21.000Z | summertime/model/single_doc/multilingual/__init__.py | techthiyanes/SummerTime | 7fd6b4d3eb5c41f117d2b3350611a8e040e48a1f | [
"Apache-2.0"
] | 77 | 2021-06-18T21:44:53.000Z | 2022-02-20T00:23:06.000Z | summertime/model/single_doc/multilingual/__init__.py | techthiyanes/SummerTime | 7fd6b4d3eb5c41f117d2b3350611a8e040e48a1f | [
"Apache-2.0"
] | 19 | 2021-06-18T22:24:47.000Z | 2022-03-16T12:53:50.000Z | from .mbart_model import MBartModel
from .mt5_model import MT5Model
from .translation_pipeline_model import TranslationPipelineModel
| 33.25 | 64 | 0.887218 | 16 | 133 | 7.125 | 0.625 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.090226 | 133 | 3 | 65 | 44.333333 | 0.92562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a4a8605f4853adbae0032b034bd85c4599c50dd4 | 116 | py | Python | Common/WebScrappers/Yahoo/YahooFinancialScrapper.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 2 | 2020-03-04T11:18:38.000Z | 2020-05-10T15:36:42.000Z | Common/WebScrappers/Yahoo/YahooFinancialScrapper.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 6 | 2020-03-30T16:42:47.000Z | 2021-12-13T20:37:21.000Z | Common/WebScrappers/Yahoo/YahooFinancialScrapper.py | enriqueescobar-askida/Kinito.Finance | 5308748b64829ac798a858161f9b4a9e5829db44 | [
"MIT"
] | 1 | 2020-04-14T11:26:16.000Z | 2020-04-14T11:26:16.000Z | from Common.WebScrappers.YahooScrapper import YahooScrapper
class YahooFinancialScrapper(YahooScrapper):
pass
| 19.333333 | 59 | 0.844828 | 10 | 116 | 9.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112069 | 116 | 5 | 60 | 23.2 | 0.951456 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
f114e0ee92de49b2fedc985f51979c1e15080095 | 19,802 | py | Python | tests/test_mixins.py | Vacasa/drf-jsonapi | fb0e4abb0d5c5daad9f6c89349dbb007f9f5752f | [
"MIT"
] | 2 | 2019-02-06T15:57:41.000Z | 2019-06-11T20:42:31.000Z | tests/test_mixins.py | Vacasa/drf-jsonapi | fb0e4abb0d5c5daad9f6c89349dbb007f9f5752f | [
"MIT"
] | 72 | 2018-06-13T22:36:57.000Z | 2022-02-10T08:31:06.000Z | tests/test_mixins.py | Vacasa/drf-jsonapi | fb0e4abb0d5c5daad9f6c89349dbb007f9f5752f | [
"MIT"
] | 2 | 2019-02-22T18:46:29.000Z | 2020-03-31T01:42:21.000Z | from django.test import TestCase
from django.test.utils import override_settings
from rest_framework.test import APIRequestFactory
from rest_framework.exceptions import NotFound, MethodNotAllowed, ParseError
from drf_jsonapi.viewsets import ViewSet
from drf_jsonapi.filters import FilterSet
from drf_jsonapi.response i... | 36.135036 | 87 | 0.561105 | 1,699 | 19,802 | 6.343143 | 0.090053 | 0.020135 | 0.089171 | 0.109307 | 0.82973 | 0.812471 | 0.789273 | 0.756611 | 0.72265 | 0.691565 | 0 | 0.008097 | 0.32017 | 19,802 | 547 | 88 | 36.201097 | 0.792453 | 0 | 0 | 0.584711 | 0 | 0 | 0.152358 | 0.017675 | 0 | 0 | 0 | 0 | 0.082645 | 1 | 0.082645 | false | 0 | 0.018595 | 0.018595 | 0.171488 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
f125b2c768572fff2e079c3264ef0b1fc3906fad | 191 | py | Python | instagram/admin.py | rehemafaith/instaclone | 00f711498217a6fe08bc94fd9d5c00e6d1d3ecb0 | [
"MIT"
] | null | null | null | instagram/admin.py | rehemafaith/instaclone | 00f711498217a6fe08bc94fd9d5c00e6d1d3ecb0 | [
"MIT"
] | 5 | 2021-03-19T00:50:03.000Z | 2021-09-08T01:00:56.000Z | instagram/admin.py | rehemafaith/instaclone | 00f711498217a6fe08bc94fd9d5c00e6d1d3ecb0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import Image,Profile
admin.site.register(Profile)
admin.site.register(Image)
| 17.363636 | 39 | 0.774869 | 26 | 191 | 5.5 | 0.615385 | 0.167832 | 0.223776 | 0.335664 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005952 | 0.120419 | 191 | 10 | 40 | 19.1 | 0.845238 | 0.109948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1705a1e457171c9ce5fb59ba3d8f0ec48ebb65b | 34 | py | Python | siraben/__init__.py | SiraArduino/siraben | 49479a5bb4577d1990775d12f6c4f69fb01762b0 | [
"MIT"
] | null | null | null | siraben/__init__.py | SiraArduino/siraben | 49479a5bb4577d1990775d12f6c4f69fb01762b0 | [
"MIT"
] | null | null | null | siraben/__init__.py | SiraArduino/siraben | 49479a5bb4577d1990775d12f6c4f69fb01762b0 | [
"MIT"
] | null | null | null | from siraben.sira import Siraben
| 17 | 33 | 0.823529 | 5 | 34 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 1 | 34 | 34 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74b039c42c3f6e2d96373edb4a9769a3cef30641 | 59 | py | Python | crawlertool/db/__init__.py | ChangxingJiang/CrawlerTool | c432263df45cca3b1f4caca0494796caa1fa706a | [
"Apache-2.0"
] | 1 | 2021-04-28T06:31:19.000Z | 2021-04-28T06:31:19.000Z | crawlertool/db/__init__.py | ChangxingJiang/CrawlerTool | c432263df45cca3b1f4caca0494796caa1fa706a | [
"Apache-2.0"
] | null | null | null | crawlertool/db/__init__.py | ChangxingJiang/CrawlerTool | c432263df45cca3b1f4caca0494796caa1fa706a | [
"Apache-2.0"
] | 1 | 2021-04-28T06:30:25.000Z | 2021-04-28T06:30:25.000Z | from ._mysql import DefaultMySQL
from ._mysql import MySQL
| 19.666667 | 32 | 0.830508 | 8 | 59 | 5.875 | 0.5 | 0.382979 | 0.638298 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 33 | 29.5 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
74b82dd54c391a59d972167fe0ff779316dea3a0 | 77 | py | Python | pythonrails_templates/tags/tag_head.py | PythonRails/Templates | 39871d33a613b33de8f7c90073acd0b9590c4084 | [
"MIT"
] | null | null | null | pythonrails_templates/tags/tag_head.py | PythonRails/Templates | 39871d33a613b33de8f7c90073acd0b9590c4084 | [
"MIT"
] | null | null | null | pythonrails_templates/tags/tag_head.py | PythonRails/Templates | 39871d33a613b33de8f7c90073acd0b9590c4084 | [
"MIT"
] | null | null | null | from pythonrails_templates import BaseTag
class TagHead(BaseTag):
pass
| 12.833333 | 41 | 0.792208 | 9 | 77 | 6.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168831 | 77 | 5 | 42 | 15.4 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
74c6686cead89f1b6f1bbfa94746b47ba5e92ab3 | 41 | py | Python | bolinette/mail/__init__.py | TheCaptainCat/flasque | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 4 | 2020-11-02T15:16:32.000Z | 2022-01-11T11:19:24.000Z | bolinette/mail/__init__.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | 14 | 2021-01-04T11:06:59.000Z | 2022-03-23T17:01:49.000Z | bolinette/mail/__init__.py | TheCaptainCat/bolinette | d42deb57572084f513202a32c460186700ce8e0b | [
"MIT"
] | null | null | null | from bolinette.mail.sender import Sender
| 20.5 | 40 | 0.853659 | 6 | 41 | 5.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097561 | 41 | 1 | 41 | 41 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
74c87292b14436b7ef743201317d470361e2c107 | 36 | py | Python | blobcity/image/main/__init__.py | lahdjirayhan/autoai | de4c0abfa07f5385ad566d6391fca38d17a22dc1 | [
"Apache-2.0"
] | 115 | 2021-09-01T03:55:40.000Z | 2022-03-29T07:09:03.000Z | blobcity/image/main/__init__.py | maxpark/autoai | c9f6d8d6cc2027b7918bae88862ea476cc49397f | [
"Apache-2.0"
] | 87 | 2021-09-10T08:56:32.000Z | 2022-02-01T07:18:05.000Z | blobcity/image/main/__init__.py | maxpark/autoai | c9f6d8d6cc2027b7918bae88862ea476cc49397f | [
"Apache-2.0"
] | 35 | 2021-09-01T04:16:18.000Z | 2022-02-05T20:32:26.000Z | from .driver import train,load,spill | 36 | 36 | 0.833333 | 6 | 36 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d3e283eec4178601ddc0ca068930e8e1f273dab | 140 | py | Python | flaskapp/api/__init__.py | GreatScot/bustimes | acd52003b4a7b6af87291104b60b74a46debb408 | [
"MIT"
] | null | null | null | flaskapp/api/__init__.py | GreatScot/bustimes | acd52003b4a7b6af87291104b60b74a46debb408 | [
"MIT"
] | 15 | 2019-11-02T11:40:20.000Z | 2019-11-12T18:14:29.000Z | flaskapp/api/__init__.py | thomasmarr/bustimes | acd52003b4a7b6af87291104b60b74a46debb408 | [
"MIT"
] | null | null | null | from flask import Blueprint
from flask_cors import CORS
api_blueprint = Blueprint("api", __name__)
CORS(api_blueprint)
from . import views | 20 | 42 | 0.807143 | 20 | 140 | 5.3 | 0.4 | 0.169811 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128571 | 140 | 7 | 43 | 20 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0.6 | 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 | 1 | 1 | 0 | 6 |
742ee063faddcfb8ad42ed2ae4d861055ffe24e1 | 35 | py | Python | term_app/kivy_soil/terminal_widget/plugins/remote_control/__init__.py | Bakterija/term_app | 9044ffdfaad750a1c47211aa56eab6c132ec8cec | [
"MIT"
] | 1 | 2017-06-23T15:16:13.000Z | 2017-06-23T15:16:13.000Z | terminal_widget/plugins/remote_control/__init__.py | Bakterija/kivy_soil | 75b9376290fc720010525e1e96fec482f6304ffd | [
"Unlicense"
] | null | null | null | terminal_widget/plugins/remote_control/__init__.py | Bakterija/kivy_soil | 75b9376290fc720010525e1e96fec482f6304ffd | [
"Unlicense"
] | null | null | null | from .remote_control import Plugin
| 17.5 | 34 | 0.857143 | 5 | 35 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7430788cc3e800ab4b1777a0afb2d27a61737bef | 40,373 | py | Python | tests/test_ghost.py | ghost-devs/GhostMarketContractN3 | 3f4d0f7561fd604e4cf7e31e245ed0b5d8c1d980 | [
"Apache-2.0"
] | 1 | 2021-12-22T23:09:47.000Z | 2021-12-22T23:09:47.000Z | tests/test_ghost.py | ghost-devs/GhostMarketContractN3 | 3f4d0f7561fd604e4cf7e31e245ed0b5d8c1d980 | [
"Apache-2.0"
] | null | null | null | tests/test_ghost.py | ghost-devs/GhostMarketContractN3 | 3f4d0f7561fd604e4cf7e31e245ed0b5d8c1d980 | [
"Apache-2.0"
] | 2 | 2021-08-25T14:36:56.000Z | 2021-12-22T23:10:29.000Z | import os
from typing import Dict
from pathlib import Path
from boa3_test.tests.boa_test import BoaTest
from boa3_test.tests.test_classes.testengine import TestEngine
from boa3.neo.smart_contract.VoidType import VoidType
from boa3.neo.cryptography import hash160
from boa3.constants import GAS_SCRIPT
from boa3.neo.vm.ty... | 48.759662 | 394 | 0.651351 | 4,735 | 40,373 | 5.280676 | 0.066948 | 0.056631 | 0.066549 | 0.076748 | 0.817229 | 0.800952 | 0.775636 | 0.771197 | 0.75292 | 0.734283 | 0 | 0.021082 | 0.23751 | 40,373 | 827 | 395 | 48.818622 | 0.791158 | 0.091596 | 0 | 0.665517 | 0 | 0.031034 | 0.142978 | 0.026829 | 0 | 0 | 0 | 0.001209 | 0.089655 | 1 | 0.044828 | false | 0 | 0.02931 | 0 | 0.105172 | 0.162069 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
745c8ef156bb55936e7156386e51f7260d6210c7 | 7,165 | py | Python | veros/core/density/get_rho.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 115 | 2019-11-23T02:31:30.000Z | 2022-03-29T12:58:30.000Z | veros/core/density/get_rho.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 207 | 2019-11-21T13:21:22.000Z | 2022-03-31T23:36:09.000Z | veros/core/density/get_rho.py | AkasDutta/veros | 9f530596a0148a398829050017de3e01a71261a0 | [
"MIT"
] | 21 | 2020-01-28T13:13:39.000Z | 2022-02-02T13:46:33.000Z | from veros import veros_kernel
from veros.core.density import gsw, linear_eq as lq, nonlinear_eq1 as nq1, nonlinear_eq2 as nq2, nonlinear_eq3 as nq3
@veros_kernel
def get_rho(state, salt_loc, temp_loc, press):
"""
calculate density as a function of temperature, salinity and pressure
"""
settings = sta... | 36.556122 | 117 | 0.715841 | 1,124 | 7,165 | 4.183274 | 0.072954 | 0.133986 | 0.15504 | 0.124415 | 0.927478 | 0.9245 | 0.913654 | 0.889621 | 0.873245 | 0.84262 | 0 | 0.022564 | 0.202094 | 7,165 | 195 | 118 | 36.74359 | 0.799895 | 0.113189 | 0 | 0.637037 | 0 | 0 | 0.036267 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.014815 | 0 | 0.407407 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
746fc4f150bc02d61657c27ed694b440a68fb4c8 | 37 | py | Python | speech_transformer/__init__.py | sooftware/speech-transformer | f072dc34585fa6c49a9c0fff86abf8604331a313 | [
"MIT"
] | 20 | 2021-01-17T05:48:08.000Z | 2022-03-13T14:15:59.000Z | speech_transformer/__init__.py | sooftware/Speech-Transformer | f072dc34585fa6c49a9c0fff86abf8604331a313 | [
"MIT"
] | 3 | 2021-02-14T08:01:56.000Z | 2021-11-28T14:39:58.000Z | speech_transformer/__init__.py | sooftware/speech-transformer | f072dc34585fa6c49a9c0fff86abf8604331a313 | [
"MIT"
] | 2 | 2021-12-11T23:05:23.000Z | 2022-02-22T08:06:06.000Z | from .model import SpeechTransformer
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77658a2a7e4a52d17efe593eb458cce7a7a5810d | 32,783 | py | Python | tests/test_model/test_model.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_model/test_model.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | null | null | null | tests/test_model/test_model.py | alexandreMayerowitz/playground-plums | a6be79e4c30c7abcbade5581f052a4e8035a2057 | [
"MIT"
] | 2 | 2021-02-03T12:37:53.000Z | 2022-03-09T03:48:12.000Z | import os
import string
import pytest
from plums.commons.path import Path
from plums.model import Producer, CheckpointCollection, Training
from plums.model.components.utils import is_duplicate, copy, rmtree, Checkpoint, md5_checksum
from plums.model.model import Model, initialisation
__char_index = -1
def _char_ge... | 49.371988 | 117 | 0.590611 | 3,931 | 32,783 | 4.624777 | 0.048843 | 0.084928 | 0.069362 | 0.055391 | 0.865567 | 0.813751 | 0.781848 | 0.739714 | 0.714466 | 0.679483 | 0 | 0.034519 | 0.300125 | 32,783 | 663 | 118 | 49.446456 | 0.757845 | 0.017784 | 0 | 0.56654 | 0 | 0 | 0.174462 | 0.016812 | 0 | 0 | 0 | 0 | 0.228137 | 1 | 0.04943 | false | 0 | 0.013308 | 0 | 0.085551 | 0.009506 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
77e4fb934d9e870b78d4caed39085ed77cd6546e | 63 | py | Python | main.py | knappygd/calc | b4d9e8a2bb6ed5cf520609facb94868ad92addb4 | [
"MIT"
] | null | null | null | main.py | knappygd/calc | b4d9e8a2bb6ed5cf520609facb94868ad92addb4 | [
"MIT"
] | null | null | null | main.py | knappygd/calc | b4d9e8a2bb6ed5cf520609facb94868ad92addb4 | [
"MIT"
] | null | null | null | from functions import *
# Main
def main():
main_menu() | 12.6 | 24 | 0.619048 | 8 | 63 | 4.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.269841 | 63 | 5 | 25 | 12.6 | 0.826087 | 0.063492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 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 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb1039fe657fbcb9b8e2f3f67ad4ebb4f742df68 | 6,386 | py | Python | apps/characters/models.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | null | null | null | apps/characters/models.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | 5 | 2021-06-09T17:54:51.000Z | 2022-03-12T00:46:49.000Z | apps/characters/models.py | lucasjaroszewski/incremental-game | bae8823f986be0fd046bd50195d43fbc548fad90 | [
"MIT"
] | 1 | 2020-09-27T18:26:15.000Z | 2020-09-27T18:26:15.000Z | from django.db import models
from django.contrib.auth.models import User
class Character(models.Model):
# General Information
fullname = models.CharField(max_length=255, unique=True, default='', help_text='Example: Aldo (Another Style)')
name = models.CharField(max_length=255, default='', help_text='Exam... | 59.12963 | 144 | 0.704823 | 868 | 6,386 | 5 | 0.190092 | 0.119816 | 0.26129 | 0.348387 | 0.790783 | 0.78894 | 0.779263 | 0.779263 | 0.75023 | 0.491475 | 0 | 0.058621 | 0.137175 | 6,386 | 107 | 145 | 59.682243 | 0.729038 | 0.015816 | 0 | 0.144578 | 0 | 0 | 0.148797 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.048193 | false | 0 | 0.024096 | 0.024096 | 0.951807 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
bb278c909365f46509f45366a3d20dfbe161621f | 11,061 | py | Python | tests/core/txs/test_TransferTokenTransactionStateChanges.py | scottdonaldau/QRL | fb78c1cdf227330ace46f590a36cc6a52c7af3fe | [
"MIT"
] | 1 | 2020-07-12T23:40:48.000Z | 2020-07-12T23:40:48.000Z | tests/core/txs/test_TransferTokenTransactionStateChanges.py | scottdonaldau/QRL | fb78c1cdf227330ace46f590a36cc6a52c7af3fe | [
"MIT"
] | null | null | null | tests/core/txs/test_TransferTokenTransactionStateChanges.py | scottdonaldau/QRL | fb78c1cdf227330ace46f590a36cc6a52c7af3fe | [
"MIT"
] | null | null | null | from unittest import TestCase
from mock import patch, Mock
from qrl.core.misc import logger
from qrl.core.AddressState import AddressState
from qrl.core.ChainManager import ChainManager
from qrl.core.txs.TransferTokenTransaction import TransferTokenTransaction
from tests.misc.helper import get_alice_xmss, get_bob_xms... | 51.208333 | 118 | 0.690625 | 1,387 | 11,061 | 5.249459 | 0.089402 | 0.151902 | 0.148331 | 0.078973 | 0.878313 | 0.861008 | 0.841368 | 0.824475 | 0.813762 | 0.794122 | 0 | 0.01754 | 0.211373 | 11,061 | 215 | 119 | 51.446512 | 0.81715 | 0.09095 | 0 | 0.610738 | 0 | 0 | 0.070347 | 0.016265 | 0 | 0 | 0 | 0 | 0.295302 | 1 | 0.067114 | false | 0 | 0.04698 | 0 | 0.127517 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
24926f1dd6a3e9f88773333983dea907202c2f2c | 103 | py | Python | Python/CodingBat/make_out_word.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 1 | 2018-05-24T11:30:05.000Z | 2018-05-24T11:30:05.000Z | Python/CodingBat/make_out_word.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | null | null | null | Python/CodingBat/make_out_word.py | dvt32/cpp-journey | afd7db7a1ad106c41601fb09e963902187ae36e6 | [
"MIT"
] | 2 | 2017-08-11T06:53:30.000Z | 2017-08-29T12:07:52.000Z | # http://codingbat.com/prob/p129981
def make_out_word(out, word):
return out[0:2] + word + out[2:4]
| 20.6 | 35 | 0.679612 | 19 | 103 | 3.578947 | 0.684211 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 0.135922 | 103 | 4 | 36 | 25.75 | 0.651685 | 0.320388 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
24e1781d7f615adaad6c0c062df0b569301af76c | 203 | py | Python | tables/admin.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | null | null | null | tables/admin.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | null | null | null | tables/admin.py | meetdatastory/Activity-CE | 2692e591f08cea7c869c045577b3d9e20d3ed335 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from import_export import resources, fields
from import_export.widgets import ForeignKeyWidget, ManyToManyWidget
from import_export.admin import ImportExportModelAdmin
| 29 | 68 | 0.876847 | 24 | 203 | 7.291667 | 0.5 | 0.171429 | 0.274286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098522 | 203 | 6 | 69 | 33.833333 | 0.956284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24feabc3571c47b744b98a2a7eb5058da5a18bdd | 190 | py | Python | msda/utils.py | ajayarunachalam/msda | 43699b97b59fac9014ac7dc5e100119678e90637 | [
"MIT"
] | 55 | 2021-02-25T12:58:44.000Z | 2022-03-17T10:20:58.000Z | msda/utils.py | HubBucket-Team/msda | c535d93f59f7c105da35b798240a316499c190bf | [
"MIT"
] | 3 | 2021-02-20T22:21:19.000Z | 2022-02-17T14:49:19.000Z | msda/utils.py | ajayarunachalam/msda | 43699b97b59fac9014ac7dc5e100119678e90637 | [
"MIT"
] | 15 | 2021-03-21T12:38:27.000Z | 2022-02-25T10:59:48.000Z | # Module: Utility
# Author: Ajay Arunachalam <ajay.arunachalam08@gmail.com>
# License: MIT
version_ = "1.10.0"
def version():
return version_
def __version__():
return version_
| 13.571429 | 57 | 0.7 | 23 | 190 | 5.478261 | 0.695652 | 0.15873 | 0.253968 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03871 | 0.184211 | 190 | 13 | 58 | 14.615385 | 0.774194 | 0.442105 | 0 | 0.4 | 0 | 0 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.4 | 0.8 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
700328d4c705c18493ee30404ec2f7eb8687eafc | 72 | py | Python | server/grade_view/blue_prints/__init__.py | jw3329/grade-view | 85f9cea8f4c7320a67856e4a62607214e86f89d9 | [
"MIT"
] | null | null | null | server/grade_view/blue_prints/__init__.py | jw3329/grade-view | 85f9cea8f4c7320a67856e4a62607214e86f89d9 | [
"MIT"
] | 6 | 2020-09-06T06:24:32.000Z | 2022-02-26T14:36:17.000Z | server/grade_view/blue_prints/__init__.py | jw3329/grade-view | 85f9cea8f4c7320a67856e4a62607214e86f89d9 | [
"MIT"
] | null | null | null | from grade_view.blue_prints import auth,settings, register, uploads, api | 72 | 72 | 0.847222 | 11 | 72 | 5.363636 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 72 | 1 | 72 | 72 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
705fb5d036e745454ad9ba077558db7be1874c49 | 29 | py | Python | flask_superadmin/model/backends/sqlalchemy/__init__.py | elasticsales/Flask-SuperAdmin | 87d51a8a947eb739e1cc497fe7a09d058282934f | [
"BSD-3-Clause"
] | 414 | 2015-01-01T02:57:01.000Z | 2021-11-08T12:24:57.000Z | flask_superadmin/model/backends/sqlalchemy/__init__.py | elasticsales/Flask-SuperAdmin | 87d51a8a947eb739e1cc497fe7a09d058282934f | [
"BSD-3-Clause"
] | 23 | 2015-03-31T15:13:19.000Z | 2018-12-01T11:13:16.000Z | flask_superadmin/model/backends/sqlalchemy/__init__.py | elasticsales/Flask-SuperAdmin | 87d51a8a947eb739e1cc497fe7a09d058282934f | [
"BSD-3-Clause"
] | 104 | 2015-02-13T19:04:41.000Z | 2022-01-04T13:13:37.000Z | from .view import ModelAdmin
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b0bfa2f7060486a25aa193b91645847e7356b75 | 161 | py | Python | nextbike_api/utils/state.py | bdmbdsm/nextbike_api | f6a2b4d3d5cb7ab79bc258f193f0dea2465b7e87 | [
"MIT"
] | 4 | 2019-07-11T12:32:09.000Z | 2020-12-06T23:50:35.000Z | nextbike_api/utils/state.py | bdmbdsm/nextbike_api | f6a2b4d3d5cb7ab79bc258f193f0dea2465b7e87 | [
"MIT"
] | 7 | 2019-07-10T10:11:44.000Z | 2021-02-02T22:17:10.000Z | nextbike_api/utils/state.py | bdmbdsm/nextbike_api | f6a2b4d3d5cb7ab79bc258f193f0dea2465b7e87 | [
"MIT"
] | null | null | null | import os
SKIP_INTEGRATION_TESTS = 'NEXTBIKE_API_SKIP_INTEGRATION_TESTS'
def skip_integration_tests():
return os.environ.get(SKIP_INTEGRATION_TESTS, True)
| 23 | 62 | 0.832298 | 22 | 161 | 5.636364 | 0.545455 | 0.483871 | 0.645161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099379 | 161 | 6 | 63 | 26.833333 | 0.855172 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
3b13c244b1376eb3b1ff25cce1f36780bfb0b86d | 96 | py | Python | tests/endtoend/blob_functions/put_blob_return/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/endtoend/blob_functions/put_blob_return/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | null | null | null | tests/endtoend/blob_functions/put_blob_return/main.py | yojagad/azure-functions-python-worker | d5a1587a4ccf56af64f211a64f0b7a3d6cf976c9 | [
"MIT"
] | 1 | 2018-04-22T18:03:52.000Z | 2018-04-22T18:03:52.000Z | import azure.functions as azf
def main(req: azf.HttpRequest) -> str:
return 'FROM RETURN'
| 16 | 38 | 0.708333 | 14 | 96 | 4.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 96 | 5 | 39 | 19.2 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 6 |
8e870e5d51fcd4a0bf48dcd728ea32fac9105bff | 306 | py | Python | src/sqlfluff/core/linter/__init__.py | NathanHowell/sqlfluff | 9eb30226d77727cd613947e144a0abe483151f18 | [
"MIT"
] | 3,024 | 2020-10-01T11:03:51.000Z | 2022-03-31T16:42:00.000Z | src/sqlfluff/core/linter/__init__.py | NathanHowell/sqlfluff | 9eb30226d77727cd613947e144a0abe483151f18 | [
"MIT"
] | 2,395 | 2020-09-30T12:59:21.000Z | 2022-03-31T22:05:29.000Z | src/sqlfluff/core/linter/__init__.py | NathanHowell/sqlfluff | 9eb30226d77727cd613947e144a0abe483151f18 | [
"MIT"
] | 246 | 2020-10-02T17:08:03.000Z | 2022-03-30T17:43:51.000Z | """Linter class and helper classes."""
# flake8: noqa: F401
from sqlfluff.core.linter.common import RuleTuple, ParsedString, NoQaDirective
from sqlfluff.core.linter.linted_file import LintedFile
from sqlfluff.core.linter.linting_result import LintingResult
from sqlfluff.core.linter.linter import Linter
| 34 | 78 | 0.826797 | 40 | 306 | 6.275 | 0.55 | 0.191235 | 0.25498 | 0.350598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01444 | 0.094771 | 306 | 8 | 79 | 38.25 | 0.891697 | 0.169935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ea267b5f8ef6f1a4ad378bd40c16fd2ee1da2b6 | 202 | py | Python | Server/Python/src/dbs/dao/MySQL/BlockParent/List.py | vkuznet/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 8 | 2015-08-14T04:01:32.000Z | 2021-06-03T00:56:42.000Z | Server/Python/src/dbs/dao/MySQL/BlockParent/List.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 162 | 2015-01-07T21:34:47.000Z | 2021-10-13T09:42:41.000Z | Server/Python/src/dbs/dao/MySQL/BlockParent/List.py | yuyiguo/DBS | 14df8bbe8ee8f874fe423399b18afef911fe78c7 | [
"Apache-2.0"
] | 16 | 2015-01-22T15:27:29.000Z | 2021-04-28T09:23:28.000Z | #!/usr/bin/env python
"""
This module provides BlockParent.List data access object.
"""
from dbs.dao.Oracle.BlockParent.List import List as OraBlockParentList
class List(OraBlockParentList):
pass
| 20.2 | 70 | 0.772277 | 26 | 202 | 6 | 0.807692 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128713 | 202 | 9 | 71 | 22.444444 | 0.886364 | 0.386139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8eb1fda0d7196513c163b37ee0c62c74a5378e3f | 1,369 | py | Python | euler8.py | baloghd/projecteulersolutions | 1512d89ab784c2156c48db762024dac0f2adcb61 | [
"MIT"
] | null | null | null | euler8.py | baloghd/projecteulersolutions | 1512d89ab784c2156c48db762024dac0f2adcb61 | [
"MIT"
] | null | null | null | euler8.py | baloghd/projecteulersolutions | 1512d89ab784c2156c48db762024dac0f2adcb61 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
a = """73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
66896648950445244523161731856403098711121722383113
6222989342... | 38.027778 | 71 | 0.872169 | 68 | 1,369 | 17.5 | 0.676471 | 0.033613 | 0.015126 | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.803671 | 0.084733 | 1,369 | 35 | 72 | 39.114286 | 0.146049 | 0.03141 | 0 | 0 | 0 | 0 | 0.771148 | 0.755287 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.033333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8ed939371ea71b6b6166bc74b9065dbb798e8537 | 100 | py | Python | bluecanary/plugins/__init__.py | alex-voxy/blue-canary | b12af02ecaf242640b52ecac9355917e58da6427 | [
"MIT"
] | 7 | 2018-02-19T21:53:54.000Z | 2022-03-13T01:02:14.000Z | bluecanary/plugins/__init__.py | alex-voxy/blue-canary | b12af02ecaf242640b52ecac9355917e58da6427 | [
"MIT"
] | 1 | 2017-02-23T21:03:36.000Z | 2017-02-23T21:03:36.000Z | bluecanary/plugins/__init__.py | alex-voxy/blue-canary | b12af02ecaf242640b52ecac9355917e58da6427 | [
"MIT"
] | 1 | 2016-02-29T00:45:22.000Z | 2016-02-29T00:45:22.000Z | from .load_plugins import load_plugins, PluginLoader
from .plugin_base_class import PluginBaseClass
| 33.333333 | 52 | 0.88 | 13 | 100 | 6.461538 | 0.692308 | 0.261905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09 | 100 | 2 | 53 | 50 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8eeb52eea732636530997e7914bf2d641ced9a6a | 33 | py | Python | snekcord/rest/__init__.py | asleep-cult/snekcord | 04302b0c65bad01c00fb047df3040d3234773689 | [
"MIT"
] | 9 | 2021-07-26T00:25:51.000Z | 2022-02-23T16:00:10.000Z | snekcord/rest/__init__.py | asleep-cult/snekcord | 04302b0c65bad01c00fb047df3040d3234773689 | [
"MIT"
] | 37 | 2021-05-29T16:16:22.000Z | 2022-02-13T13:57:25.000Z | snekcord/rest/__init__.py | asleep-cult/snekcord | 04302b0c65bad01c00fb047df3040d3234773689 | [
"MIT"
] | 4 | 2021-06-02T16:45:41.000Z | 2022-02-10T14:57:16.000Z | from .session import RESTSession
| 16.5 | 32 | 0.848485 | 4 | 33 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 33 | 1 | 33 | 33 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d9251b453d2cee2b2c4ec72b45192ad6814dbc9d | 14,291 | py | Python | src/lambda_codebase/account/tests/test_main.py | StewartW/aws-deployment-framework | 7511241664c946ce3b045db211a4931b1dbaac6d | [
"Apache-2.0"
] | 490 | 2019-03-03T15:24:11.000Z | 2022-03-30T10:22:21.000Z | src/lambda_codebase/account/tests/test_main.py | StewartW/aws-deployment-framework | 7511241664c946ce3b045db211a4931b1dbaac6d | [
"Apache-2.0"
] | 301 | 2019-03-06T12:13:10.000Z | 2022-03-18T16:12:09.000Z | src/lambda_codebase/account/tests/test_main.py | StewartW/aws-deployment-framework | 7511241664c946ce3b045db211a4931b1dbaac6d | [
"Apache-2.0"
] | 211 | 2019-03-04T13:56:46.000Z | 2022-03-24T10:35:55.000Z | # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
# pylint: skip-file
import pytest
from mock import patch, call
from main import (
ensure_account, handle_concurrent_modification, wait_on_account_creation,
MAX_RETRIES,
)
class ConcurrentModificationEx... | 32.405896 | 84 | 0.692184 | 1,579 | 14,291 | 5.851805 | 0.093097 | 0.056494 | 0.036364 | 0.045238 | 0.863961 | 0.857576 | 0.835606 | 0.822944 | 0.814069 | 0.810714 | 0 | 0.010188 | 0.223917 | 14,291 | 440 | 85 | 32.479545 | 0.822919 | 0.008397 | 0 | 0.697613 | 0 | 0 | 0.154514 | 0.072634 | 0 | 0 | 0 | 0 | 0.161804 | 1 | 0.026525 | false | 0.007958 | 0.007958 | 0 | 0.04244 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
d973cde070cb1c9e8d1dfe2a2a912b0f394c66eb | 28 | py | Python | Estrutura de Dados/teste.py | eucgabriel/Faculdade-3-Semestre | 6a6c380b2ffdffd80e53fd9961d5254d2e6d165a | [
"MIT"
] | null | null | null | Estrutura de Dados/teste.py | eucgabriel/Faculdade-3-Semestre | 6a6c380b2ffdffd80e53fd9961d5254d2e6d165a | [
"MIT"
] | null | null | null | Estrutura de Dados/teste.py | eucgabriel/Faculdade-3-Semestre | 6a6c380b2ffdffd80e53fd9961d5254d2e6d165a | [
"MIT"
] | null | null | null | from django.db import forms | 28 | 28 | 0.821429 | 5 | 28 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
794f33c2c4a771c15046b94c39103212954cb617 | 36 | py | Python | Hello_World_NFT.py | tbotskina/Hello_World_NFT | c4f06f17a776c605c7eb1649464929d9fe6a34fe | [
"Apache-2.0"
] | null | null | null | Hello_World_NFT.py | tbotskina/Hello_World_NFT | c4f06f17a776c605c7eb1649464929d9fe6a34fe | [
"Apache-2.0"
] | null | null | null | Hello_World_NFT.py | tbotskina/Hello_World_NFT | c4f06f17a776c605c7eb1649464929d9fe6a34fe | [
"Apache-2.0"
] | null | null | null | print("Hello Decentralised World!")
| 18 | 35 | 0.777778 | 4 | 36 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
799915b9aac41e19e977ea6cc59f3a1a72b587af | 37 | py | Python | hmslearn/__init__.py | vramesh/factor-graph-compute | ea8b94b63a44c99aa279333444e4852ba7dca728 | [
"MIT"
] | 11 | 2018-03-03T18:27:47.000Z | 2020-08-01T13:09:45.000Z | hmslearn/__init__.py | vramesh/factor-graph-compute | ea8b94b63a44c99aa279333444e4852ba7dca728 | [
"MIT"
] | 24 | 2018-03-02T19:48:45.000Z | 2018-05-04T20:19:43.000Z | hmslearn/__init__.py | vramesh/factor-graph-compute | ea8b94b63a44c99aa279333444e4852ba7dca728 | [
"MIT"
] | null | null | null | from .factor_graph import FactorGraph | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
79d7f4ba90777e62383405f61f09b7455599686b | 138 | py | Python | backend/main/admin.py | kanakmi/Two-Minute-Morning | e3c27ab784c832cb5c0e01d310e9bf21cb7bf132 | [
"MIT"
] | null | null | null | backend/main/admin.py | kanakmi/Two-Minute-Morning | e3c27ab784c832cb5c0e01d310e9bf21cb7bf132 | [
"MIT"
] | null | null | null | backend/main/admin.py | kanakmi/Two-Minute-Morning | e3c27ab784c832cb5c0e01d310e9bf21cb7bf132 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(sins)
admin.site.register(goods)
# Register your models here.
| 19.714286 | 32 | 0.789855 | 20 | 138 | 5.45 | 0.6 | 0.201835 | 0.311927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 138 | 6 | 33 | 23 | 0.893443 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8dce8603c5338f8e347452882db9609581ccce95 | 36 | py | Python | strawberry/file_uploads/__init__.py | BryceBeagle/strawberry | b9d6d456c29dadd56b31f26cd58c625e394a0929 | [
"MIT"
] | 1 | 2020-10-22T01:22:48.000Z | 2020-10-22T01:22:48.000Z | strawberry/file_uploads/__init__.py | pinkrespect/strawberry | adb8233f2cb5f9c59b129bd14fdf233d253b3cd3 | [
"MIT"
] | 1 | 2020-12-10T14:57:49.000Z | 2020-12-10T14:57:49.000Z | strawberry/file_uploads/__init__.py | pinkrespect/strawberry | adb8233f2cb5f9c59b129bd14fdf233d253b3cd3 | [
"MIT"
] | null | null | null | from .scalars import Upload # noqa
| 18 | 35 | 0.75 | 5 | 36 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194444 | 36 | 1 | 36 | 36 | 0.931034 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8ddbe908738e1242874abaa0a8602ffee015f342 | 31 | py | Python | others/Docker/docker-python-app/index.py | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | others/Docker/docker-python-app/index.py | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | others/Docker/docker-python-app/index.py | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | print("Hello from python!\n");
| 15.5 | 30 | 0.677419 | 5 | 31 | 4.2 | 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 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
5c1420b9527c806fcfb6a248c55ccf7f361565fb | 153 | py | Python | sample.py | mtedone/sbo-python-programming-language | db1ae98552a8cf86c70944e1586e0a00eceff130 | [
"MIT"
] | null | null | null | sample.py | mtedone/sbo-python-programming-language | db1ae98552a8cf86c70944e1586e0a00eceff130 | [
"MIT"
] | null | null | null | sample.py | mtedone/sbo-python-programming-language | db1ae98552a8cf86c70944e1586e0a00eceff130 | [
"MIT"
] | null | null | null | from logcall import logged
@logged
def add(x, y):
return x + y
@logged
def sub(x, y):
return x - y
@logged
def mul(x, y):
return x * y
| 9 | 26 | 0.581699 | 28 | 153 | 3.178571 | 0.392857 | 0.134831 | 0.269663 | 0.303371 | 0.539326 | 0.426966 | 0.426966 | 0 | 0 | 0 | 0 | 0 | 0.300654 | 153 | 16 | 27 | 9.5625 | 0.831776 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.3 | 0.7 | 0 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
5c2406facef0b94dcfef814b526ce0365fbd9e93 | 5,188 | py | Python | columnar/test/lots_of_columns.py | rednap/columnar | e3acedfbb7dbfe5ecaa47bb8c12282a36ddb640a | [
"MIT"
] | 25 | 2019-04-18T19:29:57.000Z | 2022-01-11T23:03:54.000Z | columnar/test/lots_of_columns.py | rednap/columnar | e3acedfbb7dbfe5ecaa47bb8c12282a36ddb640a | [
"MIT"
] | 11 | 2019-06-14T23:38:14.000Z | 2022-01-10T21:37:56.000Z | columnar/test/lots_of_columns.py | rednap/columnar | e3acedfbb7dbfe5ecaa47bb8c12282a36ddb640a | [
"MIT"
] | 6 | 2019-06-30T11:59:01.000Z | 2021-12-06T21:44:18.000Z | from columnar import columnar
from click import style
headers = ['Id', 'DestinationEntityId', 'DataMartId', 'Name', 'Classification', 'Description', 'Status', 'SourceConnectionId', 'GroupingColumn', 'GroupingFormat', 'ContentId', 'BindingType', 'GrainName', 'LoadTypeCode', 'AttributeValues@odata.context', 'UserDefine... | 576.444444 | 4,497 | 0.63936 | 515 | 5,188 | 6.394175 | 0.38835 | 0.00911 | 0.046462 | 0.07106 | 0.323413 | 0.294261 | 0.277862 | 0.277862 | 0.258123 | 0.258123 | 0 | 0.079907 | 0.085775 | 5,188 | 9 | 4,498 | 576.444444 | 0.614379 | 0 | 0 | 0 | 0 | 0.666667 | 0.674889 | 0.244941 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5c29544852610f1561f0d13cf344e4d51a3653f9 | 180 | py | Python | python-django-piscine/rush01/app/views/index.py | maxdesalle/libft | 8845656e1f5cc1fec052cf97fc8f5839b2b590a8 | [
"Unlicense"
] | 3 | 2021-01-06T13:50:12.000Z | 2022-02-28T09:16:15.000Z | python-django-piscine/rush01/app/views/index.py | maxdesalle/libft | 8845656e1f5cc1fec052cf97fc8f5839b2b590a8 | [
"Unlicense"
] | null | null | null | python-django-piscine/rush01/app/views/index.py | maxdesalle/libft | 8845656e1f5cc1fec052cf97fc8f5839b2b590a8 | [
"Unlicense"
] | 1 | 2020-11-23T12:58:18.000Z | 2020-11-23T12:58:18.000Z | from django.shortcuts import render, redirect
from django.conf import settings
from django.contrib import messages
import random
def index(request):
return redirect('forum')
| 20 | 45 | 0.8 | 24 | 180 | 6 | 0.666667 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 180 | 8 | 46 | 22.5 | 0.929032 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.666667 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
5c35acfe2ae8bda1ef01c6f76c80838a0b0dc687 | 12,065 | py | Python | tests/test_chart.py | veghdev/ipyvizzu | f7eab8f9c4068a58adeb10f402f1f9a12fab26d0 | [
"Apache-2.0"
] | 13 | 2022-01-06T22:33:48.000Z | 2022-03-31T09:43:49.000Z | tests/test_chart.py | veghdev/ipyvizzu | f7eab8f9c4068a58adeb10f402f1f9a12fab26d0 | [
"Apache-2.0"
] | 43 | 2022-01-06T19:41:27.000Z | 2022-03-31T23:37:56.000Z | tests/test_chart.py | veghdev/ipyvizzu | f7eab8f9c4068a58adeb10f402f1f9a12fab26d0 | [
"Apache-2.0"
] | 5 | 2022-01-06T15:38:32.000Z | 2022-03-29T17:58:34.000Z | import unittest
import unittest.mock
from normalizer import Normalizer
from ipyvizzu import Chart, Data, Config, Snapshot, Style
def get_text(normalizer, javascript):
display_out = []
for block in javascript.call_args_list:
display_out.append(block.args[0])
return normalizer.normalize_id("\n".joi... | 34.869942 | 95 | 0.57041 | 1,218 | 12,065 | 5.509852 | 0.108374 | 0.040232 | 0.03755 | 0.045895 | 0.847713 | 0.813143 | 0.787811 | 0.756072 | 0.710922 | 0.662941 | 0 | 0.020687 | 0.270783 | 12,065 | 345 | 96 | 34.971014 | 0.7421 | 0 | 0 | 0.660839 | 0 | 0.013986 | 0.246995 | 0.065893 | 0 | 0 | 0 | 0 | 0.097902 | 1 | 0.129371 | false | 0.006993 | 0.013986 | 0 | 0.157343 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
308812b38b9154fb579e0311b474782385d87316 | 203 | py | Python | tests/conftest.py | marouenes/pyspark-tdd | 7738ed3d8d2dd73992f8fa128180e2d39f799683 | [
"MIT"
] | null | null | null | tests/conftest.py | marouenes/pyspark-tdd | 7738ed3d8d2dd73992f8fa128180e2d39f799683 | [
"MIT"
] | null | null | null | tests/conftest.py | marouenes/pyspark-tdd | 7738ed3d8d2dd73992f8fa128180e2d39f799683 | [
"MIT"
] | null | null | null | # -*- coding: utf8 -*-
import pytest
from pyspark.sql import SparkSession
@pytest.fixture(scope="session")
def spark():
return SparkSession.builder.master("local").appName("chispa").getOrCreate()
| 20.3 | 79 | 0.724138 | 23 | 203 | 6.391304 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005556 | 0.1133 | 203 | 9 | 80 | 22.555556 | 0.811111 | 0.098522 | 0 | 0 | 0 | 0 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 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 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
eb7123526bc3c2b4cee5c661a90b2f5291107d49 | 38 | py | Python | bcinfo/test.py | hsiaoyi0504/bcinfo | 546c54c2f72febd361da59e18b9901591837f826 | [
"MIT"
] | 1 | 2019-04-25T14:48:07.000Z | 2019-04-25T14:48:07.000Z | bcinfo/test.py | hsiaoyi0504/bcinfo | 546c54c2f72febd361da59e18b9901591837f826 | [
"MIT"
] | 1 | 2020-07-03T07:23:00.000Z | 2020-07-03T07:23:00.000Z | bcinfo/test.py | hsiaoyi0504/bcinfo | 546c54c2f72febd361da59e18b9901591837f826 | [
"MIT"
] | 2 | 2019-03-08T21:39:52.000Z | 2021-12-14T16:39:03.000Z | def main():
print('Go Go BCinfo')
| 12.666667 | 25 | 0.578947 | 6 | 38 | 3.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 38 | 2 | 26 | 19 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
eb87ba737ce219ca6b3a1240e38284483fe3f80c | 37 | py | Python | python_modules/libraries/dagster-aws/dagster_aws/ecs/__init__.py | emilyhawkins-drizly/dagster | bfb90e8b0b442f657e5256082d3116aefa8c330b | [
"Apache-2.0"
] | 1 | 2021-07-03T09:05:58.000Z | 2021-07-03T09:05:58.000Z | python_modules/libraries/dagster-aws/dagster_aws/ecs/__init__.py | emilyhawkins-drizly/dagster | bfb90e8b0b442f657e5256082d3116aefa8c330b | [
"Apache-2.0"
] | null | null | null | python_modules/libraries/dagster-aws/dagster_aws/ecs/__init__.py | emilyhawkins-drizly/dagster | bfb90e8b0b442f657e5256082d3116aefa8c330b | [
"Apache-2.0"
] | null | null | null | from .launcher import EcsRunLauncher
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
ebb1dd3a437f12a3c525c36e749fe6240bbdfb72 | 1,113 | py | Python | molp_app/consumers.py | rhombicosi/IDOL | ee8aebd69bef6e90b102ec2be16216a7fda74b9e | [
"MIT"
] | 1 | 2020-04-13T20:49:11.000Z | 2020-04-13T20:49:11.000Z | molp_app/consumers.py | rhombicosi/IDOL | ee8aebd69bef6e90b102ec2be16216a7fda74b9e | [
"MIT"
] | null | null | null | molp_app/consumers.py | rhombicosi/IDOL | ee8aebd69bef6e90b102ec2be16216a7fda74b9e | [
"MIT"
] | null | null | null | from channels.generic.websocket import AsyncWebsocketConsumer
import json
class ScalarizationConsumer(AsyncWebsocketConsumer):
async def connect(self):
await self.channel_layer.group_add('scalarizations', self.channel_name)
await self.accept()
async def disconnect(self, close_code):
... | 33.727273 | 89 | 0.708895 | 125 | 1,113 | 6.128 | 0.272 | 0.093995 | 0.083551 | 0.109661 | 0.835509 | 0.825065 | 0.825065 | 0.718016 | 0.718016 | 0.718016 | 0 | 0.00226 | 0.204852 | 1,113 | 32 | 90 | 34.78125 | 0.863277 | 0 | 0 | 0.545455 | 0 | 0 | 0.068455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ebbb68104b6658df305bd4c983cb53fc2bb0b21e | 156 | py | Python | NN_Components/__init__.py | ShuzhiLiu/MaskRCNN | 02602c20f17d583621e1baff6d81901c0869098e | [
"MIT"
] | 9 | 2020-02-16T04:05:58.000Z | 2022-02-08T05:23:45.000Z | NN_Components/__init__.py | ShuzhiLiu/MaskRCNN | 02602c20f17d583621e1baff6d81901c0869098e | [
"MIT"
] | 1 | 2020-04-03T11:41:48.000Z | 2020-04-04T07:03:59.000Z | NN_Components/__init__.py | ShuzhiLiu/MaskRCNN | 02602c20f17d583621e1baff6d81901c0869098e | [
"MIT"
] | 2 | 2020-04-03T12:36:02.000Z | 2020-06-28T07:52:36.000Z | from NN_Components.Backbone import Backbone
from NN_Components.MaskHead import MaskHead
from NN_Components.RoI import RoI
from NN_Components.RPN import RPN
| 31.2 | 43 | 0.871795 | 24 | 156 | 5.5 | 0.333333 | 0.181818 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 156 | 4 | 44 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15e7845931ab92e309602cfa39d3ca5dec30ad25 | 8,010 | py | Python | astro_cloud_tests/auth/test_aws.py | RichardScottOZ/astro-cloud | f45d002566e97007f1bdfa7dce9094ec27c3f912 | [
"MIT"
] | 1 | 2022-02-02T11:03:54.000Z | 2022-02-02T11:03:54.000Z | astro_cloud_tests/auth/test_aws.py | RichardScottOZ/astro-cloud | f45d002566e97007f1bdfa7dce9094ec27c3f912 | [
"MIT"
] | 2 | 2020-10-13T17:31:09.000Z | 2021-04-04T22:31:03.000Z | astro_cloud_tests/auth/test_aws.py | RichardScottOZ/astro-cloud | f45d002566e97007f1bdfa7dce9094ec27c3f912 | [
"MIT"
] | 1 | 2022-02-02T11:04:37.000Z | 2022-02-02T11:04:37.000Z | import os
import pytest
from astro_cloud_tests.pytest_constants import ENCODING
from astro_cloud_tests.pytest_utils import aws_credential_filepath, aws_credential_filepath__empty
def test__aws_auth():
import requests
from astro_cloud.auth.aws import AWSAuth
test_file_filepath = '/tmp/test-file.txt'
u... | 39.850746 | 102 | 0.749563 | 1,101 | 8,010 | 5.114441 | 0.118074 | 0.074232 | 0.062156 | 0.073522 | 0.809625 | 0.765761 | 0.747647 | 0.718345 | 0.710353 | 0.68265 | 0 | 0.007684 | 0.155181 | 8,010 | 200 | 103 | 40.05 | 0.824442 | 0 | 0 | 0.559006 | 0 | 0.012422 | 0.129012 | 0.054203 | 0 | 0 | 0 | 0 | 0.229814 | 1 | 0.080745 | false | 0 | 0.223602 | 0 | 0.304348 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c65886ceb8777b852051a00e90477d270d6dc451 | 126 | py | Python | src/backends/python/flask/core/utils.py | ferlikh/many-backends | 933b94e13e368b9d73936e006f26d33aec7212b7 | [
"MIT"
] | null | null | null | src/backends/python/flask/core/utils.py | ferlikh/many-backends | 933b94e13e368b9d73936e006f26d33aec7212b7 | [
"MIT"
] | null | null | null | src/backends/python/flask/core/utils.py | ferlikh/many-backends | 933b94e13e368b9d73936e006f26d33aec7212b7 | [
"MIT"
] | null | null | null | def format_model(model, excluded_keys=['id', 'uuid']):
return { k: v for k, v in model.items() if k not in excluded_keys } | 63 | 71 | 0.674603 | 23 | 126 | 3.565217 | 0.652174 | 0.292683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 126 | 2 | 71 | 63 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
d698a2936caa381309f5b74b182169740f2fb2ee | 45 | py | Python | MachineLearning/toxic_comments/api/__init__.py | jagath-jaikumar/AI-Server-Docker | 5a5c2cc224ffd4377a73a314ddb8f0ffdea557b6 | [
"MIT"
] | 1 | 2020-09-04T17:38:04.000Z | 2020-09-04T17:38:04.000Z | MachineLearning/toxic_comments/api/__init__.py | jagath-jaikumar/AI-Server-Docker | 5a5c2cc224ffd4377a73a314ddb8f0ffdea557b6 | [
"MIT"
] | 4 | 2020-05-29T03:46:51.000Z | 2022-02-10T01:36:12.000Z | MachineLearning/toxic_comments/api/__init__.py | jagath-jaikumar/AI-Server-Docker | 5a5c2cc224ffd4377a73a314ddb8f0ffdea557b6 | [
"MIT"
] | null | null | null | from .predict import ModelPredictAPI # noqa
| 22.5 | 44 | 0.8 | 5 | 45 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 1 | 45 | 45 | 0.947368 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d69a5678d61690c347491da8f751106f3d74abd4 | 30 | py | Python | xengine/__init__.py | flygod1159/XEngine | 6798f4093cc71bc5a6c142c11b95ef617060d6a3 | [
"MIT"
] | null | null | null | xengine/__init__.py | flygod1159/XEngine | 6798f4093cc71bc5a6c142c11b95ef617060d6a3 | [
"MIT"
] | null | null | null | xengine/__init__.py | flygod1159/XEngine | 6798f4093cc71bc5a6c142c11b95ef617060d6a3 | [
"MIT"
] | null | null | null | from xengine.drawing import *
| 15 | 29 | 0.8 | 4 | 30 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
d6d3bb048c1ecc83fabaedd39fc08eb98227d49b | 4,975 | py | Python | test/test_out.py | aequitas/concourse-ftp-resource | 435faa8f101d273d6d360ec568b8c83abac325a8 | [
"MIT"
] | 6 | 2017-04-02T15:46:03.000Z | 2021-12-19T17:33:41.000Z | test/test_out.py | aequitas/concourse-ftp-resource | 435faa8f101d273d6d360ec568b8c83abac325a8 | [
"MIT"
] | 12 | 2016-11-07T21:32:27.000Z | 2019-10-29T08:20:27.000Z | test/test_out.py | aequitas/concourse-ftp-resource | 435faa8f101d273d6d360ec568b8c83abac325a8 | [
"MIT"
] | 6 | 2016-08-26T16:41:10.000Z | 2020-04-16T15:54:48.000Z | from conftest import CONTENT, DIRECTORY, cmd, make_files
def test_put_a_file(ftp_root, ftp_server, work_dir):
"""Test if a file can be stored."""
work_dir.join('filename-0.0.0.tgz').write(CONTENT)
source = {
"uri": ftp_server,
"regex": "(?P<file>filename-(?P<version>.*).tgz)"
}
... | 31.487342 | 94 | 0.592362 | 707 | 4,975 | 4.063649 | 0.11174 | 0.041768 | 0.142708 | 0.112078 | 0.923425 | 0.886878 | 0.885486 | 0.874695 | 0.813435 | 0.784894 | 0 | 0.039939 | 0.214874 | 4,975 | 157 | 95 | 31.687898 | 0.695597 | 0.088442 | 0 | 0.558559 | 0 | 0 | 0.283207 | 0.047312 | 0 | 0 | 0 | 0 | 0.207207 | 1 | 0.045045 | false | 0 | 0.009009 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.