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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a479503429b2d7a78c1d4c9b5ff78a7d4081ca0 | 63 | py | Python | drpg/__main__.py | rays/drpg | 52581a49212378bce35426207aea956512243e78 | [
"MIT"
] | 5 | 2020-09-13T14:49:41.000Z | 2021-02-23T17:17:26.000Z | drpg/__main__.py | rays/drpg | 52581a49212378bce35426207aea956512243e78 | [
"MIT"
] | 5 | 2020-09-25T13:10:36.000Z | 2021-10-05T16:21:47.000Z | drpg/__main__.py | rays/drpg | 52581a49212378bce35426207aea956512243e78 | [
"MIT"
] | 4 | 2020-09-13T14:53:36.000Z | 2021-10-05T16:28:54.000Z | import drpg.cmd
if __name__ == "__main__":
drpg.cmd.run()
| 12.6 | 26 | 0.650794 | 9 | 63 | 3.666667 | 0.777778 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 63 | 4 | 27 | 15.75 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
28acd57409ba099d20d73c67d05a8d63d0345724 | 253 | py | Python | Cursoemvideo/desafios/desafio021.py | gentildf/Python | bb333e55b197492eac1294619ca7b13ef57bb631 | [
"MIT"
] | 1 | 2021-03-16T13:07:29.000Z | 2021-03-16T13:07:29.000Z | Cursoemvideo/desafios/desafio021.py | gentildf/Python | bb333e55b197492eac1294619ca7b13ef57bb631 | [
"MIT"
] | null | null | null | Cursoemvideo/desafios/desafio021.py | gentildf/Python | bb333e55b197492eac1294619ca7b13ef57bb631 | [
"MIT"
] | null | null | null | #Faça um programa em Python que abra e reproduza o áudio de um arquivo MP3.
import pygame
print('\033[1mPlayer de música')
pygame.mixer.init()
pygame.mixer.music.load("desafio023.mp3")
pygame.mixer.music.play()
while(pygame.mixer.music.get_busy()):pass
| 31.625 | 75 | 0.774704 | 42 | 253 | 4.642857 | 0.714286 | 0.225641 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039301 | 0.094862 | 253 | 7 | 76 | 36.142857 | 0.812227 | 0.29249 | 0 | 0 | 0 | 0 | 0.207865 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e908bd8b57fcf29fdd97ba280dad603e23e1743a | 113 | py | Python | enthought/developer/view/file_browser_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/developer/view/file_browser_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/developer/view/file_browser_view.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from etsdevtools.developer.view.file_browser_view import *
| 28.25 | 58 | 0.858407 | 15 | 113 | 6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 3 | 59 | 37.666667 | 0.882353 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
e90a3e94a0385904bd80cc66c39e339efffe18c9 | 269 | py | Python | lesleyloraine/settings/prod.py | ninapavlich/lesleyloraine | 33bb44755208ef3dd879ea12d514671076085bcb | [
"MIT"
] | null | null | null | lesleyloraine/settings/prod.py | ninapavlich/lesleyloraine | 33bb44755208ef3dd879ea12d514671076085bcb | [
"MIT"
] | null | null | null | lesleyloraine/settings/prod.py | ninapavlich/lesleyloraine | 33bb44755208ef3dd879ea12d514671076085bcb | [
"MIT"
] | null | null | null | from lesleyloraine.settings.base import *
#==============================================================================
# Generic Django project settings
#==============================================================================
ALLOWED_HOSTS = ['*']
| 29.888889 | 80 | 0.282528 | 11 | 269 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092937 | 269 | 8 | 81 | 33.625 | 0.307377 | 0.698885 | 0 | 0 | 0 | 0 | 0.014493 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e92c6bb58b9b23029065ba6385f552d2ebf039c2 | 63 | py | Python | unstable_baselines/lib/envs/vec/__init__.py | Ending2015a/unstable_baselines | 1d304115406f6e29186cedb0160811d4139e2733 | [
"MIT"
] | 10 | 2021-04-26T17:48:27.000Z | 2022-03-10T14:32:26.000Z | unstable_baselines/lib/envs/vec/__init__.py | Ending2015a/unstable_baselines | 1d304115406f6e29186cedb0160811d4139e2733 | [
"MIT"
] | null | null | null | unstable_baselines/lib/envs/vec/__init__.py | Ending2015a/unstable_baselines | 1d304115406f6e29186cedb0160811d4139e2733 | [
"MIT"
] | null | null | null | from .base import *
from .dummy import *
from .subproc import * | 21 | 22 | 0.730159 | 9 | 63 | 5.111111 | 0.555556 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174603 | 63 | 3 | 22 | 21 | 0.884615 | 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 | 0 | 0 | 0 | 5 |
e943c5cc7a3c0cdaea95405ab37b511acf5d179e | 17 | py | Python | solutions/030_solution_06.py | UFResearchComputing/py4ai | db7f80614f26274ec18556d56ea9f549c463165a | [
"CC-BY-4.0"
] | null | null | null | solutions/030_solution_06.py | UFResearchComputing/py4ai | db7f80614f26274ec18556d56ea9f549c463165a | [
"CC-BY-4.0"
] | null | null | null | solutions/030_solution_06.py | UFResearchComputing/py4ai | db7f80614f26274ec18556d56ea9f549c463165a | [
"CC-BY-4.0"
] | 1 | 2021-04-27T09:50:54.000Z | 2021-04-27T09:50:54.000Z | # Answer 1 and 4. | 17 | 17 | 0.647059 | 4 | 17 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.235294 | 17 | 1 | 17 | 17 | 0.692308 | 0.882353 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3a7ff6f8523c61215879d42cf329bebb631559ef | 9,911 | py | Python | sdk/python/pulumi_gcp/kms/registry.py | 23doors/pulumi-gcp | ded01b199f95b164884266ea3e6f8206c8231270 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-12-20T22:08:20.000Z | 2019-12-20T22:08:20.000Z | sdk/python/pulumi_gcp/kms/registry.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_gcp/kms/registry.py | pellizzetti/pulumi-gcp | fad74dd55a0cf7723f73046bb0e6fcbfd948ba84 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Regist... | 48.583333 | 272 | 0.670265 | 1,175 | 9,911 | 5.421277 | 0.165957 | 0.055259 | 0.043956 | 0.061224 | 0.745526 | 0.72449 | 0.709419 | 0.702512 | 0.670487 | 0.670487 | 0 | 0.000266 | 0.241953 | 9,911 | 203 | 273 | 48.82266 | 0.847598 | 0.467259 | 0 | 0.030769 | 1 | 0 | 0.145657 | 0.037145 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061538 | false | 0.015385 | 0.092308 | 0.030769 | 0.353846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3ab84d909abb99f39a9c782c5d2b1ee98408f3ae | 5,583 | py | Python | gra.py | golawskaj/Plumber | bec9c49a60a0324050a763deeb68034af183ceb9 | [
"MIT"
] | null | null | null | gra.py | golawskaj/Plumber | bec9c49a60a0324050a763deeb68034af183ceb9 | [
"MIT"
] | null | null | null | gra.py | golawskaj/Plumber | bec9c49a60a0324050a763deeb68034af183ceb9 | [
"MIT"
] | null | null | null | import pygame, math
pygame.init()
win = pygame.display.set_mode((1000, 600))
pygame.display.set_caption("Plumber")
angle = [pygame.image.load('angl1.png'), pygame.image.load('angl2.png'), pygame.image.load('angl3.png'),
pygame.image.load('angl4.png')]
straight = [pygame.image.load('str1.png'), pyga... | 39.041958 | 125 | 0.442594 | 1,111 | 5,583 | 2.219622 | 0.126013 | 0.406326 | 0.552311 | 0.678021 | 0.322384 | 0.31914 | 0.309813 | 0.2794 | 0.276967 | 0.27575 | 0 | 0.228839 | 0.350349 | 5,583 | 142 | 126 | 39.316901 | 0.451061 | 0.08705 | 0 | 0.217391 | 0 | 0 | 0.019417 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.026087 | false | 0 | 0.008696 | 0 | 0.034783 | 0.043478 | 0 | 0 | 0 | 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 | 5 |
3adc78f5674f89a8e9bc35110f56e2ad605f781f | 194 | py | Python | excut/embedding/ampligraph_extend/__init__.py | mhmgad/ExCut | 09e943a23207381de3c3a9e6f70015882b8ec4af | [
"Apache-2.0"
] | 5 | 2020-11-17T19:59:49.000Z | 2021-09-23T23:10:39.000Z | excut/embedding/ampligraph_extend/__init__.py | mhmgad/ExCut | 09e943a23207381de3c3a9e6f70015882b8ec4af | [
"Apache-2.0"
] | null | null | null | excut/embedding/ampligraph_extend/__init__.py | mhmgad/ExCut | 09e943a23207381de3c3a9e6f70015882b8ec4af | [
"Apache-2.0"
] | null | null | null | from .models.TransE import TransE
from .models.ComplEx import ComplEx
from .models.DistMult import DistMult
from .models.ConvKB import ConvKB
__all__=['TransE', 'ComplEx','DistMult', 'ConvKB'] | 32.333333 | 51 | 0.783505 | 25 | 194 | 5.92 | 0.32 | 0.27027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 194 | 6 | 51 | 32.333333 | 0.850575 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3ae23693dfc783f823e5049e9b2f3557fbcf5bce | 24 | py | Python | geco/__init__.py | FreestyleBuild/GeCO | 6db1a549b3145b3bc5d3025a9bccc03be6575564 | [
"MIT"
] | 8 | 2020-12-16T09:59:05.000Z | 2022-03-18T09:48:43.000Z | geco/__init__.py | FreestyleBuild/GeCO | 6db1a549b3145b3bc5d3025a9bccc03be6575564 | [
"MIT"
] | 101 | 2020-11-09T10:20:03.000Z | 2022-03-24T13:50:06.000Z | geco/__init__.py | FreestyleBuild/GeCO | 6db1a549b3145b3bc5d3025a9bccc03be6575564 | [
"MIT"
] | 3 | 2021-04-06T13:26:03.000Z | 2022-03-22T13:22:16.000Z | from geco.mips import *
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 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 | 0 | 0 | 0 | 5 |
aaedd7868b643a4168d7ef4cd3132d6fe6c905cd | 74 | py | Python | tmp/disable_call_recording.py | dtolb/docstring-extractor | f77ba4bc8e03eaa041eea92fdadf9442e6eb6ca6 | [
"MIT"
] | null | null | null | tmp/disable_call_recording.py | dtolb/docstring-extractor | f77ba4bc8e03eaa041eea92fdadf9442e6eb6ca6 | [
"MIT"
] | null | null | null | tmp/disable_call_recording.py | dtolb/docstring-extractor | f77ba4bc8e03eaa041eea92fdadf9442e6eb6ca6 | [
"MIT"
] | null | null | null | # Example: Disable Call Recording
api.disable_call_recording('c-callId')
| 24.666667 | 38 | 0.797297 | 10 | 74 | 5.7 | 0.7 | 0.385965 | 0.701754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 2 | 39 | 37 | 0.850746 | 0.418919 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
aafc66f4b406c3122ba874c3b280fd81b4e45a1d | 91 | py | Python | chomsky/exceptions.py | colinta/chomsky | 1c618f02a8e4b573e9c13860181ffeec0f49ccd9 | [
"BSD-2-Clause-FreeBSD"
] | 3 | 2015-07-30T14:58:46.000Z | 2021-07-09T15:29:52.000Z | chomsky/exceptions.py | colinta/chomsky | 1c618f02a8e4b573e9c13860181ffeec0f49ccd9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | chomsky/exceptions.py | colinta/chomsky | 1c618f02a8e4b573e9c13860181ffeec0f49ccd9 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-01-27T13:09:01.000Z | 2017-01-27T13:09:01.000Z |
class ParseException(Exception):
pass
class RollbackException(Exception):
pass
| 10.111111 | 35 | 0.736264 | 8 | 91 | 8.375 | 0.625 | 0.38806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197802 | 91 | 8 | 36 | 11.375 | 0.917808 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c90ad12c03620bf85d536549c2bf104c0b618a94 | 5,038 | py | Python | libscampi/contrib/cms/newsengine/views/helpers.py | azpm/django-scampi-cms | 33fa5786cc93f4c6aff14c9bb6306ac32c6cd486 | [
"BSD-3-Clause"
] | 2 | 2016-07-28T19:39:49.000Z | 2021-12-10T15:01:54.000Z | libscampi/contrib/cms/newsengine/views/helpers.py | azpm/django-scampi-cms | 33fa5786cc93f4c6aff14c9bb6306ac32c6cd486 | [
"BSD-3-Clause"
] | null | null | null | libscampi/contrib/cms/newsengine/views/helpers.py | azpm/django-scampi-cms | 33fa5786cc93f4c6aff14c9bb6306ac32c6cd486 | [
"BSD-3-Clause"
] | 1 | 2016-01-20T23:49:36.000Z | 2016-01-20T23:49:36.000Z | import logging
from django.core.cache import cache
from django.db.models import Q
from libscampi.contrib.cms.communism.models import Javascript, StyleSheet
from libscampi.contrib.cms.communism.views.mixins import html_link_refs
logger = logging.getLogger("libscampi.contrib.cms.newsengine.views")
def story_stylesheet... | 47.980952 | 128 | 0.726677 | 621 | 5,038 | 5.513688 | 0.181965 | 0.061332 | 0.056075 | 0.051402 | 0.799065 | 0.751168 | 0.70736 | 0.70736 | 0.70736 | 0.70736 | 0 | 0.003405 | 0.183803 | 5,038 | 105 | 129 | 47.980952 | 0.82928 | 0.075824 | 0 | 0.555556 | 0 | 0 | 0.041972 | 0.019587 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027778 | false | 0 | 0.069444 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c91af915d879f90ad21d4c7b103eb00dd77367b1 | 185 | py | Python | test/test_del_group.py | Sviatlana-Pi/python_training | ecd7fc7d53b3334d1b21d04c12f0355b3f29751c | [
"Apache-2.0"
] | null | null | null | test/test_del_group.py | Sviatlana-Pi/python_training | ecd7fc7d53b3334d1b21d04c12f0355b3f29751c | [
"Apache-2.0"
] | null | null | null | test/test_del_group.py | Sviatlana-Pi/python_training | ecd7fc7d53b3334d1b21d04c12f0355b3f29751c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
def test_del_first_group(app):
app.session.login(username = "admin", password = "secret")
app.group.delete_first_group()
app.session.logout() | 26.428571 | 63 | 0.648649 | 24 | 185 | 4.791667 | 0.708333 | 0.173913 | 0.226087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.183784 | 185 | 7 | 64 | 26.428571 | 0.754967 | 0.113514 | 0 | 0 | 0 | 0 | 0.070064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c946f1c09bc838d8b57b3318f11f9caa04c3f8ef | 24,430 | py | Python | tests/fi/data/parl_long_test_strings.py | aalto-speech/aalto-asr-preprocessor | 792a618aeca940274a21d0698ee741277d8d8fc5 | [
"MIT"
] | null | null | null | tests/fi/data/parl_long_test_strings.py | aalto-speech/aalto-asr-preprocessor | 792a618aeca940274a21d0698ee741277d8d8fc5 | [
"MIT"
] | 18 | 2021-06-07T14:12:13.000Z | 2022-02-02T13:58:27.000Z | tests/fi/data/parl_long_test_strings.py | aalto-speech/aalto-asr-preprocessor | 792a618aeca940274a21d0698ee741277d8d8fc5 | [
"MIT"
] | null | null | null | """Long statement strings and other space consuming data definitions for testing are declared here.
This is done to avoid clutter in main test files.
"""
from typing import Any
from typing import List
from typing import Tuple
import pytest
parl_to_kaldi_pairs: List[Tuple[str, str]] = [
(
"Ensimmäiseen kä... | 81.433333 | 100 | 0.770037 | 2,392 | 24,430 | 7.873328 | 0.360368 | 0.001062 | 0.003717 | 0.009558 | 0.827271 | 0.783943 | 0.732119 | 0.695959 | 0.636967 | 0.62879 | 0 | 0.010525 | 0.194965 | 24,430 | 299 | 101 | 81.705686 | 0.945492 | 0.008801 | 0 | 0.051724 | 0 | 0.003448 | 0.863819 | 0.05991 | 0 | 0 | 0 | 0 | 0 | 1 | 0.003448 | false | 0 | 0.013793 | 0 | 0.02069 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c94dfac6308bb992fa4476dfb97fbd33bb3eb2d1 | 175 | py | Python | cgmzscore/exceptions.py | prajurock/cgmzscore | a16fc22d403ce0c8337271ecda9934d9f738d2ba | [
"BSD-3-Clause"
] | null | null | null | cgmzscore/exceptions.py | prajurock/cgmzscore | a16fc22d403ce0c8337271ecda9934d9f738d2ba | [
"BSD-3-Clause"
] | null | null | null | cgmzscore/exceptions.py | prajurock/cgmzscore | a16fc22d403ce0c8337271ecda9934d9f738d2ba | [
"BSD-3-Clause"
] | 1 | 2020-09-21T14:05:25.000Z | 2020-09-21T14:05:25.000Z | class DataNotFound(RuntimeError):
pass
class DataError(RuntimeError):
pass
class InvalidAge(RuntimeError):
pass
class InvalidMeasurement(RuntimeError):
pass | 15.909091 | 39 | 0.76 | 16 | 175 | 8.3125 | 0.4375 | 0.481203 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 175 | 11 | 40 | 15.909091 | 0.917241 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c95305d13d9c95e5ac2b212f12c9c843fd5972d0 | 318 | py | Python | tests/basics/modulo.py | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | 2 | 2019-04-17T03:56:40.000Z | 2019-04-17T03:56:42.000Z | tests/basics/modulo.py | roger-/micropython | bad2df3e95cd5719099319d71590a79bf6bc4493 | [
"MIT"
] | null | null | null | tests/basics/modulo.py | roger-/micropython | bad2df3e95cd5719099319d71590a79bf6bc4493 | [
"MIT"
] | 2 | 2016-12-19T14:41:42.000Z | 2019-04-07T16:13:58.000Z | # check modulo matches python definition
# this tests compiler constant folding
print(123 % 7)
print(-123 % 7)
print(123 % -7)
print(-123 % -7)
a = 321
b = 19
print(a % b)
print(a % -b)
print(-a % b)
print(-a % -b)
a = 987654321987987987987987987987
b = 19
print(a % b)
print(a % -b)
print(-a % b)
print(-a % -b)
| 13.25 | 40 | 0.625786 | 54 | 318 | 3.685185 | 0.333333 | 0.241206 | 0.281407 | 0.361809 | 0.492462 | 0.492462 | 0.492462 | 0.492462 | 0.492462 | 0.311558 | 0 | 0.209486 | 0.204403 | 318 | 23 | 41 | 13.826087 | 0.577075 | 0.235849 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a36c55b882590aa6cbeaade6114a0017372a4170 | 195 | py | Python | society_bureau/admin.py | JeekStudio/StudentPlatform | d2cccef6555a7c9d137ecab54dbbd4aa219be57b | [
"MIT"
] | 4 | 2019-02-23T13:34:48.000Z | 2019-04-09T12:44:19.000Z | society_bureau/admin.py | JeekStudio/StudentPlatform | d2cccef6555a7c9d137ecab54dbbd4aa219be57b | [
"MIT"
] | 134 | 2019-01-29T03:49:54.000Z | 2021-04-08T18:44:57.000Z | society_bureau/admin.py | JeekStudio/StudentPlatform | d2cccef6555a7c9d137ecab54dbbd4aa219be57b | [
"MIT"
] | null | null | null | from django.contrib import admin
from society_bureau.models import SocietyBureau, SiteSettings
# Register your models here.
admin.site.register(SocietyBureau)
admin.site.register(SiteSettings)
| 24.375 | 61 | 0.841026 | 24 | 195 | 6.791667 | 0.583333 | 0.110429 | 0.208589 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 7 | 62 | 27.857143 | 0.920904 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 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 | 5 |
a39d96c1e1bed083c7aa40ec253d4a8926e73a03 | 41 | py | Python | plugin/taskmage2/utils/excepts.py | willjp/vim-taskmage | adcf809ccf1768753eca4dadaf6279b34e8d5699 | [
"BSD-2-Clause"
] | 1 | 2017-11-28T14:12:03.000Z | 2017-11-28T14:12:03.000Z | plugin/taskmage2/utils/excepts.py | willjp/vim-taskmage | adcf809ccf1768753eca4dadaf6279b34e8d5699 | [
"BSD-2-Clause"
] | 16 | 2017-08-13T18:01:26.000Z | 2020-11-17T04:55:43.000Z | plugin/taskmage2/utils/excepts.py | willjp/vim-taskmage | adcf809ccf1768753eca4dadaf6279b34e8d5699 | [
"BSD-2-Clause"
] | null | null | null |
class ParserError(Exception):
pass
| 8.2 | 29 | 0.707317 | 4 | 41 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 41 | 4 | 30 | 10.25 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a3a38aefa113f599661acc07fdb63cfcc4404855 | 38 | py | Python | meetings/datetime_func.py | isw4/Proj10-when2meet | 93a1efa412f4cb0b1c1be338b2facfed1827f58b | [
"Artistic-2.0"
] | null | null | null | meetings/datetime_func.py | isw4/Proj10-when2meet | 93a1efa412f4cb0b1c1be338b2facfed1827f58b | [
"Artistic-2.0"
] | 2 | 2021-02-08T20:13:28.000Z | 2021-06-01T21:38:24.000Z | meetings/datetime_func.py | isw4/Proj10-when2meet | 93a1efa412f4cb0b1c1be338b2facfed1827f58b | [
"Artistic-2.0"
] | null | null | null | import arrow
from dateutil import tz
| 9.5 | 23 | 0.815789 | 6 | 38 | 5.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184211 | 38 | 3 | 24 | 12.666667 | 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 | 0 | 0 | 0 | 5 |
6e93972193992345605b342c0b696dfc3b6ddeb1 | 202 | py | Python | main/SimulationSettings/FluctuationAmplitudePython/Simulation/FluctuationAmplitude.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/SimulationSettings/FluctuationAmplitudePython/Simulation/FluctuationAmplitude.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | null | null | null | main/SimulationSettings/FluctuationAmplitudePython/Simulation/FluctuationAmplitude.py | JulianoGianlupi/nh-cc3d-4x-base-tool | c0f4aceebd4c5bf3ec39e831ef851e419b161259 | [
"CC0-1.0"
] | 1 | 2021-02-26T21:50:29.000Z | 2021-02-26T21:50:29.000Z | from cc3d import CompuCellSetup
from .FluctuationAmplitudeSteppables import FluctuationAmplitude
CompuCellSetup.register_steppable(steppable=FluctuationAmplitude(frequency=100))
CompuCellSetup.run()
| 25.25 | 80 | 0.881188 | 17 | 202 | 10.411765 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021164 | 0.064356 | 202 | 7 | 81 | 28.857143 | 0.915344 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6eb0f494adaede160549b9991399ef6353eb84f2 | 280 | py | Python | bentoctl_aws_ec2/update.py | jjmachan/aws-ec2-deploy | e8a20816a84656502d9c6eb03e944e739efa0c1f | [
"Apache-2.0"
] | null | null | null | bentoctl_aws_ec2/update.py | jjmachan/aws-ec2-deploy | e8a20816a84656502d9c6eb03e944e739efa0c1f | [
"Apache-2.0"
] | 2 | 2021-08-15T14:35:34.000Z | 2021-10-04T17:58:36.000Z | bentoctl_aws_ec2/update.py | jjmachan/aws-ec2-deploy | e8a20816a84656502d9c6eb03e944e739efa0c1f | [
"Apache-2.0"
] | null | null | null | from .deploy import deploy
def update(bento_bundle_path, deployment_name, ec2_json):
"""
The deployment operation can also be used for updation since we are using
AWS Sam cli for managing deployments.
"""
deploy(bento_bundle_path, deployment_name, ec2_json)
| 28 | 77 | 0.746429 | 40 | 280 | 5.025 | 0.725 | 0.109453 | 0.149254 | 0.248756 | 0.358209 | 0.358209 | 0.358209 | 0 | 0 | 0 | 0 | 0.00885 | 0.192857 | 280 | 9 | 78 | 31.111111 | 0.880531 | 0.396429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
42c7cc8555ae6b6a31f7962d88d3270d8b379df7 | 220 | py | Python | geolocation/admin.py | suselrd/django-geolocation | 887c0e2c913c32433d96c864523a494dc04ff90e | [
"BSD-3-Clause"
] | null | null | null | geolocation/admin.py | suselrd/django-geolocation | 887c0e2c913c32433d96c864523a494dc04ff90e | [
"BSD-3-Clause"
] | null | null | null | geolocation/admin.py | suselrd/django-geolocation | 887c0e2c913c32433d96c864523a494dc04ff90e | [
"BSD-3-Clause"
] | null | null | null | # coding=utf-8
from django.contrib.gis.admin import site, GeoModelAdmin
from .models.places import Place
from .models.areas import GeoPolygon
site.register(Place, GeoModelAdmin)
site.register(GeoPolygon, GeoModelAdmin) | 27.5 | 56 | 0.822727 | 29 | 220 | 6.241379 | 0.586207 | 0.110497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005 | 0.090909 | 220 | 8 | 57 | 27.5 | 0.9 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 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 | 5 |
42fba7b0a2b4bb2aebb11b3c143ade9b3060ab06 | 402 | py | Python | instance/models.py | Kuebler-IT/WebVirtNG | 2412c5ca2bbd06d64db48e0508a4c3f26248f80b | [
"Apache-2.0"
] | null | null | null | instance/models.py | Kuebler-IT/WebVirtNG | 2412c5ca2bbd06d64db48e0508a4c3f26248f80b | [
"Apache-2.0"
] | null | null | null | instance/models.py | Kuebler-IT/WebVirtNG | 2412c5ca2bbd06d64db48e0508a4c3f26248f80b | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
from servers.models import Compute
class Instance(models.Model):
compute = models.ForeignKey(Compute)
name = models.CharField(max_length=20)
uuid = models.CharField(max_length=36)
# display_name = models.CharF... | 28.714286 | 60 | 0.751244 | 52 | 402 | 5.596154 | 0.538462 | 0.206186 | 0.247423 | 0.329897 | 0.19244 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029155 | 0.146766 | 402 | 13 | 61 | 30.923077 | 0.819242 | 0.30597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6e3f9b3ba4d677712481abe0624c0e2fbc090674 | 101 | py | Python | artbot/feed/__init__.py | skielred/ArtCompanion | 6b3d41dcdbd1151778324cf8068e0ce74cfab09c | [
"MIT"
] | 1 | 2021-05-04T09:18:17.000Z | 2021-05-04T09:18:17.000Z | artbot/feed/__init__.py | skielred/ArtCompanion | 6b3d41dcdbd1151778324cf8068e0ce74cfab09c | [
"MIT"
] | 6 | 2021-04-18T01:03:50.000Z | 2021-08-30T14:18:30.000Z | artbot/feed/__init__.py | skielred/ArtCompanion | 6b3d41dcdbd1151778324cf8068e0ce74cfab09c | [
"MIT"
] | null | null | null | from .cog import FeedCog
def init(bot):
bot.add_cog(FeedCog(bot))
from . import pixiv, twitter
| 14.428571 | 29 | 0.712871 | 16 | 101 | 4.4375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178218 | 101 | 6 | 30 | 16.833333 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6e47bf7a4b8ae1c19065149149f800cd03f1e2b5 | 31 | py | Python | conflicting_package_test/pkg/foo.py | bmintz/python-snippets | 982861c173bf4bcd5d908514a9e8b1914a580a5d | [
"CC0-1.0"
] | 2 | 2018-11-12T10:33:13.000Z | 2019-02-24T05:01:40.000Z | conflicting_package_test/pkg/foo.py | LyricLy/python-snippets | 9d868b7bbccd793ea1dc513f51290963584a1dee | [
"CC0-1.0"
] | null | null | null | conflicting_package_test/pkg/foo.py | LyricLy/python-snippets | 9d868b7bbccd793ea1dc513f51290963584a1dee | [
"CC0-1.0"
] | 2 | 2018-11-24T08:16:59.000Z | 2019-02-24T04:41:30.000Z | from . import MyImportantClass
| 15.5 | 30 | 0.83871 | 3 | 31 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 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 | 0 | 0 | 0 | 5 |
282617ecec2052893b1cd9abe91c24b4b11c4b97 | 946 | py | Python | views/__init__.py | govle-192-21-2/govle | f8c6200c915306968f4d2e8c92c3d03a1eced28a | [
"MIT"
] | null | null | null | views/__init__.py | govle-192-21-2/govle | f8c6200c915306968f4d2e8c92c3d03a1eced28a | [
"MIT"
] | null | null | null | views/__init__.py | govle-192-21-2/govle | f8c6200c915306968f4d2e8c92c3d03a1eced28a | [
"MIT"
] | null | null | null | from flask import Flask
from .calendar import calendar as calendar_blueprint
from .classes import classes as classes_blueprint
from .dashboard import dashboard as dashboard_blueprint
from .index import index as index_blueprint
from .link_google import link_google as link_google_blueprint
from .link_moodle import link_m... | 41.130435 | 61 | 0.843552 | 125 | 946 | 6.096 | 0.16 | 0.129921 | 0.23622 | 0.304462 | 0.086614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114165 | 946 | 22 | 62 | 43 | 0.909308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.5 | 0 | 0.55 | 0.9 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 5 |
953f75466702b336bd02204dc2fc0977a15aec12 | 118 | py | Python | enthought/developer/helper/image_library_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/developer/helper/image_library_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/developer/helper/image_library_editor.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from etsdevtools.developer.helper.image_library_editor import *
| 29.5 | 63 | 0.864407 | 15 | 118 | 6.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09322 | 118 | 3 | 64 | 39.333333 | 0.88785 | 0.101695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
95609a8314f6739668f6e825ea129d24ad1b516a | 250 | py | Python | search/serialize/__init__.py | ID2797370/arxiv-search | 889402e8eef9a2faaa8e900978cd27ff2784ce33 | [
"MIT"
] | 35 | 2018-12-18T02:51:09.000Z | 2022-03-30T04:43:20.000Z | search/serialize/__init__.py | ID2797370/arxiv-search | 889402e8eef9a2faaa8e900978cd27ff2784ce33 | [
"MIT"
] | 172 | 2018-02-02T14:35:11.000Z | 2018-12-04T15:35:30.000Z | search/serialize/__init__.py | ID2797370/arxiv-search | 889402e8eef9a2faaa8e900978cd27ff2784ce33 | [
"MIT"
] | 13 | 2019-01-10T22:01:48.000Z | 2021-11-05T12:25:08.000Z | """Provides serialization functions for API responses."""
__all__ = ["JSONSerializer", "as_json", "AtomXMLSerializer", "as_atom"]
from search.serialize.json import JSONSerializer, as_json
from search.serialize.atom import AtomXMLSerializer, as_atom
| 41.666667 | 71 | 0.8 | 29 | 250 | 6.62069 | 0.551724 | 0.166667 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092 | 250 | 5 | 72 | 50 | 0.845815 | 0.204 | 0 | 0 | 0 | 0 | 0.233161 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9584e0467a419c10ffd4059b5a2f9d1e038bd475 | 2,005 | py | Python | process.py | darthbatman/MachineryMonitor | 3549a44b7029e40bd0386063c052e2920373be35 | [
"MIT"
] | null | null | null | process.py | darthbatman/MachineryMonitor | 3549a44b7029e40bd0386063c052e2920373be35 | [
"MIT"
] | null | null | null | process.py | darthbatman/MachineryMonitor | 3549a44b7029e40bd0386063c052e2920373be35 | [
"MIT"
] | null | null | null | import h5py
from os import listdir, getcwd
from os.path import isfile, join
def hdf_to_csv():
path = getcwd() + '/2020_Challenge_IOT_Analytics/competitionfiles'
files = [f for f in listdir(path) if isfile(join(path, f))]
for file in files:
rf = h5py.File(path + '/' + file, 'r')
chanIDs = r... | 33.416667 | 79 | 0.482294 | 242 | 2,005 | 3.838843 | 0.227273 | 0.094726 | 0.096878 | 0.051668 | 0.863294 | 0.863294 | 0.820237 | 0.744887 | 0.691066 | 0.691066 | 0 | 0.015244 | 0.345636 | 2,005 | 59 | 80 | 33.983051 | 0.692835 | 0 | 0 | 0.673469 | 0 | 0 | 0.097756 | 0.045885 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040816 | false | 0 | 0.061224 | 0 | 0.102041 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
95dbecc3ebac77df1f87fff599fc596d9c9bbcd2 | 148 | py | Python | tasks/views.py | hishamkaram/minikube-tutorial | 671ba50ad2f0e3f9f769e2c57076a5e102de9ad9 | [
"MIT"
] | 1 | 2021-09-04T20:15:20.000Z | 2021-09-04T20:15:20.000Z | tasks/views.py | hishamkaram/minikube-tutorial | 671ba50ad2f0e3f9f769e2c57076a5e102de9ad9 | [
"MIT"
] | null | null | null | tasks/views.py | hishamkaram/minikube-tutorial | 671ba50ad2f0e3f9f769e2c57076a5e102de9ad9 | [
"MIT"
] | null | null | null | from django.http.response import HttpResponse
# Create your views here.
def index(request):
return HttpResponse(b'Hello World!', status=200)
| 18.5 | 52 | 0.756757 | 20 | 148 | 5.6 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.148649 | 148 | 7 | 53 | 21.142857 | 0.865079 | 0.155405 | 0 | 0 | 0 | 0 | 0.097561 | 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 | 0 | 0 | 0 | 5 |
2563ff03f6fd18fef850168c7a3b183d114d0fc2 | 108 | py | Python | AI-Algorithm/changeToC.py | LinRS1999/soft-work | 4521e26868da304797c0fec534bfcc228ae7f001 | [
"MIT"
] | null | null | null | AI-Algorithm/changeToC.py | LinRS1999/soft-work | 4521e26868da304797c0fec534bfcc228ae7f001 | [
"MIT"
] | null | null | null | AI-Algorithm/changeToC.py | LinRS1999/soft-work | 4521e26868da304797c0fec534bfcc228ae7f001 | [
"MIT"
] | null | null | null | from setuptools import setup
from Cython.Build import cythonize
setup(ext_modules=cythonize('bfsHash.pyx')) | 27 | 43 | 0.833333 | 15 | 108 | 5.933333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 108 | 4 | 43 | 27 | 0.89899 | 0 | 0 | 0 | 0 | 0 | 0.100917 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c267493f122b609e785c2c304980669249f84906 | 239 | py | Python | neat/commands/command.py | codecat-pl/neat4python | fff0450da647fb317c8ee9c29a773474784b8251 | [
"MIT"
] | 1 | 2018-04-02T06:39:43.000Z | 2018-04-02T06:39:43.000Z | neat/commands/command.py | codecat-pl/neat4python | fff0450da647fb317c8ee9c29a773474784b8251 | [
"MIT"
] | null | null | null | neat/commands/command.py | codecat-pl/neat4python | fff0450da647fb317c8ee9c29a773474784b8251 | [
"MIT"
] | null | null | null | class Command:
def exec(self, ob):
met = getattr(self, "on"+type(ob).__name__)
return met(ob)
def onNode(self, a):
pass
def onConnection(self, a):
pass
def onGenome(self, a):
pass
| 17.071429 | 51 | 0.535565 | 31 | 239 | 4 | 0.548387 | 0.120968 | 0.217742 | 0.193548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.343096 | 239 | 13 | 52 | 18.384615 | 0.789809 | 0 | 0 | 0.3 | 0 | 0 | 0.008368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.3 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
c268d61bfc75ea9c567aacf71e8f8497f6f03bc9 | 203 | py | Python | test/test7.py | DynamicCai/Dynamic-Explorer | c909206b3db52f76f23499b1cb43520d3475b14e | [
"MIT"
] | null | null | null | test/test7.py | DynamicCai/Dynamic-Explorer | c909206b3db52f76f23499b1cb43520d3475b14e | [
"MIT"
] | null | null | null | test/test7.py | DynamicCai/Dynamic-Explorer | c909206b3db52f76f23499b1cb43520d3475b14e | [
"MIT"
] | null | null | null | import numpy as np
custom_data = np.genfromtxt("C:\\Users\\Administrator\\Desktop\\MouseWithoutBorders\\FittingDog\\FittingDog\\S_cell NaOH Urea 2.0.txt", delimiter="", skip_header=3)
print(custom_data) | 50.75 | 164 | 0.783251 | 29 | 203 | 5.344828 | 0.862069 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015789 | 0.064039 | 203 | 4 | 165 | 50.75 | 0.8 | 0 | 0 | 0 | 0 | 0.333333 | 0.509804 | 0.421569 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c2788c806e160346af5810febef05eda2c97840c | 171 | py | Python | templatetags/filters.py | riggedCoinflip/mydjango | 9f30effc0dccd95916f59a3b65d7e02bdd2827b5 | [
"MIT"
] | null | null | null | templatetags/filters.py | riggedCoinflip/mydjango | 9f30effc0dccd95916f59a3b65d7e02bdd2827b5 | [
"MIT"
] | 1 | 2021-02-26T02:13:35.000Z | 2021-02-26T02:13:35.000Z | templatetags/filters.py | riggedCoinflip/mydjango | 9f30effc0dccd95916f59a3b65d7e02bdd2827b5 | [
"MIT"
] | null | null | null | from django import template
register = template.Library()
@register.filter
def to_percent(obj, significant_digits):
return f'{(obj * 100):.{significant_digits}f}'
| 17.1 | 50 | 0.74269 | 22 | 171 | 5.636364 | 0.727273 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02027 | 0.134503 | 171 | 9 | 51 | 19 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0.213018 | 0.16568 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c2f5aa501e8090cf3a894257abe732a0d2ba6ddb | 189 | py | Python | testapps/PY/test_partial.py | naver/pinpoint-c-agent | 5c4f03a242d0ef219d9ca35c2c3241e9396dcb1b | [
"Apache-2.0"
] | 178 | 2018-08-30T06:54:35.000Z | 2020-10-08T13:45:21.000Z | testapps/PY/test_partial.py | naver/pinpoint-c-agent | 5c4f03a242d0ef219d9ca35c2c3241e9396dcb1b | [
"Apache-2.0"
] | 122 | 2018-08-30T11:57:20.000Z | 2020-10-13T21:38:22.000Z | testapps/PY/test_partial.py | naver/pinpoint-c-agent | 5c4f03a242d0ef219d9ca35c2c3241e9396dcb1b | [
"Apache-2.0"
] | 60 | 2018-08-30T07:16:56.000Z | 2020-09-30T13:49:36.000Z | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from pinpointPy.CommonPlugin import PinpointCommonPlugin
@PinpointCommonPlugin( __name__+".func1")
def func1(a, b="Wool"):
return a + b
| 18.9 | 56 | 0.698413 | 23 | 189 | 5.565217 | 0.826087 | 0.03125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.142857 | 189 | 9 | 57 | 21 | 0.771605 | 0.222222 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
6c2113dd69f28ac330feef711b4d253cfee4bddf | 74 | py | Python | udkanbun/__init__.py | xlr10/UD-Kanbun | 23378c4ed924ff4014bfebdc96f765d23a2d4038 | [
"MIT"
] | 42 | 2019-09-16T23:20:42.000Z | 2022-01-20T11:23:48.000Z | udkanbun/__init__.py | xlr10/UD-Kanbun | 23378c4ed924ff4014bfebdc96f765d23a2d4038 | [
"MIT"
] | 8 | 2021-09-01T00:33:59.000Z | 2022-01-24T09:06:57.000Z | udkanbun/__init__.py | xlr10/UD-Kanbun | 23378c4ed924ff4014bfebdc96f765d23a2d4038 | [
"MIT"
] | 3 | 2021-01-07T15:16:17.000Z | 2022-02-15T18:36:03.000Z | from .udkanbun import UDPipeEntry,UDKanbunEntry,UDKanbun,load,PACKAGE_DIR
| 37 | 73 | 0.878378 | 9 | 74 | 7.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 74 | 1 | 74 | 74 | 0.914286 | 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 | 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 | 5 |
6c61415dcbe73e3be9790cb6b7251e119fbca4dc | 382 | py | Python | encoder_ui/celery/discovery/redis_keys.py | hidnoiz/encoder_ui | 24497ebc7be9b7b2d2a8320840bd6a37cfc79cf2 | [
"MIT"
] | null | null | null | encoder_ui/celery/discovery/redis_keys.py | hidnoiz/encoder_ui | 24497ebc7be9b7b2d2a8320840bd6a37cfc79cf2 | [
"MIT"
] | null | null | null | encoder_ui/celery/discovery/redis_keys.py | hidnoiz/encoder_ui | 24497ebc7be9b7b2d2a8320840bd6a37cfc79cf2 | [
"MIT"
] | null | null | null | CONTAINERS_DISCOVERY_LOCK_KEY = 'containers_discovery.lock'
CONTAINERS_DISCOVERY_LAST_UPDATE_KEY = 'containers_discovery.last_update'
CONTAINERS_DISCOVERY_DATA_KEY = 'containers_discovery.data'
RESOURCES_DISCOVERY_LOCK_KEY = 'resources_discovery.lock'
RESOURCES_DISCOVERY_LAST_UPDATE_KEY = 'resources_discovery.last_upd... | 54.571429 | 73 | 0.890052 | 46 | 382 | 6.782609 | 0.173913 | 0.365385 | 0.24359 | 0.185897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04712 | 382 | 7 | 74 | 54.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.420366 | 0.420366 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c753abc2c73d51a3ae47123f3edd220261f1abb | 73 | py | Python | sharpy/managers/roles/__init__.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | 1 | 2020-03-05T19:21:56.000Z | 2020-03-05T19:21:56.000Z | sharpy/managers/roles/__init__.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | null | null | null | sharpy/managers/roles/__init__.py | MadManSC2/sharpy-sc2 | 13950357df2db58033daab24f076e3ae83f0b2a8 | [
"MIT"
] | null | null | null | from .unit_task import UnitTask
from .units_in_role import UnitsInRole
| 24.333333 | 39 | 0.835616 | 11 | 73 | 5.272727 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 2 | 40 | 36.5 | 0.920635 | 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 | 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 | 5 |
6c7a3bbc29c73086d2359ba678af3fdecc3e97ba | 49 | py | Python | tests/__init__.py | lennart-damen/api-tutorial | 223ea44bc5fc82935329990f70c386c33076e0eb | [
"MIT"
] | 1 | 2022-01-16T21:45:38.000Z | 2022-01-16T21:45:38.000Z | tests/__init__.py | lennart-damen/api-tutorial | 223ea44bc5fc82935329990f70c386c33076e0eb | [
"MIT"
] | null | null | null | tests/__init__.py | lennart-damen/api-tutorial | 223ea44bc5fc82935329990f70c386c33076e0eb | [
"MIT"
] | null | null | null | """Unit test package for deployment_workshop."""
| 24.5 | 48 | 0.755102 | 6 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 49 | 1 | 49 | 49 | 0.818182 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6c7ad3c9cf01da95d0bd63989a050b1a380914ab | 491 | py | Python | registrar/registrar.py | Zijianlalala/classtable-server | 8167cdc5e9630ba4244eabda228a7d9c9ac62242 | [
"MIT"
] | 1 | 2021-09-06T10:56:28.000Z | 2021-09-06T10:56:28.000Z | registrar/registrar.py | Zijianlalala/classtable-server | 8167cdc5e9630ba4244eabda228a7d9c9ac62242 | [
"MIT"
] | null | null | null | registrar/registrar.py | Zijianlalala/classtable-server | 8167cdc5e9630ba4244eabda228a7d9c9ac62242 | [
"MIT"
] | null | null | null | from abc import abstractclassmethod
class Registrar:
@abstractclassmethod
def get_state(self):
pass
@abstractclassmethod
def set_state(self, state):
pass
@abstractclassmethod
def get_captcha_base64(self):
pass
@abstractclassmethod
def start_time(self, year, m... | 18.185185 | 58 | 0.653768 | 49 | 491 | 6.428571 | 0.489796 | 0.349206 | 0.330159 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.274949 | 491 | 26 | 59 | 18.884615 | 0.879213 | 0 | 0 | 0.526316 | 0 | 0 | 0.01833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0.315789 | 0.052632 | 0 | 0.421053 | 0.052632 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6c851fd3c39b54888952b9f720d98bd28d7a992d | 33 | py | Python | src/launcher.py | saiblo/saiblo-local-judger | a330c16e5349b300249655ae1b68094b4c1828b1 | [
"MIT"
] | 4 | 2022-01-16T08:30:23.000Z | 2022-01-21T09:04:37.000Z | src/launcher.py | saiblo/saiblo-local-judger | a330c16e5349b300249655ae1b68094b4c1828b1 | [
"MIT"
] | null | null | null | src/launcher.py | saiblo/saiblo-local-judger | a330c16e5349b300249655ae1b68094b4c1828b1 | [
"MIT"
] | null | null | null | from gui.gui import Main
Main()
| 8.25 | 24 | 0.727273 | 6 | 33 | 4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 33 | 3 | 25 | 11 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 0 | 5 |
665f515afce3b229cca572777a9ee8b40ac5ca7c | 113 | py | Python | login.py | cuifan1/test1 | 25349ca01fc918be896b615aa571783c693f7a50 | [
"MIT"
] | 1 | 2019-03-03T02:06:22.000Z | 2019-03-03T02:06:22.000Z | login.py | cuifan1/test1 | 25349ca01fc918be896b615aa571783c693f7a50 | [
"MIT"
] | null | null | null | login.py | cuifan1/test1 | 25349ca01fc918be896b615aa571783c693f7a50 | [
"MIT"
] | null | null | null |
for j in range(1, 9):
for i in range(1,j+1):
print("%d * %d = %d" % (i,j,i*j),end="\t")
print()
| 18.833333 | 50 | 0.424779 | 24 | 113 | 2 | 0.458333 | 0.291667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.300885 | 113 | 5 | 51 | 22.6 | 0.556962 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
6676f7044c3725909ffe721eb08510322ad0b3be | 23 | py | Python | examples/int/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/int/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | examples/int/ex3.py | mcorne/python-by-example | 15339c0909c84b51075587a6a66391100971c033 | [
"MIT"
] | null | null | null | print(int('ffff', 16))
| 11.5 | 22 | 0.608696 | 4 | 23 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 0.086957 | 23 | 1 | 23 | 23 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
dd462d36b76c17cc94276e85ad5b73bd8020eb9b | 91 | py | Python | scripts/portal/enterInfo.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/portal/enterInfo.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/portal/enterInfo.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# ID :: [104000000]
# Lith Harbor : Lith Harbor
sm.warp(104000004, 1) | 22.75 | 27 | 0.703297 | 13 | 91 | 4.923077 | 0.846154 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.164835 | 91 | 4 | 28 | 22.75 | 0.592105 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
06efe42a695b6a24ca2ace7e95a3cc02869b990a | 241 | py | Python | kon/__init__.py | TIXhjq/CTR_Function | bbb85327151257e40526ebd35e34fe4f1b0d9398 | [
"Apache-2.0"
] | 12 | 2020-06-23T16:10:56.000Z | 2021-02-20T09:57:08.000Z | kon/__init__.py | TIXhjq/CTR_Function | bbb85327151257e40526ebd35e34fe4f1b0d9398 | [
"Apache-2.0"
] | null | null | null | kon/__init__.py | TIXhjq/CTR_Function | bbb85327151257e40526ebd35e34fe4f1b0d9398 | [
"Apache-2.0"
] | 5 | 2020-07-10T03:27:41.000Z | 2021-02-23T06:21:17.000Z | #!/usr/bin/env python
# _*_ coding:utf-8 _*_
'''=================================
@Author :tix_hjq
@Date :2020/7/21 上午9:00
@File :__init__.py.py
@email :hjq1922451756@gmail.com or 1922451756@qq.com
=================================''' | 30.125 | 55 | 0.485477 | 28 | 241 | 3.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143519 | 0.103734 | 241 | 8 | 56 | 30.125 | 0.356481 | 0.962656 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
66092f4aa9d374d4ab43afa221873fa0d3aa0578 | 32 | py | Python | pywebui/builder/templates/cordova/{{ cookiecutter._cordova_dir }}/cordova-plugin-pywebui/p4a/src/main.py | kahowell/pywebui | 91c031e784454a83bea6808517e6de4389ca6ffa | [
"MIT"
] | 2 | 2021-03-23T19:47:03.000Z | 2021-05-27T09:27:39.000Z | pywebui/builder/templates/cordova/{{ cookiecutter._cordova_dir }}/cordova-plugin-pywebui/p4a/src/main.py | kahowell/pywebui | 91c031e784454a83bea6808517e6de4389ca6ffa | [
"MIT"
] | null | null | null | pywebui/builder/templates/cordova/{{ cookiecutter._cordova_dir }}/cordova-plugin-pywebui/p4a/src/main.py | kahowell/pywebui | 91c031e784454a83bea6808517e6de4389ca6ffa | [
"MIT"
] | 1 | 2020-02-11T14:36:55.000Z | 2020-02-11T14:36:55.000Z | # dummy file, not actually used
| 16 | 31 | 0.75 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 1 | 32 | 32 | 0.923077 | 0.90625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6654ad3102a939891706477f39c3ffc41d3d3c0a | 73 | py | Python | ppcd/traditions/__init__.py | geoyee/PdRSCD | 4a1a7256320f006c15e3e5b5b238fdfba8198853 | [
"Apache-2.0"
] | 44 | 2021-04-21T02:41:55.000Z | 2022-03-09T03:01:16.000Z | ppcd/traditions/__init__.py | MinZHANG-WHU/PdRSCD | 612976225201d78adc7ff99529ada17b41fedc5d | [
"Apache-2.0"
] | 2 | 2021-09-30T07:52:47.000Z | 2022-02-12T09:05:35.000Z | ppcd/traditions/__init__.py | MinZHANG-WHU/PdRSCD | 612976225201d78adc7ff99529ada17b41fedc5d | [
"Apache-2.0"
] | 6 | 2021-07-23T02:18:39.000Z | 2022-01-14T01:15:50.000Z | from .cva import CVA
from .basics import BaseCompute
from .mrf import MRF | 24.333333 | 31 | 0.808219 | 12 | 73 | 4.916667 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150685 | 73 | 3 | 32 | 24.333333 | 0.951613 | 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 | 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 | 5 |
b076d09ec22e0d2f4b61ba4bb2c4988af02bde2f | 647 | py | Python | src/User/InterfaceAdapters/IUserRepository.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | src/User/InterfaceAdapters/IUserRepository.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | src/User/InterfaceAdapters/IUserRepository.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from src.Shared.InterfaceAdapters.ICriteria import ICriteria
from src.Shared.InterfaceAdapters.IPaginator import IPaginator
class IUserRepository(ABC):
@abstractmethod
def save(self, element):
pass
@abstractmethod
def getOne(self, id: str):
pass
... | 20.21875 | 64 | 0.684699 | 64 | 647 | 6.921875 | 0.40625 | 0.230248 | 0.23702 | 0.162528 | 0.13544 | 0.13544 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242658 | 647 | 31 | 65 | 20.870968 | 0.904082 | 0 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.272727 | 0.136364 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b082322ad8782c965a5adc7dd563b8f918b317c9 | 20 | py | Python | lib/assets/hellojaden.py | hongjunGu2019/cdk | d21681015997e855bac35c67a7097fc002fe327e | [
"MIT-0"
] | null | null | null | lib/assets/hellojaden.py | hongjunGu2019/cdk | d21681015997e855bac35c67a7097fc002fe327e | [
"MIT-0"
] | null | null | null | lib/assets/hellojaden.py | hongjunGu2019/cdk | d21681015997e855bac35c67a7097fc002fe327e | [
"MIT-0"
] | null | null | null | print('hello jaden') | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 20 | 1 | 20 | 20 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.52381 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b0b141f7ad9a35f367de19bc1724b7a98f132ab1 | 134 | py | Python | src/sort/0791.custom-sort-string/custom-sort-string.py | lyphui/Just-Code | e0c3c3ecb67cb805080ff686e88522b2bffe7741 | [
"MIT"
] | 782 | 2019-11-19T08:20:49.000Z | 2022-03-25T06:59:09.000Z | src/0791.custom-sort-string/custom-sort-string.py | Heitao5200/Just-Code | 5bb3ee485a103418e693b7ec8e26dc84f3691c79 | [
"MIT"
] | 1 | 2021-03-04T12:21:01.000Z | 2021-03-05T01:23:54.000Z | src/0791.custom-sort-string/custom-sort-string.py | Heitao5200/Just-Code | 5bb3ee485a103418e693b7ec8e26dc84f3691c79 | [
"MIT"
] | 155 | 2019-11-20T08:20:42.000Z | 2022-03-19T07:28:09.000Z | class Solution:
def customSortString(self, S: str, T: str) -> str:
return ''.join(sorted(list(T), key=lambda x:S.find(x))) | 44.666667 | 63 | 0.626866 | 21 | 134 | 4 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186567 | 134 | 3 | 63 | 44.666667 | 0.770642 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b0b80db4ebbd5c5385155c5df1bee7d31dc88175 | 88 | py | Python | mfr/extensions/unoconv/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 36 | 2015-08-31T20:24:22.000Z | 2021-12-17T17:02:44.000Z | mfr/extensions/unoconv/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 190 | 2015-01-02T06:22:01.000Z | 2022-01-19T11:27:03.000Z | mfr/extensions/unoconv/__init__.py | yacchin1205/RDM-modular-file-renderer | 5bd18175a681d21e7be7fe0238132335a1cd8ded | [
"Apache-2.0"
] | 47 | 2015-01-27T15:45:22.000Z | 2021-01-27T22:43:03.000Z | from .export import UnoconvExporter # noqa
from .render import UnoconvRenderer # noqa
| 29.333333 | 43 | 0.795455 | 10 | 88 | 7 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 88 | 2 | 44 | 44 | 0.945946 | 0.102273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
b0da13869d1b969a96a8f4bddc3947e36a343255 | 38 | py | Python | iiotsapps/graphql/farms/types/__init__.py | CorpofloTechCommunity/Intelligent-IOT-system- | 99af2efe1e8c7623ed76df246e29cfb5654474af | [
"MIT"
] | null | null | null | iiotsapps/graphql/farms/types/__init__.py | CorpofloTechCommunity/Intelligent-IOT-system- | 99af2efe1e8c7623ed76df246e29cfb5654474af | [
"MIT"
] | 1 | 2020-08-02T11:58:22.000Z | 2020-08-02T11:58:22.000Z | iiotsapps/graphql/farms/types/__init__.py | CorpofloTechCommunity/Intelligent-IOT-system- | 99af2efe1e8c7623ed76df246e29cfb5654474af | [
"MIT"
] | 2 | 2020-07-31T11:08:14.000Z | 2020-08-19T10:46:43.000Z | from .farm import FarmType as FarmNode | 38 | 38 | 0.842105 | 6 | 38 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b0083e1c9af66e4bf2b2bbb3ca652b8561b0e1a6 | 176 | py | Python | provider/__init__.py | Ritvik29/lts-investment | ce09a9c90b380e1b153a7b35d3b6fa1abd81feb2 | [
"MIT"
] | null | null | null | provider/__init__.py | Ritvik29/lts-investment | ce09a9c90b380e1b153a7b35d3b6fa1abd81feb2 | [
"MIT"
] | null | null | null | provider/__init__.py | Ritvik29/lts-investment | ce09a9c90b380e1b153a7b35d3b6fa1abd81feb2 | [
"MIT"
] | null | null | null | from .stockinfo import get_stock_info_provider, StockInfoProvider
from .utils import billion_to_million, to_million, from_any_to_million, first_valid_index, last_valid_index
| 58.666667 | 108 | 0.875 | 26 | 176 | 5.423077 | 0.653846 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085227 | 176 | 2 | 109 | 88 | 0.875776 | 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 | 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 | 5 |
b00d884fc177544ab8654fda0337bfb3f3d4da54 | 203 | py | Python | users/permissions.py | emushell/django-rest-react-todo-app | c72f87a7d0f8a4e1029558ea6b2e33cbdabf5c82 | [
"MIT"
] | null | null | null | users/permissions.py | emushell/django-rest-react-todo-app | c72f87a7d0f8a4e1029558ea6b2e33cbdabf5c82 | [
"MIT"
] | 8 | 2021-03-18T23:42:28.000Z | 2022-03-12T00:15:38.000Z | users/permissions.py | emushell/django-rest-react-todo-app | c72f87a7d0f8a4e1029558ea6b2e33cbdabf5c82 | [
"MIT"
] | null | null | null | from rest_framework import permissions
class UserIsOwnerUserProfile(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
return request.user.id == obj.user.id
| 25.375 | 57 | 0.773399 | 24 | 203 | 6.416667 | 0.791667 | 0.077922 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147783 | 203 | 7 | 58 | 29 | 0.890173 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b034816221c11e713d10b1c3d3da7499476248b4 | 192 | py | Python | addons/generic_request/migrations/11.0.1.0.0/post-migrate.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/generic_request/migrations/11.0.1.0.0/post-migrate.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | null | null | null | addons/generic_request/migrations/11.0.1.0.0/post-migrate.py | marionumza/vocal_v12 | 480990e919c9410903e06e7813ee92800bd6a569 | [
"Unlicense"
] | 1 | 2021-05-05T07:59:08.000Z | 2021-05-05T07:59:08.000Z | def migrate(cr, installed_version):
cr.execute("""
DROP TABLE IF EXISTS request_wizard_assign CASCADE;
DELETE FROM ir_model WHERE model = 'request.wizard.assign';
""")
| 32 | 67 | 0.677083 | 24 | 192 | 5.25 | 0.791667 | 0.206349 | 0.301587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 192 | 5 | 68 | 38.4 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0.692708 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b056e6ab28b8f7a1042649663dd9b9a4ba23021b | 149 | py | Python | Project 14 -- Deep Cardiac Segmentation/rvseg/models/__init__.py | Vauke/Deep-Neural-Networks-HealthCare | a6e0cc9d44e06ab3b3f3a947c512ca25f3e17a14 | [
"MIT"
] | 274 | 2017-08-08T17:42:31.000Z | 2022-03-01T07:37:25.000Z | rvseg_f/models/__init__.py | Einshowstank/cardiac-segmentation-master | b9e152a3b7e70ec20d9722304c2ebec4d401f61a | [
"MIT"
] | 17 | 2017-09-12T19:26:38.000Z | 2022-03-18T02:19:20.000Z | rvseg_f/models/__init__.py | Einshowstank/cardiac-segmentation-master | b9e152a3b7e70ec20d9722304c2ebec4d401f61a | [
"MIT"
] | 124 | 2017-08-21T01:56:44.000Z | 2022-03-01T07:37:26.000Z | from .convunet import unet
from .dilatedunet import dilated_unet
from .dilateddensenet import dilated_densenet, dilated_densenet2, dilated_densenet3
| 37.25 | 83 | 0.872483 | 18 | 149 | 7 | 0.555556 | 0.126984 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014815 | 0.09396 | 149 | 3 | 84 | 49.666667 | 0.918519 | 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 | 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 | 5 |
c65f93b69f5830d4c55f341766602f0e3591afcd | 39 | py | Python | labelbox/data/serialization/ndjson/__init__.py | nickaustinlee/labelbox-python | 45eb808165849e5a55fb6869ca5cc415d74772ce | [
"Apache-2.0",
"MIT"
] | null | null | null | labelbox/data/serialization/ndjson/__init__.py | nickaustinlee/labelbox-python | 45eb808165849e5a55fb6869ca5cc415d74772ce | [
"Apache-2.0",
"MIT"
] | null | null | null | labelbox/data/serialization/ndjson/__init__.py | nickaustinlee/labelbox-python | 45eb808165849e5a55fb6869ca5cc415d74772ce | [
"Apache-2.0",
"MIT"
] | null | null | null | from .converter import NDJsonConverter
| 19.5 | 38 | 0.871795 | 4 | 39 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 39 | 1 | 39 | 39 | 0.971429 | 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 | 0 | 0 | 0 | 5 |
c67b0b400517dffaca70b84f223a2e81bb6a9c47 | 161 | py | Python | Chapter 04/pjme_hourly_timeseries.py | bpbpublications/Time-Series-Forecasting-using-Deep-Learning | fd84553d33e912edb4a1400af0f9374e72747457 | [
"MIT"
] | 7 | 2021-12-13T20:00:05.000Z | 2022-03-11T08:44:43.000Z | Chapter 04/pjme_hourly_timeseries.py | bpbpublications/Time-Series-Forecasting-using-Deep-Learning | fd84553d33e912edb4a1400af0f9374e72747457 | [
"MIT"
] | 1 | 2022-02-22T10:39:12.000Z | 2022-02-22T10:39:12.000Z | Chapter 04/pjme_hourly_timeseries.py | bpbpublications/Time-Series-Forecasting-using-Deep-Learning | fd84553d33e912edb4a1400af0f9374e72747457 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
from ch4.training_datasets import get_pjme_timeseries
plt.title('PJME Hourly')
plt.plot(get_pjme_timeseries()[:500])
plt.show()
| 23 | 53 | 0.807453 | 25 | 161 | 5 | 0.68 | 0.112 | 0.272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.080745 | 161 | 6 | 54 | 26.833333 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0.068323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 | 0 | 0 | 0 | 5 |
c68dede56b163af1da020ffd42ca96dc17711057 | 194 | py | Python | docs/webapps/czat/views_z1.py | sokol02/python101 | e06ad83f9eee285023b9c8e79ab1c00ad8bd67e5 | [
"MIT"
] | null | null | null | docs/webapps/czat/views_z1.py | sokol02/python101 | e06ad83f9eee285023b9c8e79ab1c00ad8bd67e5 | [
"MIT"
] | null | null | null | docs/webapps/czat/views_z1.py | sokol02/python101 | e06ad83f9eee285023b9c8e79ab1c00ad8bd67e5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# czatpro/czat/views.py
from django.http import HttpResponse
def index(request):
"""Strona główna aplikacji."""
return HttpResponse("Witaj w aplikacji Czat!")
| 19.4 | 50 | 0.685567 | 24 | 194 | 5.541667 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.164948 | 194 | 9 | 51 | 21.555556 | 0.814815 | 0.35567 | 0 | 0 | 0 | 0 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c6a3f715fc2e40ea0c8794264aa86be0e4574902 | 49 | py | Python | tests/unit/filestorage/adapters/__init__.py | cjolowicz/cutty | 3a183fb06f5f521eaf1909514cb8c3d9e5b9c193 | [
"MIT"
] | 1 | 2021-11-15T20:27:59.000Z | 2021-11-15T20:27:59.000Z | tests/unit/filestorage/adapters/__init__.py | cjolowicz/cutty | 3a183fb06f5f521eaf1909514cb8c3d9e5b9c193 | [
"MIT"
] | 171 | 2020-07-24T07:30:20.000Z | 2022-03-31T14:05:45.000Z | tests/unit/filestorage/adapters/__init__.py | cjolowicz/cutty | 3a183fb06f5f521eaf1909514cb8c3d9e5b9c193 | [
"MIT"
] | null | null | null | """Unit tests for cutty.filestorage.adapters."""
| 24.5 | 48 | 0.734694 | 6 | 49 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 49 | 1 | 49 | 49 | 0.8 | 0.857143 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c6b21b8c00584552a89bc92b92eb9c223d27dbeb | 135 | py | Python | py/ns_override/override/classes.py | schaabs/sandbox | ee8abb2a8220ca841b9b5a2579c25d100a43eb4f | [
"MIT"
] | null | null | null | py/ns_override/override/classes.py | schaabs/sandbox | ee8abb2a8220ca841b9b5a2579c25d100a43eb4f | [
"MIT"
] | 2 | 2018-02-01T19:58:53.000Z | 2018-02-23T00:50:18.000Z | py/ns_override/override/classes.py | schaabs/sandbox | ee8abb2a8220ca841b9b5a2579c25d100a43eb4f | [
"MIT"
] | 1 | 2020-12-16T06:35:51.000Z | 2020-12-16T06:35:51.000Z | from ..base import Foo as FooBase
class Foo(FooBase):
def print_greeting(self):
print(self.greeting('foo and improved'))
| 19.285714 | 48 | 0.688889 | 19 | 135 | 4.842105 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 135 | 6 | 49 | 22.5 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 5 |
c6c555da8482d87298bc202e55e575da122e0a45 | 239 | py | Python | garage/baselines/__init__.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | 3 | 2019-08-11T22:26:55.000Z | 2020-11-28T10:23:50.000Z | garage/baselines/__init__.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | null | null | null | garage/baselines/__init__.py | shadiakiki1986/garage | 095bb5d25b32df1d44b47e99a78a9b01796941d9 | [
"MIT"
] | 2 | 2019-08-11T22:30:14.000Z | 2021-03-25T02:57:50.000Z | from garage.baselines.base import Baseline
from garage.baselines.linear_feature_baseline import LinearFeatureBaseline
from garage.baselines.zero_baseline import ZeroBaseline
__all__ = ["Baseline", "LinearFeatureBaseline", "ZeroBaseline"]
| 39.833333 | 74 | 0.853556 | 25 | 239 | 7.88 | 0.48 | 0.152284 | 0.28934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075314 | 239 | 5 | 75 | 47.8 | 0.891403 | 0 | 0 | 0 | 0 | 0 | 0.171548 | 0.087866 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c6d567d32e3b526efa24ee344888380c5a58effe | 58 | py | Python | summer-of-code/week-01/calc.py | Soundpowered/toolkitten | 442392d7fa3d3ed14fb4fd33978806ce6ea156b9 | [
"MIT"
] | 1 | 2018-08-28T17:59:49.000Z | 2018-08-28T17:59:49.000Z | summer-of-code/week-01/calc.py | Zanetik/toolkitten | aa95e675d4f22fe5e3712ea5668ac4ed2e54a42a | [
"MIT"
] | null | null | null | summer-of-code/week-01/calc.py | Zanetik/toolkitten | aa95e675d4f22fe5e3712ea5668ac4ed2e54a42a | [
"MIT"
] | null | null | null | # calculator
print(1+2)
print(3)
print(10%2)
print(11%2) | 8.285714 | 12 | 0.672414 | 12 | 58 | 3.25 | 0.583333 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0.12069 | 58 | 7 | 13 | 8.285714 | 0.588235 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
c6e9094470715f65793bacfcd134528a20bf63bc | 138 | py | Python | bench/stdlib/json.py | erezsh/python-parsing-benchmarks | 7c39235f2bcc019be8e91a939913f121c81c58d5 | [
"MIT"
] | 16 | 2020-05-02T11:46:25.000Z | 2022-03-20T15:39:14.000Z | bench/stdlib/json.py | erezsh/python-parsing-benchmarks | 7c39235f2bcc019be8e91a939913f121c81c58d5 | [
"MIT"
] | 8 | 2020-05-24T02:07:46.000Z | 2022-01-31T16:56:28.000Z | bench/stdlib/json.py | erezsh/python-parsing-benchmarks | 7c39235f2bcc019be8e91a939913f121c81c58d5 | [
"MIT"
] | 5 | 2020-10-18T17:21:04.000Z | 2022-03-20T15:39:22.000Z |
import json
def invalid_constant(s):
raise ValueError(s)
def parse(s):
return json.loads(s, parse_constant=invalid_constant)
| 12.545455 | 57 | 0.731884 | 20 | 138 | 4.9 | 0.55 | 0.306122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 138 | 10 | 58 | 13.8 | 0.859649 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c6ecb384bd94ddf4daa0b3b8ee418af22d8f3b50 | 259 | py | Python | src/pmc_tables/fixers/_errors.py | pmc-tables/pmc-tables | 3f4adbfff353b83a5dc660010f058192948a8833 | [
"MIT"
] | 1 | 2020-07-29T10:07:33.000Z | 2020-07-29T10:07:33.000Z | src/pmc_tables/fixers/_errors.py | pmc-tables/pmc_tables | 3f4adbfff353b83a5dc660010f058192948a8833 | [
"MIT"
] | null | null | null | src/pmc_tables/fixers/_errors.py | pmc-tables/pmc_tables | 3f4adbfff353b83a5dc660010f058192948a8833 | [
"MIT"
] | null | null | null | class _FixDoesNotApplyError(Exception):
"""Error raised when a given fixer function does not apply to a particular case."""
pass
class _CouldNotApplyFixError(Exception):
"""Error raised when we could not apply a fix for some reason."""
pass
| 28.777778 | 87 | 0.72973 | 34 | 259 | 5.5 | 0.705882 | 0.149733 | 0.213904 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19305 | 259 | 8 | 88 | 32.375 | 0.894737 | 0.528958 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
05bcf0ada928259381301c28c6385c47f00f4715 | 3,609 | py | Python | mozinor/config/classifiers.py | Jwuthri/Mozinor | 5a2cd4f0447a96425d899a8e063668741a091a8b | [
"MIT"
] | 3 | 2017-08-17T21:32:05.000Z | 2018-07-30T11:30:09.000Z | mozinor/config/classifiers.py | Jwuthri/Mozinor | 5a2cd4f0447a96425d899a8e063668741a091a8b | [
"MIT"
] | null | null | null | mozinor/config/classifiers.py | Jwuthri/Mozinor | 5a2cd4f0447a96425d899a8e063668741a091a8b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on July 2017
@author: JulienWuthrich
"""
from mozinor.config.params import *
from mozinor.config.explain import *
Fast_Classifiers = {
"ExtraTreesClassifier": {
"import": "sklearn.ensemble",
'n_estimators': n_estimators,
"criterion": criterion,
... | 28.195313 | 47 | 0.592962 | 316 | 3,609 | 6.443038 | 0.208861 | 0.127701 | 0.096267 | 0.10609 | 0.729371 | 0.729371 | 0.729371 | 0.708251 | 0.708251 | 0.708251 | 0 | 0.004994 | 0.278748 | 3,609 | 127 | 48 | 28.417323 | 0.77718 | 0.034913 | 0 | 0.675676 | 0 | 0 | 0.331219 | 0.026521 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.135135 | 0 | 0.135135 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
05cc871fc46a64114c6d70566a91a376779f4fc0 | 171 | py | Python | tests/encoding/test_lib.py | Defense-Cyber-Crime-Center/dfvfs | da2ccbc4c989ced5ad651057bd8f5a4b18af6d37 | [
"Apache-2.0"
] | 2 | 2016-02-18T12:46:26.000Z | 2022-03-13T03:05:05.000Z | tests/encoding/test_lib.py | Defense-Cyber-Crime-Center/dfvfs | da2ccbc4c989ced5ad651057bd8f5a4b18af6d37 | [
"Apache-2.0"
] | null | null | null | tests/encoding/test_lib.py | Defense-Cyber-Crime-Center/dfvfs | da2ccbc4c989ced5ad651057bd8f5a4b18af6d37 | [
"Apache-2.0"
] | 5 | 2016-12-18T08:05:39.000Z | 2019-11-19T21:18:00.000Z | # -*- coding: utf-8 -*-
"""Shared test cases."""
import unittest
class DecoderTestCase(unittest.TestCase):
"""The unit test case for decoder object implementions."""
| 19 | 60 | 0.695906 | 20 | 171 | 5.95 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0.146199 | 171 | 8 | 61 | 21.375 | 0.808219 | 0.549708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
05f01b133da21c49d793000f559256fc8db0e291 | 101 | py | Python | pyfibre/tests/utils.py | franklongford/ImageCol | 96f0db337a203c5634bebcbae10a6d85789dff2c | [
"Apache-2.0"
] | 2 | 2019-03-01T14:28:18.000Z | 2021-07-26T05:53:01.000Z | pyfibre/tests/utils.py | franklongford/ImageCol | 96f0db337a203c5634bebcbae10a6d85789dff2c | [
"Apache-2.0"
] | 25 | 2019-12-20T12:00:01.000Z | 2021-07-24T11:27:16.000Z | pyfibre/tests/utils.py | franklongford/PyFibre | 255a3c659931f1be0356eb49b878e3b741201955 | [
"Apache-2.0"
] | null | null | null | import os
def delete_log():
if os.path.exists('pyfibre.log'):
os.remove('pyfibre.log')
| 14.428571 | 37 | 0.623762 | 15 | 101 | 4.133333 | 0.666667 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207921 | 101 | 6 | 38 | 16.833333 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 0 | 0 | 0 | 0 | 0 | 5 |
af81965c63cc1f3836dc7142ab2baf3406cc5020 | 126 | py | Python | cflare/lib/__init__.py | trisongz/cflare | 3a7467172e146241f936ee32893a6a129fd5dde2 | [
"MIT"
] | 1 | 2021-07-08T06:01:42.000Z | 2021-07-08T06:01:42.000Z | cflare/lib/__init__.py | trisongz/cflare | 3a7467172e146241f936ee32893a6a129fd5dde2 | [
"MIT"
] | null | null | null | cflare/lib/__init__.py | trisongz/cflare | 3a7467172e146241f936ee32893a6a129fd5dde2 | [
"MIT"
] | null | null | null |
from . import models
from .models import MXRecords, GoogleMXRecords, CFlareRecord
from .models import CFlareAuth, CFlareAPI
| 21 | 60 | 0.81746 | 14 | 126 | 7.357143 | 0.571429 | 0.194175 | 0.31068 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134921 | 126 | 5 | 61 | 25.2 | 0.944954 | 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 | 0 | 0 | 0 | 5 |
af87e6658a95392a1d6e7a002009659ada7cbda3 | 119 | py | Python | xarray_quantity/__init__.py | KaoruNishikawa/xarray-quantity | e93fcdc228645f48770bb285c0c33ddcfb97e938 | [
"MIT"
] | null | null | null | xarray_quantity/__init__.py | KaoruNishikawa/xarray-quantity | e93fcdc228645f48770bb285c0c33ddcfb97e938 | [
"MIT"
] | 8 | 2021-07-19T05:19:40.000Z | 2021-07-19T14:49:39.000Z | xarray_quantity/__init__.py | KaoruNishikawa/xarray-quantity | e93fcdc228645f48770bb285c0c33ddcfb97e938 | [
"MIT"
] | null | null | null | # flake8: noqa
__version__ = "0.1.4"
from .quantity_array import QuantityArray
from .quantity_set import QuantitySet
| 17 | 41 | 0.789916 | 16 | 119 | 5.5 | 0.8125 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038835 | 0.134454 | 119 | 6 | 42 | 19.833333 | 0.815534 | 0.10084 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
afa176fec31600b1e5900f3e7176a52ceac6d88e | 150 | py | Python | jsuarez/extra/embyr_deprecated/embyr/tests/loaders/test_objloader.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | 1,450 | 2019-03-04T15:47:38.000Z | 2022-03-30T03:33:35.000Z | jsuarez/extra/embyr_deprecated/embyr/tests/loaders/test_objloader.py | jarbus/neural-mmo | 7ad02fab50f2781c0a71f7d2afd10c1503110736 | [
"MIT"
] | 34 | 2019-03-05T09:50:38.000Z | 2021-08-31T15:20:27.000Z | jsuarez/extra/embyr_deprecated/embyr/tests/loaders/test_objloader.py | LaudateCorpus1/neural-mmo | a9a7c34a1fb24fbf252e2958bdb869c213e580a3 | [
"MIT"
] | 164 | 2019-03-04T16:09:19.000Z | 2022-02-26T15:43:40.000Z | import unittest
from kivy3.loaders import OBJLoader
class OBJLoaderTest(unittest.TestCase):
pass
if __name__ == '__main__':
unittest.main()
| 16.666667 | 39 | 0.753333 | 17 | 150 | 6.176471 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.16 | 150 | 8 | 40 | 18.75 | 0.825397 | 0 | 0 | 0 | 0 | 0 | 0.053333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
afabb2886495bdd915897ad781e711ac72116a7d | 131 | py | Python | chat_users/admin.py | ravikiranb36/chat-app | c75558c6773af1d0e118dd8097d21f97404d8c9b | [
"MIT"
] | null | null | null | chat_users/admin.py | ravikiranb36/chat-app | c75558c6773af1d0e118dd8097d21f97404d8c9b | [
"MIT"
] | null | null | null | chat_users/admin.py | ravikiranb36/chat-app | c75558c6773af1d0e118dd8097d21f97404d8c9b | [
"MIT"
] | null | null | null | from django.contrib import admin
from chat_users.models import ChatUser
# Register your models here.
admin.site.register(ChatUser) | 26.2 | 38 | 0.832061 | 19 | 131 | 5.684211 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 131 | 5 | 39 | 26.2 | 0.923077 | 0.198473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
afac283c2bb8d7cf5858d60a3c43366a2118340f | 120 | py | Python | Chapter 8/08/PaxHeader/recipe64_playback.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | Chapter 8/08/PaxHeader/recipe64_playback.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | Chapter 8/08/PaxHeader/recipe64_playback.py | robert0714/Python-Testing-Cookbook-Second-Edition | c7c5d59e42e9ca2874faf12a6dd201736a45ca83 | [
"MIT"
] | null | null | null | 15 uid=2057284
20 ctime=1296423455
20 atime=1296425170
24 SCHILY.dev=234881026
23 SCHILY.ino=30630412
18 SCHILY.nlink=1
| 17.142857 | 23 | 0.825 | 21 | 120 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.527778 | 0.1 | 120 | 6 | 24 | 20 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bb91c250b94937fe74bb77fc39f0971f08b35cf7 | 178 | py | Python | compiled/construct/bits_signed_b64_le.py | dgelessus/ci_targets | bb1a0d76b7673920c832e5332a7b257614fa0e1b | [
"MIT"
] | 4 | 2017-04-08T12:55:11.000Z | 2020-12-05T21:09:31.000Z | compiled/construct/bits_signed_b64_le.py | dgelessus/ci_targets | bb1a0d76b7673920c832e5332a7b257614fa0e1b | [
"MIT"
] | 7 | 2018-04-23T01:30:33.000Z | 2020-10-30T23:56:14.000Z | compiled/construct/bits_signed_b64_le.py | dgelessus/ci_targets | bb1a0d76b7673920c832e5332a7b257614fa0e1b | [
"MIT"
] | 6 | 2017-04-08T11:41:14.000Z | 2020-10-30T22:47:31.000Z | from construct import *
from construct.lib import *
bits_signed_b64_le = Struct(
'a_num' / ???,
'a_bit' / ???,
'b_num' / ???,
'b_bit' / ???,
)
_schema = bits_signed_b64_le
| 14.833333 | 28 | 0.617978 | 25 | 178 | 3.96 | 0.56 | 0.262626 | 0.262626 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.185393 | 178 | 11 | 29 | 16.181818 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0.11236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.222222 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
bba33fd376397f0449c9a0f8a47f9cb733647eb2 | 115 | py | Python | src/main/python/test/__init__.py | vasnake/spark.ml.SpatialJoinTransformer | d48d1db3e641e86c3c7dcc0841321b2c7726fed7 | [
"Apache-2.0"
] | 2 | 2019-04-04T12:22:57.000Z | 2020-09-11T15:29:25.000Z | src/main/python/test/__init__.py | vasnake/spark.ml.SpatialJoinTransformer | d48d1db3e641e86c3c7dcc0841321b2c7726fed7 | [
"Apache-2.0"
] | null | null | null | src/main/python/test/__init__.py | vasnake/spark.ml.SpatialJoinTransformer | d48d1db3e641e86c3c7dcc0841321b2c7726fed7 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from pandas.util.testing import assert_frame_equal
from .spark_fixture import local_spark
| 23 | 50 | 0.773913 | 17 | 115 | 5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.121739 | 115 | 4 | 51 | 28.75 | 0.831683 | 0.182609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
bbb00147e71e8b21f207f571bb8766111ae795cd | 113 | py | Python | distiller/data/models/__init__.py | 18F/FAC-Distiller- | dd0bba9ddbead28d6bcf3487f5a090b10232565a | [
"CC0-1.0"
] | 2 | 2020-08-07T00:22:10.000Z | 2020-08-07T00:22:16.000Z | distiller/data/models/__init__.py | 18F/FAC-Distiller- | dd0bba9ddbead28d6bcf3487f5a090b10232565a | [
"CC0-1.0"
] | 95 | 2020-01-14T20:31:59.000Z | 2021-06-10T18:23:13.000Z | distiller/data/models/__init__.py | isabella232/FAC-Distiller | fe38e8fdf6589a20dbd80001dc9ca2bdf13305f5 | [
"CC0-1.0"
] | 2 | 2020-09-25T07:05:06.000Z | 2021-01-12T09:19:38.000Z | from .assistance_listings import *
from .meta import *
from .pdf_extract import *
from .single_audit_db import *
| 22.6 | 34 | 0.787611 | 16 | 113 | 5.3125 | 0.625 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 4 | 35 | 28.25 | 0.876289 | 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 | 0 | 0 | 0 | 5 |
bbc08f7bbb62e408d269afd1984a112f2184cd00 | 193 | py | Python | feed_list.py | 2502302255/al789 | 20828306da7a301f4b287ec9c72eb2eae9273188 | [
"MIT"
] | 28 | 2017-10-26T12:01:35.000Z | 2021-01-01T09:32:46.000Z | feed_list.py | 2502302255/al789 | 20828306da7a301f4b287ec9c72eb2eae9273188 | [
"MIT"
] | 1 | 2018-02-04T03:33:48.000Z | 2018-05-08T22:30:01.000Z | feed_list.py | 2502302255/al789 | 20828306da7a301f4b287ec9c72eb2eae9273188 | [
"MIT"
] | 1 | 2018-12-02T07:47:34.000Z | 2018-12-02T07:47:34.000Z | from main.save_and_get import Abrufen
import config
example1 = Abrufen(config.bucket_name, config.subdir4rss, 'example1')
example2 = Abrufen(config.bucket_name, config.subdir4rss, 'example2')
| 32.166667 | 69 | 0.813472 | 25 | 193 | 6.12 | 0.52 | 0.169935 | 0.248366 | 0.300654 | 0.509804 | 0.509804 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.088083 | 193 | 5 | 70 | 38.6 | 0.835227 | 0 | 0 | 0 | 0 | 0 | 0.082902 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a5295ebe7884802453c5f899cd7fdcce0dca5af7 | 23 | py | Python | spikeforest2/experimental/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 26 | 2020-02-03T02:12:20.000Z | 2022-03-25T09:14:32.000Z | spikeforest2/experimental/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 27 | 2020-01-10T12:35:55.000Z | 2021-08-01T23:13:52.000Z | spikeforest2/experimental/__init__.py | michaeljohnclancy/spikeforest2 | 93bdde2c570aef9426b3d7bceb69f3605c9f005a | [
"Apache-2.0"
] | 11 | 2019-02-15T15:21:47.000Z | 2021-09-23T01:07:24.000Z | from ._sort import sort | 23 | 23 | 0.826087 | 4 | 23 | 4.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.9 | 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 | 0 | 0 | 0 | 5 |
a5316ec533bc3416db4786b304c716bcd711155b | 31 | py | Python | server/server/__init__.py | JS1240/frameworks_and_languages_module | 1b2a0090386ae2c02ddedfdcaa4ee7c630253f9d | [
"MIT"
] | null | null | null | server/server/__init__.py | JS1240/frameworks_and_languages_module | 1b2a0090386ae2c02ddedfdcaa4ee7c630253f9d | [
"MIT"
] | null | null | null | server/server/__init__.py | JS1240/frameworks_and_languages_module | 1b2a0090386ae2c02ddedfdcaa4ee7c630253f9d | [
"MIT"
] | null | null | null | #Defines directory as a package | 31 | 31 | 0.83871 | 5 | 31 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 31 | 1 | 31 | 31 | 0.962963 | 0.967742 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a55c8ca321095bb93d69f939b830a6d088f99574 | 43 | py | Python | homeassistant/components/kef/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | homeassistant/components/kef/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/kef/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """The KEF Wireless Speakers component."""
| 21.5 | 42 | 0.72093 | 5 | 43 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.815789 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a5a2f675ddd9e0bc9af48c719c7f6ad8a7641c11 | 81 | py | Python | pypibatch/__init__.py | newvicx/pybatch | 28065d70f5b970669fbb9174415dcd84477a99d2 | [
"MIT"
] | null | null | null | pypibatch/__init__.py | newvicx/pybatch | 28065d70f5b970669fbb9174415dcd84477a99d2 | [
"MIT"
] | null | null | null | pypibatch/__init__.py | newvicx/pybatch | 28065d70f5b970669fbb9174415dcd84477a99d2 | [
"MIT"
] | null | null | null | from .main import NoBatchesFound, PIBatch, PIBatchError, PISubBatch, PIUnitBatch | 81 | 81 | 0.839506 | 8 | 81 | 8.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 1 | 81 | 81 | 0.931507 | 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 | 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 | 5 |
a5b6448c3f5c4b03052994667bca97d6daaed352 | 2,803 | py | Python | src/models/decoders.py | yizhe-ang/vi-lab | 65a46e41845982def17e553a46be849d948f9f45 | [
"MIT"
] | 1 | 2022-02-19T17:03:18.000Z | 2022-02-19T17:03:18.000Z | src/models/decoders.py | lemonwaffle/vi-lab | 65a46e41845982def17e553a46be849d948f9f45 | [
"MIT"
] | null | null | null | src/models/decoders.py | lemonwaffle/vi-lab | 65a46e41845982def17e553a46be849d948f9f45 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.distributions import Bernoulli
from src.models.nns import Decoder
class ConvDecoder(nn.Module):
def __init__(self, z_dim):
super().__init__()
self.z_dim = z_dim
self.decoder = Decoder(
128,
... | 22.97541 | 82 | 0.514092 | 355 | 2,803 | 3.892958 | 0.214085 | 0.15919 | 0.086831 | 0.034732 | 0.798842 | 0.798842 | 0.798842 | 0.765557 | 0.672938 | 0.672938 | 0 | 0.016593 | 0.354977 | 2,803 | 121 | 83 | 23.165289 | 0.747788 | 0.338923 | 0 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0 | 1 | 0.146341 | false | 0 | 0.121951 | 0 | 0.414634 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a5b8ebedf11b42bf617b188fb9fd33896f6f6e21 | 7,398 | py | Python | 2015/01/code.py | tut-tuuut/advent-of-code-shiny-giggle | 281a646b84f58f4b3ca2a9875dd57268beefc62d | [
"MIT"
] | 5 | 2018-12-11T17:46:54.000Z | 2021-12-02T10:11:53.000Z | 2015/01/code.py | tut-tuuut/advent-of-code-shiny-giggle | 281a646b84f58f4b3ca2a9875dd57268beefc62d | [
"MIT"
] | null | null | null | 2015/01/code.py | tut-tuuut/advent-of-code-shiny-giggle | 281a646b84f58f4b3ca2a9875dd57268beefc62d | [
"MIT"
] | null | null | null | input = "()()(()()()(()()((()((()))((()((((()()((((()))()((((())(((((((()(((((((((()(((())(()()(()((()()(()(())(()((((()((()()()((((())((((((()(()(((()())(()((((()))())(())(()(()()))))))))((((((((((((()())()())())(())))(((()()()((((()(((()(()(()()(()(()()(()(((((((())(())(())())))((()())()((((()()((()))(((()()()())))((... | 435.176471 | 7,010 | 0.035009 | 48 | 7,398 | 5.395833 | 0.625 | 0.131274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00041 | 0.010949 | 7,398 | 17 | 7,011 | 435.176471 | 0.034987 | 0 | 0 | 0 | 0 | 0 | 0.955535 | 0.946074 | 0 | 0 | 0 | 0 | 0 | 1 | 0.076923 | false | 0 | 0 | 0 | 0.153846 | 0.230769 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a5bedb6fcdeb4f0d64b3b3b902e525435c316cdf | 205 | py | Python | friendships/listeners.py | BattleWoLFz99/Twitchain | 6f12aa932488063619482f0ffc1658064151e091 | [
"MIT"
] | null | null | null | friendships/listeners.py | BattleWoLFz99/Twitchain | 6f12aa932488063619482f0ffc1658064151e091 | [
"MIT"
] | 1 | 2021-05-27T11:03:53.000Z | 2021-05-27T11:03:53.000Z | friendships/listeners.py | BattleWoLFz99/Twitchain | 6f12aa932488063619482f0ffc1658064151e091 | [
"MIT"
] | null | null | null | def friendship_changed(sender, instance, **kwargs):
# import 写在函数里面避免循环依赖
from friendships.services import FriendshipService
FriendshipService.invalidate_following_cache(instance.from_user_id)
| 41 | 71 | 0.819512 | 21 | 205 | 7.761905 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117073 | 205 | 4 | 72 | 51.25 | 0.900552 | 0.092683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3c6724df21f56da70a80a19ad3b947c3b2635141 | 36 | py | Python | tests/__init__.py | jmosbacher/rframe | 59aa9512ef7e6a8a9bbff61cabdb1fb2d475c7f1 | [
"MIT"
] | null | null | null | tests/__init__.py | jmosbacher/rframe | 59aa9512ef7e6a8a9bbff61cabdb1fb2d475c7f1 | [
"MIT"
] | 8 | 2022-02-24T14:06:49.000Z | 2022-03-31T14:48:11.000Z | tests/__init__.py | jmosbacher/rframe | 59aa9512ef7e6a8a9bbff61cabdb1fb2d475c7f1 | [
"MIT"
] | null | null | null | """Unit test package for rframe."""
| 18 | 35 | 0.666667 | 5 | 36 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 36 | 1 | 36 | 36 | 0.774194 | 0.805556 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3c6dc600f652055ff4686f814a56191edc1724f7 | 1,369 | py | Python | network/Reptile/Basic01.py | walkingtyphoon/Python-workspace | e872bce82b2bac3dd5d809f8576345ccc1c6afb7 | [
"Apache-2.0"
] | null | null | null | network/Reptile/Basic01.py | walkingtyphoon/Python-workspace | e872bce82b2bac3dd5d809f8576345ccc1c6afb7 | [
"Apache-2.0"
] | null | null | null | network/Reptile/Basic01.py | walkingtyphoon/Python-workspace | e872bce82b2bac3dd5d809f8576345ccc1c6afb7 | [
"Apache-2.0"
] | null | null | null | from urllib import request
from urllib import parse
head = request.urlopen("https://mp.weixin.qq.com/s?__biz=MzU3NTc0NzE0Mw==&mid=2247483739&idx=1&sn"
"=e62a61120c73ebb93029a2897ca60ccd&chksm"
"=fd1f2473ca68ad658b9b0388e6fc122951812ba08ada771f3acc4f1f25953de92df837f21795&m... | 54.76 | 379 | 0.764792 | 125 | 1,369 | 8.32 | 0.792 | 0.019231 | 0.030769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264633 | 0.113952 | 1,369 | 24 | 380 | 57.041667 | 0.592745 | 0.013148 | 0 | 0 | 0 | 0.210526 | 0.685969 | 0.52487 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.105263 | 0 | 0.105263 | 0.263158 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3c7514d7a838bfdb86643d8297c454aab0b44dea | 367 | py | Python | python/ql/test/query-tests/Classes/incomplete-ordering/incomplete_ordering.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/query-tests/Classes/incomplete-ordering/incomplete_ordering.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/query-tests/Classes/incomplete-ordering/incomplete_ordering.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | #Incomplete ordering
class PartOrdered(object):
def __eq__(self, other):
return self is other
def __ne__(self, other):
return self is not other
def __hash__(self):
return id(self)
def __lt__(self, other):
return False
#Don't blame a sub-class for super-class's sins.
... | 20.388889 | 48 | 0.662125 | 49 | 367 | 4.632653 | 0.571429 | 0.118943 | 0.198238 | 0.167401 | 0.185022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256131 | 367 | 18 | 49 | 20.388889 | 0.831502 | 0.179837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0.090909 | 0 | 0.363636 | 0.909091 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 5 |
3c86f18ac35f71c6ffb872c97688c3aa27b68251 | 161 | py | Python | tests/lit/lit/formats/__init__.py | junag/alive | c2b241eedfcf58dbb5e9426b25d8c7f1e8d241d5 | [
"Apache-2.0"
] | 4 | 2016-04-07T17:30:00.000Z | 2018-12-02T00:06:28.000Z | tests/lit/lit/formats/__init__.py | junag/alive | c2b241eedfcf58dbb5e9426b25d8c7f1e8d241d5 | [
"Apache-2.0"
] | null | null | null | tests/lit/lit/formats/__init__.py | junag/alive | c2b241eedfcf58dbb5e9426b25d8c7f1e8d241d5 | [
"Apache-2.0"
] | 1 | 2020-07-03T13:17:35.000Z | 2020-07-03T13:17:35.000Z | from __future__ import absolute_import
from lit.formats.base import TestFormat, FileBasedTest, OneCommandPerFileTest
from lit.formats.alivetest import AliveTest
| 40.25 | 77 | 0.875776 | 19 | 161 | 7.157895 | 0.578947 | 0.102941 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 161 | 3 | 78 | 53.666667 | 0.92517 | 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 | 0 | 0 | 0 | 5 |
b1c457e578bb556d113a7107ae5a41db04cdeff3 | 60 | py | Python | mass/__init__.py | shervinazadi/MASS | e0d80bf88816510fb94d974db3cf98734721e423 | [
"MIT"
] | null | null | null | mass/__init__.py | shervinazadi/MASS | e0d80bf88816510fb94d974db3cf98734721e423 | [
"MIT"
] | null | null | null | mass/__init__.py | shervinazadi/MASS | e0d80bf88816510fb94d974db3cf98734721e423 | [
"MIT"
] | null | null | null | from .MASS import environment, agent
from . import utilities | 30 | 36 | 0.816667 | 8 | 60 | 6.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 2 | 37 | 30 | 0.942308 | 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 | 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 | 5 |
b1fb11b1d5fd773493a3062e05f34eb6aa4b9715 | 37 | py | Python | grAdapt/space/transformer/__init__.py | mkduong-ai/grAdapt | 94c2659b0f6ff9a2984a9dc58e3c83213313bf90 | [
"Apache-2.0"
] | 25 | 2020-11-13T05:57:01.000Z | 2021-06-18T11:16:03.000Z | grAdapt/space/transformer/__init__.py | mkduong-ai/grAdapt | 94c2659b0f6ff9a2984a9dc58e3c83213313bf90 | [
"Apache-2.0"
] | null | null | null | grAdapt/space/transformer/__init__.py | mkduong-ai/grAdapt | 94c2659b0f6ff9a2984a9dc58e3c83213313bf90 | [
"Apache-2.0"
] | null | null | null | from .Transformer import Transformer
| 18.5 | 36 | 0.864865 | 4 | 37 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108108 | 37 | 1 | 37 | 37 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
59022743ffe685065176646cddc5128d20414cb4 | 32 | py | Python | src/tools/linear_regression/__init__.py | pdoms/project_i | b06cd33d2cd75c5ab86cd98fde4a184618697174 | [
"MIT"
] | null | null | null | src/tools/linear_regression/__init__.py | pdoms/project_i | b06cd33d2cd75c5ab86cd98fde4a184618697174 | [
"MIT"
] | null | null | null | src/tools/linear_regression/__init__.py | pdoms/project_i | b06cd33d2cd75c5ab86cd98fde4a184618697174 | [
"MIT"
] | null | null | null | from .linear_regression import * | 32 | 32 | 0.84375 | 4 | 32 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 32 | 1 | 32 | 32 | 0.896552 | 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 | 0 | 0 | 0 | 5 |
3cdec383441e8ca1c293807c72e8ec2ce12e71eb | 51 | py | Python | ballard_weather_service/__main__.py | kwierman/ballard-weather-service | 73ff45aa40b5b4d7e4125ca7c282905c32f49de3 | [
"MIT"
] | null | null | null | ballard_weather_service/__main__.py | kwierman/ballard-weather-service | 73ff45aa40b5b4d7e4125ca7c282905c32f49de3 | [
"MIT"
] | null | null | null | ballard_weather_service/__main__.py | kwierman/ballard-weather-service | 73ff45aa40b5b4d7e4125ca7c282905c32f49de3 | [
"MIT"
] | null | null | null | from ballard_weather_service import cli
cli.cli()
| 12.75 | 39 | 0.823529 | 8 | 51 | 5 | 0.75 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 51 | 3 | 40 | 17 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3ce42b86a5e93e602c8c7838ac51e170e3664912 | 137 | py | Python | exonetapi/structures/__init__.py | exonet/exonet-api-python | 4b6785d47d4d4aad3ea1220b5d58bd2334f48d6d | [
"MIT"
] | null | null | null | exonetapi/structures/__init__.py | exonet/exonet-api-python | 4b6785d47d4d4aad3ea1220b5d58bd2334f48d6d | [
"MIT"
] | 4 | 2020-05-05T12:20:26.000Z | 2022-03-16T08:56:38.000Z | exonetapi/structures/__init__.py | exonet/exonet-api-python | 4b6785d47d4d4aad3ea1220b5d58bd2334f48d6d | [
"MIT"
] | 1 | 2018-06-14T09:43:53.000Z | 2018-06-14T09:43:53.000Z | from .ApiResource import ApiResource
from .ApiResourceIdentifier import ApiResourceIdentifier
from .ApiResourceSet import ApiResourceSet
| 34.25 | 56 | 0.890511 | 12 | 137 | 10.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 3 | 57 | 45.666667 | 0.976 | 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 | 0 | 0 | 0 | 5 |
a714d62dd3b15c3507526d36e5a98f86df50580f | 152 | py | Python | triggers/__init__.py | todofixthis/triggers | f02c28d95ff094023c9bebe431ad166c912cdabf | [
"MIT"
] | 2 | 2018-01-02T00:46:58.000Z | 2018-05-20T05:10:45.000Z | triggers/__init__.py | todofixthis/triggers | f02c28d95ff094023c9bebe431ad166c912cdabf | [
"MIT"
] | null | null | null | triggers/__init__.py | todofixthis/triggers | f02c28d95ff094023c9bebe431ad166c912cdabf | [
"MIT"
] | 2 | 2018-02-19T19:46:00.000Z | 2019-08-14T20:09:47.000Z | # coding=utf-8
from __future__ import absolute_import, division, print_function, \
unicode_literals
from .manager import *
from .storages import *
| 21.714286 | 67 | 0.776316 | 19 | 152 | 5.842105 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.151316 | 152 | 6 | 68 | 25.333333 | 0.852713 | 0.078947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
599c3b1cddfa042a6d1cf8ce1350f7bd379ab27e | 59 | py | Python | src/main/resources/assets/openpython/opos/v1.1/lib/internal/heapq.py | fossabot/OpenPython | 8fe3f794f2a6c543d96c1ef5c097ffa18f90b680 | [
"PSF-2.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 41 | 2018-10-25T06:15:31.000Z | 2022-02-20T11:20:43.000Z | src/main/resources/assets/openpython/opos/v1.1/lib/internal/heapq.py | fossabot/OpenPython | 8fe3f794f2a6c543d96c1ef5c097ffa18f90b680 | [
"PSF-2.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 16 | 2018-03-20T12:25:27.000Z | 2018-03-25T13:34:44.000Z | src/main/resources/assets/openpython/opos/v1.1/lib/internal/heapq.py | fossabot/OpenPython | 8fe3f794f2a6c543d96c1ef5c097ffa18f90b680 | [
"PSF-2.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 8 | 2018-11-04T02:03:15.000Z | 2022-01-13T11:46:28.000Z | # noinspection PyUnresolvedReferences
from uheapq import *
| 19.666667 | 37 | 0.847458 | 5 | 59 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 38 | 29.5 | 0.961538 | 0.59322 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
599fffffd265c7cadb50a775780ede2b22bd296e | 3,148 | py | Python | test/device/base/test_base_device.py | rosenloecher-it/enocean-mqtt-bridge | d56e41a1a67e70bdeb1aa46d10f48ed5a12ca59c | [
"MIT"
] | 1 | 2020-12-01T17:10:14.000Z | 2020-12-01T17:10:14.000Z | test/device/base/test_base_device.py | rosenloecher-it/enocean-mqtt-bridge | d56e41a1a67e70bdeb1aa46d10f48ed5a12ca59c | [
"MIT"
] | 1 | 2021-09-19T13:38:02.000Z | 2021-09-19T13:38:02.000Z | test/device/base/test_base_device.py | rosenloecher-it/enocean-mqtt-bridge | d56e41a1a67e70bdeb1aa46d10f48ed5a12ca59c | [
"MIT"
] | null | null | null | import unittest
from src.common.eep import Eep
from src.device.base.device import Device
from src.tools.enocean_tools import EnoceanTools
from src.tools.pickle_tools import PickleTools
PACKET_WIN_CLOSE = """
gANjZW5vY2Vhbi5wcm90b2NvbC5wYWNrZXQKUmFkaW9QYWNrZXQKcQApgXEBfXECKFgLAAAAcGFj
a2V0X3R5cGVxA0sBWAQAAAByb... | 43.722222 | 80 | 0.822427 | 205 | 3,148 | 12.502439 | 0.341463 | 0.021069 | 0.266875 | 0.038627 | 0.313305 | 0.313305 | 0.095591 | 0.095591 | 0.095591 | 0.095591 | 0 | 0.074261 | 0.118806 | 3,148 | 71 | 81 | 44.338028 | 0.849676 | 0.002541 | 0 | 0.428571 | 0 | 0 | 0.616635 | 0.56979 | 0 | 1 | 0.003824 | 0 | 0.053571 | 1 | 0.089286 | false | 0 | 0.089286 | 0 | 0.214286 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
abb001c1eff4d4b2d3370ea42b98dea7f53039eb | 18 | py | Python | featureB.py | RustRipple/git_test | acb2d9b5a0050689d0d097667062e5bd7e069f12 | [
"Apache-2.0"
] | null | null | null | featureB.py | RustRipple/git_test | acb2d9b5a0050689d0d097667062e5bd7e069f12 | [
"Apache-2.0"
] | null | null | null | featureB.py | RustRipple/git_test | acb2d9b5a0050689d0d097667062e5bd7e069f12 | [
"Apache-2.0"
] | 1 | 2021-12-17T04:28:19.000Z | 2021-12-17T04:28:19.000Z | print("feature")
| 6 | 16 | 0.666667 | 2 | 18 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 18 | 2 | 17 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e600e33ad962311cc570772772d4d2bf794a6261 | 88 | py | Python | aqicn/__init__.py | miczal/aqicn-sdk | ff505dd8f79011f033c9c11d043b5f9635f230e5 | [
"MIT"
] | 8 | 2017-02-13T09:22:58.000Z | 2021-11-15T10:34:01.000Z | aqicn/__init__.py | miczal/aqicn-sdk | ff505dd8f79011f033c9c11d043b5f9635f230e5 | [
"MIT"
] | 2 | 2018-03-11T16:25:25.000Z | 2019-05-21T16:12:29.000Z | aqicn/__init__.py | miczal/aqicn-sdk | ff505dd8f79011f033c9c11d043b5f9635f230e5 | [
"MIT"
] | 2 | 2017-10-13T22:18:37.000Z | 2020-03-25T07:41:37.000Z | from aqicn.aqicn import AqicnApi, Coordinate, AqicnApiError
import aqicn.utils as utils
| 29.333333 | 59 | 0.840909 | 12 | 88 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 88 | 2 | 60 | 44 | 0.948718 | 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 | 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 | 5 |
e627d04e0a77f658fe71d3885046dc90ab8257a8 | 131 | py | Python | slp/config/__init__.py | manzar96/slp | 7007de5b1b78787bd6e5c7cb48fafd468499b0b1 | [
"MIT"
] | 4 | 2021-07-06T13:48:03.000Z | 2021-10-02T08:59:06.000Z | slp/config/__init__.py | manzar96/slp | 7007de5b1b78787bd6e5c7cb48fafd468499b0b1 | [
"MIT"
] | 1 | 2021-09-17T07:57:59.000Z | 2021-09-17T08:14:44.000Z | slp/config/__init__.py | manzar96/movie_corpus_chatbot | 59de55de261330ed87b652dac6f8e045bf4fffcf | [
"MIT"
] | 2 | 2021-02-21T14:04:55.000Z | 2021-08-10T07:40:47.000Z | # flake8: noqa
from slp.config.debug import *
from slp.config.log import DEFAULT_LOGGING
from slp.config.nlp import SPECIAL_TOKENS | 26.2 | 42 | 0.816794 | 21 | 131 | 5 | 0.619048 | 0.2 | 0.371429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.114504 | 131 | 5 | 43 | 26.2 | 0.896552 | 0.091603 | 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 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.