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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f42d2b21791e783ae6f5eec9be7f9898b67849c | 11,738 | py | Python | tests/test_client/test_api_client.py | senickel/cognite-sdk-python | c85bd731e8c676c831cef6ed911a5efdd4b74ed5 | [
"Apache-2.0"
] | null | null | null | tests/test_client/test_api_client.py | senickel/cognite-sdk-python | c85bd731e8c676c831cef6ed911a5efdd4b74ed5 | [
"Apache-2.0"
] | 1 | 2021-02-02T23:00:23.000Z | 2021-02-02T23:00:23.000Z | tests/test_client/test_api_client.py | jesuejunior/cognite-sdk-python | 00b57cecd71ad109b43f024526255e108bbd50e1 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import gzip
import json
import re
from unittest import mock
import pytest
from cognite.client import APIError
from cognite.client._api_client import APIClient, _model_hosting_emulator_url_converter
from tests.conftest import MockReturnValue
RESPONSE = {
"data": {
"items": [
... | 38.996678 | 110 | 0.648066 | 1,455 | 11,738 | 5.026117 | 0.108591 | 0.056612 | 0.048817 | 0.063175 | 0.857651 | 0.828935 | 0.819089 | 0.800492 | 0.780938 | 0.779297 | 0 | 0.016379 | 0.230193 | 11,738 | 300 | 111 | 39.126667 | 0.792939 | 0.024791 | 0 | 0.572727 | 0 | 0.022727 | 0.161623 | 0.041805 | 0 | 0 | 0 | 0 | 0.186364 | 1 | 0.1 | false | 0 | 0.040909 | 0 | 0.159091 | 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 |
58c8b8a6ad64ebb07ec2f15da2c1c2aad3059e54 | 8,419 | py | Python | tests/contracts/KT1RmuBSQgU9hnQU9FrweaMoTDcTzG11GmC1/test_michelson_coding_KT1Rmu.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-08-11T02:31:24.000Z | 2020-08-11T02:31:24.000Z | tests/contracts/KT1RmuBSQgU9hnQU9FrweaMoTDcTzG11GmC1/test_michelson_coding_KT1Rmu.py | juztin/pytezos-1 | 7e608ff599d934bdcf129e47db43dbdb8fef9027 | [
"MIT"
] | 1 | 2020-12-30T16:44:56.000Z | 2020-12-30T16:44:56.000Z | tests/contracts/KT1RmuBSQgU9hnQU9FrweaMoTDcTzG11GmC1/test_michelson_coding_KT1Rmu.py | tqtezos/pytezos | a4ac0b022d35d4c9f3062609d8ce09d584b5faa8 | [
"MIT"
] | 1 | 2022-03-20T19:01:00.000Z | 2022-03-20T19:01:00.000Z | from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import michelson_to_micheline
from pytezos.michelson.formatter import micheline_to_michelson
class MichelsonCodingTestKT1Rmu(TestCase):
def setUp(self):
self.maxDiff = None
def test_michelson_parse_code_KT... | 46.772222 | 90 | 0.734054 | 786 | 8,419 | 7.550891 | 0.054707 | 0.048357 | 0.074136 | 0.134794 | 0.958888 | 0.958888 | 0.958888 | 0.958888 | 0.94305 | 0.94305 | 0 | 0.03775 | 0.191353 | 8,419 | 179 | 91 | 47.03352 | 0.834019 | 0 | 0 | 0.635762 | 0 | 0 | 0.315121 | 0.315121 | 0 | 0 | 0 | 0 | 0.15894 | 1 | 0.165563 | false | 0 | 0.02649 | 0 | 0.198676 | 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 |
452e52821cf76bae1d7b6aa1d018ecf3cfa9cd9c | 1,132 | py | Python | Polymorphism and Abstraction - Exercise/Wild/animals/mammals.py | DiyanKalaydzhiev23/OOP---Python | 7ac424d5fb08a6bd28dc36593e45d949b3ac0cd0 | [
"MIT"
] | null | null | null | Polymorphism and Abstraction - Exercise/Wild/animals/mammals.py | DiyanKalaydzhiev23/OOP---Python | 7ac424d5fb08a6bd28dc36593e45d949b3ac0cd0 | [
"MIT"
] | null | null | null | Polymorphism and Abstraction - Exercise/Wild/animals/mammals.py | DiyanKalaydzhiev23/OOP---Python | 7ac424d5fb08a6bd28dc36593e45d949b3ac0cd0 | [
"MIT"
] | null | null | null | from Wild.animals.animal import Mammal
from Wild.food import Meat, Vegetable, Fruit
class Mouse(Mammal):
def __init__(self, name, weight, living_region):
super().__init__(name, weight, living_region)
self.food_that_eats = [Vegetable, Fruit]
self.weight_per_food = 0.10
def make_sound(... | 24.085106 | 53 | 0.652827 | 148 | 1,132 | 4.587838 | 0.263514 | 0.11782 | 0.188513 | 0.259205 | 0.784978 | 0.600884 | 0.600884 | 0.600884 | 0.600884 | 0.600884 | 0 | 0.013905 | 0.237633 | 1,132 | 46 | 54 | 24.608696 | 0.772885 | 0 | 0 | 0.466667 | 0 | 0 | 0.019435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.133333 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
18b8739ac8dc9f8f229e99e8dc2f114de28dcefc | 104 | py | Python | fv3config/fv3run/__init__.py | VulcanClimateModeling/fv3config | 544eaf1bc6f1c4617cd8ee6bd3298136ed180f4c | [
"BSD-2-Clause"
] | 2 | 2019-11-12T21:05:09.000Z | 2019-11-17T18:08:34.000Z | fv3config/fv3run/__init__.py | VulcanClimateModeling/fv3config | 544eaf1bc6f1c4617cd8ee6bd3298136ed180f4c | [
"BSD-2-Clause"
] | 77 | 2019-11-12T21:15:38.000Z | 2021-05-07T22:39:36.000Z | fv3config/fv3run/__init__.py | VulcanClimateModeling/fv3config | 544eaf1bc6f1c4617cd8ee6bd3298136ed180f4c | [
"BSD-2-Clause"
] | null | null | null | from ._kubernetes import run_kubernetes
from ._docker import run_docker
from ._native import run_native
| 26 | 39 | 0.855769 | 15 | 104 | 5.533333 | 0.4 | 0.325301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 3 | 40 | 34.666667 | 0.902174 | 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 |
18bb253c1d6700520cd3ccdc56e4104fe955b7b4 | 78,942 | py | Python | web/transiq/restapi/views/driver.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/restapi/views/driver.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/restapi/views/driver.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | from datetime import datetime, timedelta
from django.db.models import Q
from django.utils.decorators import method_decorator
from django.views.decorators.cache import cache_page
from django_filters.rest_framework import DjangoFilterBackend
from rest_framework import viewsets, status, generics, filters
from rest_framew... | 46.327465 | 122 | 0.638114 | 8,657 | 78,942 | 5.531015 | 0.039621 | 0.081951 | 0.047366 | 0.051627 | 0.861723 | 0.835241 | 0.811411 | 0.794119 | 0.773067 | 0.763147 | 0 | 0.014901 | 0.268906 | 78,942 | 1,703 | 123 | 46.354668 | 0.814742 | 0.011793 | 0 | 0.691266 | 0 | 0 | 0.119836 | 0.004092 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054164 | false | 0 | 0.018957 | 0.002708 | 0.233582 | 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 |
18c918b7433f3313ed3b204a65af463e086308c7 | 11,157 | py | Python | ORAW_Docker.py | zhenweishi/O-RAW | 4c21a4afbad87e3c075a8029a0cf45e4acf9d826 | [
"CC-BY-3.0"
] | 4 | 2019-01-07T06:55:58.000Z | 2021-07-16T13:34:58.000Z | ORAW_Docker.py | zhenweishi/O-RAW | 4c21a4afbad87e3c075a8029a0cf45e4acf9d826 | [
"CC-BY-3.0"
] | null | null | null | ORAW_Docker.py | zhenweishi/O-RAW | 4c21a4afbad87e3c075a8029a0cf45e4acf9d826 | [
"CC-BY-3.0"
] | 2 | 2018-05-01T13:18:13.000Z | 2018-11-15T04:58:05.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Mar 23 07:32:46 2018
@author: zhenwei.shi
"""
"""
###############################
@author: zhenwei.shi, Maastro##
###############################
"""
#from __future__ import print_function
import PyrexReader
import PyrexWithParams
import PyrexOutput
import yaml
from PyrexXN... | 46.878151 | 193 | 0.632159 | 1,208 | 11,157 | 5.772351 | 0.199503 | 0.041589 | 0.021081 | 0.018643 | 0.779865 | 0.7704 | 0.756633 | 0.735121 | 0.713036 | 0.70099 | 0 | 0.002716 | 0.240925 | 11,157 | 238 | 194 | 46.878151 | 0.82064 | 0.218966 | 0 | 0.740506 | 0 | 0 | 0.163242 | 0.0223 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012658 | false | 0 | 0.075949 | 0 | 0.094937 | 0.044304 | 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 |
18fe5dd641acdecfabe56d1c838daf7a6caa4a7d | 1,207 | py | Python | lib/systems/azulene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/azulene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | lib/systems/azulene.py | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | import pulsar as psr
def load_ref_system():
""" Returns azulene as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C -0.00000 -1.26834 1.88735
C -0.00000 -1.60747 0.53706
... | 46.423077 | 63 | 0.399337 | 155 | 1,207 | 3.090323 | 0.322581 | 0.275574 | 0.146138 | 0.100209 | 0.672234 | 0.672234 | 0.584551 | 0.425887 | 0.425887 | 0.425887 | 0 | 0.551959 | 0.51367 | 1,207 | 25 | 64 | 48.28 | 0.264055 | 0.086164 | 0 | 0 | 0 | 0 | 0.922438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.045455 | true | 0 | 0.045455 | 0 | 0.136364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
e1b0a732f58b51054a3cf0672ef5f70cd772855a | 3,358 | py | Python | pyavl3/search.py | en0/pyavl3 | c9dad3189da1f18e935e61d13d7c971aceafd895 | [
"MIT"
] | null | null | null | pyavl3/search.py | en0/pyavl3 | c9dad3189da1f18e935e61d13d7c971aceafd895 | [
"MIT"
] | null | null | null | pyavl3/search.py | en0/pyavl3 | c9dad3189da1f18e935e61d13d7c971aceafd895 | [
"MIT"
] | null | null | null | from typing import Hashable, Tuple, Generator
from collections import deque
from .interface import ADTInterface, SearchAlgorithm
class GreatherThanSearch(SearchAlgorithm):
def __init__(self, limit: Hashable):
self._limit = limit
def __call__(self, tree: ADTInterface) -> Generator[Tuple[Hashable, an... | 30.807339 | 90 | 0.488386 | 387 | 3,358 | 4.087855 | 0.162791 | 0.091024 | 0.060683 | 0.068268 | 0.721871 | 0.721871 | 0.721871 | 0.721871 | 0.721871 | 0.721871 | 0 | 0.0138 | 0.395771 | 3,358 | 108 | 91 | 31.092593 | 0.765895 | 0.023228 | 0 | 0.717647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.035294 | 0 | 0.211765 | 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 |
e1c4d0462679140a7da3a358c2f4e846f8a84b63 | 481 | py | Python | IMDbPY/main.py | SwiftWinds/recommeddit-backend-archived | 5cb67eb7f7e7616088ac4752b54ac62a42c309d5 | [
"MIT"
] | 2 | 2021-03-31T05:16:17.000Z | 2021-04-21T00:30:56.000Z | IMDbPY/main.py | SwiftWinds/recommeddit-backend-archived | 5cb67eb7f7e7616088ac4752b54ac62a42c309d5 | [
"MIT"
] | 24 | 2021-10-11T00:57:49.000Z | 2022-03-02T05:11:54.000Z | IMDbPY/main.py | SwiftWinds/recommeddit-backend-archived | 5cb67eb7f7e7616088ac4752b54ac62a42c309d5 | [
"MIT"
] | 2 | 2021-11-10T23:56:24.000Z | 2021-11-17T04:46:41.000Z | # # importing the module
# import imdb
#
# # creating instance of IMDb
# ia = imdb.IMDb()
#
# # movie name
# name = "3 idiots"
#
# # searching the movie
# search = ia.search_movie(name)
#
# # printing the result
# for i in search:
# print(i)
# importing the module
import imdb
# creating instance of IMDb
ia = imdb... | 15.03125 | 32 | 0.673597 | 70 | 481 | 4.6 | 0.357143 | 0.111801 | 0.111801 | 0.149068 | 0.863354 | 0.863354 | 0.863354 | 0.863354 | 0.863354 | 0.863354 | 0 | 0.002653 | 0.216216 | 481 | 31 | 33 | 15.516129 | 0.851459 | 0.640333 | 0 | 0 | 0 | 0 | 0.143836 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
befb075450f3ccffdfb530148e0002d868649286 | 322 | py | Python | bradfield/test_x2_03_filepath.py | savarin/algorithms | 4d1f8f2361de12a02f376883f648697562d177ae | [
"MIT"
] | 1 | 2020-06-16T23:22:54.000Z | 2020-06-16T23:22:54.000Z | bradfield/test_x2_03_filepath.py | savarin/algorithms | 4d1f8f2361de12a02f376883f648697562d177ae | [
"MIT"
] | null | null | null | bradfield/test_x2_03_filepath.py | savarin/algorithms | 4d1f8f2361de12a02f376883f648697562d177ae | [
"MIT"
] | null | null | null | from x2_03_filepath import simplify_filepath
def test_simply_filepath():
assert simplify_filepath("/usr") == "/usr"
assert simplify_filepath("/usr/local") == "/usr/local"
assert simplify_filepath("/usr/local/../local") == "/usr/local"
assert simplify_filepath("/usr/local/../local/../lib") == "/usr/lib... | 35.777778 | 72 | 0.686335 | 40 | 322 | 5.3 | 0.325 | 0.377358 | 0.415094 | 0.471698 | 0.54717 | 0.429245 | 0.429245 | 0.429245 | 0.429245 | 0 | 0 | 0.010638 | 0.124224 | 322 | 8 | 73 | 40.25 | 0.741135 | 0 | 0 | 0 | 0 | 0 | 0.282609 | 0.080745 | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0.166667 | true | 0 | 0.166667 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
830994f48106d92acc75b3dcf0842dcb1905235b | 963 | py | Python | fixture/navigation.py | tankisleva/python_training | be305f745abfc84bc824641e45670c2203bca9d5 | [
"Apache-2.0"
] | null | null | null | fixture/navigation.py | tankisleva/python_training | be305f745abfc84bc824641e45670c2203bca9d5 | [
"Apache-2.0"
] | null | null | null | fixture/navigation.py | tankisleva/python_training | be305f745abfc84bc824641e45670c2203bca9d5 | [
"Apache-2.0"
] | null | null | null | class NavigationHelper:
def __init__(self, app):
self.app = app
def open_group_page(self):
wd = self.app.wd
if wd.current_url.endswith("/group.php") and len(wd.find_elements_by_name("new")) > 0:
return
wd.find_element_by_link_text("groups").click()
def open_hom... | 34.392857 | 94 | 0.620976 | 144 | 963 | 3.868056 | 0.236111 | 0.087971 | 0.071813 | 0.100539 | 0.770197 | 0.770197 | 0.770197 | 0.770197 | 0.732496 | 0.732496 | 0 | 0.00551 | 0.246106 | 963 | 28 | 95 | 34.392857 | 0.761708 | 0 | 0 | 0.521739 | 0 | 0 | 0.074689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.217391 | false | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
833334d418dd6b690a83ff9bce72be1c4fd75429 | 140 | py | Python | info/modules/passport/__init__.py | Elvira521feng/InfoNews | 5db22738446b1026db6479b91dc42c3aeba17060 | [
"MIT"
] | null | null | null | info/modules/passport/__init__.py | Elvira521feng/InfoNews | 5db22738446b1026db6479b91dc42c3aeba17060 | [
"MIT"
] | null | null | null | info/modules/passport/__init__.py | Elvira521feng/InfoNews | 5db22738446b1026db6479b91dc42c3aeba17060 | [
"MIT"
] | null | null | null | from flask import Blueprint
# 创建蓝图对象
passport_blu = Blueprint("passport", __name__, url_prefix="/passport")
# 关联视图
from .views import *
| 14 | 70 | 0.742857 | 17 | 140 | 5.764706 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 140 | 9 | 71 | 15.555556 | 0.823529 | 0.078571 | 0 | 0 | 0 | 0 | 0.137097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 6 |
8362dd0aca0698b16d5a1978b1428af611d3ee97 | 3,713 | py | Python | Client/ui/resource/MainWindow_rc.py | Ricky-Hao/IMPK-Client | 791150a43fff157aa439716d63d6c4fece912b85 | [
"MIT"
] | null | null | null | Client/ui/resource/MainWindow_rc.py | Ricky-Hao/IMPK-Client | 791150a43fff157aa439716d63d6c4fece912b85 | [
"MIT"
] | null | null | null | Client/ui/resource/MainWindow_rc.py | Ricky-Hao/IMPK-Client | 791150a43fff157aa439716d63d6c4fece912b85 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.10.1)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x02\x1d\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x34\x... | 40.802198 | 113 | 0.726905 | 815 | 3,713 | 3.265031 | 0.320245 | 0.200676 | 0.199549 | 0.148816 | 0.201804 | 0.201804 | 0.176625 | 0.176625 | 0.176625 | 0.156332 | 0 | 0.304888 | 0.046862 | 3,713 | 90 | 114 | 41.255556 | 0.447019 | 0.040937 | 0 | 0.135135 | 0 | 0.554054 | 0.001125 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.027027 | false | 0 | 0.013514 | 0 | 0.040541 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
55dcea1a5d6c7a07a8a2b2515dcc9e1740c5032e | 27 | py | Python | kick/device2/m4/actions/__init__.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 2 | 2020-02-10T23:36:57.000Z | 2020-03-25T15:46:05.000Z | kick/device2/m4/actions/__init__.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-08-07T13:01:32.000Z | 2020-08-07T13:01:32.000Z | kick/device2/m4/actions/__init__.py | CiscoDevNet/firepower-kickstart | 37a36856fcdc661e8c51edaa694e48f74cc6fcb5 | [
"Apache-2.0"
] | 1 | 2020-02-19T13:58:35.000Z | 2020-02-19T13:58:35.000Z | from .m4 import M4, M4Line
| 13.5 | 26 | 0.740741 | 5 | 27 | 4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.185185 | 27 | 1 | 27 | 27 | 0.772727 | 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 |
55defc1a03b861830def81e05b81cd2dae00bd09 | 57 | py | Python | ws2122-lspm/Scripts/test.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-19T04:02:46.000Z | 2022-01-19T04:02:46.000Z | ws2122-lspm/Scripts/test.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2021-11-19T07:21:48.000Z | 2021-11-19T07:21:48.000Z | ws2122-lspm/Scripts/test.py | Malekhy/ws2122-lspm | e4dc8b801d12f862b8ef536a0f125f346f085a00 | [
"MIT"
] | 1 | 2022-01-14T17:15:38.000Z | 2022-01-14T17:15:38.000Z | import nonexistrentpackage
def run():
print("Test")
| 11.4 | 26 | 0.701754 | 6 | 57 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 57 | 4 | 27 | 14.25 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
361496ebb7bf47ca80e172625f7f6c9a8f2f67e0 | 14,729 | py | Python | fomalhaut/tests/test_auth.py | restran/fomalhaut | df6762f3aa64c0c0ca50dd8bfd6f2a70b0bced7b | [
"MIT"
] | 159 | 2017-05-30T06:17:14.000Z | 2022-02-15T08:22:10.000Z | fomalhaut/tests/test_auth.py | MicrophoneBen/fomalhaut | df6762f3aa64c0c0ca50dd8bfd6f2a70b0bced7b | [
"MIT"
] | 3 | 2017-08-24T09:48:24.000Z | 2018-06-09T15:12:24.000Z | fomalhaut/tests/test_auth.py | MicrophoneBen/fomalhaut | df6762f3aa64c0c0ca50dd8bfd6f2a70b0bced7b | [
"MIT"
] | 51 | 2017-06-28T09:43:54.000Z | 2022-02-21T15:06:04.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# created by restran on 2015/12/21
from __future__ import unicode_literals, absolute_import
import json
import logging
import os
import unittest
from cerberus import Validator
from fomalhaut.handlers.endpoints.base import APIStatusCode
from fomalhaut.settings import POR... | 33.704805 | 101 | 0.546473 | 1,595 | 14,729 | 4.863323 | 0.097806 | 0.098621 | 0.07013 | 0.093593 | 0.869537 | 0.847364 | 0.839113 | 0.815006 | 0.805724 | 0.770917 | 0 | 0.015379 | 0.311291 | 14,729 | 436 | 102 | 33.78211 | 0.74931 | 0.028719 | 0 | 0.684358 | 0 | 0 | 0.110333 | 0.011131 | 0 | 0 | 0 | 0 | 0.142458 | 1 | 0.036313 | false | 0.03352 | 0.027933 | 0 | 0.069832 | 0.002793 | 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 |
36527a57a7210e2084673f741d7dd8a741ead719 | 4,172 | py | Python | walletbackend/wallet/migrations/0001_initial.py | Fajar2020/MiniEWallet | bd843ab0a957f999dd557dd1f4e27a5d9d08b828 | [
"MIT"
] | null | null | null | walletbackend/wallet/migrations/0001_initial.py | Fajar2020/MiniEWallet | bd843ab0a957f999dd557dd1f4e27a5d9d08b828 | [
"MIT"
] | 3 | 2021-10-06T19:43:07.000Z | 2022-02-27T07:55:40.000Z | walletbackend/wallet/migrations/0001_initial.py | Fajar2020/MiniEWallet | bd843ab0a957f999dd557dd1f4e27a5d9d08b828 | [
"MIT"
] | null | null | null | # Generated by Django 3.0.8 on 2020-07-06 00:20
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
ope... | 49.082353 | 123 | 0.593241 | 413 | 4,172 | 5.849879 | 0.186441 | 0.074503 | 0.089404 | 0.119205 | 0.754967 | 0.73303 | 0.73303 | 0.73303 | 0.73303 | 0.73303 | 0 | 0.01759 | 0.264142 | 4,172 | 84 | 124 | 49.666667 | 0.769381 | 0.010786 | 0 | 0.675325 | 1 | 0 | 0.114424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.038961 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
367219755ea3f59eff44c82ce48941c103a22d24 | 228 | py | Python | metaflow_helper/models/vowpalwabbit.py | travisjungroth/metaflow-helper | ae0c9166cb8cccb817b24354f354f6c3b31f46b5 | [
"Apache-2.0"
] | 10 | 2021-05-24T22:46:27.000Z | 2022-02-24T07:33:41.000Z | metaflow_helper/models/vowpalwabbit.py | travisjungroth/metaflow-helper | ae0c9166cb8cccb817b24354f354f6c3b31f46b5 | [
"Apache-2.0"
] | 5 | 2021-05-17T17:39:31.000Z | 2021-05-18T03:17:26.000Z | metaflow_helper/models/vowpalwabbit.py | travisjungroth/metaflow-helper | ae0c9166cb8cccb817b24354f354f6c3b31f46b5 | [
"Apache-2.0"
] | 2 | 2021-06-12T17:10:19.000Z | 2021-10-01T18:38:26.000Z | from vowpalwabbit import pyvw
from sklearn.base import BaseEstimator, RegressorMixin
from ..constants import RunMode
from .base import BaseModel
class VowpalWabbitRegressor(BaseModel, BaseEstimator, RegressorMixin):
pass
| 22.8 | 70 | 0.828947 | 24 | 228 | 7.875 | 0.583333 | 0.10582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127193 | 228 | 9 | 71 | 25.333333 | 0.949749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
367882523b5a7eac14961a3483dd0f3b2e7165c6 | 31 | py | Python | retina/evaluation/__init__.py | mike112223/retina | cdad3af8240471619f42e9edd1caf68a0241bea6 | [
"Apache-2.0"
] | null | null | null | retina/evaluation/__init__.py | mike112223/retina | cdad3af8240471619f42e9edd1caf68a0241bea6 | [
"Apache-2.0"
] | null | null | null | retina/evaluation/__init__.py | mike112223/retina | cdad3af8240471619f42e9edd1caf68a0241bea6 | [
"Apache-2.0"
] | null | null | null | from .voc_eval import eval_map
| 15.5 | 30 | 0.83871 | 6 | 31 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 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 |
36cb5a8966c37cf91b90d342a5dfc034d172dbf4 | 183 | py | Python | flybaseclient/__init__.py | flybaseio/pyflybase | 941905570eef4e393f5692463b45d1e0c541f3c4 | [
"Apache-2.0"
] | null | null | null | flybaseclient/__init__.py | flybaseio/pyflybase | 941905570eef4e393f5692463b45d1e0c541f3c4 | [
"Apache-2.0"
] | null | null | null | flybaseclient/__init__.py | flybaseio/pyflybase | 941905570eef4e393f5692463b45d1e0c541f3c4 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 *-*
"""HTTP requests implementation for `Flybase REST API`_
.. _Flybase REST API: http://datamcfly.com/docs/"""
from datamcflyclient.client import FlybaseClient
| 26.142857 | 55 | 0.726776 | 22 | 183 | 5.954545 | 0.818182 | 0.167939 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0.125683 | 183 | 6 | 56 | 30.5 | 0.8125 | 0.68306 | 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 |
36d63e38807d690e9e5e9a5b67f03e2871390020 | 39 | py | Python | labelcls/app/presenter/__init__.py | pei223/labelcls | 0fcb3ea8b74d2c761c979d5bb478f4776bde1744 | [
"MIT"
] | 6 | 2021-05-21T15:47:04.000Z | 2021-11-02T21:03:27.000Z | labelcls/app/presenter/__init__.py | pei223/labelcls | 0fcb3ea8b74d2c761c979d5bb478f4776bde1744 | [
"MIT"
] | 1 | 2021-09-07T13:10:03.000Z | 2021-09-07T13:10:03.000Z | labelcls/app/presenter/__init__.py | pei223/labelcls | 0fcb3ea8b74d2c761c979d5bb478f4776bde1744 | [
"MIT"
] | null | null | null | from . import classification_presenter
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.942857 | 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 |
36e0efff4c831514f164d6443f8f79fdabcf72b2 | 925 | py | Python | venv/lib/python3.6/site-packages/Sastrawi/Morphology/Disambiguator/DisambiguatorPrefixRule39.py | purwnt/customer-service-chatbot-app | 519caacc8557de04e1557456b852e66fea641ff4 | [
"MIT"
] | null | null | null | venv/lib/python3.6/site-packages/Sastrawi/Morphology/Disambiguator/DisambiguatorPrefixRule39.py | purwnt/customer-service-chatbot-app | 519caacc8557de04e1557456b852e66fea641ff4 | [
"MIT"
] | 1 | 2021-05-14T23:07:45.000Z | 2021-05-14T23:07:45.000Z | venv/lib/python3.6/site-packages/Sastrawi/Morphology/Disambiguator/DisambiguatorPrefixRule39.py | purwnt/customer-service-chatbot-app | 519caacc8557de04e1557456b852e66fea641ff4 | [
"MIT"
] | null | null | null | import re
class DisambiguatorPrefixRule39a(object):
"""Disambiguate Prefix Rule 39a (CC infix rules)
Rule 39a : CemV -> CemV
"""
def disambiguate(self, word):
"""Disambiguate Prefix Rule 39a (CC infix rules)
Rule 39a : CemV -> CemV
"""
matches = re.match(... | 33.035714 | 80 | 0.577297 | 100 | 925 | 5.34 | 0.31 | 0.134831 | 0.164794 | 0.11985 | 0.846442 | 0.846442 | 0.846442 | 0.7603 | 0.7603 | 0.7603 | 0 | 0.039514 | 0.288649 | 925 | 27 | 81 | 34.259259 | 0.772036 | 0.297297 | 0 | 0.545455 | 0 | 0 | 0.152727 | 0.152727 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.636364 | 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 |
36e7e9e9d00753b9a326a799e9d5b1445cd2d084 | 49 | py | Python | python/helloworld.py | Rugang/scraps | 5c93bc84de32a7b8011258c0371f2a132ace3f5f | [
"BSD-3-Clause"
] | 35 | 2015-04-19T16:18:11.000Z | 2022-03-14T18:16:06.000Z | python/helloworld.py | Rugang/scraps | 5c93bc84de32a7b8011258c0371f2a132ace3f5f | [
"BSD-3-Clause"
] | null | null | null | python/helloworld.py | Rugang/scraps | 5c93bc84de32a7b8011258c0371f2a132ace3f5f | [
"BSD-3-Clause"
] | 22 | 2015-04-07T07:28:35.000Z | 2022-03-14T18:31:08.000Z | """Hello World in Python"""
print 'Hello World'
| 12.25 | 27 | 0.673469 | 7 | 49 | 4.714286 | 0.714286 | 0.606061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 28 | 16.333333 | 0.804878 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
36ea0731091a3c7519777a3e62baf97dc7c26f79 | 252 | py | Python | medical_prescription/prescription/forms/__init__.py | thiagonf/Sprint-3-GPP | 89f1dcf4e649f1bbbb8e21ea6b6f8a4565c996e2 | [
"MIT"
] | null | null | null | medical_prescription/prescription/forms/__init__.py | thiagonf/Sprint-3-GPP | 89f1dcf4e649f1bbbb8e21ea6b6f8a4565c996e2 | [
"MIT"
] | 2 | 2020-06-05T18:41:29.000Z | 2021-06-10T20:35:12.000Z | medical_prescription/prescription/forms/__init__.py | thiagonf/Sprint-3-GPP | 89f1dcf4e649f1bbbb8e21ea6b6f8a4565c996e2 | [
"MIT"
] | null | null | null | from .createprescriptionform import CreatePrescriptionForm
from .examprescriptionform import ExamPrescriptionForm
from .medicineprescriptionform import MedicinePrescriptionForm
from .recommendationprescriptionform import RecommendationPrescriptionForm
| 50.4 | 74 | 0.920635 | 16 | 252 | 14.5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 252 | 4 | 75 | 63 | 0.983051 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 |
36eabe99366bac68b5bd64f3502079c0f447ab39 | 31 | py | Python | enhance_speach/nextpow2/__init__.py | itaa/soja-box | af6acd281ec177d4983ebc8845d252d5ee04f993 | [
"MIT"
] | 55 | 2019-04-10T07:37:19.000Z | 2022-03-26T03:05:16.000Z | enhance_speach/nextpow2/__init__.py | Ghosque/soja-box | 699d3eb557276e4bf47348534ee16a557e9cc4be | [
"MIT"
] | 2 | 2018-10-30T02:48:37.000Z | 2019-03-27T09:49:44.000Z | enhance_speach/nextpow2/__init__.py | Ghosque/soja-box | 699d3eb557276e4bf47348534ee16a557e9cc4be | [
"MIT"
] | 70 | 2019-05-07T11:35:21.000Z | 2021-12-22T03:27:03.000Z | from .nextpow2 import nextpow2
| 15.5 | 30 | 0.83871 | 4 | 31 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.129032 | 31 | 1 | 31 | 31 | 0.888889 | 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 |
7ff8976b932ec1aa8b31a9ca18b626fbb95c69dd | 30,994 | py | Python | deepinspect/coco_gender/coco_gender_deepinspect.py | ARiSE-Lab/DeepInspect | 7dbca469373391f63fecfd979ba4d7bcc9a7c824 | [
"MIT"
] | 6 | 2020-06-14T19:28:22.000Z | 2021-12-12T10:40:52.000Z | deepinspect/coco_gender/coco_gender_deepinspect.py | ARiSE-Lab/DeepInspect | 7dbca469373391f63fecfd979ba4d7bcc9a7c824 | [
"MIT"
] | 1 | 2020-09-30T12:24:21.000Z | 2020-09-30T15:17:47.000Z | deepinspect/coco_gender/coco_gender_deepinspect.py | ARiSE-Lab/DeepInspect | 7dbca469373391f63fecfd979ba4d7bcc9a7c824 | [
"MIT"
] | 3 | 2020-09-15T01:37:01.000Z | 2021-11-23T12:49:15.000Z | import math, os, random, json, pickle, sys, pdb, csv, copy
import string, shutil, time, argparse
import numpy as np
from sklearn.metrics import average_precision_score
from sklearn.metrics import roc_auc_score
from tqdm import tqdm as tqdm
import matplotlib
matplotlib.use('Agg')
import torch.nn.functional as F
import ... | 36.897619 | 121 | 0.58492 | 3,742 | 30,994 | 4.69054 | 0.091128 | 0.019143 | 0.01675 | 0.016408 | 0.78464 | 0.748006 | 0.7259 | 0.707897 | 0.702256 | 0.692343 | 0 | 0.032052 | 0.293347 | 30,994 | 840 | 122 | 36.897619 | 0.769336 | 0.048784 | 0 | 0.695721 | 0 | 0 | 0.083022 | 0.040472 | 0 | 0 | 0 | 0 | 0.007924 | 0 | null | null | 0 | 0.038035 | null | null | 0.019017 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3d4d9ee0a5b1eb75ee9f079b5b65388e80e7b43f | 24 | py | Python | storage/__init__.py | dariosky/flatdario | 57832d13d72b7bdf8d92c2b5d5986812aab3db03 | [
"Apache-2.0"
] | 1 | 2018-03-19T11:16:03.000Z | 2018-03-19T11:16:03.000Z | storage/__init__.py | dariosky/flatdario | 57832d13d72b7bdf8d92c2b5d5986812aab3db03 | [
"Apache-2.0"
] | 11 | 2018-06-30T12:04:39.000Z | 2022-03-08T22:08:46.000Z | storage/__init__.py | dariosky/flatdario | 57832d13d72b7bdf8d92c2b5d5986812aab3db03 | [
"Apache-2.0"
] | null | null | null | from .db import Storage
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 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 |
3d6371e9293ccf3a862422bd3a2f5e48818450ca | 38 | py | Python | arm/baselines/sac/__init__.py | rll-research/ARM | 7a51e00fabdcdbd8ad2b235266c66115e79deeb0 | [
"BSD-3-Clause"
] | 46 | 2021-05-31T19:20:36.000Z | 2022-03-31T01:53:32.000Z | arm/baselines/sac/__init__.py | WeiChengTseng/ARM | 9a6666e3fc93de381d8c59085cbeca35d71990ec | [
"BSD-3-Clause"
] | 3 | 2021-08-08T02:46:06.000Z | 2022-02-09T15:28:15.000Z | arm/baselines/sac/__init__.py | WeiChengTseng/ARM | 9a6666e3fc93de381d8c59085cbeca35d71990ec | [
"BSD-3-Clause"
] | 11 | 2021-06-06T12:07:03.000Z | 2022-03-31T01:53:36.000Z | import arm.baselines.sac.launch_utils
| 19 | 37 | 0.868421 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 38 | 1 | 38 | 38 | 0.888889 | 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 |
184820fc65432bf5cd70b15c7dc1a041f0800a84 | 5,943 | py | Python | Find_Nth_Prime.py | HunterAP23/Cython_Tester | 036f5a4836119acc0820936a364909c5078fb16b | [
"MIT"
] | null | null | null | Find_Nth_Prime.py | HunterAP23/Cython_Tester | 036f5a4836119acc0820936a364909c5078fb16b | [
"MIT"
] | 2 | 2020-02-27T08:25:36.000Z | 2020-02-27T08:34:16.000Z | Find_Nth_Prime.py | HunterAP23/Cython_Tester | 036f5a4836119acc0820936a364909c5078fb16b | [
"MIT"
] | null | null | null | import datetime as dt
import decimal
import functools as ft
import math
import numbers
import time
table = []
table2 = []
table3 = []
def print_lock(msg, rlock):
rlock.acquire()
print(msg)
rlock.release()
def is_prime(num):
global table
checks = 0
if num <= 1:
return [False, 0]
... | 30.476923 | 190 | 0.593471 | 854 | 5,943 | 3.934426 | 0.125293 | 0.05 | 0.032143 | 0.035417 | 0.872024 | 0.866667 | 0.840476 | 0.770833 | 0.75 | 0.75 | 0 | 0.025534 | 0.275114 | 5,943 | 194 | 191 | 30.634021 | 0.75441 | 0 | 0 | 0.638158 | 0 | 0 | 0.162039 | 0.034663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046053 | false | 0.039474 | 0.039474 | 0 | 0.144737 | 0.052632 | 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 |
1860a9411148ecc736de2170238ce8fd1911d4ce | 153 | py | Python | chnnlsdmo/chnnlsdmo/admin.py | shearichard/django-channels-demo | 09bafa3f100cd7171f9b51d11fcbc1cf1259d2ca | [
"BSD-3-Clause"
] | null | null | null | chnnlsdmo/chnnlsdmo/admin.py | shearichard/django-channels-demo | 09bafa3f100cd7171f9b51d11fcbc1cf1259d2ca | [
"BSD-3-Clause"
] | null | null | null | chnnlsdmo/chnnlsdmo/admin.py | shearichard/django-channels-demo | 09bafa3f100cd7171f9b51d11fcbc1cf1259d2ca | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import Voter, Flag, Vote
admin.site.register(Voter)
admin.site.register(Flag)
admin.site.register(Vote)
| 19.125 | 38 | 0.79085 | 23 | 153 | 5.26087 | 0.478261 | 0.223141 | 0.421488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104575 | 153 | 7 | 39 | 21.857143 | 0.883212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
a11c083c4d9ee28472a8c435beb847645740d2f3 | 35 | py | Python | desktop/core/ext-py/openpyxl-2.6.4/openpyxl/reader/__init__.py | yetsun/hue | 2e48f0cc70e233ee0e1b40733d4b2a18d8836c66 | [
"Apache-2.0"
] | 5,079 | 2015-01-01T03:39:46.000Z | 2022-03-31T07:38:22.000Z | desktop/core/ext-py/openpyxl-2.6.4/openpyxl/reader/__init__.py | yetsun/hue | 2e48f0cc70e233ee0e1b40733d4b2a18d8836c66 | [
"Apache-2.0"
] | 1,623 | 2015-01-01T08:06:24.000Z | 2022-03-30T19:48:52.000Z | desktop/core/ext-py/openpyxl-2.6.4/openpyxl/reader/__init__.py | yetsun/hue | 2e48f0cc70e233ee0e1b40733d4b2a18d8836c66 | [
"Apache-2.0"
] | 2,033 | 2015-01-04T07:18:02.000Z | 2022-03-28T19:55:47.000Z | # Copyright (c) 2010-2019 openpyxl
| 17.5 | 34 | 0.742857 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.142857 | 35 | 1 | 35 | 35 | 0.6 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a128880c5b4bacb210c668354cc87795bf9b9cec | 4,476 | py | Python | dandi/cli/tests/test_download.py | catalystneuro/dandi-cli | ca8d8c52c0249b32a4a175f529eb99cce953affb | [
"Apache-2.0"
] | 10 | 2020-07-27T02:34:28.000Z | 2022-02-18T19:36:17.000Z | dandi/cli/tests/test_download.py | dandi/dandi-cli | b825018c8a2d36bf1f1b516a4959e753e979dcf0 | [
"Apache-2.0"
] | 908 | 2019-08-16T20:40:09.000Z | 2022-03-31T19:38:51.000Z | dandi/cli/tests/test_download.py | catalystneuro/dandi-cli | ca8d8c52c0249b32a4a175f529eb99cce953affb | [
"Apache-2.0"
] | 10 | 2019-10-08T03:12:23.000Z | 2022-02-18T19:36:22.000Z | import os
from pathlib import Path
import click
from click.testing import CliRunner
from ..command import download
from ...consts import dandiset_metadata_file
def test_download_defaults(mocker):
mock_download = mocker.patch("dandi.download.download")
r = CliRunner().invoke(download)
assert r.exit_code ... | 28.150943 | 91 | 0.631367 | 517 | 4,476 | 5.253385 | 0.172147 | 0.079529 | 0.049705 | 0.079529 | 0.853461 | 0.824742 | 0.786082 | 0.786082 | 0.758468 | 0.758468 | 0 | 0.024677 | 0.2395 | 4,476 | 158 | 92 | 28.329114 | 0.773208 | 0 | 0 | 0.637681 | 0 | 0 | 0.17471 | 0.058758 | 0 | 0 | 0 | 0 | 0.15942 | 1 | 0.065217 | false | 0 | 0.043478 | 0 | 0.108696 | 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 |
a15e02abf7e288fae512c791206d2675f07c4c2a | 20 | py | Python | src/00_fundamentals/34_function_currying.py | Ratarca/CCB-PYTHON | 012ad405de94018ca34fc2ce09c0a50e2e2766dd | [
"Apache-2.0"
] | 11 | 2021-09-29T18:43:13.000Z | 2021-12-27T18:43:00.000Z | src/00_fundamentals/34_function_currying.py | Ratarca/CCB-PYTHON | 012ad405de94018ca34fc2ce09c0a50e2e2766dd | [
"Apache-2.0"
] | null | null | null | src/00_fundamentals/34_function_currying.py | Ratarca/CCB-PYTHON | 012ad405de94018ca34fc2ce09c0a50e2e2766dd | [
"Apache-2.0"
] | 1 | 2021-12-22T21:35:13.000Z | 2021-12-22T21:35:13.000Z | """
h = f(g(x))
""" | 5 | 11 | 0.2 | 4 | 20 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 20 | 4 | 12 | 5 | 0.266667 | 0.55 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a1e72ef7f7469810f42c72aab9816a13b7deb94f | 163 | py | Python | backend/todos/admin.py | vanessa/fai-rest-todo | c0f564a7dad71a3ad3356d561650437a86d52cd4 | [
"MIT"
] | 2 | 2020-10-01T14:55:04.000Z | 2021-08-14T05:38:08.000Z | backend/todos/admin.py | vanessa/fai-rest-todo | c0f564a7dad71a3ad3356d561650437a86d52cd4 | [
"MIT"
] | 11 | 2020-02-12T18:47:26.000Z | 2022-02-26T22:52:21.000Z | backend/todos/admin.py | vanessa/fai-rest-todo | c0f564a7dad71a3ad3356d561650437a86d52cd4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from todos.models import TodoItem
class TodoItemAdmin(admin.ModelAdmin):
pass
admin.site.register(TodoItem, TodoItemAdmin)
| 18.111111 | 44 | 0.809816 | 20 | 163 | 6.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122699 | 163 | 8 | 45 | 20.375 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
62b10da297faf4d23cf9596a21c6c8e5cdbd6a83 | 120 | py | Python | py/minsk/analysis/binding/statement.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | py/minsk/analysis/binding/statement.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | 1 | 2022-03-23T03:34:48.000Z | 2022-03-24T06:47:30.000Z | py/minsk/analysis/binding/statement.py | Phytolizer/Minsk | 5fb59f0d5d8cf1f0046471b91e2f5d0c41fc874c | [
"MIT"
] | null | null | null | from abc import ABC
from minsk.analysis.binding.node import BoundNode
class BoundStatement(BoundNode, ABC):
pass
| 15 | 49 | 0.783333 | 16 | 120 | 5.875 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158333 | 120 | 7 | 50 | 17.142857 | 0.930693 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
1a09769b90027c14ac3dacaaf1dd376d3d4b66dd | 255 | py | Python | symm/__init__.py | gmwang18/pyscf | fcd6877751661c8a9743c1c872a4a2b65f6dd7ac | [
"BSD-2-Clause"
] | null | null | null | symm/__init__.py | gmwang18/pyscf | fcd6877751661c8a9743c1c872a4a2b65f6dd7ac | [
"BSD-2-Clause"
] | null | null | null | symm/__init__.py | gmwang18/pyscf | fcd6877751661c8a9743c1c872a4a2b65f6dd7ac | [
"BSD-2-Clause"
] | null | null | null | #
# Author: Qiming Sun <osirpt.sun@gmail.com>
#
from pyscf.symm import param
from pyscf.symm import geom
from pyscf.symm import basis
from pyscf.symm import cg
from pyscf.symm.geom import *
from pyscf.symm.basis import *
from pyscf.symm.addons import *
| 19.615385 | 43 | 0.768627 | 42 | 255 | 4.666667 | 0.357143 | 0.321429 | 0.464286 | 0.387755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145098 | 255 | 12 | 44 | 21.25 | 0.899083 | 0.160784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
1a0a91b82936eb6f2440102e9751c4faf069cd8d | 82 | py | Python | code/model_2/modeling/__init__.py | zzz1515151/TianChi-JingWei-Competation-Round1 | 82b26a4cd0e7a6e3c0264c9dbd0100326f9727ad | [
"Apache-2.0"
] | 3 | 2020-02-13T13:28:56.000Z | 2020-06-23T01:51:32.000Z | code/model_2/modeling/__init__.py | zzz1515151/TianChi-JingWei-Competation-Round1 | 82b26a4cd0e7a6e3c0264c9dbd0100326f9727ad | [
"Apache-2.0"
] | null | null | null | code/model_2/modeling/__init__.py | zzz1515151/TianChi-JingWei-Competation-Round1 | 82b26a4cd0e7a6e3c0264c9dbd0100326f9727ad | [
"Apache-2.0"
] | null | null | null | from .UNetResNet34 import *
from .UNetSimple import *
from .BasicModule import *
| 16.4 | 27 | 0.768293 | 9 | 82 | 7 | 0.555556 | 0.31746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.158537 | 82 | 4 | 28 | 20.5 | 0.884058 | 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 |
1a2270c652ccbec0cead18cb98d67e7a716ef6d7 | 161 | py | Python | src/tests/test_logger.py | mgk/thingpin | c2c60d85c61292073848f85cc1efacf6a3984023 | [
"MIT"
] | 10 | 2016-01-13T13:19:20.000Z | 2018-01-15T09:48:14.000Z | src/tests/test_logger.py | mgk/thingpin | c2c60d85c61292073848f85cc1efacf6a3984023 | [
"MIT"
] | 6 | 2015-11-01T20:42:55.000Z | 2016-01-11T19:12:15.000Z | src/tests/test_logger.py | mgk/thingpin | c2c60d85c61292073848f85cc1efacf6a3984023 | [
"MIT"
] | 3 | 2016-01-13T18:58:48.000Z | 2017-11-20T06:38:47.000Z | import thingpin
from thingpin.logger import Logger
def test_logger_file():
assert Logger(log_file='foo.log')
def test_logger_stdout():
assert Logger()
| 17.888889 | 37 | 0.757764 | 23 | 161 | 5.086957 | 0.478261 | 0.119658 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149068 | 161 | 8 | 38 | 20.125 | 0.854015 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
3d735b2249cd03cfbc286910a327f5db0f0410fd | 8,547 | py | Python | abnorm_tests/tests/migrations/0001_initial.py | trashnroll/django-abnorm | aa94e895c1b692d0122d2e7ad3f7d37e09e6febe | [
"MIT"
] | 12 | 2018-04-05T09:00:28.000Z | 2020-01-21T13:31:45.000Z | abnorm_tests/tests/migrations/0001_initial.py | trashnroll/django-abnorm | aa94e895c1b692d0122d2e7ad3f7d37e09e6febe | [
"MIT"
] | 6 | 2018-06-25T03:49:34.000Z | 2019-12-28T12:14:20.000Z | abnorm_tests/tests/migrations/0001_initial.py | trashnroll/django-abnorm | aa94e895c1b692d0122d2e7ad3f7d37e09e6febe | [
"MIT"
] | 2 | 2018-06-06T18:09:03.000Z | 2018-10-11T14:21:10.000Z | import abnorm.fields
from django.db import migrations, models
import django.db.models.deletion
import django.db.models.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('contenttypes', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | 65.746154 | 232 | 0.619984 | 942 | 8,547 | 5.420382 | 0.098726 | 0.045437 | 0.078339 | 0.097924 | 0.867803 | 0.862123 | 0.829808 | 0.813553 | 0.772816 | 0.704661 | 0 | 0.009209 | 0.224991 | 8,547 | 129 | 233 | 66.255814 | 0.761624 | 0 | 0 | 0.540323 | 0 | 0 | 0.171054 | 0.013338 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.064516 | 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 |
3dbcd00b4ae881a0f0cb281755c2c01a63c93aa3 | 37 | py | Python | src/__init__.py | mtroym/EfficientDet.detectron2 | 9e59e21867990702ce2ab8eb7cb77d1ee45cb5d4 | [
"MIT"
] | 7 | 2020-04-19T13:21:34.000Z | 2021-11-22T16:48:27.000Z | src/__init__.py | mtroym/EfficientDet.detectron2 | 9e59e21867990702ce2ab8eb7cb77d1ee45cb5d4 | [
"MIT"
] | 2 | 2020-04-25T01:20:33.000Z | 2020-05-07T02:10:06.000Z | src/__init__.py | mtroym/EfficientDet.detectron2 | 9e59e21867990702ce2ab8eb7cb77d1ee45cb5d4 | [
"MIT"
] | 1 | 2020-05-11T08:30:26.000Z | 2020-05-11T08:30:26.000Z | from . import modeling, config, data
| 18.5 | 36 | 0.756757 | 5 | 37 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162162 | 37 | 1 | 37 | 37 | 0.903226 | 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 |
3dcb4df1a4423d9e7817b2616a7d75ea70461239 | 66,772 | py | Python | templates.py | TastyDucks/InstagramDataRenderer | e3df408d2a78fc385a803c0cecfb5da5d82e7328 | [
"MIT"
] | null | null | null | templates.py | TastyDucks/InstagramDataRenderer | e3df408d2a78fc385a803c0cecfb5da5d82e7328 | [
"MIT"
] | null | null | null | templates.py | TastyDucks/InstagramDataRenderer | e3df408d2a78fc385a803c0cecfb5da5d82e7328 | [
"MIT"
] | null | null | null | ConversationBody = """<!DOCTYPE html>
<html>
<head>
{PrologueHTML}
<title>Instagram</title>
<link href="data:image/x-icon;base64,AAABAAIAEBAAAAEAIABoBAAAJgAAACAgAAABACAAqBAAAI4EAAAoAAAAEAAAACAAAAABACAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB00vs5fd3/coXe/9eG4P//gNr//3jS/v9sxv7/X7P9/1Wa/P9PePTYVFLtc2U54DoAAAAAAAAAAAD... | 208.6625 | 14,265 | 0.785554 | 8,219 | 66,772 | 6.384718 | 0.183234 | 0.008004 | 0.00343 | 0.004459 | 0.698434 | 0.697443 | 0.695689 | 0.689477 | 0.684599 | 0.68376 | 0 | 0.141787 | 0.01282 | 66,772 | 320 | 14,266 | 208.6625 | 0.653969 | 0 | 0 | 0.565068 | 0 | 0.106164 | 0.988169 | 0.889776 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
9ae101685723fffd8932dc61c24a8e3d260b0494 | 50 | py | Python | klab/cluster/cluster_interface.py | Kortemme-Lab/klab | 68f028a4d7f97b9009bff45799b5602824052dd1 | [
"MIT"
] | 2 | 2016-06-14T00:32:19.000Z | 2021-07-04T01:56:17.000Z | klab/cluster/cluster_interface.py | Kortemme-Lab/klab | 68f028a4d7f97b9009bff45799b5602824052dd1 | [
"MIT"
] | 2 | 2019-01-17T18:52:17.000Z | 2019-01-17T18:52:56.000Z | klab/cluster/cluster_interface.py | Kortemme-Lab/klab | 68f028a4d7f97b9009bff45799b5602824052dd1 | [
"MIT"
] | null | null | null |
class JobInitializationException(Exception): pass | 25 | 49 | 0.88 | 4 | 50 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06 | 50 | 2 | 49 | 25 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
b148d205750a9bfb22733e5f539f0945149796ac | 1,450 | py | Python | ad_api/sp_products/cam_neg_keywords.py | 854350999/python-amazon-ad-api | f7deb695b539296260c6558529b4be39a426967e | [
"MIT"
] | null | null | null | ad_api/sp_products/cam_neg_keywords.py | 854350999/python-amazon-ad-api | f7deb695b539296260c6558529b4be39a426967e | [
"MIT"
] | null | null | null | ad_api/sp_products/cam_neg_keywords.py | 854350999/python-amazon-ad-api | f7deb695b539296260c6558529b4be39a426967e | [
"MIT"
] | null | null | null |
from ..client import Client
class CampNegKeywords(Client):
def get_camp_neg_keywords_by_id(self, keyword_id):
self.method = "get"
self.uri_path = "/v2/sp/campaignNegativeKeywords/{}".format(keyword_id)
return self.execute()
def delete_camp_neg_keywords_by_id(self, keyword_id):
... | 31.521739 | 88 | 0.66 | 174 | 1,450 | 5.258621 | 0.178161 | 0.053552 | 0.114754 | 0.099454 | 0.862295 | 0.855738 | 0.855738 | 0.780328 | 0.738798 | 0.496175 | 0 | 0.006272 | 0.230345 | 1,450 | 45 | 89 | 32.222222 | 0.81362 | 0 | 0 | 0.588235 | 0 | 0 | 0.185773 | 0.168508 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0 | 0.029412 | 0 | 0.470588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
b17e9f408eaa43b6ab21f73e43fc69cb5bc45b6e | 35 | py | Python | sandbox.py | dbracewell/pyHermes | 09964eb566b74d1d3ae2b99849b06c4d07242e5b | [
"Apache-2.0"
] | null | null | null | sandbox.py | dbracewell/pyHermes | 09964eb566b74d1d3ae2b99849b06c4d07242e5b | [
"Apache-2.0"
] | null | null | null | sandbox.py | dbracewell/pyHermes | 09964eb566b74d1d3ae2b99849b06c4d07242e5b | [
"Apache-2.0"
] | null | null | null | from hermes.core import Document
| 8.75 | 32 | 0.8 | 5 | 35 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 35 | 3 | 33 | 11.666667 | 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 |
b17ece191775ddd8bf7a170e55739afe3999f88f | 47 | py | Python | main.py | bethanysciences/pycom | 2a3cd496dea190e1d4ebf99431947542ab97aa35 | [
"MIT"
] | null | null | null | main.py | bethanysciences/pycom | 2a3cd496dea190e1d4ebf99431947542ab97aa35 | [
"MIT"
] | null | null | null | main.py | bethanysciences/pycom | 2a3cd496dea190e1d4ebf99431947542ab97aa35 | [
"MIT"
] | null | null | null | import pycom
import time
pycom.heartbeat(False) | 15.666667 | 22 | 0.851064 | 7 | 47 | 5.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 47 | 3 | 22 | 15.666667 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 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 |
4917bc6456ca75f80feb14544b62cd2f14451cf0 | 98 | py | Python | env/lib/python3.6/site-packages/collectfast/tests/test_storages/boto_subclass.py | Mohitkaushal97/File | 0bc5cca9a557e242861a289af74dfe8b905bc3bd | [
"MIT"
] | null | null | null | env/lib/python3.6/site-packages/collectfast/tests/test_storages/boto_subclass.py | Mohitkaushal97/File | 0bc5cca9a557e242861a289af74dfe8b905bc3bd | [
"MIT"
] | null | null | null | env/lib/python3.6/site-packages/collectfast/tests/test_storages/boto_subclass.py | Mohitkaushal97/File | 0bc5cca9a557e242861a289af74dfe8b905bc3bd | [
"MIT"
] | null | null | null | from storages.backends.s3boto import S3BotoStorage
class CustomStorage(S3BotoStorage):
pass
| 16.333333 | 50 | 0.816327 | 10 | 98 | 8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.132653 | 98 | 5 | 51 | 19.6 | 0.905882 | 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 |
494c0b16a708764dc5551ff7b3846ebd69e5efaf | 46 | py | Python | bourbaki/introspection/object_models/__init__.py | bourbaki-py/introspection | f7e3d4e85188c9725f906b11eb59c3d2487c6f9d | [
"Apache-2.0"
] | null | null | null | bourbaki/introspection/object_models/__init__.py | bourbaki-py/introspection | f7e3d4e85188c9725f906b11eb59c3d2487c6f9d | [
"Apache-2.0"
] | null | null | null | bourbaki/introspection/object_models/__init__.py | bourbaki-py/introspection | f7e3d4e85188c9725f906b11eb59c3d2487c6f9d | [
"Apache-2.0"
] | null | null | null | # coding:utf-8
from .scala import ScalaClass
| 11.5 | 29 | 0.76087 | 7 | 46 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.152174 | 46 | 3 | 30 | 15.333333 | 0.871795 | 0.26087 | 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 |
b8dd850509ae1b15d1a2936b2d3b9c9a609e97da | 97 | py | Python | omniglot/jpn/jmdict/preprocess.py | DennisMerkus/omniglot | 687a681f4fa6721ea4655339d5c9f215161725b2 | [
"MIT"
] | null | null | null | omniglot/jpn/jmdict/preprocess.py | DennisMerkus/omniglot | 687a681f4fa6721ea4655339d5c9f215161725b2 | [
"MIT"
] | null | null | null | omniglot/jpn/jmdict/preprocess.py | DennisMerkus/omniglot | 687a681f4fa6721ea4655339d5c9f215161725b2 | [
"MIT"
] | null | null | null | import re
def replace_tag_strings(xml: str) -> str:
return re.sub(r"\&(.*)\;", r"\1", xml)
| 16.166667 | 42 | 0.57732 | 16 | 97 | 3.375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.175258 | 97 | 5 | 43 | 19.4 | 0.6625 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 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 |
6233f137d27332f7df9a494cf74f52cee334276d | 43,365 | py | Python | moma_example/testing/tests.py | gadio/moma-django | 13265379be1dbab18697e5f42f38b3b37f928aa9 | [
"Apache-2.0"
] | 12 | 2015-03-29T05:31:25.000Z | 2019-06-13T16:17:37.000Z | moma_example/testing/tests.py | antoniotaranto/moma-django | 13265379be1dbab18697e5f42f38b3b37f928aa9 | [
"Apache-2.0"
] | 8 | 2015-09-04T21:00:50.000Z | 2021-06-10T17:39:44.000Z | moma_example/testing/tests.py | antoniotaranto/moma-django | 13265379be1dbab18697e5f42f38b3b37f928aa9 | [
"Apache-2.0"
] | 3 | 2015-03-25T21:52:14.000Z | 2021-01-11T03:02:29.000Z | #==========================================================================
# Copyright 2012 Lucidel, Inc., 2013 Cloudoscope Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this work except in compliance with the License.
# You may obtain a copy of the License in the LICENSE f... | 58.522267 | 142 | 0.553557 | 5,139 | 43,365 | 4.461958 | 0.102938 | 0.027213 | 0.045355 | 0.031138 | 0.81618 | 0.794636 | 0.752377 | 0.717357 | 0.701003 | 0.654993 | 0 | 0.086082 | 0.272962 | 43,365 | 740 | 143 | 58.601351 | 0.641208 | 0.032215 | 0 | 0.495177 | 0 | 0 | 0.270192 | 0.041291 | 0 | 0 | 0 | 0 | 0.14791 | 1 | 0.059486 | false | 0.003215 | 0.008039 | 0.001608 | 0.075563 | 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 |
625a09d46197c5cbd4942f9683925fa3f67b360b | 63,348 | py | Python | veriloggen/thread/axim.py | jesseclin/veriloggen | a645f2c53f04e5b88213eef17779d212192ea2b5 | [
"Apache-2.0"
] | 232 | 2015-09-01T16:07:48.000Z | 2022-03-28T14:53:28.000Z | veriloggen/thread/axim.py | jesseclin/veriloggen | a645f2c53f04e5b88213eef17779d212192ea2b5 | [
"Apache-2.0"
] | 34 | 2015-08-21T09:13:03.000Z | 2022-03-21T23:52:44.000Z | veriloggen/thread/axim.py | jesseclin/veriloggen | a645f2c53f04e5b88213eef17779d212192ea2b5 | [
"Apache-2.0"
] | 46 | 2015-09-24T14:39:57.000Z | 2022-02-23T21:59:56.000Z | from __future__ import absolute_import
from __future__ import print_function
import math
import functools
from collections import OrderedDict
import veriloggen.core.vtypes as vtypes
import veriloggen.types.util as util
import veriloggen.types.axi as axi
from veriloggen.fsm.fsm import FSM
from veriloggen.optimizer imp... | 36.638519 | 100 | 0.545132 | 7,762 | 63,348 | 4.12806 | 0.029374 | 0.043537 | 0.023594 | 0.020223 | 0.905374 | 0.87429 | 0.848761 | 0.793427 | 0.761126 | 0.734411 | 0 | 0.008746 | 0.348456 | 63,348 | 1,728 | 101 | 36.659722 | 0.767578 | 0.014113 | 0 | 0.674579 | 0 | 0 | 0.033104 | 0.00071 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029096 | false | 0 | 0.009954 | 0 | 0.069678 | 0.000766 | 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 |
65809c9ceae8f5fd5978bd851dbc71d69dacbf74 | 43 | py | Python | third_party_package/RDKit_2015_03_1/rdkit/sping/SVG/__init__.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | 9 | 2019-04-23T01:46:12.000Z | 2021-08-16T07:07:12.000Z | third_party_package/RDKit_2015_03_1/rdkit/sping/SVG/__init__.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | null | null | null | third_party_package/RDKit_2015_03_1/rdkit/sping/SVG/__init__.py | Ivy286/cluster_basedfps | 7fc216537f570436f008ea567c137d03ba2b6d81 | [
"WTFPL"
] | 5 | 2016-09-21T03:47:48.000Z | 2019-07-30T22:17:35.000Z | # simple __init__.py
from pidSVG import *
| 10.75 | 20 | 0.744186 | 6 | 43 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 43 | 3 | 21 | 14.333333 | 0.8 | 0.418605 | 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 |
65dc5ed44f3ec12e4325d0985207c5c696bde93a | 127 | py | Python | starfish/spots/_detector/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | starfish/spots/_detector/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | starfish/spots/_detector/__init__.py | ttung/starfish | 1bd8abf55a335620e4b20abb041f478334714081 | [
"MIT"
] | null | null | null | from starfish.pipeline import import_all_submodules
from ._base import SpotFinder
import_all_submodules(__file__, __package__)
| 31.75 | 51 | 0.88189 | 16 | 127 | 6.1875 | 0.625 | 0.181818 | 0.383838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07874 | 127 | 3 | 52 | 42.333333 | 0.846154 | 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 |
02aff49fcc287e55a85f11accbae8960a00fafe6 | 122 | py | Python | tests/test_style.py | tueda/mympltools | 80b81e9e2c75bf5c0c7e8795d4ce5491978ee54c | [
"MIT"
] | null | null | null | tests/test_style.py | tueda/mympltools | 80b81e9e2c75bf5c0c7e8795d4ce5491978ee54c | [
"MIT"
] | null | null | null | tests/test_style.py | tueda/mympltools | 80b81e9e2c75bf5c0c7e8795d4ce5491978ee54c | [
"MIT"
] | null | null | null | import mympltools as mt
def test_get_style() -> None:
assert mt.style._get_style("21.10") == mt.style.mystyle_21_10
| 20.333333 | 65 | 0.721311 | 21 | 122 | 3.904762 | 0.619048 | 0.195122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.147541 | 122 | 5 | 66 | 24.4 | 0.711538 | 0 | 0 | 0 | 0 | 0 | 0.040984 | 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 |
02d2c42359781334a3c4db3489f53adbea8f95f7 | 5,045 | py | Python | Tests/test_statistics.py | FerhatYilmaz1986/Sqlalchemy | 5915b5860a17b54ffd481a633a8eb3d2d6bcd5b9 | [
"MIT"
] | null | null | null | Tests/test_statistics.py | FerhatYilmaz1986/Sqlalchemy | 5915b5860a17b54ffd481a633a8eb3d2d6bcd5b9 | [
"MIT"
] | 1 | 2019-11-15T05:41:37.000Z | 2019-11-15T05:41:37.000Z | Tests/test_statistics.py | FerhatYilmaz1986/Sqlalchemy | 5915b5860a17b54ffd481a633a8eb3d2d6bcd5b9 | [
"MIT"
] | 1 | 2019-11-13T23:36:39.000Z | 2019-11-13T23:36:39.000Z | from Statistics.Statistics import Statistics
from CsvReader.CsvReader import CsvReader
import unittest
class MyTestCase(unittest.TestCase):
def setUp(self) -> None:
self.statistics = Statistics()
def test_instantiate_calculator(self):
self.assertIsInstance(self.statistics, Statistics)
def... | 46.284404 | 162 | 0.658077 | 650 | 5,045 | 4.953846 | 0.096923 | 0.079503 | 0.095031 | 0.134783 | 0.869876 | 0.839752 | 0.802484 | 0.767702 | 0.737888 | 0.710559 | 0 | 0.008244 | 0.206541 | 5,045 | 108 | 163 | 46.712963 | 0.796153 | 0 | 0 | 0.533333 | 0 | 0 | 0.149653 | 0.071952 | 0 | 0 | 0 | 0 | 0.311111 | 1 | 0.177778 | false | 0 | 0.033333 | 0 | 0.222222 | 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 |
f314bd766f0ec290dd91e133b407fa2cdd2cd39b | 367 | py | Python | tests/test_basics.py | bsoyka/discord-timestamps | f45921c9cd6e56d09549e1fa030a7b79d4e76a1f | [
"MIT"
] | 3 | 2021-11-21T00:16:09.000Z | 2022-03-10T20:17:47.000Z | tests/test_basics.py | bsoyka/discord-timestamps | f45921c9cd6e56d09549e1fa030a7b79d4e76a1f | [
"MIT"
] | null | null | null | tests/test_basics.py | bsoyka/discord-timestamps | f45921c9cd6e56d09549e1fa030a7b79d4e76a1f | [
"MIT"
] | 1 | 2022-03-13T08:46:37.000Z | 2022-03-13T08:46:37.000Z | from arrow import Arrow
from discord_timestamps import format_timestamp
def test_timestamp_from_int():
assert format_timestamp(1609459200) == "<t:1609459200>"
def test_timestamp_from_float():
assert format_timestamp(1609459200.567) == "<t:1609459200>"
def test_timestamp_from_arrow():
assert format_ti... | 22.9375 | 66 | 0.760218 | 47 | 367 | 5.638298 | 0.361702 | 0.226415 | 0.181132 | 0.226415 | 0.233962 | 0.233962 | 0 | 0 | 0 | 0 | 0 | 0.184375 | 0.128065 | 367 | 15 | 67 | 24.466667 | 0.64375 | 0 | 0 | 0 | 0 | 0 | 0.114441 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
f3274d80306a110c458a2de1cf22e9eb3654cdd8 | 54 | py | Python | ensure_typing/__init__.py | LucasFrassetto/EnsureTyping | 6684b3dc1f19bb9671a8225c404ba028873d3b76 | [
"MIT"
] | null | null | null | ensure_typing/__init__.py | LucasFrassetto/EnsureTyping | 6684b3dc1f19bb9671a8225c404ba028873d3b76 | [
"MIT"
] | null | null | null | ensure_typing/__init__.py | LucasFrassetto/EnsureTyping | 6684b3dc1f19bb9671a8225c404ba028873d3b76 | [
"MIT"
] | null | null | null | from .ensure_typing import EnsureTyping, ensure_typing | 54 | 54 | 0.888889 | 7 | 54 | 6.571429 | 0.714286 | 0.521739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.92 | 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 |
b867b0d0b402f8338e39a37e23c56996615799f1 | 27 | py | Python | bagofconcepts/__init__.py | hank110/Bag-of-Concepts | 28e772296bfe4b0a71859cf2aba1d68252948fb9 | [
"MIT"
] | null | null | null | bagofconcepts/__init__.py | hank110/Bag-of-Concepts | 28e772296bfe4b0a71859cf2aba1d68252948fb9 | [
"MIT"
] | null | null | null | bagofconcepts/__init__.py | hank110/Bag-of-Concepts | 28e772296bfe4b0a71859cf2aba1d68252948fb9 | [
"MIT"
] | null | null | null | from .boc import BOCModel
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 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 |
b8b4dca2eb60ce4e93f053d4b052352858738000 | 1,848 | py | Python | problem_0008.py | techrabbit58/ProjectEuler | b23a2bc87acf5ee470ee62d94d43d7f6e6c1725a | [
"Unlicense"
] | null | null | null | problem_0008.py | techrabbit58/ProjectEuler | b23a2bc87acf5ee470ee62d94d43d7f6e6c1725a | [
"Unlicense"
] | null | null | null | problem_0008.py | techrabbit58/ProjectEuler | b23a2bc87acf5ee470ee62d94d43d7f6e6c1725a | [
"Unlicense"
] | null | null | null | """This solves problem #8 of Project Euler (https://projecteuler.net)
The four adjacent digits in the 1000-digit number that have the greatest
product are 9 × 9 × 8 × 9 = 5832.
(see below, the 'DIGIT_FILE')
Find the thirteen adjacent digits in the 1000-digit number that have the greatest product.
What is the val... | 34.222222 | 90 | 0.845238 | 148 | 1,848 | 10.47973 | 0.608108 | 0.023211 | 0.020632 | 0.0245 | 0.077369 | 0.077369 | 0.077369 | 0.077369 | 0.077369 | 0.077369 | 0 | 0.612981 | 0.099567 | 1,848 | 53 | 91 | 34.867925 | 0.317308 | 0.1921 | 0 | 0 | 0 | 0 | 0.70323 | 0.672948 | 0 | 1 | 0 | 0 | 0 | 1 | 0.028571 | false | 0 | 0.085714 | 0 | 0.114286 | 0.057143 | 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 |
b8bacd6e93f9b7bfe2d733c4ab261451198d9add | 19,882 | py | Python | tests/test_client.py | ehsanmsd/kadabra | 1dfc34c6818dc6540e5cbfea85d80419f7a4d51e | [
"BSD-3-Clause"
] | 5 | 2016-11-18T00:15:43.000Z | 2016-11-18T18:19:41.000Z | tests/test_client.py | ehsanmsd/kadabra | 1dfc34c6818dc6540e5cbfea85d80419f7a4d51e | [
"BSD-3-Clause"
] | 12 | 2016-11-18T05:29:14.000Z | 2017-10-16T18:34:34.000Z | tests/test_client.py | ehsanmsd/kadabra | 1dfc34c6818dc6540e5cbfea85d80419f7a4d51e | [
"BSD-3-Clause"
] | 2 | 2017-03-29T11:07:26.000Z | 2021-08-10T20:09:13.000Z | import kadabra
import pytest
import datetime
from mock import MagicMock, mock, call
NOW = datetime.datetime.utcnow()
def test_client_ctor_unrecognized_channel():
with pytest.raises(Exception):
kadabra.Kadabra(configuration={"CLIENT_CHANNEL_TYPE": "grenjiweroni"})
# http://www.voidspace.org.uk/python/moc... | 38.088123 | 82 | 0.715371 | 2,269 | 19,882 | 6.011459 | 0.069193 | 0.076979 | 0.047507 | 0.058065 | 0.812317 | 0.776906 | 0.763563 | 0.757331 | 0.733504 | 0.687537 | 0 | 0.007145 | 0.169349 | 19,882 | 521 | 83 | 38.161228 | 0.818771 | 0.006287 | 0 | 0.623529 | 0 | 0 | 0.109249 | 0.026983 | 0 | 0 | 0 | 0.001919 | 0.24 | 1 | 0.063529 | false | 0 | 0.009412 | 0 | 0.075294 | 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 |
b8bc1793f543ffe5a4ac2fa8e4c82b644ec66c5d | 177 | py | Python | cluster_tools/ilastik/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 28 | 2018-12-09T22:11:52.000Z | 2022-02-01T16:48:23.000Z | cluster_tools/ilastik/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 16 | 2019-01-27T10:59:33.000Z | 2022-01-11T09:09:24.000Z | cluster_tools/ilastik/__init__.py | constantinpape/cluster_tools | a7e88545b58f8315723bc47583916e1900a7892d | [
"MIT"
] | 11 | 2018-12-09T22:11:56.000Z | 2021-08-08T20:10:13.000Z | from .ilastik_workflow import IlastikPredictionWorkflow, IlastikCarvingWorkflow
from .stack_predictions import StackPredictionsLocal, StackPredictionsSlurm, StackPredictionsLSF
| 59 | 96 | 0.909605 | 13 | 177 | 12.230769 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.062147 | 177 | 2 | 97 | 88.5 | 0.957831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 |
b235e0ecf2d1740033658e84a8a1c74cd2d4061a | 1,623 | py | Python | icomfort3-scraper/test_change_set_point.py | hufman/icomfort3-scraper | 1feb38380ab1ea4181730380cfd6e5f12a9c5346 | [
"MIT"
] | 9 | 2018-06-01T04:07:59.000Z | 2021-08-29T21:07:41.000Z | icomfort3-scraper/test_change_set_point.py | hufman/icomfort3-scraper | 1feb38380ab1ea4181730380cfd6e5f12a9c5346 | [
"MIT"
] | 2 | 2018-08-30T12:13:26.000Z | 2018-10-06T21:35:23.000Z | icomfort3-scraper/test_change_set_point.py | hufman/icomfort3-scraper | 1feb38380ab1ea4181730380cfd6e5f12a9c5346 | [
"MIT"
] | 6 | 2019-04-23T17:07:46.000Z | 2021-08-29T21:08:07.000Z | #!/usr/bin/python
import secrets
import time
from session import IComfort3Session
from lcc_zone import IComfort3Zone
s = IComfort3Session()
s.login(secrets.icomfort_username, secrets.icomfort_password)
homes = s.fetch_home_zones()
for home in homes:
for (lcc, zone) in homes[home]:
#s.set_context(home, lc... | 37.744186 | 63 | 0.601972 | 209 | 1,623 | 4.602871 | 0.191388 | 0.065489 | 0.116424 | 0.112266 | 0.794179 | 0.794179 | 0.794179 | 0.794179 | 0.794179 | 0.794179 | 0 | 0.010744 | 0.254467 | 1,623 | 42 | 64 | 38.642857 | 0.784298 | 0.046827 | 0 | 0.705882 | 0 | 0 | 0.281088 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.029412 | 0.117647 | 0 | 0.117647 | 0.235294 | 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 |
b26df60256e929db3dc4baf66bf387e7fb9f9be2 | 80 | py | Python | web3_erc20_predefined/predefined/__init__.py | kkristof200/py_web3_erc20_predefined | e95399bb14c61bb56e56f474937b0ace8565772b | [
"MIT"
] | null | null | null | web3_erc20_predefined/predefined/__init__.py | kkristof200/py_web3_erc20_predefined | e95399bb14c61bb56e56f474937b0ace8565772b | [
"MIT"
] | null | null | null | web3_erc20_predefined/predefined/__init__.py | kkristof200/py_web3_erc20_predefined | e95399bb14c61bb56e56f474937b0ace8565772b | [
"MIT"
] | null | null | null | from .bsc import *
from .eth import *
from .bsc_testnet import Wbnb as TestWbnb | 20 | 41 | 0.7625 | 13 | 80 | 4.615385 | 0.615385 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 80 | 4 | 41 | 20 | 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 | 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 |
a27c713e2a00a9017fb728ab02daffb19e5b1b7e | 1,881 | py | Python | valhalla/tests/test_numerical.py | movermeyer/valhalla | b08d7a4a94fd8d85a6f5ea86200ec60ef4525e3d | [
"MIT"
] | null | null | null | valhalla/tests/test_numerical.py | movermeyer/valhalla | b08d7a4a94fd8d85a6f5ea86200ec60ef4525e3d | [
"MIT"
] | null | null | null | valhalla/tests/test_numerical.py | movermeyer/valhalla | b08d7a4a94fd8d85a6f5ea86200ec60ef4525e3d | [
"MIT"
] | 2 | 2016-09-01T09:20:01.000Z | 2018-03-05T17:22:37.000Z | # -*- coding: utf-8 -*-
from nose.tools.trivial import assert_true, assert_false
from valhalla import Schema
def test_range():
s = Schema()
s.some_number.range()
s.validate({'some_number': 4})
assert_true(s.valid)
s = Schema()
s.some_number.range(low=1)
s.validate({'some_number': 0})
... | 20.9 | 56 | 0.617225 | 281 | 1,881 | 3.943061 | 0.135231 | 0.243682 | 0.211191 | 0.308664 | 0.82491 | 0.722924 | 0.609206 | 0.609206 | 0.609206 | 0.575812 | 0 | 0.022222 | 0.210526 | 1,881 | 89 | 57 | 21.134831 | 0.723906 | 0.011164 | 0 | 0.746479 | 0 | 0 | 0.106566 | 0 | 0 | 0 | 0 | 0 | 0.267606 | 1 | 0.084507 | false | 0 | 0.028169 | 0 | 0.112676 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a291b6dbc212d482151f769c7bc4d63c5a1eca94 | 79 | py | Python | tools/__init__.py | Lishjie/LUPVisQ | b2f4bcc0e5bf4ce97f9dcfff4901a3469ce04163 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | Lishjie/LUPVisQ | b2f4bcc0e5bf4ce97f9dcfff4901a3469ce04163 | [
"Apache-2.0"
] | null | null | null | tools/__init__.py | Lishjie/LUPVisQ | b2f4bcc0e5bf4ce97f9dcfff4901a3469ce04163 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2021/01/04 22:26
# @Author : lishijie
| 15.8 | 30 | 0.506329 | 11 | 79 | 3.636364 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 0.265823 | 79 | 4 | 31 | 19.75 | 0.465517 | 0.898734 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a2a57594222c9ceeab754c6b51ad566d25b72d56 | 149 | py | Python | common/db/mongo/mongo_constant.py | Deep-Heart/Spider | 33fd548c025bd52571f52e4b53d8e7cb8570be6f | [
"Apache-2.0"
] | 1 | 2017-04-21T03:44:22.000Z | 2017-04-21T03:44:22.000Z | common/db/mongo/mongo_constant.py | Deep-Heart/Spider | 33fd548c025bd52571f52e4b53d8e7cb8570be6f | [
"Apache-2.0"
] | null | null | null | common/db/mongo/mongo_constant.py | Deep-Heart/Spider | 33fd548c025bd52571f52e4b53d8e7cb8570be6f | [
"Apache-2.0"
] | null | null | null | class MongoConstant:
MONGO_SERVER = 'MONGO_SERVER'
MONGO_PORT = 'MONGO_PORT'
MONGO_USER = 'MONGO_USER'
MONGO_PASSWD = 'MONGO_PASSWD'
| 24.833333 | 33 | 0.711409 | 18 | 149 | 5.444444 | 0.388889 | 0.22449 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201342 | 149 | 5 | 34 | 29.8 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.295302 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 6 |
a2e74df0eb379aedf22f2aab53df87c923bd9a13 | 236 | py | Python | src/entities/tag.py | Kaltsoon/telegram-analytics | a63dda64e5f5efba8911712237c29f01dca70ef5 | [
"MIT"
] | null | null | null | src/entities/tag.py | Kaltsoon/telegram-analytics | a63dda64e5f5efba8911712237c29f01dca70ef5 | [
"MIT"
] | null | null | null | src/entities/tag.py | Kaltsoon/telegram-analytics | a63dda64e5f5efba8911712237c29f01dca70ef5 | [
"MIT"
] | 1 | 2021-08-30T07:30:24.000Z | 2021-08-30T07:30:24.000Z | class Tag:
def __init__(self, category, text, message_id=None):
self.category = category
self.text = text
self.message_id = message_id
def __str__(self):
return f'({self.category}, {self.text})'
| 26.222222 | 56 | 0.618644 | 30 | 236 | 4.5 | 0.433333 | 0.266667 | 0.237037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262712 | 236 | 8 | 57 | 29.5 | 0.775862 | 0 | 0 | 0 | 0 | 0 | 0.127119 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
0c0636c07f17f1a62ed9fd65728eba37150e665c | 284 | py | Python | hacks/advy.py | VidhiKulkarni/nighthawk_csp | b88db2142a540ee7aaae081667f81696f4125dd5 | [
"Unlicense"
] | null | null | null | hacks/advy.py | VidhiKulkarni/nighthawk_csp | b88db2142a540ee7aaae081667f81696f4125dd5 | [
"Unlicense"
] | null | null | null | hacks/advy.py | VidhiKulkarni/nighthawk_csp | b88db2142a540ee7aaae081667f81696f4125dd5 | [
"Unlicense"
] | null | null | null | # advy.py - adventure starter
def beach():
#Your beach function/animation here
print("beach function")
def mountain():
#Your mountain function/animation here
print("mountain function")
def lake():
#Your lake function/animation here
print("lake function")
| 17.75 | 42 | 0.690141 | 34 | 284 | 5.764706 | 0.382353 | 0.260204 | 0.321429 | 0.397959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204225 | 284 | 15 | 43 | 18.933333 | 0.867257 | 0.461268 | 0 | 0 | 0 | 0 | 0.297297 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0c0f214b3f7a8a9ffe9faa2e3248984503d0bf4a | 5,609 | py | Python | src/tests/services/game_service_test.py | hhautajarvi/kps-tekoaly | 9dd72c60e34a98fdf11a8292bc5152848ce2044a | [
"MIT"
] | null | null | null | src/tests/services/game_service_test.py | hhautajarvi/kps-tekoaly | 9dd72c60e34a98fdf11a8292bc5152848ce2044a | [
"MIT"
] | null | null | null | src/tests/services/game_service_test.py | hhautajarvi/kps-tekoaly | 9dd72c60e34a98fdf11a8292bc5152848ce2044a | [
"MIT"
] | null | null | null | import unittest
from services.game_service import GameService
class GameServiceTest(unittest.TestCase):
def setUp(self):
self.game_service = GameService()
def test_constructor(self):
self.assertEqual([0, 0, 0], self.game_service._win_lose_tie)
self.assertEqual(1, self.game_service._gam... | 45.601626 | 91 | 0.682296 | 763 | 5,609 | 4.730013 | 0.081258 | 0.185924 | 0.249377 | 0.116376 | 0.846218 | 0.813799 | 0.776947 | 0.710723 | 0.619285 | 0.540593 | 0 | 0.032435 | 0.186486 | 5,609 | 122 | 92 | 45.97541 | 0.758492 | 0 | 0 | 0.40404 | 0 | 0 | 0.039044 | 0 | 0 | 0 | 0 | 0 | 0.393939 | 1 | 0.232323 | false | 0 | 0.020202 | 0 | 0.262626 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c149129428d7eb3aae7e88bc537109af8654e47 | 35 | py | Python | livemark/plugins/pipeline/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 73 | 2021-06-07T13:28:36.000Z | 2022-03-26T05:37:59.000Z | livemark/plugins/pipeline/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 120 | 2021-06-04T12:51:01.000Z | 2022-03-21T11:11:36.000Z | livemark/plugins/pipeline/__init__.py | AyrtonB/livemark | f8c49d449ea6242c674cf345823468aaabea6e6b | [
"MIT"
] | 7 | 2021-09-22T11:38:26.000Z | 2022-03-26T05:35:58.000Z | from .plugin import PipelinePlugin
| 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 |
0c2cda6c86a5ad8d9c104e2956740c5305c61370 | 34 | py | Python | main.py | Birdlet/rddock | 02399b3223682ad0d0051efaffa6652c9e3f85d7 | [
"MIT"
] | null | null | null | main.py | Birdlet/rddock | 02399b3223682ad0d0051efaffa6652c9e3f85d7 | [
"MIT"
] | null | null | null | main.py | Birdlet/rddock | 02399b3223682ad0d0051efaffa6652c9e3f85d7 | [
"MIT"
] | null | null | null | import numpy as numpy
import quat | 17 | 22 | 0.823529 | 6 | 34 | 4.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 2 | 23 | 17 | 1 | 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 |
0c353989778c25abcc2d46fcdcca3aa2781669d3 | 156 | py | Python | mecha/contrib/bolt/__init__.py | Arcensoth/mecha | 6ba3958258adbd59773de6e3395e3a86b522b0f1 | [
"MIT"
] | null | null | null | mecha/contrib/bolt/__init__.py | Arcensoth/mecha | 6ba3958258adbd59773de6e3395e3a86b522b0f1 | [
"MIT"
] | null | null | null | mecha/contrib/bolt/__init__.py | Arcensoth/mecha | 6ba3958258adbd59773de6e3395e3a86b522b0f1 | [
"MIT"
] | null | null | null | from .ast import *
from .codegen import *
from .helpers import *
from .loop_info import *
from .parse import *
from .plugin import *
from .runtime import *
| 19.5 | 24 | 0.730769 | 22 | 156 | 5.136364 | 0.454545 | 0.530973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 156 | 7 | 25 | 22.285714 | 0.882813 | 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 |
0c3e56bd49c666a97d4620eac406e1552d864639 | 4,241 | py | Python | tests/unit/images/conftest.py | DoctorJohn/hcloud-python | fad870790a19621fd130fd28d564a8d6ba7a566c | [
"MIT"
] | 156 | 2019-02-21T09:19:07.000Z | 2022-03-14T12:19:23.000Z | tests/unit/images/conftest.py | DoctorJohn/hcloud-python | fad870790a19621fd130fd28d564a8d6ba7a566c | [
"MIT"
] | 69 | 2018-12-20T16:05:30.000Z | 2022-03-28T21:06:31.000Z | tests/unit/images/conftest.py | DoctorJohn/hcloud-python | fad870790a19621fd130fd28d564a8d6ba7a566c | [
"MIT"
] | 37 | 2019-02-22T08:32:07.000Z | 2022-02-02T12:42:45.000Z | import pytest
@pytest.fixture()
def image_response():
return {
"image": {
"id": 4711,
"type": "snapshot",
"status": "available",
"name": "ubuntu-20.04",
"description": "Ubuntu 20.04 Standard 64 bit",
"image_size": 2.3,
"di... | 30.731884 | 79 | 0.408866 | 384 | 4,241 | 4.395833 | 0.208333 | 0.056872 | 0.042654 | 0.032583 | 0.792654 | 0.792654 | 0.792654 | 0.792654 | 0.792654 | 0.757701 | 0 | 0.12978 | 0.42042 | 4,241 | 137 | 80 | 30.956204 | 0.556957 | 0 | 0 | 0.685039 | 0 | 0 | 0.35369 | 0.067201 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03937 | true | 0 | 0.007874 | 0.03937 | 0.086614 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c5d7ab0658e944e39c3b560f303667e0fd951c9 | 49,686 | py | Python | pymove/visualization/visualization.py | synapticarbors/PyMove | 10bf8fcd4b60b31d812a12a31a14b0ea52ac4464 | [
"MIT"
] | null | null | null | pymove/visualization/visualization.py | synapticarbors/PyMove | 10bf8fcd4b60b31d812a12a31a14b0ea52ac4464 | [
"MIT"
] | null | null | null | pymove/visualization/visualization.py | synapticarbors/PyMove | 10bf8fcd4b60b31d812a12a31a14b0ea52ac4464 | [
"MIT"
] | null | null | null | import folium
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
from folium.plugins import FastMarkerCluster, HeatMap, MarkerCluster
from pymove.utils.constants import (
COLORS,
COUNT,
DATE,
DATETIME,
DAY,
HOUR,
LATITUDE,
LONGITUDE,
PERIOD,
SITUATION,
STOP... | 31.809219 | 95 | 0.621644 | 6,668 | 49,686 | 4.466707 | 0.05024 | 0.031493 | 0.028069 | 0.042842 | 0.828028 | 0.807984 | 0.794051 | 0.776088 | 0.766553 | 0.757252 | 0 | 0.007756 | 0.283822 | 49,686 | 1,561 | 96 | 31.829596 | 0.829249 | 0.435918 | 0 | 0.68789 | 0 | 0.001248 | 0.057252 | 0.008775 | 0 | 0 | 0 | 0 | 0 | 1 | 0.024969 | false | 0 | 0.009988 | 0 | 0.058677 | 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 |
a74533f7035d636f75d61750f69c8ae50f835ebd | 165 | py | Python | IA/keys.py | igor-ribeiiro/help_me-bot | f5fe997506ca78356f2bf1b47c12cdd7889eb0dd | [
"MIT"
] | null | null | null | IA/keys.py | igor-ribeiiro/help_me-bot | f5fe997506ca78356f2bf1b47c12cdd7889eb0dd | [
"MIT"
] | null | null | null | IA/keys.py | igor-ribeiiro/help_me-bot | f5fe997506ca78356f2bf1b47c12cdd7889eb0dd | [
"MIT"
] | null | null | null | class Keys:
key1 = 'da4c0ff09c204cf09a8fef9ac45d34e5'
key2 = '23f5f4d3b03b4cfd83fd74486f544286'
slack_key = 'xoxb-360007658342-B8eq6FfnhS2hzxgQmVBvmolM'
| 33 | 60 | 0.787879 | 11 | 165 | 11.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.380282 | 0.139394 | 165 | 4 | 61 | 41.25 | 0.528169 | 0 | 0 | 0 | 0 | 0 | 0.642424 | 0.642424 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
a79d75070cab1ae0b24373bd35b4c251f18f3caf | 56 | py | Python | sodium/tsai_model/__init__.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 3 | 2020-04-04T20:22:15.000Z | 2021-02-11T13:13:14.000Z | sodium/tsai_model/__init__.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | 1 | 2020-07-01T14:14:50.000Z | 2020-07-01T16:04:13.000Z | sodium/tsai_model/__init__.py | Keerthi001/PySodium | 761598d8a129ce95a42404898b7f16ddcae568d9 | [
"MIT"
] | null | null | null | from .s8 import *
from .s11 import *
from .s12 import *
| 14 | 18 | 0.678571 | 9 | 56 | 4.222222 | 0.555556 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 0.214286 | 56 | 3 | 19 | 18.666667 | 0.75 | 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 |
38f7d41ba23f116971857705344e4abf1dc7b11c | 21,759 | py | Python | Utils_Video.py | TITAN-PyCompat/Tensorflow_Object_Tracking_Video | 6696a22287ac99a8730fa51eb7d3bc243cba8567 | [
"MIT"
] | 562 | 2016-06-26T06:27:10.000Z | 2022-02-20T15:12:46.000Z | Utils_Video.py | arnoweng/Tensorflow_Object_Tracking_Video | 6696a22287ac99a8730fa51eb7d3bc243cba8567 | [
"MIT"
] | 18 | 2016-08-01T21:32:15.000Z | 2020-01-21T16:15:12.000Z | Utils_Video.py | arnoweng/Tensorflow_Object_Tracking_Video | 6696a22287ac99a8730fa51eb7d3bc243cba8567 | [
"MIT"
] | 229 | 2016-07-22T05:34:40.000Z | 2021-10-20T08:39:15.000Z | import os
import cv2
import progressbar
import copy
import utils_image
import Utils_Imagenet
import Utils_Tensorbox
import frame
import multiclass_rectangle
import vid_classes
from PIL import Image,ImageDraw
import sys
### Fucntions to mount the video from frames
def draw_rectangles(path_video_folder, labeled_video_f... | 45.520921 | 430 | 0.636013 | 2,872 | 21,759 | 4.549791 | 0.073816 | 0.037193 | 0.045458 | 0.027321 | 0.826586 | 0.790465 | 0.749981 | 0.72067 | 0.687993 | 0.679192 | 0 | 0.012798 | 0.253045 | 21,759 | 477 | 431 | 45.616352 | 0.791177 | 0.048302 | 0 | 0.641558 | 0 | 0 | 0.092788 | 0.002043 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.031169 | null | null | 0.194805 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
ac81cbe9fb5e677ec5c8bfdaf2c047ae1550bc31 | 107 | py | Python | app/setting/__init__.py | CAUCHY2932/mark_py3 | 6b4957e127f76d30c55e07109d5d815c3d592a8b | [
"BSD-3-Clause"
] | 2 | 2019-06-09T02:42:02.000Z | 2021-04-23T05:47:19.000Z | app/setting/__init__.py | CAUCHY2932/mark_py3 | 6b4957e127f76d30c55e07109d5d815c3d592a8b | [
"BSD-3-Clause"
] | 7 | 2021-03-19T03:42:17.000Z | 2022-03-11T23:59:35.000Z | app/setting/__init__.py | CAUCHY2932/mark_py3 | 6b4957e127f76d30c55e07109d5d815c3d592a8b | [
"BSD-3-Clause"
] | 1 | 2019-06-02T12:20:24.000Z | 2019-06-02T12:20:24.000Z | #coding: utf-8
from flask import Blueprint
setting = Blueprint("setting", __name__)
from . import views
| 13.375 | 40 | 0.747664 | 14 | 107 | 5.428571 | 0.714286 | 0.421053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011111 | 0.158879 | 107 | 7 | 41 | 15.285714 | 0.833333 | 0.121495 | 0 | 0 | 0 | 0 | 0.076087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
3bd66c35b62e264c8679c6510107e2fe612464da | 145,058 | py | Python | google/cloud/storage/emulator/google/storage/v2/storage_pb2.py | VPeruS/google-cloud-cpp | 727bc4f4676a75a97cec91247bcdd78741cf7204 | [
"Apache-2.0"
] | 1 | 2021-11-11T05:59:48.000Z | 2021-11-11T05:59:48.000Z | google/cloud/storage/emulator/google/storage/v2/storage_pb2.py | nschonni/google-cloud-cpp | 0f5e785f14fc21315d6c6fc98ace87da9182dbaa | [
"Apache-2.0"
] | null | null | null | google/cloud/storage/emulator/google/storage/v2/storage_pb2.py | nschonni/google-cloud-cpp | 0f5e785f14fc21315d6c6fc98ace87da9182dbaa | [
"Apache-2.0"
] | 1 | 2021-08-16T23:38:37.000Z | 2021-08-16T23:38:37.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/storage/v2/storage.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
... | 50.595745 | 14,994 | 0.770871 | 18,595 | 145,058 | 5.663028 | 0.038666 | 0.042847 | 0.072352 | 0.0641 | 0.808013 | 0.775412 | 0.723344 | 0.682795 | 0.657886 | 0.624592 | 0 | 0.041177 | 0.109494 | 145,058 | 2,866 | 14,995 | 50.613398 | 0.774027 | 0.020771 | 0 | 0.678097 | 1 | 0.003319 | 0.233038 | 0.179967 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.004794 | 0 | 0.004794 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3bdfbe49f84e740e06d2148e06cea51ca1f9e831 | 106 | py | Python | kdrl/agents/__init__.py | obsproth/KDRL | a892aa216456ff6d277e4d7e575d61f0b7e91a78 | [
"MIT"
] | null | null | null | kdrl/agents/__init__.py | obsproth/KDRL | a892aa216456ff6d277e4d7e575d61f0b7e91a78 | [
"MIT"
] | null | null | null | kdrl/agents/__init__.py | obsproth/KDRL | a892aa216456ff6d277e4d7e575d61f0b7e91a78 | [
"MIT"
] | null | null | null | from .static import RandomAgent, ConstantAgent
from .basic import *
from .dqn import *
from .ddpg import * | 26.5 | 46 | 0.773585 | 14 | 106 | 5.857143 | 0.571429 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 106 | 4 | 47 | 26.5 | 0.911111 | 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 |
3be750902dc0295fcce05b7531a756b557268304 | 561 | py | Python | Arase/Tools/ColorMap.py | mattkjames7/Arase | 996167be35a13bbb1fdddfbe75e3a06d124b1d25 | [
"MIT"
] | null | null | null | Arase/Tools/ColorMap.py | mattkjames7/Arase | 996167be35a13bbb1fdddfbe75e3a06d124b1d25 | [
"MIT"
] | 1 | 2021-06-10T22:51:09.000Z | 2021-06-10T22:51:09.000Z | Arase/Tools/ColorMap.py | mattkjames7/Arase | 996167be35a13bbb1fdddfbe75e3a06d124b1d25 | [
"MIT"
] | null | null | null | import numpy as np
from matplotlib.colors import LinearSegmentedColormap
cdict = {'red' : [[0.0,0.0,0.0],
[0.1,0.35,0.35],
[0.205,0.0,0.0],
[0.52,0.0,0.0],
[0.67,1.0,1.0],
[0.925,1.0,1.0],
[1.0,0.66,0.66]],
'green' : [[0.0,0.0,0.0],
[0.205,0.0,0.0],
[0.39,1.0,1.0],
[0.66... | 22.44 | 53 | 0.454545 | 131 | 561 | 1.946565 | 0.206107 | 0.392157 | 0.4 | 0.376471 | 0.403922 | 0.333333 | 0.290196 | 0.14902 | 0.078431 | 0.078431 | 0 | 0.310905 | 0.231729 | 561 | 24 | 54 | 23.375 | 0.280742 | 0 | 0 | 0.181818 | 0 | 0 | 0.032086 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0213f9dd655bd460ba0b463944166fa3a9c976e6 | 164 | py | Python | examples/docs_snippets/docs_snippets_tests/concepts_tests/io_management_tests/test_metadata.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-07-03T09:05:58.000Z | 2021-07-03T09:05:58.000Z | examples/docs_snippets/docs_snippets_tests/concepts_tests/io_management_tests/test_metadata.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-06-21T18:30:02.000Z | 2021-06-25T21:18:39.000Z | examples/docs_snippets/docs_snippets_tests/concepts_tests/io_management_tests/test_metadata.py | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 1 | 2021-11-30T21:40:46.000Z | 2021-11-30T21:40:46.000Z | from dagster import execute_pipeline
from docs_snippets.concepts.io_management.metadata import my_pipeline
def test_metadata():
execute_pipeline(my_pipeline)
| 23.428571 | 69 | 0.847561 | 22 | 164 | 6 | 0.636364 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103659 | 164 | 6 | 70 | 27.333333 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
0260d263a2c997e9e882f2d7b921ce2bc8d164b8 | 12,241 | py | Python | tests/test_executable.py | jgberry/ssort | 65c4b0a1f2e9e93e65855967f9a438046b24d9e1 | [
"MIT"
] | null | null | null | tests/test_executable.py | jgberry/ssort | 65c4b0a1f2e9e93e65855967f9a438046b24d9e1 | [
"MIT"
] | null | null | null | tests/test_executable.py | jgberry/ssort | 65c4b0a1f2e9e93e65855967f9a438046b24d9e1 | [
"MIT"
] | null | null | null | import pathlib
import subprocess
import sys
import pytest
from ssort._utils import escape_path
_good = b"""
def _private():
pass
def public():
return _private()
"""
_unsorted = b"""
def public():
return _private()
def _private():
pass
"""
_encoding = b"""
# coding=invalid-encoding
"""
_character... | 29.711165 | 142 | 0.672249 | 1,647 | 12,241 | 4.698846 | 0.092289 | 0.05608 | 0.0889 | 0.122238 | 0.829694 | 0.813154 | 0.797261 | 0.785502 | 0.749838 | 0.706551 | 0 | 0.013561 | 0.210849 | 12,241 | 411 | 143 | 29.783455 | 0.787578 | 0 | 0 | 0.592715 | 0 | 0.019868 | 0.269668 | 0.054979 | 0 | 0 | 0.000327 | 0 | 0.082781 | 1 | 0.092715 | false | 0.016556 | 0.016556 | 0 | 0.142384 | 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 |
0276265483623e630c7767433a7cadbaf7c7e997 | 25 | py | Python | src/scripts/__init__.py | arcosin/ANP_TrackDriver | d1705bb77959cb3653490e126a40f8086ba084bd | [
"MIT"
] | 4 | 2019-05-22T00:17:28.000Z | 2020-08-26T02:03:33.000Z | preprocess/__init__.py | ryanwongsa/open-images-2019-challenge | b49e0933451c4bf9b31a9a8faf1bd8ba3dee1cc5 | [
"Apache-2.0"
] | 3 | 2019-07-14T09:17:11.000Z | 2022-01-13T01:15:10.000Z | preprocess/__init__.py | ryanwongsa/open-images-2019-challenge | b49e0933451c4bf9b31a9a8faf1bd8ba3dee1cc5 | [
"Apache-2.0"
] | 5 | 2021-03-24T01:02:06.000Z | 2021-05-21T16:57:05.000Z | from .preprocess import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 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 |
5a37f8f2165f50816e024abdbfe9d18137cfb9a3 | 13,458 | py | Python | xtable/handlers.py | tuyenta/xTable | f299e42eb3bbbfe242572375af04e18e699dd681 | [
"MIT"
] | null | null | null | xtable/handlers.py | tuyenta/xTable | f299e42eb3bbbfe242572375af04e18e699dd681 | [
"MIT"
] | null | null | null | xtable/handlers.py | tuyenta/xTable | f299e42eb3bbbfe242572375af04e18e699dd681 | [
"MIT"
] | null | null | null | # # -*- coding: utf-8 -*-
# import os
# import sys
# from PyPDF2 import PdfFileReader, PdfFileWriter
# from .core import TableList
# from .parsers import Stream, Lattice
# from .utils import (
# TemporaryDirectory,
# get_page_layout,
# get_text_objects,
# get_rotation,
# is_url,
# download_ur... | 34.596401 | 130 | 0.521771 | 1,440 | 13,458 | 4.773611 | 0.147222 | 0.028804 | 0.016293 | 0.025604 | 0.797207 | 0.761565 | 0.746872 | 0.739017 | 0.714577 | 0.681554 | 0 | 0.007331 | 0.361421 | 13,458 | 388 | 131 | 34.685567 | 0.79253 | 0.596671 | 0 | 0.111111 | 0 | 0 | 0.046371 | 0.004783 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046296 | false | 0.092593 | 0.074074 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5a6c2840c928c2519491e76f8188b7b87303c721 | 270 | py | Python | networkx/algorithms/community/__init__.py | theaverageguy/networkx | b2b74b3ba028ef3788f796aa64b037c8ea446539 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/community/__init__.py | theaverageguy/networkx | b2b74b3ba028ef3788f796aa64b037c8ea446539 | [
"BSD-3-Clause"
] | null | null | null | networkx/algorithms/community/__init__.py | theaverageguy/networkx | b2b74b3ba028ef3788f796aa64b037c8ea446539 | [
"BSD-3-Clause"
] | 1 | 2020-09-11T06:41:14.000Z | 2020-09-11T06:41:14.000Z | from networkx.algorithms.community.asyn_lpa import *
from networkx.algorithms.community.centrality import *
from networkx.algorithms.community.kernighan_lin import *
from networkx.algorithms.community.kclique import *
from networkx.algorithms.community.quality import *
| 45 | 57 | 0.851852 | 32 | 270 | 7.125 | 0.375 | 0.263158 | 0.482456 | 0.679825 | 0.649123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 270 | 5 | 58 | 54 | 0.912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5a81d553765105748b805be9a768b3ecc4bb1d3c | 60 | py | Python | cmselemental/models/__init__.py | ccbiozhaw/cmselemental | 3434e597daed0969e3bc0f69c6065ad8d51aa299 | [
"BSD-3-Clause"
] | null | null | null | cmselemental/models/__init__.py | ccbiozhaw/cmselemental | 3434e597daed0969e3bc0f69c6065ad8d51aa299 | [
"BSD-3-Clause"
] | null | null | null | cmselemental/models/__init__.py | ccbiozhaw/cmselemental | 3434e597daed0969e3bc0f69c6065ad8d51aa299 | [
"BSD-3-Clause"
] | null | null | null | from . import base
from . import types
from . import common
| 15 | 20 | 0.75 | 9 | 60 | 5 | 0.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 60 | 3 | 21 | 20 | 0.9375 | 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 |
5a89e7df52e8545bf989ac93efa37df47cea185d | 268 | py | Python | doc/__init__.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | null | null | null | doc/__init__.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | 2 | 2019-03-27T00:36:09.000Z | 2019-04-09T00:39:12.000Z | doc/__init__.py | jeamick/ares-visual | 3cf5068f874b3f6fe898968b2a7efa86fadca99d | [
"MIT"
] | null | null | null | from . import DocAresPmts
from . import DocAresTypes
from . import DocAresCategories
from . import DocAresReleases
from . import DocAresRules
from . import DocAresPackages
from . import DocAresScriptAPI
from . import DocAresReport
from . import DocAresHtmlData | 29.777778 | 32 | 0.80597 | 27 | 268 | 8 | 0.407407 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160448 | 268 | 9 | 33 | 29.777778 | 0.96 | 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 |
ce87df927f2a672ba1dbcb0f84b5bebba4e5f9fd | 40 | py | Python | firebase_auth/__init__.py | WoolDoughnut310/micropython-firebase-auth | a7afe2a20cfaf32a53a9e84eb7e2104ee959044a | [
"MIT"
] | 1 | 2022-02-13T11:48:18.000Z | 2022-02-13T11:48:18.000Z | firebase_auth/__init__.py | WoolDoughnut310/micropython-firebase-auth | a7afe2a20cfaf32a53a9e84eb7e2104ee959044a | [
"MIT"
] | null | null | null | firebase_auth/__init__.py | WoolDoughnut310/micropython-firebase-auth | a7afe2a20cfaf32a53a9e84eb7e2104ee959044a | [
"MIT"
] | null | null | null | from .firebase_auth import FirebaseAuth
| 20 | 39 | 0.875 | 5 | 40 | 6.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 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 |
ce92eaa53ac70cf8302747e7af81780fc3ada8d4 | 21,454 | py | Python | gallery/test/test_picture.py | remigermain/chernobyl-disaster.org-backend | 28f45a1946c7052246421444522208880369e263 | [
"MIT"
] | 1 | 2022-02-16T06:19:06.000Z | 2022-02-16T06:19:06.000Z | gallery/test/test_picture.py | remigermain/chernobyl-disaster.org-backend | 28f45a1946c7052246421444522208880369e263 | [
"MIT"
] | 1 | 2022-03-12T01:01:54.000Z | 2022-03-12T01:01:54.000Z | gallery/test/test_picture.py | remigermain/chernobyl-disaster.org-backend | 28f45a1946c7052246421444522208880369e263 | [
"MIT"
] | null | null | null | from django.test import tag
from lib.test import BaseTest
from gallery.serializers.picture import PictureSerializerPost
from gallery.models import PictureLang, Picture
from django.urls import reverse
from django.utils import timezone
from timeline.models import Event
from django.core.files.uploadedfile import SimpleUpl... | 36.117845 | 108 | 0.583947 | 2,185 | 21,454 | 5.594508 | 0.070481 | 0.02806 | 0.038285 | 0.083033 | 0.895452 | 0.870173 | 0.852421 | 0.832461 | 0.817654 | 0.768488 | 0 | 0.015443 | 0.287685 | 21,454 | 593 | 109 | 36.178752 | 0.784452 | 0.000559 | 0 | 0.633459 | 0 | 0.003759 | 0.105975 | 0.00597 | 0 | 0 | 0 | 0 | 0.172932 | 1 | 0.095865 | false | 0 | 0.024436 | 0 | 0.129699 | 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 |
0c699588fd70514648ae17c24aafe37f8da67cad | 96 | py | Python | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_signature.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/8e/39/d1/17dd5ff8c5a905ce61a35c6e1283b3e060a1de418b7680c3972d63f5fc | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 0 | 96 | 1 | 96 | 96 | 0.479167 | 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 |
0c75a27727d235bbf9761a17be343d81ffc2e57c | 82 | py | Python | test_cookie_cutter_v2/test_cookie_cutter_v2.py | ktl014/test_cookie_cutter_v2 | 3a980035e1dd39321949b798c49c8760f7f3efcc | [
"MIT"
] | null | null | null | test_cookie_cutter_v2/test_cookie_cutter_v2.py | ktl014/test_cookie_cutter_v2 | 3a980035e1dd39321949b798c49c8760f7f3efcc | [
"MIT"
] | null | null | null | test_cookie_cutter_v2/test_cookie_cutter_v2.py | ktl014/test_cookie_cutter_v2 | 3a980035e1dd39321949b798c49c8760f7f3efcc | [
"MIT"
] | null | null | null | """Main module."""
def hello_world():
"""Hello world """
print('hello world')
| 11.714286 | 21 | 0.597561 | 10 | 82 | 4.8 | 0.6 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158537 | 82 | 6 | 22 | 13.666667 | 0.695652 | 0.304878 | 0 | 0 | 0 | 0 | 0.244444 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
0c798f673c634de98ac098f9d882fc7aa85ed99e | 136 | py | Python | test/__init__.py | atoaster/DateTimeRange | c98134dd3188f15cc65c42c101c2b74d866f3d8a | [
"MIT"
] | 184 | 2017-05-08T01:06:58.000Z | 2022-03-25T06:36:40.000Z | tests/__init__.py | zgq346712481/allpairspy | e15ac03234e41f420a90767763f4cc0ae14d575e | [
"MIT"
] | 10 | 2017-07-04T15:19:54.000Z | 2022-03-20T10:21:43.000Z | tests/__init__.py | zgq346712481/allpairspy | e15ac03234e41f420a90767763f4cc0ae14d575e | [
"MIT"
] | 37 | 2018-06-07T14:20:31.000Z | 2022-03-12T01:38:30.000Z | # this file temporarily required to get coverage:
# pytest-dev/pytest-cov#391
# https://github.com/pytest-dev/pytest-cov/issues/391
| 34 | 55 | 0.75 | 21 | 136 | 4.857143 | 0.714286 | 0.176471 | 0.294118 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.117647 | 136 | 3 | 56 | 45.333333 | 0.8 | 0.941176 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0c89e256e50d67be2f377eac576928dad8f4c6c8 | 109 | py | Python | topCoder/srms/200s/srm232/div2/british_coins.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 25 | 2015-01-21T16:39:18.000Z | 2021-05-24T07:01:24.000Z | topCoder/srms/100s/srm165/div2/british_coins.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 2 | 2020-09-30T19:39:36.000Z | 2020-10-01T17:15:16.000Z | topCoder/srms/100s/srm165/div2/british_coins.py | ferhatelmas/algo | a7149c7a605708bc01a5cd30bf5455644cefd04d | [
"WTFPL"
] | 15 | 2015-01-21T16:39:27.000Z | 2020-10-01T17:00:22.000Z | class BritishCoins:
def coins(self, pence):
return [pence / 240, (pence % 240) / 12, pence % 12]
| 27.25 | 60 | 0.59633 | 14 | 109 | 4.642857 | 0.642857 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.266055 | 109 | 3 | 61 | 36.333333 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 |
0ca27c596d1c49d771b1507ae68628e18f6e0e4f | 715 | py | Python | imgaug/augmenters/__init__.py | CrazyVertigo/imgaug | bc8c9e430738e7ae17054d6e10f29a7f5404cef4 | [
"MIT"
] | 1 | 2019-11-29T02:20:52.000Z | 2019-11-29T02:20:52.000Z | imgaug/augmenters/__init__.py | CrazyVertigo/imgaug | bc8c9e430738e7ae17054d6e10f29a7f5404cef4 | [
"MIT"
] | null | null | null | imgaug/augmenters/__init__.py | CrazyVertigo/imgaug | bc8c9e430738e7ae17054d6e10f29a7f5404cef4 | [
"MIT"
] | null | null | null | """Combination of all augmenters, related classes and related functions."""
from __future__ import absolute_import
from imgaug.augmenters.arithmetic import *
from imgaug.augmenters.artistic import *
from imgaug.augmenters.blend import *
from imgaug.augmenters.blur import *
from imgaug.augmenters.color import *
from img... | 39.722222 | 75 | 0.823776 | 89 | 715 | 6.561798 | 0.314607 | 0.256849 | 0.410959 | 0.667808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102098 | 715 | 17 | 76 | 42.058824 | 0.909657 | 0.096504 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
0ca711be0069f1ab9ea11e267ffa12950203afc7 | 104 | py | Python | src/trainers/__init__.py | abheesht17/super-pixels | d650ecf5e227bf94d237c9d8eff57c8bbf5b8983 | [
"MIT"
] | 10 | 2021-05-20T02:18:30.000Z | 2021-12-24T05:21:39.000Z | src/trainers/__init__.py | abheesht17/super-pixels | d650ecf5e227bf94d237c9d8eff57c8bbf5b8983 | [
"MIT"
] | 3 | 2021-05-20T01:19:47.000Z | 2022-02-12T16:38:47.000Z | src/trainers/__init__.py | abheesht17/super-pixels | d650ecf5e227bf94d237c9d8eff57c8bbf5b8983 | [
"MIT"
] | 4 | 2021-05-20T01:30:14.000Z | 2021-10-02T16:53:06.000Z | from src.trainers.base_trainer import BaseTrainer
from src.trainers.hybrid_trainer import HybridTrainer
| 34.666667 | 53 | 0.884615 | 14 | 104 | 6.428571 | 0.642857 | 0.155556 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 104 | 2 | 54 | 52 | 0.9375 | 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 |
0caae601653f7efbd63c0882e89362bea00609e6 | 119 | py | Python | nydkcd11/nydkcd11/settings.py | asi14/nydkc11 | 4c40f7f3d0829ee3659a5edc9a03ffdb47b5bdc4 | [
"MIT"
] | null | null | null | nydkcd11/nydkcd11/settings.py | asi14/nydkc11 | 4c40f7f3d0829ee3659a5edc9a03ffdb47b5bdc4 | [
"MIT"
] | 9 | 2020-02-11T21:47:24.000Z | 2022-03-11T23:11:44.000Z | nydkcd11/nydkcd11/settings.py | asi14/nydkc11 | 4c40f7f3d0829ee3659a5edc9a03ffdb47b5bdc4 | [
"MIT"
] | 1 | 2018-04-26T04:37:10.000Z | 2018-04-26T04:37:10.000Z | import os
if os.environ.get('DEV') is not None:
from .settings_dev import *
else:
from .settings_production import *
| 19.833333 | 37 | 0.747899 | 19 | 119 | 4.578947 | 0.684211 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151261 | 119 | 5 | 38 | 23.8 | 0.861386 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
0cbbb158cc2422058dfe2b4ea5394b6ea7d62a18 | 20,709 | py | Python | gym_splendor_code/envs/mechanics/action_space_generator_fast.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2020-03-09T18:56:01.000Z | 2020-03-09T18:56:01.000Z | gym_splendor_code/envs/mechanics/action_space_generator_fast.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | null | null | null | gym_splendor_code/envs/mechanics/action_space_generator_fast.py | TomaszOdrzygozdz/gym-splendor | aeb00605e105628188143a4bbd6280e9eb41c4f9 | [
"MIT"
] | 1 | 2019-10-25T13:09:40.000Z | 2019-10-25T13:09:40.000Z | from typing import List
from itertools import combinations, combinations_with_replacement
from gym_splendor_code.envs.mechanics.game_settings import *
from gym_splendor_code.envs.mechanics.action import Action, ActionTradeGems, ActionBuyCard, ActionReserveCard
from gym_splendor_code.envs.mechanics.enums import GemColo... | 68.572848 | 149 | 0.595345 | 2,420 | 20,709 | 4.710331 | 0.06281 | 0.040004 | 0.085007 | 0.075445 | 0.863848 | 0.821914 | 0.763839 | 0.753224 | 0.701816 | 0.697868 | 0 | 0.016773 | 0.329229 | 20,709 | 302 | 150 | 68.572848 | 0.80383 | 0.036651 | 0 | 0.553097 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022124 | false | 0 | 0.035398 | 0.004425 | 0.079646 | 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 |
0cc71e7c3f964bca7a304c1a1ed948c16528551a | 138 | py | Python | scripts/reactor/autogen_BF_item2.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/reactor/autogen_BF_item2.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | scripts/reactor/autogen_BF_item2.py | hsienjan/SideQuest-Server | 3e88debaf45615b759d999255908f99a15283695 | [
"MIT"
] | null | null | null | # ParentID: 1002003
# ObjectID: 1000024
# Character field ID when accessed: 109090300
# Object Position X: -205
# Object Position Y: -475
| 23 | 45 | 0.746377 | 18 | 138 | 5.722222 | 0.888889 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252174 | 0.166667 | 138 | 5 | 46 | 27.6 | 0.643478 | 0.92029 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
0b2b32ff8cd2a657a816f97b7367124c20d55059 | 191 | py | Python | pyqt_dark_notepad/__init__.py | yjg30737/pyqt-dark-notepad | 3fd72458ab1dafce60a4a1ea329f4e9181ad5224 | [
"MIT"
] | null | null | null | pyqt_dark_notepad/__init__.py | yjg30737/pyqt-dark-notepad | 3fd72458ab1dafce60a4a1ea329f4e9181ad5224 | [
"MIT"
] | null | null | null | pyqt_dark_notepad/__init__.py | yjg30737/pyqt-dark-notepad | 3fd72458ab1dafce60a4a1ea329f4e9181ad5224 | [
"MIT"
] | null | null | null | from .darkNotepad import DarkNotepad
from .darkNotepadTextEdit import DarkNotepadTextEdit
from .wouldYouSaveMessageBox import WouldYouSaveMessageBox
from .darkNotepadApp import DarkNotepadApp | 47.75 | 58 | 0.900524 | 16 | 191 | 10.75 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 191 | 4 | 59 | 47.75 | 0.977273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 |
0b2cde42f42a6b4c24cacd3c4a59f5d89e72a076 | 205 | py | Python | examples/demo/manage.py | bartels/satchless | 4d333014333dc4fd5815f9e0bbea565959919a30 | [
"BSD-4-Clause"
] | 1 | 2015-11-05T10:26:46.000Z | 2015-11-05T10:26:46.000Z | examples/demo/manage.py | bartels/satchless | 4d333014333dc4fd5815f9e0bbea565959919a30 | [
"BSD-4-Clause"
] | null | null | null | examples/demo/manage.py | bartels/satchless | 4d333014333dc4fd5815f9e0bbea565959919a30 | [
"BSD-4-Clause"
] | null | null | null | #!/usr/bin/env python
import os
from django.core.management import execute_from_command_line
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
if __name__ == "__main__":
execute_from_command_line()
| 20.5 | 60 | 0.780488 | 28 | 205 | 5.142857 | 0.678571 | 0.152778 | 0.25 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112195 | 205 | 9 | 61 | 22.777778 | 0.791209 | 0.097561 | 0 | 0 | 0 | 0 | 0.206522 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.