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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6bc769665a28b261a9bb5c92755fd84fc80df5a4 | 181 | py | Python | actions/objects/stock.py | kevincheng96/robin_stocks | a17b133b0e814a258667bbb6ca390dbdbb2561fe | [
"MIT"
] | 1 | 2019-11-17T21:31:00.000Z | 2019-11-17T21:31:00.000Z | actions/objects/stock.py | kevincheng96/robin_stocks | a17b133b0e814a258667bbb6ca390dbdbb2561fe | [
"MIT"
] | null | null | null | actions/objects/stock.py | kevincheng96/robin_stocks | a17b133b0e814a258667bbb6ca390dbdbb2561fe | [
"MIT"
] | null | null | null | class Stock:
def __init__(self, name, ticker, news = []):
self.name = name
self.ticker = ticker
self.news = news
def __str__(self):
return self.name + " - " + self.ticker | 22.625 | 45 | 0.646409 | 25 | 181 | 4.36 | 0.4 | 0.220183 | 0.256881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209945 | 181 | 8 | 46 | 22.625 | 0.762238 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 6 |
d46eba2c8f8e5e92c83cb529ec7c86e6f5dc32cd | 253 | py | Python | definitions.py | Inlinesoft/POC.ECS.Python.App | d1aefed9ebeb0a3f4183bf8deffb24c14f7baba2 | [
"Apache-2.0"
] | null | null | null | definitions.py | Inlinesoft/POC.ECS.Python.App | d1aefed9ebeb0a3f4183bf8deffb24c14f7baba2 | [
"Apache-2.0"
] | null | null | null | definitions.py | Inlinesoft/POC.ECS.Python.App | d1aefed9ebeb0a3f4183bf8deffb24c14f7baba2 | [
"Apache-2.0"
] | null | null | null | import os
import urllib.parse
from prettyconf import config
VERSION="0.0.1"
EMAIL_ACCOUNT_USERNAME=config('EMAIL_ACCOUNT_USERNAME')
EMAIL_ACCOUNT_PASSWORD=config('EMAIL_ACCOUNT_PASSWORD')
EMAIL_PRIMARY_SMTP_ADDRESS=config('EMAIL_PRIMARY_SMTP_ADDRESS') | 28.111111 | 63 | 0.865613 | 36 | 253 | 5.694444 | 0.472222 | 0.234146 | 0.195122 | 0.22439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0125 | 0.051383 | 253 | 9 | 63 | 28.111111 | 0.841667 | 0 | 0 | 0 | 0 | 0 | 0.295276 | 0.275591 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 6 |
2e041d30122c28eea3062e04a4351a2b225945a6 | 69 | py | Python | marshmallow_extended/validate/__init__.py | blackacornlabs/marshmallow_extended | 0cda702d65c850044ff58f00f4eb29d2969077d0 | [
"MIT"
] | null | null | null | marshmallow_extended/validate/__init__.py | blackacornlabs/marshmallow_extended | 0cda702d65c850044ff58f00f4eb29d2969077d0 | [
"MIT"
] | null | null | null | marshmallow_extended/validate/__init__.py | blackacornlabs/marshmallow_extended | 0cda702d65c850044ff58f00f4eb29d2969077d0 | [
"MIT"
] | null | null | null | from marshmallow.validate import *
from .not_blank import not_blank
| 17.25 | 34 | 0.826087 | 10 | 69 | 5.5 | 0.6 | 0.290909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 69 | 3 | 35 | 23 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e2d8a93ec433a1d1a935326c207d14d3becd361 | 41 | py | Python | spikesorters/mountainsort4/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | spikesorters/mountainsort4/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | spikesorters/mountainsort4/__init__.py | tjd2002/spikeforest2 | 2e393564b858b2995aa2ccccd9bd73065681b5de | [
"Apache-2.0"
] | null | null | null | from .mountainsort4 import MountainSort4
| 20.5 | 40 | 0.878049 | 4 | 41 | 9 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0.097561 | 41 | 1 | 41 | 41 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e75c31236252c6f267c5d07c8908cebafcf1f31 | 118 | py | Python | models/modules/__init__.py | mauriliosalg/Seis_Shift-Net_pytorch | 26f777d5e3be9d0828972202a61f0e01e2c04a1a | [
"MIT"
] | 350 | 2018-04-12T15:08:27.000Z | 2022-03-15T09:55:16.000Z | models/modules/__init__.py | qianbenb/Shift-Net_pytorch | c765939bed64b9604e9ea7ce2c14b2b2c69046d4 | [
"MIT"
] | 87 | 2018-07-13T05:15:14.000Z | 2022-02-07T06:20:43.000Z | models/modules/__init__.py | qianbenb/Shift-Net_pytorch | c765939bed64b9604e9ea7ce2c14b2b2c69046d4 | [
"MIT"
] | 88 | 2018-04-23T13:41:15.000Z | 2022-03-29T06:39:59.000Z | from .discrimators import *
from .losses import *
from .modules import *
from .shift_unet import *
from .unet import * | 23.6 | 27 | 0.754237 | 16 | 118 | 5.5 | 0.4375 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161017 | 118 | 5 | 28 | 23.6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2e7daaa12f6492875e6fca9f665d22fcbf0f5be8 | 207 | py | Python | torchqf/__init__.py | simaki/torchqf | e4dfd154c62ccd858847048f77d8c2f82924ae80 | [
"BSD-3-Clause"
] | 7 | 2021-05-18T17:03:10.000Z | 2021-12-01T07:58:41.000Z | torchqf/__init__.py | vishalbelsare/torchqf | e4dfd154c62ccd858847048f77d8c2f82924ae80 | [
"BSD-3-Clause"
] | 27 | 2021-05-18T03:54:17.000Z | 2022-01-31T15:16:16.000Z | torchqf/__init__.py | vishalbelsare/torchqf | e4dfd154c62ccd858847048f77d8c2f82924ae80 | [
"BSD-3-Clause"
] | 3 | 2021-07-13T12:56:12.000Z | 2021-12-26T23:00:06.000Z | from .functional import compound
from .functional import cumcompound
from .functional import log_return
from .functional import npv
from .functional import pv
from .model import bs
from .tensor import steps
| 25.875 | 35 | 0.830918 | 29 | 207 | 5.896552 | 0.448276 | 0.409357 | 0.584795 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 207 | 7 | 36 | 29.571429 | 0.955307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
cf3896fe1e32ed63cdfd3e211a5ac827a24e061e | 7,310 | py | Python | tests/test_op_binarized_conv2d.py | HephaestusProject/pytorch-binaryconnect | 0a07a524522e993366749a865ae4bdf927cea3b5 | [
"MIT"
] | 5 | 2020-07-21T16:19:00.000Z | 2021-08-17T10:32:21.000Z | tests/test_op_binarized_conv2d.py | HephaestusProject/pytorch-binaryconnect | 0a07a524522e993366749a865ae4bdf927cea3b5 | [
"MIT"
] | 22 | 2020-07-18T08:20:59.000Z | 2020-12-22T13:51:30.000Z | tests/test_op_binarized_conv2d.py | HephaestusProject/pytorch-binaryconnect | 0a07a524522e993366749a865ae4bdf927cea3b5 | [
"MIT"
] | null | null | null | import os
import sys
import pytest
import pytorch_lightning
import torch
from src.ops.binarized_conv2d import BinarizedConv2d, binarized_conv2d
@pytest.fixture(scope="module")
def fix_seed():
pytorch_lightning.seed_everything(777)
torch.backends.cudnn.deterministic = True
torch.backends.cudnn.benchmark ... | 28.893281 | 115 | 0.511081 | 1,148 | 7,310 | 3.092334 | 0.066202 | 0.147606 | 0.17493 | 0.229859 | 0.780563 | 0.750986 | 0.730704 | 0.718028 | 0.718028 | 0.710141 | 0 | 0.118015 | 0.277839 | 7,310 | 252 | 116 | 29.007937 | 0.554461 | 0.04186 | 0 | 0.559633 | 0 | 0 | 0.056722 | 0.006001 | 0 | 0 | 0 | 0 | 0.027523 | 1 | 0.027523 | false | 0 | 0.027523 | 0 | 0.059633 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 6 |
cf3ab4fed3ea39a43c915b28030fef70bde13994 | 8,749 | py | Python | fpn_pretrained.py | fregu856/retinanet | 408cc34aac9a30233ac3a23661654997d0cd5641 | [
"MIT"
] | null | null | null | fpn_pretrained.py | fregu856/retinanet | 408cc34aac9a30233ac3a23661654997d0cd5641 | [
"MIT"
] | 1 | 2019-09-15T11:18:53.000Z | 2019-09-15T11:22:59.000Z | fpn_pretrained.py | fregu856/retinanet | 408cc34aac9a30233ac3a23661654997d0cd5641 | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
import torchvision.models as models
class FPN_Bottleneck(nn.Module):
def __init__(self, num_layers):
super(FPN_Bottleneck, self).__init__()
if num_layers == 50:
resnet = models.resnet... | 44.637755 | 174 | 0.597097 | 1,262 | 8,749 | 3.981775 | 0.118067 | 0.083582 | 0.117015 | 0.084577 | 0.895124 | 0.850547 | 0.848955 | 0.846965 | 0.833035 | 0.818706 | 0 | 0.0925 | 0.248714 | 8,749 | 195 | 175 | 44.866667 | 0.671991 | 0.316379 | 0 | 0.5625 | 0 | 0 | 0.086934 | 0.053923 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098214 | false | 0 | 0.044643 | 0.044643 | 0.241071 | 0.044643 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cf60222ac02178e928aa440d8cd51a8d3d650852 | 94 | py | Python | tests/python/myorg/myapi/conftest.py | Aigeruth/pants-webapps | 3a206bb32853a712443a124f0769648ce1139bc9 | [
"MIT"
] | null | null | null | tests/python/myorg/myapi/conftest.py | Aigeruth/pants-webapps | 3a206bb32853a712443a124f0769648ce1139bc9 | [
"MIT"
] | null | null | null | tests/python/myorg/myapi/conftest.py | Aigeruth/pants-webapps | 3a206bb32853a712443a124f0769648ce1139bc9 | [
"MIT"
] | null | null | null | import pytest
from myorg.myapi.app import myapi
@pytest.fixture
def app():
return myapi
| 11.75 | 33 | 0.744681 | 14 | 94 | 5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 94 | 7 | 34 | 13.428571 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
d87e5168dc02d37f5cb769960e572be723a6d4cb | 34 | py | Python | fpgaedu/subcommands/__init__.py | fpgaedu/fpgaedu | da7b0c1871d8172243ee77156df8e6c8bb1006d1 | [
"Apache-2.0"
] | null | null | null | fpgaedu/subcommands/__init__.py | fpgaedu/fpgaedu | da7b0c1871d8172243ee77156df8e6c8bb1006d1 | [
"Apache-2.0"
] | null | null | null | fpgaedu/subcommands/__init__.py | fpgaedu/fpgaedu | da7b0c1871d8172243ee77156df8e6c8bb1006d1 | [
"Apache-2.0"
] | null | null | null | from .shell import ShellSubcommand | 34 | 34 | 0.882353 | 4 | 34 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.967742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
9972f32f56f1d951bd81b7d51ca5047a1e3d5369 | 162 | py | Python | miscellanies/parser/txt.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 143 | 2021-12-03T02:33:36.000Z | 2022-03-29T00:01:48.000Z | miscellanies/parser/txt.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 33 | 2021-12-03T10:32:05.000Z | 2022-03-31T02:13:55.000Z | miscellanies/parser/txt.py | zhangzhengde0225/SwinTrack | 526be17f8ef266cb924c6939bd8dda23e9b73249 | [
"MIT"
] | 24 | 2021-12-04T06:46:42.000Z | 2022-03-30T07:57:47.000Z | import numpy as np
def load_numpy_array_from_txt(path: str, dtype=np.float, delimiter: str=None):
return np.loadtxt(path, dtype=dtype, delimiter=delimiter)
| 27 | 78 | 0.771605 | 26 | 162 | 4.653846 | 0.653846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 162 | 5 | 79 | 32.4 | 0.852113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
99a1dcd4ea82317dd1d180d73b4ebb6d1c745f56 | 3,488 | py | Python | tests/validators/test_capacity_per_plant_unit_validator.py | NOWUM/EnSysMod | 18c8a2198db3510e667c1f0298d00a3dfcb0aab7 | [
"MIT"
] | 1 | 2021-12-10T19:41:01.000Z | 2021-12-10T19:41:01.000Z | tests/validators/test_capacity_per_plant_unit_validator.py | NOWUM/EnSysMod | 18c8a2198db3510e667c1f0298d00a3dfcb0aab7 | [
"MIT"
] | 83 | 2021-10-20T22:54:28.000Z | 2022-03-24T19:07:06.000Z | tests/validators/test_capacity_per_plant_unit_validator.py | NOWUM/EnSysMod | 18c8a2198db3510e667c1f0298d00a3dfcb0aab7 | [
"MIT"
] | null | null | null | from typing import Type, List, Tuple, Dict, Any
import pytest
from pydantic import BaseModel, ValidationError
from ensysmod.model import EnergyComponentType
from ensysmod.schemas import EnergyComponentUpdate, EnergyComponentCreate
schemas_with_capacity_per_plant_unit_required: List[Tuple[Type[BaseModel], Dict[str, A... | 41.52381 | 132 | 0.741112 | 492 | 3,488 | 4.971545 | 0.148374 | 0.143908 | 0.209321 | 0.237122 | 0.817661 | 0.809485 | 0.785773 | 0.692559 | 0.673753 | 0.657809 | 0 | 0.008278 | 0.134174 | 3,488 | 83 | 133 | 42.024096 | 0.801656 | 0.101491 | 0 | 0.444444 | 0 | 0 | 0.114032 | 0.022675 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.133333 | false | 0 | 0.111111 | 0 | 0.244444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41d9aa5a26358f9468c2875169172ec3fda36df1 | 173 | py | Python | forager_server/forager_server_api/apps.py | jeremyephron/forager | 6db1590686e0e34b2e42ff5deb70f62fcee73d7d | [
"MIT"
] | 1 | 2020-12-01T23:25:58.000Z | 2020-12-01T23:25:58.000Z | forager_server/forager_server_api/apps.py | jeremyephron/forager | 6db1590686e0e34b2e42ff5deb70f62fcee73d7d | [
"MIT"
] | 2 | 2020-10-07T01:03:06.000Z | 2020-10-12T19:08:55.000Z | forager_server/forager_server_api/apps.py | jeremyephron/forager | 6db1590686e0e34b2e42ff5deb70f62fcee73d7d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ForagerServerApiConfig(AppConfig):
name = 'forager_server_api'
def ready(self):
import forager_server_api.signals
| 19.222222 | 41 | 0.751445 | 20 | 173 | 6.3 | 0.75 | 0.206349 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184971 | 173 | 8 | 42 | 21.625 | 0.893617 | 0 | 0 | 0 | 0 | 0 | 0.104046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
41ea86a2dd91eb586e723d9f432a431247a311ac | 6,891 | py | Python | backend/wod_board/tests/routers/test_goal.py | GuillaumeOj/P13-WOD-Board | 36df7979e63c354507edb56eabdfc548b1964d08 | [
"MIT"
] | null | null | null | backend/wod_board/tests/routers/test_goal.py | GuillaumeOj/P13-WOD-Board | 36df7979e63c354507edb56eabdfc548b1964d08 | [
"MIT"
] | 82 | 2021-01-17T18:12:23.000Z | 2021-06-12T21:46:49.000Z | backend/wod_board/tests/routers/test_goal.py | GuillaumeOj/WodBoard | 1ac12404f6094909c9bf116bcaf6ccd60e85bc00 | [
"MIT"
] | null | null | null | import pytest
from wod_board.models import goal
from wod_board.schemas import goal_schemas
@pytest.mark.asyncio
async def test_create_goal(db, client, db_round, db_movement, token, token_admin):
assert db.query(goal.Goal).count() == 0
goal_json = {
"movementId": db_movement.id,
"roundId": db... | 33.289855 | 87 | 0.608475 | 843 | 6,891 | 4.827995 | 0.094899 | 0.116953 | 0.079361 | 0.100246 | 0.917199 | 0.850369 | 0.814005 | 0.793857 | 0.764128 | 0.741032 | 0 | 0.018752 | 0.24162 | 6,891 | 206 | 88 | 33.451456 | 0.760046 | 0 | 0 | 0.683333 | 0 | 0 | 0.22943 | 0.046583 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0 | false | 0 | 0.016667 | 0 | 0.016667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41f422a48cb461ef4a68004dbae3e0a8bdd124b5 | 2,553 | py | Python | epytope/Data/pssms/smm/mat/B_07_02_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/B_07_02_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/B_07_02_10.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | B_07_02_10 = {0: {'A': -0.177, 'C': -0.499, 'E': 0.513, 'D': 1.283, 'G': -0.247, 'F': -0.204, 'I': 0.109, 'H': -0.128, 'K': -0.402, 'M': -0.023, 'L': -0.047, 'N': 0.065, 'Q': 0.113, 'P': 0.605, 'S': -0.323, 'R': -0.745, 'T': -0.156, 'W': 0.381, 'V': 0.125, 'Y': -0.243}, 1: {'A': -0.02, 'C': 0.0, 'E': 0.505, 'D': 0.0, '... | 2,553 | 2,553 | 0.392479 | 618 | 2,553 | 1.616505 | 0.286408 | 0.02002 | 0.01001 | 0.012012 | 0.094094 | 0 | 0 | 0 | 0 | 0 | 0 | 0.371669 | 0.162162 | 2,553 | 1 | 2,553 | 2,553 | 0.095372 | 0 | 0 | 0 | 0 | 0 | 0.079483 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
41fb148ffd38d0601c72b12643b0970ccbfa153e | 202 | py | Python | python/models/yolo.py | lindsayshuo/yolov5_TRT_C-_python_api | 29f7a9f1a3eda0c99fb843cfe0689b8e1e1f0bac | [
"Info-ZIP"
] | 5 | 2021-10-09T05:57:57.000Z | 2022-03-22T23:11:32.000Z | python/models/yolo.py | lindsayshuo/yolov5_TRT_C-_python_api | 29f7a9f1a3eda0c99fb843cfe0689b8e1e1f0bac | [
"Info-ZIP"
] | null | null | null | python/models/yolo.py | lindsayshuo/yolov5_TRT_C-_python_api | 29f7a9f1a3eda0c99fb843cfe0689b8e1e1f0bac | [
"Info-ZIP"
] | null | null | null | from models.common import *
class Detect(nn.Module):
def __init__(self):
super(Detect, self).__init__()
class Model(nn.Module):
def __init__(self):
super(Model, self).__init__()
| 25.25 | 38 | 0.663366 | 26 | 202 | 4.538462 | 0.5 | 0.135593 | 0.186441 | 0.254237 | 0.40678 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19802 | 202 | 7 | 39 | 28.857143 | 0.728395 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
51161c8833d60abe7a4cdbfb000a77d8caea721f | 220 | py | Python | ports/sysutils/accountsservice/dragonfly/patch-meson_post_install.py | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/sysutils/accountsservice/dragonfly/patch-meson_post_install.py | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/sysutils/accountsservice/dragonfly/patch-meson_post_install.py | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- meson_post_install.py.orig 2021-07-29 19:16:51.295622000 +0200
+++ meson_post_install.py 2021-07-29 19:16:59.705396000 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python3.8
import os
import sys
| 24.444444 | 66 | 0.690909 | 42 | 220 | 3.52381 | 0.595238 | 0.121622 | 0.216216 | 0.243243 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0.314433 | 0.118182 | 220 | 8 | 67 | 27.5 | 0.448454 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.285714 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 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 | 6 |
5134bcae81faace8e1ecccde9d17611d2fa953bc | 35 | py | Python | pycroscopy/learn/ml/__init__.py | pycroscopy/pyCroscopy | c187d456a4063566b6ac2597b1ada2791200002b | [
"MIT"
] | 1 | 2016-06-08T21:07:14.000Z | 2016-06-08T21:07:14.000Z | pycroscopy/learn/ml/__init__.py | pycroscopy/pyCroscopy | c187d456a4063566b6ac2597b1ada2791200002b | [
"MIT"
] | null | null | null | pycroscopy/learn/ml/__init__.py | pycroscopy/pyCroscopy | c187d456a4063566b6ac2597b1ada2791200002b | [
"MIT"
] | null | null | null | from .decompose import TensorFactor | 35 | 35 | 0.885714 | 4 | 35 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 35 | 1 | 35 | 35 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5139f8ceb6fc91699c5cdf125f5d6d099172789e | 283 | py | Python | backend/app/utils/token.py | luccasPh/gobarber | 3bc84c5098b534352ef794428ffb7b937bd3bbd6 | [
"MIT"
] | 1 | 2021-05-05T15:43:25.000Z | 2021-05-05T15:43:25.000Z | backend/app/utils/token.py | luccasPh/gobarber | 3bc84c5098b534352ef794428ffb7b937bd3bbd6 | [
"MIT"
] | null | null | null | backend/app/utils/token.py | luccasPh/gobarber | 3bc84c5098b534352ef794428ffb7b937bd3bbd6 | [
"MIT"
] | null | null | null | import jwt
from app.core.config import settings
def encode_payload(payload: dict) -> bytes:
return jwt.encode(payload, settings.AUTH_SECRET_KEY, algorithm='HS256')
def decode_token(token: str) -> dict:
return jwt.decode(token, settings.AUTH_SECRET_KEY, algorithm='HS256')
| 28.3 | 75 | 0.763251 | 40 | 283 | 5.25 | 0.525 | 0.12381 | 0.171429 | 0.2 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.024194 | 0.123675 | 283 | 9 | 76 | 31.444444 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.035336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 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 | 1 | 1 | 0 | 0 | 6 |
513efa9b101813ce70d46b0fc3f2533ab51511e5 | 37 | py | Python | inference/models/__init__.py | Benjamin-deLaverny/RootNav-2.0 | 14b6d7353687acf640e5efbd224a35d9131e7275 | [
"BSD-3-Clause"
] | 23 | 2019-07-25T10:15:20.000Z | 2022-01-26T03:28:56.000Z | inference/models/__init__.py | rootnav2/RootNav-2.0 | 3e973c0f7fc34b3938a2294e858d1a0de76e9f0f | [
"BSD-3-Clause"
] | 7 | 2019-08-07T15:56:26.000Z | 2022-01-13T01:28:22.000Z | inference/models/__init__.py | rootnav2/RootNav-2.0 | 3e973c0f7fc34b3938a2294e858d1a0de76e9f0f | [
"BSD-3-Clause"
] | 11 | 2019-07-25T10:15:25.000Z | 2022-02-15T09:14:49.000Z | from .model_loader import ModelLoader | 37 | 37 | 0.891892 | 5 | 37 | 6.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 1 | 37 | 37 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5146d3c65138983c6d992831aab4e203852fb373 | 162 | py | Python | plots/__main__.py | evansosenko/aps-spin-lifetime-plots | d73d5665e77ef8871ce3f17289efc9102465f625 | [
"MIT"
] | null | null | null | plots/__main__.py | evansosenko/aps-spin-lifetime-plots | d73d5665e77ef8871ce3f17289efc9102465f625 | [
"MIT"
] | null | null | null | plots/__main__.py | evansosenko/aps-spin-lifetime-plots | d73d5665e77ef8871ce3f17289efc9102465f625 | [
"MIT"
] | null | null | null | import os
import shutil
if __name__ == '__main__':
if os.path.isdir('build'): shutil.rmtree('build')
if not os.path.isdir('build'): os.makedirs('build')
| 23.142857 | 55 | 0.67284 | 24 | 162 | 4.208333 | 0.5 | 0.118812 | 0.217822 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 162 | 6 | 56 | 27 | 0.731884 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
5163f9e6f1f8341072251f138096845d82ca0872 | 144 | py | Python | ambra_sdk/service/entrypoints/dicomdata.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/dicomdata.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | ambra_sdk/service/entrypoints/dicomdata.py | dyens/sdk-python | 24bf05268af2832c70120b84fd53bf44862cffec | [
"Apache-2.0"
] | null | null | null | from ambra_sdk.service.entrypoints.generated.dicomdata import \
Dicomdata as GDicomdata
class Dicomdata(GDicomdata):
"""Dicomdata."""
| 20.571429 | 63 | 0.756944 | 15 | 144 | 7.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 6 | 64 | 24 | 0.870968 | 0.069444 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5abbf9c199238b2eced4c8df710d056463651ff3 | 1,274 | py | Python | tests/test_load.py | POSTECH-CVLab/Geometric-Primitives | e4b16d8930f4a9d1c906d06255988d02f54a6deb | [
"MIT"
] | 1 | 2022-03-16T13:01:33.000Z | 2022-03-16T13:01:33.000Z | tests/test_load.py | POSTECH-CVLab/Geometric-Primitives | e4b16d8930f4a9d1c906d06255988d02f54a6deb | [
"MIT"
] | null | null | null | tests/test_load.py | POSTECH-CVLab/Geometric-Primitives | e4b16d8930f4a9d1c906d06255988d02f54a6deb | [
"MIT"
] | null | null | null | import pytest
def test_load_geometric_primitives():
import geometric_primitives
def test_load_brick():
import geometric_primitives.brick
from geometric_primitives import brick
def test_load_bricks():
import geometric_primitives.bricks
from geometric_primitives import bricks
def test_load_voxels... | 27.695652 | 53 | 0.820251 | 168 | 1,274 | 5.815476 | 0.113095 | 0.42784 | 0.123849 | 0.237462 | 0.332651 | 0.079836 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.142857 | 1,274 | 45 | 54 | 28.311111 | 0.8837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5abc6c631aad38f3acb7287dcaa3c05938cf66c1 | 987 | py | Python | volume_provider/credentials/faas.py | bento-dbaas/volume-provider | eb945c36dd68696f71849adbfa406727e7331688 | [
"BSD-3-Clause"
] | 1 | 2021-02-19T21:59:29.000Z | 2021-02-19T21:59:29.000Z | volume_provider/credentials/faas.py | bento-dbaas/volume-provider | eb945c36dd68696f71849adbfa406727e7331688 | [
"BSD-3-Clause"
] | 16 | 2021-02-19T21:59:33.000Z | 2022-03-29T19:36:11.000Z | volume_provider/credentials/faas.py | bento-dbaas/volume-provider | eb945c36dd68696f71849adbfa406727e7331688 | [
"BSD-3-Clause"
] | null | null | null | from volume_provider.credentials.base import CredentialBase, CredentialAdd
class CredentialFaaS(CredentialBase):
@property
def user(self):
return self.content['user']
@property
def password(self):
return self.content['password']
@property
def endpoint(self):
return s... | 21 | 74 | 0.633232 | 104 | 987 | 5.875 | 0.278846 | 0.162029 | 0.183306 | 0.274959 | 0.075286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.255319 | 987 | 46 | 75 | 21.456522 | 0.831293 | 0 | 0 | 0.272727 | 0 | 0 | 0.135765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.090909 | 0.030303 | 0.272727 | 0.636364 | 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 | 1 | 0 | 0 | 6 |
85096f92f97c73da34cbafc51bb98a5e8bde0f3e | 71 | py | Python | fast3tree/__init__.py | cosmicshear/fast3tree | 052e100216a6ab22b5adfd6f6b2c54fda87c0ec5 | [
"MIT"
] | null | null | null | fast3tree/__init__.py | cosmicshear/fast3tree | 052e100216a6ab22b5adfd6f6b2c54fda87c0ec5 | [
"MIT"
] | null | null | null | fast3tree/__init__.py | cosmicshear/fast3tree | 052e100216a6ab22b5adfd6f6b2c54fda87c0ec5 | [
"MIT"
] | null | null | null | from .core import *
from .fof import *
from .version import __version__ | 23.666667 | 32 | 0.774648 | 10 | 71 | 5.1 | 0.5 | 0.392157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 71 | 3 | 32 | 23.666667 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51743c05aaae0b795fc253d2d8355eee64a3ffb9 | 646 | py | Python | src/ToolChainSCDG/procedures/linux/custom_package/sigprocmask.py | AnonymousSEMA/SEMA-ToolChain | 05d6a7e43e10d4b1f6c5dfb70fbabeab3d4daf82 | [
"BSD-2-Clause"
] | null | null | null | src/ToolChainSCDG/procedures/linux/custom_package/sigprocmask.py | AnonymousSEMA/SEMA-ToolChain | 05d6a7e43e10d4b1f6c5dfb70fbabeab3d4daf82 | [
"BSD-2-Clause"
] | null | null | null | src/ToolChainSCDG/procedures/linux/custom_package/sigprocmask.py | AnonymousSEMA/SEMA-ToolChain | 05d6a7e43e10d4b1f6c5dfb70fbabeab3d4daf82 | [
"BSD-2-Clause"
] | null | null | null | import angr
class sigprocmask(angr.SimProcedure):
def run(self, how, set_, oldset):
# self.state.memory.store(oldset, self.state.posix.sigmask(sigsetsize=sigsetsize), condition=oldset != 0)
# self.state.posix.sigprocmask(how, self.state.memory.load(set_, sigsetsize), sigsetsize, valid_ptr=set_!=0)... | 58.727273 | 284 | 0.718266 | 94 | 646 | 4.861702 | 0.382979 | 0.275711 | 0.183807 | 0.111597 | 0.131291 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007105 | 0.128483 | 646 | 10 | 285 | 64.6 | 0.804618 | 0.770898 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
51a7118986d389688590683565b00533a8047370 | 205 | py | Python | python/tvm/relay/annotation.py | weberlo/tvm | e4b9f986dab8c48ba109a52106565fc4be6b67c4 | [
"Apache-2.0"
] | 2 | 2020-06-24T03:16:34.000Z | 2020-06-24T03:16:36.000Z | python/tvm/relay/annotation.py | weberlo/tvm | e4b9f986dab8c48ba109a52106565fc4be6b67c4 | [
"Apache-2.0"
] | 4 | 2020-12-04T21:00:38.000Z | 2022-01-22T12:49:30.000Z | python/tvm/relay/annotation.py | weberlo/tvm | e4b9f986dab8c48ba109a52106565fc4be6b67c4 | [
"Apache-2.0"
] | 1 | 2020-02-09T10:42:31.000Z | 2020-02-09T10:42:31.000Z | # pylint: disable=wildcard-import, unused-import, unused-wildcard-import
"""Annotation related operators."""
# Re-export in a specific file name so that autodoc can pick it up
from .op.annotation import *
| 41 | 72 | 0.770732 | 30 | 205 | 5.266667 | 0.8 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126829 | 205 | 4 | 73 | 51.25 | 0.882682 | 0.809756 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
51c4f21cd806b0dea4214d9ab6b6018c573fecd4 | 165 | py | Python | sim/__init__.py | ayoung11/pySuStaIn | 13e924a98f28f0f2d47983f4f265070064ac791a | [
"MIT"
] | 52 | 2019-03-19T21:50:41.000Z | 2022-03-29T15:34:55.000Z | sim/__init__.py | ElsevierSoftwareX/SOFTX-D-21-00098 | 225e083eff46277016104ad0191b79115b9de478 | [
"MIT"
] | 24 | 2018-11-28T14:10:42.000Z | 2022-03-23T11:13:01.000Z | sim/__init__.py | ElsevierSoftwareX/SOFTX-D-21-00098 | 225e083eff46277016104ad0191b79115b9de478 | [
"MIT"
] | 30 | 2018-11-13T16:19:18.000Z | 2022-03-29T14:38:59.000Z | # Authors: Leon Aksman <l.aksman@ucl.ac.uk>
# License: TBC
from simfuncs import *
from ..pySuStaIn.MixtureSustain import *
from ..pySuStaIn.ZscoreSustain import *
| 20.625 | 43 | 0.751515 | 21 | 165 | 5.904762 | 0.714286 | 0.16129 | 0.306452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 165 | 7 | 44 | 23.571429 | 0.867133 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a40a918bb0f444ebf6bc238ba2ebf2e41f61db19 | 92,559 | py | Python | backend/test_game.py | unicorn1337x/stopthevirus | 7a67d8a6a6d0cbc5f58b45b605aeef0c5c407304 | [
"MIT"
] | 9 | 2020-03-30T00:20:28.000Z | 2020-11-29T07:24:02.000Z | backend/test_game.py | unicorn1337x/stopthevirus | 7a67d8a6a6d0cbc5f58b45b605aeef0c5c407304 | [
"MIT"
] | 109 | 2020-03-28T20:51:48.000Z | 2020-12-21T11:01:15.000Z | backend/test_game.py | unicorn1337x/stopthevirus | 7a67d8a6a6d0cbc5f58b45b605aeef0c5c407304 | [
"MIT"
] | 4 | 2020-04-01T03:05:56.000Z | 2020-11-29T07:24:14.000Z | import unittest
import mock
import types
from game import Game
from game import GameOptions
from game_engine.engine import Engine
from game_engine.database import Database, Data
from game_engine.database import Player, Team, Tribe
from game_engine.database import Challenge, Entry, Vote, Ballot
import attr
from typing i... | 51.45025 | 145 | 0.556045 | 12,990 | 92,559 | 3.78291 | 0.027098 | 0.057835 | 0.062027 | 0.031746 | 0.860724 | 0.841351 | 0.817114 | 0.799654 | 0.78024 | 0.74827 | 0 | 0.054852 | 0.276148 | 92,559 | 1,798 | 146 | 51.478865 | 0.678592 | 0.063171 | 0 | 0.5803 | 0 | 0 | 0.165334 | 0 | 0 | 0 | 0 | 0.000556 | 0.033547 | 1 | 0.087081 | false | 0.00571 | 0.012848 | 0.007138 | 0.120628 | 0.002141 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
a40c00c17ef76b2826c55c8ef3ffc21c477e3c30 | 298 | py | Python | people/datasets/__init__.py | dluvizon/3d-pose-consensus | 7a829d5713d2c45c6b265c9886add0b69e0050a8 | [
"MIT"
] | 5 | 2020-05-11T14:18:12.000Z | 2022-03-10T12:10:17.000Z | people/datasets/__init__.py | dluvizon/3d-pose-consensus | 7a829d5713d2c45c6b265c9886add0b69e0050a8 | [
"MIT"
] | null | null | null | people/datasets/__init__.py | dluvizon/3d-pose-consensus | 7a829d5713d2c45c6b265c9886add0b69e0050a8 | [
"MIT"
] | null | null | null | from .coco import Coco
from .human36m import Human36M
from .human36m import Human36MTest
from .mpii import MPII
from .mpii3dhp import MpiInf3D
from .generic import project_gt_poses_to_anchors
from .generic import inverse_project_2dposes_from_anchors
from .generic import compute_anchors_reference
| 29.8 | 57 | 0.862416 | 42 | 298 | 5.880952 | 0.428571 | 0.133603 | 0.206478 | 0.194332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041509 | 0.110738 | 298 | 9 | 58 | 33.111111 | 0.890566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
cf9d760706d4273dd70ace7b117a929ef4b2bbbf | 259,537 | py | Python | instances/passenger_demand/pas-20210422-1717-int6000000000000001e-1/41.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int6000000000000001e-1/41.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null | instances/passenger_demand/pas-20210422-1717-int6000000000000001e-1/41.py | LHcau/scheduling-shared-passenger-and-freight-transport-on-a-fixed-infrastructure | bba1e6af5bc8d9deaa2dc3b83f6fe9ddf15d2a11 | [
"BSD-3-Clause"
] | null | null | null |
"""
PASSENGERS
"""
numPassengers = 11504
passenger_arriving = (
(2, 6, 3, 3, 0, 1, 2, 0, 1, 2, 0, 0, 0, 4, 1, 1, 1, 2, 2, 1, 0, 2, 1, 0, 0, 0), # 0
(4, 3, 2, 1, 0, 1, 2, 0, 1, 2, 1, 1, 0, 3, 4, 5, 2, 0, 2, 1, 0, 2, 3, 1, 0, 0), # 1
(5, 4, 4, 3, 2, 2, 2, 2, 0, 2, 0, 2, 0, 7, 2, 4, 2, 2, 3, 0, 0, 2, 1, 0, 0, 0), ... | 277.579679 | 500 | 0.770653 | 32,987 | 259,537 | 6.063055 | 0.205778 | 0.356396 | 0.341997 | 0.647994 | 0.382841 | 0.371766 | 0.365581 | 0.362516 | 0.361876 | 0.361826 | 0 | 0.850598 | 0.0953 | 259,537 | 934 | 501 | 277.876874 | 0.001188 | 0.015454 | 0 | 0.200873 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
cff4e4986be3b644fefb038b92d171b8bc465c3c | 15,187 | py | Python | robot/install/lib/python2.7/dist-packages/intera_core_msgs/msg/_IONodeStatus.py | satvu/TeachBot | 5888aea544fea952afa36c097a597c5d575c8d6d | [
"BSD-3-Clause"
] | null | null | null | robot/install/lib/python2.7/dist-packages/intera_core_msgs/msg/_IONodeStatus.py | satvu/TeachBot | 5888aea544fea952afa36c097a597c5d575c8d6d | [
"BSD-3-Clause"
] | null | null | null | robot/install/lib/python2.7/dist-packages/intera_core_msgs/msg/_IONodeStatus.py | satvu/TeachBot | 5888aea544fea952afa36c097a597c5d575c8d6d | [
"BSD-3-Clause"
] | null | null | null | # This Python file uses the following encoding: utf-8
"""autogenerated by genpy from intera_core_msgs/IONodeStatus.msg. Do not edit."""
import sys
python3 = True if sys.hexversion > 0x03000000 else False
import genpy
import struct
import genpy
import intera_core_msgs.msg
class IONodeStatus(genpy.Message):
_md5sum =... | 32.381663 | 145 | 0.569039 | 2,015 | 15,187 | 4.131514 | 0.101241 | 0.092252 | 0.073994 | 0.057658 | 0.74967 | 0.74967 | 0.735255 | 0.726366 | 0.694895 | 0.682643 | 0 | 0.017586 | 0.292355 | 15,187 | 468 | 146 | 32.450855 | 0.757048 | 0.083032 | 0 | 0.80622 | 1 | 0 | 0.123021 | 0.025418 | 0 | 0 | 0.000726 | 0 | 0 | 1 | 0.019139 | false | 0 | 0.011962 | 0 | 0.059809 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
320f9dce4a70ab49308f49f9be6dd55f7d2683b7 | 21 | py | Python | pointsbot/__init__.py | Watchful1/PointsBot | 56550b82bd12ff41f1e3a92bf6c2da7562654fea | [
"MIT"
] | 4 | 2020-03-10T15:06:23.000Z | 2021-07-27T19:11:33.000Z | pointsbot/__init__.py | Watchful1/PointsBot | 56550b82bd12ff41f1e3a92bf6c2da7562654fea | [
"MIT"
] | 3 | 2020-12-28T23:47:33.000Z | 2021-11-02T18:56:52.000Z | pointsbot/__init__.py | Watchful1/PointsBot | 56550b82bd12ff41f1e3a92bf6c2da7562654fea | [
"MIT"
] | 2 | 2020-12-13T20:37:51.000Z | 2021-07-31T02:57:09.000Z | from .bot import run
| 10.5 | 20 | 0.761905 | 4 | 21 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 21 | 1 | 21 | 21 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c7a161bf08ce8f7e9810d791fd59a12bbec5998 | 2,951 | py | Python | firecares/firestation/migrations/0010_auto_20150812_1225.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 12 | 2016-01-30T02:28:35.000Z | 2019-05-29T15:49:56.000Z | firecares/firestation/migrations/0010_auto_20150812_1225.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 455 | 2015-07-27T20:21:56.000Z | 2022-03-11T23:26:20.000Z | firecares/firestation/migrations/0010_auto_20150812_1225.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 14 | 2015-07-29T09:45:53.000Z | 2020-10-21T20:03:17.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import transaction
class Migration(migrations.Migration):
dependencies = [
('firestation', '0009_auto_20150807_1552'),
]
operations = [
migrations.AddField(
... | 45.4 | 176 | 0.704846 | 336 | 2,951 | 5.863095 | 0.166667 | 0.105076 | 0.163452 | 0.095939 | 0.862437 | 0.830457 | 0.770558 | 0.770558 | 0.770558 | 0.708122 | 0 | 0.015731 | 0.202982 | 2,951 | 64 | 177 | 46.109375 | 0.821854 | 0.007116 | 0 | 0.411765 | 0 | 0 | 0.427596 | 0.282445 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c84756f6ca7519baff95e7738549095c5b3a1c9 | 7,227 | py | Python | apps/user_accounts/views.py | viallymboma/mlm_osw_network | d46a938f4a1295b59e863105926f9c249de00f9e | [
"MIT"
] | null | null | null | apps/user_accounts/views.py | viallymboma/mlm_osw_network | d46a938f4a1295b59e863105926f9c249de00f9e | [
"MIT"
] | null | null | null | apps/user_accounts/views.py | viallymboma/mlm_osw_network | d46a938f4a1295b59e863105926f9c249de00f9e | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.http import JsonResponse, HttpResponse, HttpResponseRedirect
from django.contrib.auth.decorators import login_required
from django.contrib.auth import logout
import json
from django.template import loader
# Create your views here.
# @login_required
def admin_dashboard(r... | 32.701357 | 87 | 0.583506 | 718 | 7,227 | 5.775766 | 0.20195 | 0.06366 | 0.047745 | 0.055703 | 0.79455 | 0.7796 | 0.770919 | 0.759103 | 0.742706 | 0.736918 | 0 | 0.000402 | 0.311886 | 7,227 | 220 | 88 | 32.85 | 0.833501 | 0.189567 | 0 | 0.75 | 0 | 0 | 0.202371 | 0.048961 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.039474 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
5c8d7a1167e3c7437d9cb953c3375480d84105d8 | 173 | py | Python | netmiko/mrv/__init__.py | chrisotter92/netmiko | 013135c9ebe6a36f8d6ab0c61d519275c47e7626 | [
"MIT"
] | null | null | null | netmiko/mrv/__init__.py | chrisotter92/netmiko | 013135c9ebe6a36f8d6ab0c61d519275c47e7626 | [
"MIT"
] | null | null | null | netmiko/mrv/__init__.py | chrisotter92/netmiko | 013135c9ebe6a36f8d6ab0c61d519275c47e7626 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from netmiko.mrv.mrv_lx import MrvLxSSH
from netmiko.mrv.mrv_ssh import MrvOptiswitchSSH
__all__ = ['MrvOptiswitchSSH', 'MrvLxSSH']
| 28.833333 | 48 | 0.83237 | 22 | 173 | 6.045455 | 0.545455 | 0.165414 | 0.210526 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098266 | 173 | 5 | 49 | 34.6 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 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 | 1 | 0 | 0 | 6 |
5cadd84cfeba3a99d6e9e488af886d64ba397636 | 8,032 | py | Python | discovery-provider/integration_tests/tasks/test_index_aggregate_monthly_plays.py | lucylow/audius-protocol | 5ef93462f9dc7df01a15877c02ca79b9a7d99236 | [
"Apache-2.0"
] | 1 | 2022-03-27T21:40:36.000Z | 2022-03-27T21:40:36.000Z | discovery-provider/integration_tests/tasks/test_index_aggregate_monthly_plays.py | abelxmendoza/audius-protocol | 33757e1b722a4be97960086b98b26ae3a75ee56b | [
"Apache-2.0"
] | null | null | null | discovery-provider/integration_tests/tasks/test_index_aggregate_monthly_plays.py | abelxmendoza/audius-protocol | 33757e1b722a4be97960086b98b26ae3a75ee56b | [
"Apache-2.0"
] | null | null | null | import logging
from datetime import date, timedelta
from typing import List
from integration_tests.utils import populate_mock_db
from src.models import AggregateMonthlyPlays, IndexingCheckpoints
from src.tasks.index_aggregate_monthly_plays import (
AGGREGATE_MONTHLY_PLAYS_TABLE_NAME,
_index_aggregate_monthly_p... | 32.257028 | 88 | 0.57744 | 873 | 8,032 | 5.050401 | 0.120275 | 0.097301 | 0.066682 | 0.068043 | 0.833296 | 0.800181 | 0.761624 | 0.748469 | 0.726922 | 0.72284 | 0 | 0.024969 | 0.306897 | 8,032 | 248 | 89 | 32.387097 | 0.76702 | 0.044198 | 0 | 0.580311 | 0 | 0 | 0.089386 | 0.00903 | 0 | 0 | 0 | 0 | 0.202073 | 1 | 0.020725 | false | 0 | 0.036269 | 0 | 0.056995 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a334f6a4d692e6464a774d3c7dcbe4a5a410043 | 107 | py | Python | zenduty/configuration.py | Zenduty/zenduty-python-sdk | 4ae19f45bd9114aadd905a5dc885f5822fdf8098 | [
"MIT"
] | null | null | null | zenduty/configuration.py | Zenduty/zenduty-python-sdk | 4ae19f45bd9114aadd905a5dc885f5822fdf8098 | [
"MIT"
] | null | null | null | zenduty/configuration.py | Zenduty/zenduty-python-sdk | 4ae19f45bd9114aadd905a5dc885f5822fdf8098 | [
"MIT"
] | 4 | 2019-07-05T17:59:59.000Z | 2021-12-06T12:38:07.000Z | class Configuration(object):
def __init__(self,access_token):
self.access_token = access_token
| 26.75 | 40 | 0.738318 | 13 | 107 | 5.538462 | 0.615385 | 0.458333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17757 | 107 | 3 | 41 | 35.666667 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
7a4e8a9d03c4f02bc9bc58ed5182391c8378c7d4 | 206 | py | Python | whatisit/apps/main/context_processors.py | radinformatics/whatisit | 9cfc8924b722678d3b2ca7e5ad77b9254fcb93f3 | [
"MIT"
] | 1 | 2021-06-08T11:08:09.000Z | 2021-06-08T11:08:09.000Z | whatisit/apps/main/context_processors.py | radinformatics/whatisit | 9cfc8924b722678d3b2ca7e5ad77b9254fcb93f3 | [
"MIT"
] | 24 | 2016-10-21T00:55:30.000Z | 2017-01-05T03:13:57.000Z | whatisit/apps/main/context_processors.py | radinformatics/whatisit | 9cfc8924b722678d3b2ca7e5ad77b9254fcb93f3 | [
"MIT"
] | null | null | null | from whatisit.settings import (
DOMAIN_NAME,
DISQUS_NAME
)
def domain_processor(request):
return {'domain': DOMAIN_NAME}
def disqus_processor(request):
return {'DISQUS_NAME': DISQUS_NAME}
| 18.727273 | 39 | 0.73301 | 25 | 206 | 5.76 | 0.44 | 0.208333 | 0.194444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169903 | 206 | 10 | 40 | 20.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0.082524 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.625 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
7a80eac6fd8d838604b59aca2d873e7328db5120 | 28,293 | py | Python | test/sampler_test.py | k-ship/bilby | 916d5c4ee4cdb102f1408bd20bc25fa250ab92f0 | [
"MIT"
] | null | null | null | test/sampler_test.py | k-ship/bilby | 916d5c4ee4cdb102f1408bd20bc25fa250ab92f0 | [
"MIT"
] | null | null | null | test/sampler_test.py | k-ship/bilby | 916d5c4ee4cdb102f1408bd20bc25fa250ab92f0 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
import bilby
from bilby.core import prior
import unittest
from mock import MagicMock
import numpy as np
import os
import shutil
import copy
class TestSampler(unittest.TestCase):
def setUp(self):
likelihood = bilby.core.likelihood.Likelihood()
likelihood.para... | 47.076539 | 117 | 0.592938 | 3,155 | 28,293 | 5.149604 | 0.115372 | 0.071767 | 0.055456 | 0.017234 | 0.813627 | 0.780944 | 0.758725 | 0.738475 | 0.712747 | 0.698037 | 0 | 0.025302 | 0.302937 | 28,293 | 600 | 118 | 47.155 | 0.798499 | 0.009225 | 0 | 0.633136 | 0 | 0 | 0.027547 | 0 | 0 | 0 | 0 | 0 | 0.074951 | 1 | 0.128205 | false | 0 | 0.043393 | 0 | 0.193294 | 0.013807 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7a8fcee3f1d354f4324875d8cc4dd98fc8c204a7 | 37 | py | Python | python/stringcharactorcontinuelength.py | doublechoose/LPL | b231a14d74c2ed96ee2f2e832b388887a6700d7a | [
"MIT"
] | null | null | null | python/stringcharactorcontinuelength.py | doublechoose/LPL | b231a14d74c2ed96ee2f2e832b388887a6700d7a | [
"MIT"
] | null | null | null | python/stringcharactorcontinuelength.py | doublechoose/LPL | b231a14d74c2ed96ee2f2e832b388887a6700d7a | [
"MIT"
] | null | null | null | a = 'alsjglasjglsjgl33r3ljh3h3kvmm'
| 12.333333 | 35 | 0.810811 | 2 | 37 | 15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 0.108108 | 37 | 2 | 36 | 18.5 | 0.757576 | 0 | 0 | 0 | 0 | 0 | 0.805556 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
7aa0979efb606e0c84c9bee90483e524a609688e | 165 | py | Python | Python_Network_Automation_II/chapter16_codes/twilio/credentials.py | yasser296/Python-Projects | eae3598e2d4faf08d9def92c8b417c2e7946c5f4 | [
"MIT"
] | null | null | null | Python_Network_Automation_II/chapter16_codes/twilio/credentials.py | yasser296/Python-Projects | eae3598e2d4faf08d9def92c8b417c2e7946c5f4 | [
"MIT"
] | null | null | null | Python_Network_Automation_II/chapter16_codes/twilio/credentials.py | yasser296/Python-Projects | eae3598e2d4faf08d9def92c8b417c2e7946c5f4 | [
"MIT"
] | null | null | null | account_sid = "ACe9c9ed26425723d4113f026bc87bd6e4"
auth_token = "2407186298268594f576d8fb72e1075b"
my_smartphone = "+201271653370"
twilio_trial = "+19034857225"
| 33 | 51 | 0.818182 | 12 | 165 | 10.916667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.469799 | 0.09697 | 165 | 4 | 52 | 41.25 | 0.409396 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 0.409938 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8f87fd08034b5d828e122d7e296c6ffb12622bde | 64 | py | Python | eth/beacon/types/custody_challenges.py | Bhargavasomu/py-evm | ee8f72d5a70805575a967cde0a43942e1526264e | [
"MIT"
] | null | null | null | eth/beacon/types/custody_challenges.py | Bhargavasomu/py-evm | ee8f72d5a70805575a967cde0a43942e1526264e | [
"MIT"
] | null | null | null | eth/beacon/types/custody_challenges.py | Bhargavasomu/py-evm | ee8f72d5a70805575a967cde0a43942e1526264e | [
"MIT"
] | null | null | null | import rlp
class CustodyChallenge(rlp.Serializable):
pass
| 10.666667 | 41 | 0.765625 | 7 | 64 | 7 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171875 | 64 | 5 | 42 | 12.8 | 0.924528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 6 |
8f9e96c861817fcdf0f6278e81a81a0a8fb38eba | 1,167 | py | Python | valorantrpc/client_api.py | hackertr44/Valorant-Rpc | 7623bd143c239ed9cc1de01c1ce07dd5222d6856 | [
"MIT"
] | 1 | 2021-05-04T22:34:17.000Z | 2021-05-04T22:34:17.000Z | valorantrpc/client_api.py | Shmalle/valorant-rpc | e33aeec887a4e4a35c7aabb18e1b3afd8c1f43dd | [
"MIT"
] | null | null | null | valorantrpc/client_api.py | Shmalle/valorant-rpc | e33aeec887a4e4a35c7aabb18e1b3afd8c1f43dd | [
"MIT"
] | null | null | null | import re
import aiohttp
import asyncio
import requests
import json
import os
from .exceptions import AuthError
from valorantrpc import utils
def get_glz(endpoint,headers):
config = utils.get_config()
client_region = config["region"]
r = requests.get(f'https://glz-{client_region}-1.{client_region}.a.pvp.ne... | 32.416667 | 119 | 0.710368 | 170 | 1,167 | 4.770588 | 0.2 | 0.147965 | 0.069051 | 0.098644 | 0.827374 | 0.827374 | 0.827374 | 0.827374 | 0.827374 | 0.81381 | 0 | 0.002012 | 0.148243 | 1,167 | 36 | 120 | 32.416667 | 0.813883 | 0 | 0 | 0.5 | 0 | 0 | 0.210616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8fac8fa3582d432a38b0488e0bc47b9672f98f64 | 47 | py | Python | Vision.py | Isaac-the-Man/rcjbot2018 | 87f8487280edf9e9a49465e590111187c9cb7c43 | [
"Unlicense"
] | null | null | null | Vision.py | Isaac-the-Man/rcjbot2018 | 87f8487280edf9e9a49465e590111187c9cb7c43 | [
"Unlicense"
] | null | null | null | Vision.py | Isaac-the-Man/rcjbot2018 | 87f8487280edf9e9a49465e590111187c9cb7c43 | [
"Unlicense"
] | null | null | null | import cv2 as cv
print('Vision initialized')
| 9.4 | 27 | 0.744681 | 7 | 47 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.170213 | 47 | 4 | 28 | 11.75 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
8fc5753a7e1242b09baf868eb6081e2b47d88878 | 127 | py | Python | engine/tests/test_swarm_cluster.py | GoContainer/Sweady | 79fd7f0a14d50afbf4406bb57a6bdee082e4f3f5 | [
"MIT"
] | 2 | 2017-04-17T20:42:33.000Z | 2017-04-21T08:06:28.000Z | engine/tests/test_swarm_cluster.py | GoContainer/Sweady | 79fd7f0a14d50afbf4406bb57a6bdee082e4f3f5 | [
"MIT"
] | 10 | 2017-04-14T10:00:33.000Z | 2017-04-26T18:18:44.000Z | engine/tests/test_swarm_cluster.py | Sweady/Sweady | 79fd7f0a14d50afbf4406bb57a6bdee082e4f3f5 | [
"MIT"
] | 3 | 2017-03-21T13:54:45.000Z | 2017-04-26T12:20:35.000Z | # Test Docker Swarm
def test_docker_swarm_enabled(Command):
assert 'Swarm: active' in Command.check_output('docker info') | 25.4 | 65 | 0.771654 | 18 | 127 | 5.222222 | 0.666667 | 0.212766 | 0.319149 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133858 | 127 | 5 | 65 | 25.4 | 0.854545 | 0.133858 | 0 | 0 | 0 | 0 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
890bd26843a4334bb9050f11df10073c1f29064c | 87 | py | Python | a2c_ppo_acktr/algo/__init__.py | fgolemo/pytorch-a2c-ppo-acktr-gail | 366d22b7e6a049fb3de804619050cc6e61af86e2 | [
"MIT"
] | 1 | 2019-07-05T19:57:26.000Z | 2019-07-05T19:57:26.000Z | a2c_ppo_acktr/algo/__init__.py | fgolemo/pytorch-a2c-ppo-acktr-gail | 366d22b7e6a049fb3de804619050cc6e61af86e2 | [
"MIT"
] | 1 | 2020-09-16T13:00:16.000Z | 2020-09-16T13:00:16.000Z | a2c_ppo_acktr/algo/__init__.py | fgolemo/pytorch-a2c-ppo-acktr-gail | 366d22b7e6a049fb3de804619050cc6e61af86e2 | [
"MIT"
] | 3 | 2019-07-07T20:16:27.000Z | 2020-12-23T20:18:18.000Z | from .a2c_acktr import A2C_ACKTR
from .ppo import PPO
from .random import RANDOM_AGENT
| 21.75 | 32 | 0.827586 | 15 | 87 | 4.6 | 0.466667 | 0.231884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.137931 | 87 | 3 | 33 | 29 | 0.893333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
891aa2f5ab95d4a7160231a0e756c2738eb624df | 196 | py | Python | tests/unit/linestring/__init__.py | phuntimes/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | 1 | 2020-11-26T05:58:23.000Z | 2020-11-26T05:58:23.000Z | tests/unit/linestring/__init__.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | tests/unit/linestring/__init__.py | Sean-McVeigh/mongoshapes | f461c67343c32c6b97af8d67a269b4de492d1d71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from mongoshapes import LineString as GeoShape
from mongoshapes import LineStringDict as GeoDict
from mongoengine import LineStringField as GeoField
| 28 | 51 | 0.795918 | 25 | 196 | 6.24 | 0.72 | 0.192308 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005882 | 0.132653 | 196 | 6 | 52 | 32.666667 | 0.911765 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
64ebd3c0163616de5a0ed19b61c06527339a9cbe | 40 | py | Python | mp-tracker/mod/__init__.py | zekroTJA/masterypoints-tracker | 9f68dc3e7d7b1fed17107377e13a40941d158f12 | [
"MIT"
] | null | null | null | mp-tracker/mod/__init__.py | zekroTJA/masterypoints-tracker | 9f68dc3e7d7b1fed17107377e13a40941d158f12 | [
"MIT"
] | null | null | null | mp-tracker/mod/__init__.py | zekroTJA/masterypoints-tracker | 9f68dc3e7d7b1fed17107377e13a40941d158f12 | [
"MIT"
] | null | null | null | # flake8: noqa
from .tracker import *
| 13.333333 | 23 | 0.675 | 5 | 40 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 0.225 | 40 | 2 | 24 | 20 | 0.83871 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8f27f3a050fd6e19fb915ef0fb5a8ca200106442 | 107 | py | Python | sample/helpers.py | JynLeazy/samplemod | 77cbd3085267913220bc530b9b137aef111d0cd5 | [
"BSD-2-Clause"
] | null | null | null | sample/helpers.py | JynLeazy/samplemod | 77cbd3085267913220bc530b9b137aef111d0cd5 | [
"BSD-2-Clause"
] | null | null | null | sample/helpers.py | JynLeazy/samplemod | 77cbd3085267913220bc530b9b137aef111d0cd5 | [
"BSD-2-Clause"
] | null | null | null | """"This module return true if get_answer() """
def get_answer():
"""Get an answer."""
return True
| 21.4 | 47 | 0.616822 | 15 | 107 | 4.266667 | 0.6 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205607 | 107 | 4 | 48 | 26.75 | 0.752941 | 0.514019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 6 |
56fc217ecfd2f8cdeca41ed537007007865ddc72 | 121 | py | Python | setup.py | Berdugo1994/Tweeter-Search-Engine | ff80707d64b792288b877814d79e39c5b5ceb7ad | [
"MIT"
] | null | null | null | setup.py | Berdugo1994/Tweeter-Search-Engine | ff80707d64b792288b877814d79e39c5b5ceb7ad | [
"MIT"
] | null | null | null | setup.py | Berdugo1994/Tweeter-Search-Engine | ff80707d64b792288b877814d79e39c5b5ceb7ad | [
"MIT"
] | null | null | null | import nltk
import search_engine_best
nltk.download('stopwords')
nltk.download('punkt')
search_engine_best.main() | 17.285714 | 27 | 0.77686 | 16 | 121 | 5.625 | 0.5625 | 0.266667 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 7 | 28 | 17.285714 | 0.841122 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
85566c7374f95a82046c84931e491ee9eaa1ba3f | 182 | py | Python | cvworkflow/cvfunctions.py | ktoth17/contrast-variation-rsoxs | 0fd4c9aa6c3415949f1835616bec177c6525155a | [
"BSD-3-Clause"
] | null | null | null | cvworkflow/cvfunctions.py | ktoth17/contrast-variation-rsoxs | 0fd4c9aa6c3415949f1835616bec177c6525155a | [
"BSD-3-Clause"
] | null | null | null | cvworkflow/cvfunctions.py | ktoth17/contrast-variation-rsoxs | 0fd4c9aa6c3415949f1835616bec177c6525155a | [
"BSD-3-Clause"
] | null | null | null | # cvworkflow/cvfunctions.py
import numpy as np
import pandas as pd
import seaborn as sns
from matplotlib.pyplot import *
import matplotlib.pyplot as plt
import matplotlib.cm as cm
| 18.2 | 31 | 0.807692 | 29 | 182 | 5.068966 | 0.551724 | 0.217687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 9 | 32 | 20.222222 | 0.954545 | 0.137363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8594579b85ab7e1471f8c5919f21575813a92133 | 450 | py | Python | data_mine/utils/__init__.py | SebiSebi/DataMine | d2dd9ed7e2608918dd2908fa29238f600c768eb3 | [
"Apache-2.0"
] | 9 | 2020-07-01T21:53:36.000Z | 2020-12-15T08:49:08.000Z | data_mine/utils/__init__.py | ChewKokWah/DataMine | d2dd9ed7e2608918dd2908fa29238f600c768eb3 | [
"Apache-2.0"
] | 7 | 2020-04-04T19:30:16.000Z | 2020-06-26T12:18:10.000Z | data_mine/utils/__init__.py | ChewKokWah/DataMine | d2dd9ed7e2608918dd2908fa29238f600c768eb3 | [
"Apache-2.0"
] | 2 | 2020-03-21T13:55:27.000Z | 2020-07-01T21:53:38.000Z | from __future__ import absolute_import
from .archive_utils import is_archive
from .archive_utils import extract_archive
from .misc_utils import datamine_cache_dir
from .misc_utils import file_sha256
from .misc_utils import get_home_dir
from .misc_utils import is_integer
from .misc_utils import num_decimal_places
from ... | 34.615385 | 52 | 0.877778 | 71 | 450 | 5.126761 | 0.380282 | 0.302198 | 0.214286 | 0.313187 | 0.313187 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.1 | 450 | 12 | 53 | 37.5 | 0.891358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1641c32ba5670ba8429deb98a3c96fad9600311 | 87 | py | Python | backend/app/rooms/__init__.py | vpaliy/react-chat | 883934b4983136380e4569e7f65722bf7e9fd628 | [
"MIT"
] | 1 | 2018-12-03T05:53:48.000Z | 2018-12-03T05:53:48.000Z | backend/app/rooms/__init__.py | vpaliy/react-chat | 883934b4983136380e4569e7f65722bf7e9fd628 | [
"MIT"
] | null | null | null | backend/app/rooms/__init__.py | vpaliy/react-chat | 883934b4983136380e4569e7f65722bf7e9fd628 | [
"MIT"
] | null | null | null | from flask import Blueprint
rooms = Blueprint('rooms', __name__)
from views import *
| 14.5 | 36 | 0.758621 | 11 | 87 | 5.636364 | 0.636364 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 5 | 37 | 17.4 | 0.849315 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
f1695714d148f7f8c28a3a934f77987372dca985 | 30 | py | Python | data_spec_validator/spec/custom_spec/__init__.py | travisliu/data-spec-validator | 7ee0944ca9899d565ad04ed82ca26bb402970958 | [
"MIT"
] | 23 | 2021-08-11T08:53:15.000Z | 2022-02-14T04:44:13.000Z | data_spec_validator/spec/custom_spec/__init__.py | travisliu/data-spec-validator | 7ee0944ca9899d565ad04ed82ca26bb402970958 | [
"MIT"
] | 2 | 2021-09-11T08:59:12.000Z | 2022-03-29T00:40:42.000Z | data_spec_validator/spec/custom_spec/__init__.py | travisliu/data-spec-validator | 7ee0944ca9899d565ad04ed82ca26bb402970958 | [
"MIT"
] | 1 | 2022-01-04T07:45:22.000Z | 2022-01-04T07:45:22.000Z | from .defines import register
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
f1893f52b99e2281af9b357d11ecbbdf9d9b4d65 | 364 | py | Python | simulate/reporters/__init__.py | charles9li/simulate-openmm | cfc76294dd4b00147769fc83c7673fce5bd499cc | [
"MIT"
] | null | null | null | simulate/reporters/__init__.py | charles9li/simulate-openmm | cfc76294dd4b00147769fc83c7673fce5bd499cc | [
"MIT"
] | null | null | null | simulate/reporters/__init__.py | charles9li/simulate-openmm | cfc76294dd4b00147769fc83c7673fce5bd499cc | [
"MIT"
] | null | null | null | from .energyreporter import EnergyReporter, PotentialEnergyReporter, KineticEnergyReporter
from .radiusofgyrationreporter import RadiusOfGyrationReporter
from .endtoenddistancereporter import EndToEndDistanceReporter
from .rnemdreporter import RNEMDReporter
from .rnemdvelocityreporter import RNEMDVelocityReporter
from ... | 52 | 90 | 0.906593 | 26 | 364 | 12.692308 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 364 | 6 | 91 | 60.666667 | 0.976331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
2d278d91d4921c71fdc86ab749731f5badb11a0f | 74 | py | Python | starter/cli.py | yoyota/python-starter | 5e85347dbbbc8b91603656383c37a6c5f2504fa1 | [
"MIT"
] | null | null | null | starter/cli.py | yoyota/python-starter | 5e85347dbbbc8b91603656383c37a6c5f2504fa1 | [
"MIT"
] | 2 | 2020-02-23T03:24:47.000Z | 2020-02-26T09:55:21.000Z | starter/cli.py | yoyota/python-starter | 5e85347dbbbc8b91603656383c37a6c5f2504fa1 | [
"MIT"
] | null | null | null | import fire
from starter.app import main
def cli():
fire.Fire(main)
| 10.571429 | 28 | 0.702703 | 12 | 74 | 4.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 74 | 6 | 29 | 12.333333 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7418e173afcd2a4d45b08eadbf57dd8a8034074e | 80 | py | Python | malort/__init__.py | CamDavidsonPilon/malort | bd463fe57fd7a15ccd24a1c7cfedefea4b31d3ac | [
"MIT"
] | 1 | 2021-03-06T13:17:33.000Z | 2021-03-06T13:17:33.000Z | malort/__init__.py | CamDavidsonPilon/malort | bd463fe57fd7a15ccd24a1c7cfedefea4b31d3ac | [
"MIT"
] | null | null | null | malort/__init__.py | CamDavidsonPilon/malort | bd463fe57fd7a15ccd24a1c7cfedefea4b31d3ac | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from malort import stats
from malort.core import analyze | 26.666667 | 31 | 0.725 | 12 | 80 | 4.833333 | 0.75 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014706 | 0.15 | 80 | 3 | 31 | 26.666667 | 0.838235 | 0.2625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7485fca7d464be15acc7701f51bffa81f2578213 | 1,172 | py | Python | run.py | ironarmchad/depths_char_sheet | 542f969af951e9d249fe36bbd6dad147a69d9edb | [
"MIT"
] | null | null | null | run.py | ironarmchad/depths_char_sheet | 542f969af951e9d249fe36bbd6dad147a69d9edb | [
"MIT"
] | 1 | 2021-06-02T00:01:31.000Z | 2021-06-02T00:01:31.000Z | run.py | ironarmchad/depths_char_sheet | 542f969af951e9d249fe36bbd6dad147a69d9edb | [
"MIT"
] | 1 | 2019-08-01T16:55:54.000Z | 2019-08-01T16:55:54.000Z | from app import create_app, db
from app.auth.models import User
from app.game.models import Game
import sys
if __name__ == '__main__':
char_app = create_app('dev')
with char_app.app_context():
db.create_all()
user = User.query.filter_by(user_name='su_ironarmchad').first()
if not user:
... | 35.515152 | 95 | 0.581911 | 153 | 1,172 | 4.183007 | 0.248366 | 0.1 | 0.08125 | 0.05 | 0.765625 | 0.765625 | 0.765625 | 0.765625 | 0.765625 | 0.765625 | 0 | 0.007212 | 0.290102 | 1,172 | 32 | 96 | 36.625 | 0.762019 | 0 | 0 | 0.666667 | 0 | 0 | 0.113578 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.074074 | 0.148148 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
7489e49e964ea97b42a4c19b50d1ffa517f0034b | 23 | py | Python | discord/ext/buttons/__init__.py | matcool/buttons | ffa9ba656bd3a907f2553e63f652b754a106c604 | [
"MIT"
] | 31 | 2019-09-24T03:35:30.000Z | 2022-01-11T08:32:10.000Z | discord/ext/buttons/__init__.py | UnrealFar/buttons | 12914e718474073b207a918da5d2bf5306af2aae | [
"MIT"
] | 1 | 2020-09-30T09:17:27.000Z | 2020-10-08T07:00:51.000Z | discord/ext/buttons/__init__.py | UnrealFar/buttons | 12914e718474073b207a918da5d2bf5306af2aae | [
"MIT"
] | 38 | 2019-09-25T08:10:56.000Z | 2022-01-06T07:44:21.000Z | from .buttons import *
| 11.5 | 22 | 0.73913 | 3 | 23 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
749c55545d9fc0a06ed77254808364a890d51c93 | 138 | py | Python | erexplain/__init__.py | vincenzomartello/ExplainER | 4b208751796a7e831904c8987cf0f26f80e7af9a | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2020-06-05T18:24:56.000Z | 2021-07-02T09:03:39.000Z | erexplain/__init__.py | vincenzomartello/ExplainER | 4b208751796a7e831904c8987cf0f26f80e7af9a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | erexplain/__init__.py | vincenzomartello/ExplainER | 4b208751796a7e831904c8987cf0f26f80e7af9a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | from erexplain.triangles_method import explainSamples
from erexplain.pattern_discovery import getMaxFrequentPatterns,mineAssociationRules
| 46 | 83 | 0.92029 | 13 | 138 | 9.615385 | 0.769231 | 0.208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057971 | 138 | 2 | 84 | 69 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
77a719ba931bce6accf322aff228b74e9f4ba6b1 | 29 | py | Python | settings.py | aral/isvat | 6335f6625b5f883343bed64334022e39214d7ca5 | [
"MIT"
] | null | null | null | settings.py | aral/isvat | 6335f6625b5f883343bed64334022e39214d7ca5 | [
"MIT"
] | 1 | 2015-10-10T09:16:08.000Z | 2015-10-13T09:36:55.000Z | settings.py | aral/isvat | 6335f6625b5f883343bed64334022e39214d7ca5 | [
"MIT"
] | null | null | null | from isvat.settings import *
| 14.5 | 28 | 0.793103 | 4 | 29 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
bb592204dbb9e64d78d346bb0c96c4039003283f | 49 | py | Python | cflow/models/cv/__init__.py | carefree0910/carefree-flow | 7035015a072cf8142074d01683889f90950d2939 | [
"MIT"
] | 11 | 2021-08-25T11:10:49.000Z | 2021-09-05T11:52:42.000Z | cflow/models/cv/__init__.py | carefree0910/carefree-flow | 7035015a072cf8142074d01683889f90950d2939 | [
"MIT"
] | null | null | null | cflow/models/cv/__init__.py | carefree0910/carefree-flow | 7035015a072cf8142074d01683889f90950d2939 | [
"MIT"
] | 2 | 2021-08-28T01:17:10.000Z | 2021-09-02T04:04:43.000Z | from .encoder import *
from .classifier import *
| 16.333333 | 25 | 0.755102 | 6 | 49 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 2 | 26 | 24.5 | 0.902439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
24f5bb90d219451c46a763b099b99f6c544f9c2d | 30 | py | Python | python/testData/inspections/PyRelativeImportInspection/PlainDirectoryDottedImportFromTwoElementsWithAs/plainDirectory/script_after.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/inspections/PyRelativeImportInspection/PlainDirectoryDottedImportFromTwoElementsWithAs/plainDirectory/script_after.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyRelativeImportInspection/PlainDirectoryDottedImportFromTwoElementsWithAs/plainDirectory/script_after.py | Tasemo/intellij-community | 50aeaf729b7073e91c7c77487a1f155e0dfe3fcd | [
"Apache-2.0"
] | null | null | null | from util import foo, bar as b | 30 | 30 | 0.766667 | 7 | 30 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 30 | 1 | 30 | 30 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
7054fd2f24530ff1ca1d87b94a070b41731711fe | 26 | py | Python | rofi_mpd/__init__.py | Oro/Rofi_MPD | d9f597c58f37065625fc0095661b949ea138ab66 | [
"MIT"
] | 22 | 2018-09-13T21:06:50.000Z | 2022-03-10T16:49:58.000Z | rofi_mpd/__init__.py | Oro/Rofi_MPD | d9f597c58f37065625fc0095661b949ea138ab66 | [
"MIT"
] | 18 | 2018-10-05T07:20:32.000Z | 2020-07-10T10:21:24.000Z | rofi_mpd/__init__.py | Oro/Rofi_MPD | d9f597c58f37065625fc0095661b949ea138ab66 | [
"MIT"
] | 6 | 2018-10-05T07:42:53.000Z | 2021-06-04T13:37:40.000Z | from .rofi_mpd import run
| 13 | 25 | 0.807692 | 5 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 1 | 26 | 26 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
56170eb3c4322c52f3783c72d4ac7b021c28fcc9 | 118 | py | Python | models/__init__.py | Tawasta/account_followup_overdue_invoice | acc10c5f87f39331292e6f991c42fce878fadbec | [
"CC-BY-3.0"
] | 1 | 2017-03-02T12:34:58.000Z | 2017-03-02T12:34:58.000Z | models/__init__.py | Tawasta/account_followup_overdue_invoice | acc10c5f87f39331292e6f991c42fce878fadbec | [
"CC-BY-3.0"
] | null | null | null | models/__init__.py | Tawasta/account_followup_overdue_invoice | acc10c5f87f39331292e6f991c42fce878fadbec | [
"CC-BY-3.0"
] | null | null | null | import account_followup
import account_followup_line
import account_invoice
import account_journal
import res_partner
| 19.666667 | 28 | 0.915254 | 16 | 118 | 6.375 | 0.5 | 0.509804 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084746 | 118 | 5 | 29 | 23.6 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
56512d58fa018fbdc7615dbab157eb8d3d2e74cc | 6,131 | py | Python | loldib/getratings/models/NA/na_jax/na_jax_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jax/na_jax_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_jax/na_jax_top.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from getratings.models.ratings import Ratings
class NA_Jax_Top_Aatrox(Ratings):
pass
class NA_Jax_Top_Ahri(Ratings):
pass
class NA_Jax_Top_Akali(Ratings):
pass
class NA_Jax_Top_Alistar(Ratings):
pass
class NA_Jax_Top_Amumu(Ratings):
pass
class NA_Jax_Top_Anivia(Ratings):
pass
class NA_J... | 14.702638 | 46 | 0.750938 | 972 | 6,131 | 4.3107 | 0.151235 | 0.230549 | 0.329356 | 0.428162 | 0.784726 | 0.784726 | 0 | 0 | 0 | 0 | 0 | 0 | 0.18121 | 6,131 | 416 | 47 | 14.737981 | 0.834661 | 0 | 0 | 0.498195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.498195 | 0.00361 | 0 | 0.501805 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
5664dffc2f64784558323ecb5e805a50527ea1be | 4,133 | py | Python | coindeblend/models/decompnet.py | aboucaud/deblend | 59b950d7de82814a42671e22497f87f3653942f6 | [
"BSD-3-Clause"
] | 3 | 2021-09-03T10:10:03.000Z | 2021-09-03T20:01:03.000Z | coindeblend/models/decompnet.py | aboucaud/deblend | 59b950d7de82814a42671e22497f87f3653942f6 | [
"BSD-3-Clause"
] | 3 | 2021-08-25T15:47:28.000Z | 2022-02-10T00:19:44.000Z | coindeblend/models/decompnet.py | aboucaud/deblend | 59b950d7de82814a42671e22497f87f3653942f6 | [
"BSD-3-Clause"
] | 2 | 2020-09-28T18:35:59.000Z | 2020-10-01T14:08:10.000Z | from keras.models import Model
from keras.layers import Input
from keras.layers import Conv2D
from keras.layers import Conv2DTranspose
from keras.layers import Activation
from keras.layers import BatchNormalization
from keras.layers import SimpleRNN
from keras.layers import Reshape
from keras.layers import Flatten
from... | 30.389706 | 70 | 0.618679 | 615 | 4,133 | 4.065041 | 0.104065 | 0.028 | 0.0288 | 0.1216 | 0.776 | 0.776 | 0.776 | 0.776 | 0.776 | 0.776 | 0 | 0.07065 | 0.222599 | 4,133 | 135 | 71 | 30.614815 | 0.707439 | 0.097266 | 0 | 0.789474 | 0 | 0 | 0.042865 | 0.014107 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021053 | false | 0 | 0.115789 | 0 | 0.157895 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
566563ef97a6d08bc7337878a654d9c1d60986c9 | 3,971 | py | Python | backend/wod_board/tests/crud/test_round.py | GuillaumeOj/P13-WOD-Board | 36df7979e63c354507edb56eabdfc548b1964d08 | [
"MIT"
] | null | null | null | backend/wod_board/tests/crud/test_round.py | GuillaumeOj/P13-WOD-Board | 36df7979e63c354507edb56eabdfc548b1964d08 | [
"MIT"
] | 82 | 2021-01-17T18:12:23.000Z | 2021-06-12T21:46:49.000Z | backend/wod_board/tests/crud/test_round.py | GuillaumeOj/WodBoard | 1ac12404f6094909c9bf116bcaf6ccd60e85bc00 | [
"MIT"
] | null | null | null | import pytest
from wod_board import exceptions
from wod_board.crud import round_crud
from wod_board.models import wod_round
from wod_board.schemas import round_schemas
def test_create_round(db, db_wod, db_user):
assert db.query(wod_round.Round).count() == 0
wanted_round = round_schemas.RoundCreate(
... | 33.091667 | 80 | 0.699572 | 578 | 3,971 | 4.532872 | 0.077855 | 0.069466 | 0.104198 | 0.116031 | 0.871756 | 0.870992 | 0.848473 | 0.790458 | 0.751908 | 0.725191 | 0 | 0.015528 | 0.189121 | 3,971 | 119 | 81 | 33.369748 | 0.798137 | 0 | 0 | 0.606383 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.276596 | 1 | 0.042553 | false | 0 | 0.053191 | 0 | 0.095745 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
3b24934390e1da7222f8dc87495bc01bac638cde | 93 | py | Python | name_format.py | godontop/python-work | ea22e0df8b0b17605f5a434e556a388d1f75aa47 | [
"MIT"
] | null | null | null | name_format.py | godontop/python-work | ea22e0df8b0b17605f5a434e556a388d1f75aa47 | [
"MIT"
] | null | null | null | name_format.py | godontop/python-work | ea22e0df8b0b17605f5a434e556a388d1f75aa47 | [
"MIT"
] | null | null | null | name = "As Pros"
print(name.lower())
print(name.upper())
name = "as pros"
print(name.title()) | 18.6 | 19 | 0.666667 | 15 | 93 | 4.133333 | 0.466667 | 0.435484 | 0.322581 | 0.483871 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107527 | 93 | 5 | 20 | 18.6 | 0.746988 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 6 |
3b33e747a2d85ec244e2ab632721a6c198e1126d | 29 | py | Python | countop/__init__.py | ankur-gupta/countop | a10d4a0361477be5d5bc4957952dd47965f7787e | [
"MIT"
] | null | null | null | countop/__init__.py | ankur-gupta/countop | a10d4a0361477be5d5bc4957952dd47965f7787e | [
"MIT"
] | null | null | null | countop/__init__.py | ankur-gupta/countop | a10d4a0361477be5d5bc4957952dd47965f7787e | [
"MIT"
] | null | null | null | from .integer import Integer
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
3b5dba1a42286afce081b78cd6cc62b8085a1be7 | 15,572 | py | Python | Breathing/CNN_1D/utils.py | DresvyanskiyDenis/compare20_MB | ea5ecb1bad33af284006b5870f971cff4953aa7a | [
"RSA-MD"
] | 2 | 2021-05-11T22:31:45.000Z | 2022-02-07T14:28:56.000Z | Breathing/CNN_1D/utils.py | DresvyanskiyDenis/compare20_MB | ea5ecb1bad33af284006b5870f971cff4953aa7a | [
"RSA-MD"
] | 1 | 2020-10-15T19:32:10.000Z | 2020-10-15T19:32:10.000Z | Breathing/CNN_1D/utils.py | DresvyanskiyDenis/compare20_MB | ea5ecb1bad33af284006b5870f971cff4953aa7a | [
"RSA-MD"
] | 2 | 2020-09-28T00:07:05.000Z | 2021-01-23T05:56:40.000Z | import os
import tensorflow as tf
import pandas as pd
import numpy as np
import scipy
from keras import Sequential
from keras.layers import Conv1D, MaxPool1D, LSTM, Dense, Dropout, Flatten, TimeDistributed
from keras import backend as K
from matplotlib import pyplot as plt
from scipy.io import wavfile
from scipy.stats ... | 50.558442 | 141 | 0.715965 | 2,291 | 15,572 | 4.601484 | 0.090354 | 0.041833 | 0.064124 | 0.037185 | 0.811136 | 0.794157 | 0.769019 | 0.765035 | 0.732024 | 0.700911 | 0 | 0.022995 | 0.159389 | 15,572 | 307 | 142 | 50.723127 | 0.782353 | 0.026137 | 0 | 0.545802 | 0 | 0 | 0.030103 | 0.001518 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061069 | false | 0 | 0.045802 | 0.003817 | 0.167939 | 0.007634 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
8e5cbb58b4a9b5ed4f0a70fe4145e96e7be7744e | 24 | py | Python | catkin_workspace/devel/lib/python2.7/dist-packages/project_weather_x/srv/__init__.py | NarendraPatwardhan/HuskyWeatherCast | 1ffadca23368a497ce7d3003806b548307bb7596 | [
"MIT"
] | null | null | null | catkin_workspace/devel/lib/python2.7/dist-packages/project_weather_x/srv/__init__.py | NarendraPatwardhan/HuskyWeatherCast | 1ffadca23368a497ce7d3003806b548307bb7596 | [
"MIT"
] | null | null | null | catkin_workspace/devel/lib/python2.7/dist-packages/project_weather_x/srv/__init__.py | NarendraPatwardhan/HuskyWeatherCast | 1ffadca23368a497ce7d3003806b548307bb7596 | [
"MIT"
] | null | null | null | from ._Weather import *
| 12 | 23 | 0.75 | 3 | 24 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8e63e8ff085829e09acf95919794753db04b57ed | 48 | py | Python | spirl/configs/rl/kitchen/SAC/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | 8 | 2021-10-14T03:14:23.000Z | 2022-03-15T21:31:17.000Z | spirl/configs/rl/kitchen/SAC/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | null | null | null | spirl/configs/rl/kitchen/SAC/conf.py | kouroshHakha/fist | 328c098789239fd892e17edefd799fc1957ab637 | [
"BSD-3-Clause"
] | 1 | 2021-09-13T20:42:28.000Z | 2021-09-13T20:42:28.000Z | from spirl.configs.rl.kitchen.base_conf import * | 48 | 48 | 0.833333 | 8 | 48 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8eea466a3a63adce807bb2ba1e9dad76c53403e2 | 186 | py | Python | src/compas_fab/robots/configuration.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 64 | 2019-08-07T07:19:06.000Z | 2022-03-22T16:48:23.000Z | src/compas_fab/robots/configuration.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 228 | 2019-07-08T07:55:30.000Z | 2022-03-25T16:39:17.000Z | src/compas_fab/robots/configuration.py | yck011522/compas_fab | db7c8e54184dbbad9be5a818cf7ff814c95cf162 | [
"MIT"
] | 18 | 2019-08-04T16:42:37.000Z | 2022-01-12T18:36:06.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from compas.robots import Configuration
__all__ = [
'Configuration',
]
| 18.6 | 39 | 0.817204 | 21 | 186 | 6.380952 | 0.52381 | 0.223881 | 0.358209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 186 | 9 | 40 | 20.666667 | 0.842767 | 0 | 0 | 0 | 0 | 0 | 0.069892 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 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 | 1 | 0 | 1 | 0 | 0 | 6 |
79d8b4355bc54d8df7ef53aeec89d2d71bfd2575 | 401 | py | Python | tests/socks_data.py | ccssrryy/libsocks | acc92f4a92ee2e07ba40d3d3055d36547b7cd2c0 | [
"MIT"
] | 1 | 2019-08-28T20:46:42.000Z | 2019-08-28T20:46:42.000Z | tests/socks_data.py | ccssrryy/libsocks | acc92f4a92ee2e07ba40d3d3055d36547b7cd2c0 | [
"MIT"
] | null | null | null | tests/socks_data.py | ccssrryy/libsocks | acc92f4a92ee2e07ba40d3d3055d36547b7cd2c0 | [
"MIT"
] | null | null | null | proxy_ip = "172.217.24.14"
proxy_port = 80
socks5_no_auth_resp = [b'\x05\x00',b'\x05\x00\x00', b'\x01',b'\x00\x00\x00\x00', b'\x06\xb5']
socks5_auth_resp = [b'\x05\x02',b'\x01\x00', b'\x05\x00\x00', b'\x01', b'\x00\x00\x00\x00', b'\x06\xb5']
socks5_auth_fail_resp = [b'\x05\x02',b'\x01\x01', b'\x05\x00\x00', b'\x01', b'... | 57.285714 | 109 | 0.640898 | 87 | 401 | 2.827586 | 0.252874 | 0.414634 | 0.365854 | 0.292683 | 0.715447 | 0.642276 | 0.520325 | 0.520325 | 0.520325 | 0.520325 | 0 | 0.286863 | 0.069825 | 401 | 6 | 110 | 66.833333 | 0.372654 | 0 | 0 | 0 | 0 | 0 | 0.503741 | 0.072319 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
79dbbef1d1b2a1efe991cd95e174b2983e05bb50 | 24 | py | Python | python/ROHSApy/ROHSApy/__init__.py | antoinemarchal/ROHSA | e36bc49b5bc60047634594d6c7ae42ef92291194 | [
"MIT"
] | 9 | 2018-11-01T15:46:41.000Z | 2020-11-12T19:02:27.000Z | python/ROHSApy/ROHSApy/__init__.py | antoinemarchal/ROHSA | e36bc49b5bc60047634594d6c7ae42ef92291194 | [
"MIT"
] | 2 | 2020-04-24T12:13:18.000Z | 2020-04-24T12:41:02.000Z | python/ROHSApy/ROHSApy/__init__.py | antoinemarchal/ROHSA | e36bc49b5bc60047634594d6c7ae42ef92291194 | [
"MIT"
] | 1 | 2019-10-08T07:58:34.000Z | 2019-10-08T07:58:34.000Z | from .core import ROHSA
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dac6dc6a96d84918be0a5d821349a7fc9777f85 | 296 | py | Python | tests/conftest.py | DanGroverUK/nukeuuid | 69d5804bebbbe60a8500337717013cef6baacf19 | [
"Apache-2.0"
] | 13 | 2017-03-16T10:56:52.000Z | 2021-02-14T06:33:19.000Z | tests/conftest.py | DanGroverUK/nukeuuid | 69d5804bebbbe60a8500337717013cef6baacf19 | [
"Apache-2.0"
] | 1 | 2018-10-29T19:01:38.000Z | 2018-10-30T09:57:23.000Z | tests/conftest.py | DanGroverUK/nukeuuid | 69d5804bebbbe60a8500337717013cef6baacf19 | [
"Apache-2.0"
] | 1 | 2018-10-23T09:32:56.000Z | 2018-10-23T09:32:56.000Z | # nukeuuid py.test configuration
import pytest
@pytest.fixture(scope='session')
def nuke():
import nuke
return nuke
@pytest.fixture(scope='session')
def nukeuuid():
import nukeuuid
return nukeuuid
@pytest.fixture(scope='session')
def uuid():
import uuid
return uuid
| 14.095238 | 32 | 0.699324 | 36 | 296 | 5.75 | 0.361111 | 0.188406 | 0.26087 | 0.362319 | 0.405797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192568 | 296 | 20 | 33 | 14.8 | 0.866109 | 0.101351 | 0 | 0.230769 | 0 | 0 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | true | 0 | 0.307692 | 0 | 0.769231 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dbedc376e2c41d113427eca306e82ac42fa233e | 130 | py | Python | creatorUtils/compat/os_.py | TheElementalOfDestruction/creatorUtils | 4f8b15cfc735069466337667c50f7af4f65dfbec | [
"MIT"
] | null | null | null | creatorUtils/compat/os_.py | TheElementalOfDestruction/creatorUtils | 4f8b15cfc735069466337667c50f7af4f65dfbec | [
"MIT"
] | null | null | null | creatorUtils/compat/os_.py | TheElementalOfDestruction/creatorUtils | 4f8b15cfc735069466337667c50f7af4f65dfbec | [
"MIT"
] | null | null | null | from os import *
import sys
if sys.version_info[0] >= 3:
if not hasattr(os, 'getcwdu'):
os.getcwdu = os.getcwd
| 18.571429 | 35 | 0.6 | 20 | 130 | 3.85 | 0.65 | 0.233766 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.276923 | 130 | 6 | 36 | 21.666667 | 0.797872 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
8dca04c496896841c3a9e35c136778f321575dac | 131 | py | Python | deuces3/__init__.py | MarshHawk/poker-with-bayes-service | f311bcdd77a748ef71b840248600fa973ea0ecc3 | [
"MIT"
] | null | null | null | deuces3/__init__.py | MarshHawk/poker-with-bayes-service | f311bcdd77a748ef71b840248600fa973ea0ecc3 | [
"MIT"
] | null | null | null | deuces3/__init__.py | MarshHawk/poker-with-bayes-service | f311bcdd77a748ef71b840248600fa973ea0ecc3 | [
"MIT"
] | null | null | null | from deuces3.card import Card
from deuces3.deck import Deck
from deuces3.evaluator import Evaluator
from deuces3.cards import cards | 32.75 | 39 | 0.854962 | 20 | 131 | 5.6 | 0.35 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.114504 | 131 | 4 | 40 | 32.75 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
8dd0b8cd04b52e83c6c9614e1e6dafda5a823d00 | 27 | py | Python | Old Releases/Windows Releases/WINDOWS v1.1.0/Source Code/Windows Development/updateCheck.py | GokeyCoder/MandarinOS | 44a809292627480a295c3ae1dffa87804d6f8d83 | [
"MIT"
] | null | null | null | Old Releases/Windows Releases/WINDOWS v1.1.0/Source Code/Windows Development/updateCheck.py | GokeyCoder/MandarinOS | 44a809292627480a295c3ae1dffa87804d6f8d83 | [
"MIT"
] | null | null | null | Old Releases/Windows Releases/WINDOWS v1.1.0/Source Code/Windows Development/updateCheck.py | GokeyCoder/MandarinOS | 44a809292627480a295c3ae1dffa87804d6f8d83 | [
"MIT"
] | null | null | null | def checkForUpdate():
pass | 13.5 | 21 | 0.777778 | 3 | 27 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 2 | 22 | 13.5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 6 |
8de074368e9d23a2217d305d920f83b63fb52d09 | 36 | py | Python | odooku/services/websocket/__init__.py | davejrv/import | 0dbca8f432d1a051a2bdb30c952cc26f1ffd74ae | [
"Apache-2.0"
] | 55 | 2017-09-11T06:48:39.000Z | 2022-03-31T18:14:46.000Z | odooku/services/websocket/__init__.py | davejrv/import | 0dbca8f432d1a051a2bdb30c952cc26f1ffd74ae | [
"Apache-2.0"
] | 4 | 2018-01-13T09:13:48.000Z | 2019-09-28T10:24:43.000Z | odooku/services/websocket/__init__.py | davejrv/import | 0dbca8f432d1a051a2bdb30c952cc26f1ffd74ae | [
"Apache-2.0"
] | 46 | 2017-12-30T22:31:45.000Z | 2022-02-17T05:35:55.000Z | from .server import WebSocketServer
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
5c0abccb2237680c7a1a7c7aa9bcf0ae1cf53e00 | 25 | py | Python | seaborn/flask/example/bindings/python_bindings/__init__.py | christensonb/Seaborn | adac2dfe60aabd754f93efd3b109213e5ee58772 | [
"MIT"
] | 9 | 2019-06-07T22:57:07.000Z | 2022-01-17T12:35:08.000Z | seaborn/flask/example/bindings/python_bindings/__init__.py | christensonb/Seaborn | adac2dfe60aabd754f93efd3b109213e5ee58772 | [
"MIT"
] | 4 | 2018-01-01T16:15:15.000Z | 2018-03-14T22:39:47.000Z | seaborn/flask/example/bindings/python_bindings/__init__.py | christensonb/Seaborn | adac2dfe60aabd754f93efd3b109213e5ee58772 | [
"MIT"
] | 4 | 2020-09-02T16:17:58.000Z | 2021-12-05T21:28:32.000Z | from .connection import * | 25 | 25 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
308f0a4ff872086c0a171d9909b6e01b724a7a55 | 171 | py | Python | simp_py_examples/m5stack/ex012_hello.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simp_py_examples/m5stack/ex012_hello.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | simp_py_examples/m5stack/ex012_hello.py | kcfkwok2003/Simp_py | f75e66da01b45dc8688dda602f8b33d4258f0c31 | [
"MIT"
] | null | null | null | from simp_py import tft
def hello():
global tft
tft.tft.clear()
tft.tft.text(0,0,'hello')
tft.tft.text(0,20,'world')
if __name__=='__main__':
hello()
| 17.1 | 30 | 0.619883 | 28 | 171 | 3.464286 | 0.571429 | 0.247423 | 0.206186 | 0.226804 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036765 | 0.204678 | 171 | 9 | 31 | 19 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
30a7c58756bf7c536bf6e51c22c69b73b43ecdb3 | 255 | py | Python | cartography/__init__.py | babywyrm/cartography | ecec80a1db1fc926c4786b04830ca974a9af94de | [
"Apache-2.0"
] | null | null | null | cartography/__init__.py | babywyrm/cartography | ecec80a1db1fc926c4786b04830ca974a9af94de | [
"Apache-2.0"
] | null | null | null | cartography/__init__.py | babywyrm/cartography | ecec80a1db1fc926c4786b04830ca974a9af94de | [
"Apache-2.0"
] | null | null | null | __all__ = ['EXPERIMENTAL_NEO4J_4X_SUPPORT', 'patch_session_obj']
# experimental neo4j 4.x support
from cartography.experimental_neo4j_4x_support import EXPERIMENTAL_NEO4J_4X_SUPPORT
from cartography.experimental_neo4j_4x_support import patch_session_obj
| 42.5 | 83 | 0.882353 | 34 | 255 | 6.029412 | 0.382353 | 0.414634 | 0.370732 | 0.507317 | 0.526829 | 0.526829 | 0.526829 | 0.526829 | 0 | 0 | 0 | 0.042194 | 0.070588 | 255 | 5 | 84 | 51 | 0.822785 | 0.117647 | 0 | 0 | 0 | 0 | 0.206278 | 0.130045 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30b10c0f223a593adfa4e70e8a4cec5e901ba0f3 | 49 | py | Python | bci_lib/Stages/Classification/__init__.py | SahandSadeghpour/bci_lib | 0fac693d6fae40956d9a716d466e1de0fdce8998 | [
"MIT"
] | null | null | null | bci_lib/Stages/Classification/__init__.py | SahandSadeghpour/bci_lib | 0fac693d6fae40956d9a716d466e1de0fdce8998 | [
"MIT"
] | null | null | null | bci_lib/Stages/Classification/__init__.py | SahandSadeghpour/bci_lib | 0fac693d6fae40956d9a716d466e1de0fdce8998 | [
"MIT"
] | null | null | null | from .ML import MLModel, CreateModel, Train, Test | 49 | 49 | 0.795918 | 7 | 49 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 49 | 1 | 49 | 49 | 0.906977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30bd3712b804db7ed66b2f0339b9fb2eb5d60950 | 40 | py | Python | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_scattergl.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 11,750 | 2015-10-12T07:03:39.000Z | 2022-03-31T20:43:15.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_scattergl.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,951 | 2015-10-12T00:41:25.000Z | 2022-03-31T22:19:26.000Z | env/lib/python3.8/site-packages/plotly/graph_objs/layout/template/data/_scattergl.py | acrucetta/Chicago_COVI_WebApp | a37c9f492a20dcd625f8647067394617988de913 | [
"MIT",
"Unlicense"
] | 2,623 | 2015-10-15T14:40:27.000Z | 2022-03-28T16:05:50.000Z | from plotly.graph_objs import Scattergl
| 20 | 39 | 0.875 | 6 | 40 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 40 | 1 | 40 | 40 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30da0ab6825195e41e31e051ee16a14360a97a2f | 28 | py | Python | cyclum/models/__init__.py | lshh125/cyclum | 4bd7f136680108d28e4d07e627cda7cd4a242e64 | [
"MIT"
] | 12 | 2020-03-01T09:15:45.000Z | 2021-10-03T07:58:48.000Z | cyclum/models/__init__.py | lshh125/cyclum | 4bd7f136680108d28e4d07e627cda7cd4a242e64 | [
"MIT"
] | 5 | 2020-11-13T18:38:18.000Z | 2021-12-17T18:47:32.000Z | cyclum/models/__init__.py | lshh125/cyclum | 4bd7f136680108d28e4d07e627cda7cd4a242e64 | [
"MIT"
] | 5 | 2020-03-21T01:51:44.000Z | 2022-03-15T11:08:59.000Z | from .ae import AutoEncoder
| 14 | 27 | 0.821429 | 4 | 28 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
30fe5d3ff0abef3674180d36acc644cf059ec300 | 120 | py | Python | torchseq/models/kl_divergence.py | tomhosking/torchseq | 1b08c16822a553ecb77b96289fb21eb0a13d9c6b | [
"Apache-2.0"
] | 17 | 2021-02-25T14:24:06.000Z | 2021-12-12T07:12:26.000Z | torchseq/models/kl_divergence.py | tomhosking/torchseq | 1b08c16822a553ecb77b96289fb21eb0a13d9c6b | [
"Apache-2.0"
] | null | null | null | torchseq/models/kl_divergence.py | tomhosking/torchseq | 1b08c16822a553ecb77b96289fb21eb0a13d9c6b | [
"Apache-2.0"
] | null | null | null | import torch
def gaussian_kl(mu, logvar):
return -0.5 * torch.mean(1 + logvar - mu.pow(2) - logvar.exp(), dim=-1)
| 20 | 75 | 0.633333 | 21 | 120 | 3.571429 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 0.183333 | 120 | 5 | 76 | 24 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 6 |
30ff89036cd1373c79a6fec095302833b094e678 | 78 | py | Python | glosstools/__init__.py | Retr0327/glossing-tools | ab42b4941e1fe57d1b61ae5ff3c3df0138071e59 | [
"Apache-2.0"
] | null | null | null | glosstools/__init__.py | Retr0327/glossing-tools | ab42b4941e1fe57d1b61ae5ff3c3df0138071e59 | [
"Apache-2.0"
] | null | null | null | glosstools/__init__.py | Retr0327/glossing-tools | ab42b4941e1fe57d1b61ae5ff3c3df0138071e59 | [
"Apache-2.0"
] | null | null | null | from .gloss_adder import GlossAdder
from .gloss_replacer import GlossReplacer
| 26 | 41 | 0.871795 | 10 | 78 | 6.6 | 0.7 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 78 | 2 | 42 | 39 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
a50071ee485c03a9383601006535afc22434683d | 143 | py | Python | quetzal/app/redoc/__init__.py | OpenMindInnovation/quetzal | 3940dfe8e3d2a1060ec89ba4e575365563042bf9 | [
"BSD-3-Clause"
] | 2 | 2019-10-11T11:14:19.000Z | 2020-07-15T12:52:12.000Z | quetzal/app/redoc/__init__.py | OpenMindInnovation/quetzal | 3940dfe8e3d2a1060ec89ba4e575365563042bf9 | [
"BSD-3-Clause"
] | 5 | 2019-09-17T16:12:16.000Z | 2020-05-08T17:22:47.000Z | quetzal/app/redoc/__init__.py | OpenMindInnovation/quetzal | 3940dfe8e3d2a1060ec89ba4e575365563042bf9 | [
"BSD-3-Clause"
] | 1 | 2019-04-02T10:46:15.000Z | 2019-04-02T10:46:15.000Z | from flask import Blueprint
bp = Blueprint('redoc', __name__)
# Import routes to create them
from quetzal.app.redoc import routes # nopep8
| 17.875 | 46 | 0.762238 | 20 | 143 | 5.25 | 0.7 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008403 | 0.167832 | 143 | 7 | 47 | 20.428571 | 0.87395 | 0.244755 | 0 | 0 | 0 | 0 | 0.047619 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 6 |
6911e0d09c4c78426b306986be386fb0639c9f3a | 158 | py | Python | tests/test_data.py | mrghg/py12box | ab4a64d20d858f27ce8474d8d11c8af8d28f725e | [
"MIT"
] | 2 | 2021-03-15T09:21:48.000Z | 2021-03-17T11:37:54.000Z | tests/test_data.py | mrghg/py12box | ab4a64d20d858f27ce8474d8d11c8af8d28f725e | [
"MIT"
] | 15 | 2021-02-15T06:16:15.000Z | 2021-09-22T14:13:05.000Z | tests/test_data.py | mrghg/py12box | ab4a64d20d858f27ce8474d8d11c8af8d28f725e | [
"MIT"
] | null | null | null |
from py12box import get_data
from pathlib import Path
def test_data_path():
assert get_data("blah") == Path(__file__).parents[1] / "py12box/data/blah" | 19.75 | 78 | 0.734177 | 24 | 158 | 4.5 | 0.583333 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.14557 | 158 | 8 | 78 | 19.75 | 0.762963 | 0 | 0 | 0 | 0 | 0 | 0.133758 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
6918f2efafb52cf650803a4c548df40cdb753fba | 132 | py | Python | powcoin/utils.py | jpthor/digital-cash | e81887ef490b8cdf65d9f75d253717aa8ea6dad3 | [
"MIT"
] | null | null | null | powcoin/utils.py | jpthor/digital-cash | e81887ef490b8cdf65d9f75d253717aa8ea6dad3 | [
"MIT"
] | null | null | null | powcoin/utils.py | jpthor/digital-cash | e81887ef490b8cdf65d9f75d253717aa8ea6dad3 | [
"MIT"
] | null | null | null | import pickle
def serialize(coin):
return pickle.dumps(coin)
def deserialize(serialized):
return pickle.loads(serialized)
| 16.5 | 35 | 0.757576 | 16 | 132 | 6.25 | 0.625 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 132 | 7 | 36 | 18.857143 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 6 |
69278ba35916e6acd129b8777efd1c1869b7e940 | 126 | py | Python | napari_points_io/__init__.py | maweigert/napari-points-io | f92d8d2bc7e2336f41259aca82db171169bb13be | [
"BSD-3-Clause"
] | null | null | null | napari_points_io/__init__.py | maweigert/napari-points-io | f92d8d2bc7e2336f41259aca82db171169bb13be | [
"BSD-3-Clause"
] | null | null | null | napari_points_io/__init__.py | maweigert/napari-points-io | f92d8d2bc7e2336f41259aca82db171169bb13be | [
"BSD-3-Clause"
] | null | null | null |
__version__ = "0.0.1"
from ._reader import napari_get_reader
from ._writer import napari_get_writer, napari_write_points
| 14 | 59 | 0.801587 | 19 | 126 | 4.684211 | 0.578947 | 0.269663 | 0.337079 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.134921 | 126 | 8 | 60 | 15.75 | 0.788991 | 0 | 0 | 0 | 0 | 0 | 0.04065 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
694c2dcd787bc5fa929d15c0c58df3ed2789c338 | 87 | py | Python | pipely/engine/__init__.py | 5x12/pipely | 9d67bc35ede403c79cc624d2f51e15de7167754c | [
"MIT"
] | 9 | 2022-01-14T17:02:59.000Z | 2022-03-26T19:12:51.000Z | pipely/engine/__init__.py | 5x12/pipely | 9d67bc35ede403c79cc624d2f51e15de7167754c | [
"MIT"
] | 1 | 2022-03-11T19:42:32.000Z | 2022-03-24T16:36:23.000Z | pipely/engine/__init__.py | 5x12/pipely | 9d67bc35ede403c79cc624d2f51e15de7167754c | [
"MIT"
] | 2 | 2022-03-11T03:06:39.000Z | 2022-03-15T17:31:32.000Z | from .trigger_from_yaml import YamlTrigger
from .trigger_from_class import ClassTrigger | 43.5 | 44 | 0.896552 | 12 | 87 | 6.166667 | 0.583333 | 0.297297 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08046 | 87 | 2 | 44 | 43.5 | 0.925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 6 |
15daaa8da7d212c74951bb8152dd7a13a6d0470a | 42 | py | Python | terra/preprocessing/__init__.py | VAW-SwissTerra/SwissTerra | c681ade9064fea6b035bb184280f33df5baebfad | [
"Apache-2.0"
] | 3 | 2020-11-14T22:31:25.000Z | 2022-02-20T19:21:57.000Z | terra/preprocessing/__init__.py | VAW-SwissTerra/SwissTerra | c681ade9064fea6b035bb184280f33df5baebfad | [
"Apache-2.0"
] | 1 | 2020-11-03T08:22:29.000Z | 2020-11-03T08:22:29.000Z | terra/preprocessing/__init__.py | VAW-SwissTerra/SwissTerra | c681ade9064fea6b035bb184280f33df5baebfad | [
"Apache-2.0"
] | null | null | null | from . import masks, image_meta, overview
| 21 | 41 | 0.785714 | 6 | 42 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 1 | 42 | 42 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15e3e58e75ab0367b05f4b30df96050b08a86a96 | 24 | py | Python | igate/__init__.py | samwathegreat/igate_telem | 6185f6248a0ac2e30cbaf14927ab1ef1cedd4ac0 | [
"BSD-2-Clause"
] | 5 | 2020-08-26T08:18:48.000Z | 2022-02-06T16:37:59.000Z | igate/__init__.py | samwathegreat/igate_telem | 6185f6248a0ac2e30cbaf14927ab1ef1cedd4ac0 | [
"BSD-2-Clause"
] | 3 | 2022-02-05T23:04:28.000Z | 2022-02-07T04:58:48.000Z | igate/__init__.py | samwathegreat/igate_telem | 6185f6248a0ac2e30cbaf14927ab1ef1cedd4ac0 | [
"BSD-2-Clause"
] | 2 | 2021-11-04T14:23:37.000Z | 2022-02-06T00:09:27.000Z | from .telem import main
| 12 | 23 | 0.791667 | 4 | 24 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 6 |
15ea4d7f75900f7d75cb16225f86dae2cda514bc | 38 | py | Python | translator_train/worksheet.py | tooshort26/mt-kamayo-api | 75580d2225410d389486e4876a0d55dbb80bae55 | [
"MIT"
] | 12 | 2018-09-01T04:29:16.000Z | 2020-11-05T20:03:51.000Z | translator_train/worksheet.py | tooshort26/mt-kamayo-api | 75580d2225410d389486e4876a0d55dbb80bae55 | [
"MIT"
] | 6 | 2021-04-30T21:04:04.000Z | 2022-02-10T00:45:19.000Z | translator_train/worksheet.py | tooshort26/Py-MT-ML | 84330ebdfdbd7855c49854f9fb9af9ea3e90c234 | [
"MIT"
] | 5 | 2018-08-24T02:41:40.000Z | 2019-11-25T12:56:13.000Z | import keras
print(keras.__version__) | 12.666667 | 24 | 0.842105 | 5 | 38 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 3 | 24 | 12.666667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 6 |
c616b735fbf57bedebd76fc2dad20d2288cb008c | 22,565 | py | Python | tests/test_organization_client.py | bgroveben/launchkey-python | c102d76040221059e7b87d96496edb1be3824d3b | [
"MIT"
] | 1 | 2018-12-06T04:42:35.000Z | 2018-12-06T04:42:35.000Z | tests/test_organization_client.py | bgroveben/launchkey-python | c102d76040221059e7b87d96496edb1be3824d3b | [
"MIT"
] | 1 | 2018-12-11T22:31:03.000Z | 2018-12-11T22:31:03.000Z | tests/test_organization_client.py | bgroveben/launchkey-python | c102d76040221059e7b87d96496edb1be3824d3b | [
"MIT"
] | null | null | null | import unittest
from mock import MagicMock, ANY
from uuid import uuid4
from launchkey.clients import OrganizationClient
from launchkey.clients.organization import Directory
from launchkey.transports.base import APIResponse
from launchkey.exceptions import LaunchKeyAPIException, InvalidParameters, LastRemainingKey, Publ... | 57.417303 | 118 | 0.652781 | 2,551 | 22,565 | 5.508428 | 0.095649 | 0.054583 | 0.065756 | 0.010248 | 0.889126 | 0.874182 | 0.832124 | 0.807074 | 0.794976 | 0.768645 | 0 | 0.100953 | 0.232661 | 22,565 | 392 | 119 | 57.563776 | 0.710598 | 0 | 0 | 0.540698 | 0 | 0.052326 | 0.214093 | 0.151961 | 0 | 0 | 0 | 0 | 0.296512 | 1 | 0.125 | false | 0 | 0.040698 | 0 | 0.171512 | 0.017442 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
c653d8f248d49c60c6fbb5cad4aa16caf2d0cf11 | 5,105 | py | Python | project/apps/main_site/migrations/0010_auto__add_field_sale_logo_thumb.py | buddyup/dashboard | 3c4b9ac32331b0a3bf0bb41acd31f5a4ce053dd8 | [
"BSD-2-Clause"
] | null | null | null | project/apps/main_site/migrations/0010_auto__add_field_sale_logo_thumb.py | buddyup/dashboard | 3c4b9ac32331b0a3bf0bb41acd31f5a4ce053dd8 | [
"BSD-2-Clause"
] | null | null | null | project/apps/main_site/migrations/0010_auto__add_field_sale_logo_thumb.py | buddyup/dashboard | 3c4b9ac32331b0a3bf0bb41acd31f5a4ce053dd8 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Sale.logo_thumb'
db.add_column(u'main_site_sale', 'logo_t... | 70.902778 | 139 | 0.579432 | 579 | 5,105 | 4.924007 | 0.174439 | 0.112241 | 0.191512 | 0.273588 | 0.807436 | 0.782182 | 0.708523 | 0.64644 | 0.616977 | 0.616977 | 0 | 0.023942 | 0.19001 | 5,105 | 72 | 140 | 70.902778 | 0.665538 | 0.01665 | 0 | 0.180328 | 0 | 0 | 0.561292 | 0.310743 | 0 | 0 | 0 | 0 | 0 | 1 | 0.032787 | false | 0 | 0.065574 | 0 | 0.147541 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.