hexsha stringlengths 40 40 | size int64 5 2.06M | ext stringclasses 10
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 248 | max_stars_repo_name stringlengths 5 125 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 248 | max_issues_repo_name stringlengths 5 125 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 248 | max_forks_repo_name stringlengths 5 125 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 2.06M | avg_line_length float64 1 1.02M | max_line_length int64 3 1.03M | alphanum_fraction float64 0 1 | count_classes int64 0 1.6M | score_classes float64 0 1 | count_generators int64 0 651k | score_generators float64 0 1 | count_decorators int64 0 990k | score_decorators float64 0 1 | count_async_functions int64 0 235k | score_async_functions float64 0 1 | count_documentation int64 0 1.04M | score_documentation float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6707dd7b43e33c316be804768ef020a089466983 | 14,107 | py | Python | visionpack/stable_baselines3/common/off_policy_algorithm.py | joeljosephjin/gvgai-rl | 57281629c313abb43312950b22d043a3d67639cf | [
"Apache-2.0"
] | null | null | null | visionpack/stable_baselines3/common/off_policy_algorithm.py | joeljosephjin/gvgai-rl | 57281629c313abb43312950b22d043a3d67639cf | [
"Apache-2.0"
] | null | null | null | visionpack/stable_baselines3/common/off_policy_algorithm.py | joeljosephjin/gvgai-rl | 57281629c313abb43312950b22d043a3d67639cf | [
"Apache-2.0"
] | null | null | null | import time
import os
import pickle
import warnings
from typing import Union, Type, Optional, Dict, Any, Callable
import gym
import torch as th
import numpy as np
from stable_baselines3.common import logger
from stable_baselines3.common.base_class import BaseAlgorithm
from stable_baselines3.common.policies import Bas... | 50.382143 | 122 | 0.607571 | 13,426 | 0.951726 | 0 | 0 | 0 | 0 | 0 | 0 | 5,290 | 0.374991 |
6707dda4f20fd2cb10f818588c5b114047a6d11c | 2,743 | py | Python | src/oscar/apps/dashboard/app.py | frmdstryr/django-oscar | 32bf8618ebb688df6ba306dc7703de8e61b4e78c | [
"BSD-3-Clause"
] | null | null | null | src/oscar/apps/dashboard/app.py | frmdstryr/django-oscar | 32bf8618ebb688df6ba306dc7703de8e61b4e78c | [
"BSD-3-Clause"
] | null | null | null | src/oscar/apps/dashboard/app.py | frmdstryr/django-oscar | 32bf8618ebb688df6ba306dc7703de8e61b4e78c | [
"BSD-3-Clause"
] | null | null | null | from django.conf.urls import url
from django.contrib.auth import views as auth_views
from django.contrib.auth.forms import AuthenticationForm
from oscar.core.application import (
DashboardApplication as BaseDashboardApplication)
from oscar.core.loading import get_class
class DashboardApplication(BaseDashboardApp... | 44.967213 | 91 | 0.654028 | 2,426 | 0.884433 | 0 | 0 | 0 | 0 | 0 | 0 | 838 | 0.305505 |
67081cebddc67151d15ce739da186891614e2d4d | 4,783 | py | Python | wedding/migrations/0004_auto_20170407_2017.py | chadgates/thetravelling2 | 3646d64acb0fbf5106066700f482c9013f5fb7d0 | [
"MIT"
] | null | null | null | wedding/migrations/0004_auto_20170407_2017.py | chadgates/thetravelling2 | 3646d64acb0fbf5106066700f482c9013f5fb7d0 | [
"MIT"
] | null | null | null | wedding/migrations/0004_auto_20170407_2017.py | chadgates/thetravelling2 | 3646d64acb0fbf5106066700f482c9013f5fb7d0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-04-07 20:17
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
migrations.swapp... | 46.892157 | 135 | 0.582061 | 4,547 | 0.950659 | 0 | 0 | 0 | 0 | 0 | 0 | 874 | 0.182731 |
6708d69bfe7f1ec1d25240a2e512900542ce4a78 | 820 | py | Python | taskonomy/utils/log_utils.py | shikhar-srivastava/hover_net | d4e8e129a4ad72f5d574a78c036449b496421529 | [
"MIT"
] | null | null | null | taskonomy/utils/log_utils.py | shikhar-srivastava/hover_net | d4e8e129a4ad72f5d574a78c036449b496421529 | [
"MIT"
] | null | null | null | taskonomy/utils/log_utils.py | shikhar-srivastava/hover_net | d4e8e129a4ad72f5d574a78c036449b496421529 | [
"MIT"
] | null | null | null | import pandas as pd
import pickle
def read_metric_logs(bucket_type):
metrics = pd.DataFrame(columns=['source_type', 'target_type', 'stats'])
type_list_path = f'/l/users/shikhar.srivastava/data/pannuke/{bucket_type}/selected_types.csv'
type_list = pd.read_csv(type_list_path)['0']
for source_type in t... | 43.157895 | 164 | 0.684146 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 307 | 0.37439 |
6709a543eab8bce61601cfd76117d243faac013b | 5,373 | py | Python | train_DEU.py | JosephineRabbit/MLMSNet | 755e07afd1c19797b02cf88b7bbb195112ffec77 | [
"MIT"
] | 61 | 2019-04-23T15:17:36.000Z | 2021-08-20T15:48:11.000Z | train_DEU.py | zhuxinang/MLMSNet | a824a70fa37aeb4536bc72d8032e871328c687e8 | [
"MIT"
] | 8 | 2019-05-04T04:38:26.000Z | 2020-08-16T15:15:15.000Z | train_DEU.py | JosephineRabbit/MLMSNet | 755e07afd1c19797b02cf88b7bbb195112ffec77 | [
"MIT"
] | 7 | 2019-06-12T07:02:06.000Z | 2020-09-20T02:37:36.000Z | from D_E_U import *
D_E = DSS(*extra_layer(vgg(base['dss'], 3), extra['dss']),config.BATCH_SIZE).cuda()
U = D_U().cuda()
U.cuda()
data_dirs = [
("/home/rabbit/Datasets/DUTS/DUT-train/DUT-train-Image",
"/home/rabbit/Datasets/DUTS/DUT-train/DUT-train-Mask"),
]
test_dirs = [("/home/rabbit/Datasets/SED1/SED1-I... | 24.760369 | 116 | 0.594826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 972 | 0.180905 |
670ac7303b14fc10b0803485c55a62a568d00950 | 445 | py | Python | solutions/1497_check_if_array_pairs_are_divisible_by_k.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | solutions/1497_check_if_array_pairs_are_divisible_by_k.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | solutions/1497_check_if_array_pairs_are_divisible_by_k.py | YiqunPeng/leetcode_pro | 7e6376984f9baec49a5e827d98330fe3d1b656f0 | [
"MIT"
] | null | null | null | class Solution:
def canArrange(self, arr: List[int], k: int) -> bool:
"""Hash table.
Running time: O(n) where n == len(arr).
"""
d = collections.defaultdict(int)
for a in arr:
d[a % k] += 1
for key, v in d.items():
if key == 0 and v % 2 == 1:
... | 27.8125 | 57 | 0.442697 | 444 | 0.997753 | 0 | 0 | 0 | 0 | 0 | 0 | 75 | 0.168539 |
670bfcaeeccc178a263df62b6b3d972d4904cdc0 | 5,122 | py | Python | machine-learning-ex2/ex2/ex2.py | DuffAb/coursera-ml-py | efcfb0847ac7d1e181cb6b93954b0176ce6162d4 | [
"MIT"
] | null | null | null | machine-learning-ex2/ex2/ex2.py | DuffAb/coursera-ml-py | efcfb0847ac7d1e181cb6b93954b0176ce6162d4 | [
"MIT"
] | null | null | null | machine-learning-ex2/ex2/ex2.py | DuffAb/coursera-ml-py | efcfb0847ac7d1e181cb6b93954b0176ce6162d4 | [
"MIT"
] | null | null | null | # Machine Learning Online Class - Exercise 2: Logistic Regression
#
# Instructions
# ------------
#
# This file contains code that helps you get started on the logistic
# regression exercise. You will need to complete the following functions
# in this exericse:
#
# sigmoid.py
# costFunction.py
# predic... | 34.608108 | 128 | 0.689184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3,497 | 0.677976 |
670c1bac34e09541ccb5d179f3199b3e5c901751 | 2,866 | py | Python | tests/test_apiFunc.py | Reid1923/py-GoldsberryTest | 3c7e9e2f4ef75720e1a13c4c41018a2072487ddd | [
"MIT"
] | null | null | null | tests/test_apiFunc.py | Reid1923/py-GoldsberryTest | 3c7e9e2f4ef75720e1a13c4c41018a2072487ddd | [
"MIT"
] | null | null | null | tests/test_apiFunc.py | Reid1923/py-GoldsberryTest | 3c7e9e2f4ef75720e1a13c4c41018a2072487ddd | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
import goldsberry
test_data = [
(goldsberry._nbaLeague, 'NBA', '00'),
(goldsberry._nbaLeague, 'WNBA', '10'),
(goldsberry._nbaLeague, 'NBADL', '20'),
(goldsberry._nbaSeason, 1999, '1999-00'),
(goldsberry._nbaSeason, 2000, '2000-01'),
(goldsberry._seasonID, 1999, '21999'),
(goldsb... | 33.717647 | 56 | 0.691207 | 0 | 0 | 0 | 0 | 1,338 | 0.466853 | 0 | 0 | 388 | 0.13538 |
670d0a8e1a1197c9ec69df947dabd43d08e4160b | 4,295 | py | Python | sasmodels/models/poly_gauss_coil.py | zattala/sasmodels | a547aa73d43145b3bd34770b0ea27ba8882170a3 | [
"BSD-3-Clause"
] | null | null | null | sasmodels/models/poly_gauss_coil.py | zattala/sasmodels | a547aa73d43145b3bd34770b0ea27ba8882170a3 | [
"BSD-3-Clause"
] | null | null | null | sasmodels/models/poly_gauss_coil.py | zattala/sasmodels | a547aa73d43145b3bd34770b0ea27ba8882170a3 | [
"BSD-3-Clause"
] | null | null | null | #poly_gauss_coil model
#conversion of Poly_GaussCoil.py
#converted by Steve King, Mar 2016
r"""
This empirical model describes the scattering from *polydisperse* polymer
chains in theta solvents or polymer melts, assuming a Schulz-Zimm type
molecular weight distribution.
To describe the scattering from *monodisperse* ... | 32.293233 | 116 | 0.584633 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2,890 | 0.672875 |
670fa5323287fc9c400ddc9fd03e291ab3a5896f | 4,939 | py | Python | examples/information_extraction/msra_ner/eval.py | BenfengXu/PaddleNLP | eca87fde4a1814a8f028e0e900d1792cbaa5c700 | [
"Apache-2.0"
] | 1 | 2021-07-22T08:33:53.000Z | 2021-07-22T08:33:53.000Z | examples/information_extraction/msra_ner/eval.py | BenfengXu/PaddleNLP | eca87fde4a1814a8f028e0e900d1792cbaa5c700 | [
"Apache-2.0"
] | null | null | null | examples/information_extraction/msra_ner/eval.py | BenfengXu/PaddleNLP | eca87fde4a1814a8f028e0e900d1792cbaa5c700 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | 39.512 | 226 | 0.70905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,409 | 0.28528 |
670fb8129b5e60d52265e167fb8a005a31688d39 | 14,814 | py | Python | src/python/module/z5py/util.py | constantinpape/z5 | 20e364cc614b744a0ee3cb733531c4b872839721 | [
"MIT"
] | 82 | 2018-02-02T04:03:49.000Z | 2022-03-25T07:41:08.000Z | src/python/module/z5py/util.py | constantinpape/z5 | 20e364cc614b744a0ee3cb733531c4b872839721 | [
"MIT"
] | 152 | 2017-09-18T15:49:05.000Z | 2022-03-16T21:07:07.000Z | src/python/module/z5py/util.py | constantinpape/z5 | 20e364cc614b744a0ee3cb733531c4b872839721 | [
"MIT"
] | 27 | 2017-09-19T14:52:56.000Z | 2021-11-25T14:43:47.000Z | import os
from itertools import product
from concurrent import futures
from contextlib import closing
from datetime import datetime
import numpy as np
from . import _z5py
from .file import File, S3File
from .dataset import Dataset
from .shape_utils import normalize_slices
def product1d(inrange):
for ii in inrang... | 37.887468 | 120 | 0.645876 | 674 | 0.045498 | 2,561 | 0.172877 | 274 | 0.018496 | 0 | 0 | 5,755 | 0.388484 |
671044f92c1e2bb7a547bce5cdc307d31e50194b | 8,485 | py | Python | custom_components/waste_collection_schedule/sensor.py | trstns/hacs_waste_collection_schedule | f8f297b43c8e87510e17a558347a88a95f790d7b | [
"MIT"
] | null | null | null | custom_components/waste_collection_schedule/sensor.py | trstns/hacs_waste_collection_schedule | f8f297b43c8e87510e17a558347a88a95f790d7b | [
"MIT"
] | null | null | null | custom_components/waste_collection_schedule/sensor.py | trstns/hacs_waste_collection_schedule | f8f297b43c8e87510e17a558347a88a95f790d7b | [
"MIT"
] | null | null | null | """Sensor platform support for Waste Collection Schedule."""
import collections
import datetime
import logging
from enum import Enum
import homeassistant.helpers.config_validation as cv
import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import CONF_NAME, CONF... | 32.140152 | 99 | 0.635357 | 6,263 | 0.738126 | 0 | 0 | 3,594 | 0.423571 | 1,000 | 0.117855 | 1,307 | 0.154037 |
671186e2f94db3759070c3a35c61ae043b2efdd5 | 2,622 | py | Python | qidian.py | kivson/qidian-dl | 9b42f4c530b7938ff80f160ef32aa51cc43671f6 | [
"MIT"
] | null | null | null | qidian.py | kivson/qidian-dl | 9b42f4c530b7938ff80f160ef32aa51cc43671f6 | [
"MIT"
] | null | null | null | qidian.py | kivson/qidian-dl | 9b42f4c530b7938ff80f160ef32aa51cc43671f6 | [
"MIT"
] | null | null | null | from concurrent.futures import ThreadPoolExecutor
from functools import partial
from json import JSONDecodeError
import requests
from funcy.calc import cache
from funcy.debug import print_calls
from funcy.simple_funcs import curry
HEADERS = {
"Accept": "application/json, text/javascript, */*; q=0.01",
"User-A... | 29.133333 | 113 | 0.666667 | 42 | 0.016018 | 1,276 | 0.486651 | 122 | 0.046529 | 0 | 0 | 764 | 0.291381 |
6712802d8a80e0d4a1dc7de07b3fd9bb724b208d | 4,398 | py | Python | srcWatteco/TICs/_poubelle/TIC_ICEp.py | OStephan29/Codec-Python | 76d651bb23daf1d9307c8b84533d9f24a59cea28 | [
"BSD-3-Clause"
] | 1 | 2022-01-12T15:46:58.000Z | 2022-01-12T15:46:58.000Z | srcWatteco/TICs/_poubelle/TIC_ICEp.py | OStephan29/Codec-Python | 76d651bb23daf1d9307c8b84533d9f24a59cea28 | [
"BSD-3-Clause"
] | null | null | null | srcWatteco/TICs/_poubelle/TIC_ICEp.py | OStephan29/Codec-Python | 76d651bb23daf1d9307c8b84533d9f24a59cea28 | [
"BSD-3-Clause"
] | 1 | 2021-10-05T08:40:15.000Z | 2021-10-05T08:40:15.000Z | # -*- coding: utf-8 -*-
# Pour passer de TICDataXXXFromBitfields @ TICDataBatchXXXFromFieldIndex
# Expressions régulière notepad++
# Find : TICDataSelectorIfBit\( ([0-9]*), Struct\("([^\"]*)"\/([^\)]*).*
# Replace: \1 : \3, # \2
from ._TIC_Tools import *
from ._TIC_Types import *
TICDataICEpFromBitfields = Struct... | 33.572519 | 74 | 0.698272 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,169 | 0.265682 |
6714f1b0e63e554da53c6d95c385058b29428db0 | 2,095 | py | Python | tests/test_check_types.py | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 3 | 2022-01-14T00:37:58.000Z | 2022-03-26T12:26:32.000Z | tests/test_check_types.py | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 29 | 2021-07-20T12:42:44.000Z | 2022-03-28T13:01:33.000Z | tests/test_check_types.py | oliel/python-ovirt-engine-sdk4 | c0b13982b45dee664ebc063bda7686124b402c14 | [
"Apache-2.0"
] | 12 | 2021-07-20T12:27:07.000Z | 2022-02-24T11:10:12.000Z | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 30.362319 | 74 | 0.630072 | 1,304 | 0.622434 | 0 | 0 | 0 | 0 | 0 | 0 | 1,084 | 0.517422 |
6715015a823d4efe629d554c1f06e22bd2b8c5e4 | 7,518 | py | Python | nsi/shell.py | NextStepInnovation/nsi-tools | ee4c9a9e512a2fb4942699d88920bc8210a3d701 | [
"MIT"
] | null | null | null | nsi/shell.py | NextStepInnovation/nsi-tools | ee4c9a9e512a2fb4942699d88920bc8210a3d701 | [
"MIT"
] | null | null | null | nsi/shell.py | NextStepInnovation/nsi-tools | ee4c9a9e512a2fb4942699d88920bc8210a3d701 | [
"MIT"
] | null | null | null | import os
import io
import sys
import subprocess
import shlex
import logging
from threading import Timer
from typing import Callable, Any, List
from pathlib import Path # noqa: for doctest
import tempfile # noqa: for doctest
from .toolz import (
merge, map, pipe, curry, do, cprint
)
log = log... | 28.477273 | 91 | 0.580607 | 0 | 0 | 3,482 | 0.463155 | 6,757 | 0.898776 | 0 | 0 | 4,742 | 0.630753 |
6715fb7acc45572b00524312f06dff2708091d1d | 8,934 | py | Python | ICLR_2022/Cubic_10D/PIVEN/DataGen.py | streeve/PI3NN | f7f08a195096e0388bb9230bc67c6acd6f41581a | [
"Apache-2.0"
] | 11 | 2021-11-08T20:38:50.000Z | 2022-01-30T02:46:39.000Z | ICLR_2022/Cubic_10D/PIVEN/DataGen.py | streeve/PI3NN | f7f08a195096e0388bb9230bc67c6acd6f41581a | [
"Apache-2.0"
] | 1 | 2022-01-13T19:46:32.000Z | 2022-02-09T16:23:56.000Z | ICLR_2022/Cubic_10D/PIVEN/DataGen.py | streeve/PI3NN | f7f08a195096e0388bb9230bc67c6acd6f41581a | [
"Apache-2.0"
] | 1 | 2021-12-17T18:38:26.000Z | 2021-12-17T18:38:26.000Z | """
Data creation:
Load the data, normalize it, and split into train and test.
"""
'''
Added the capability of loading pre-separated UCI train/test data
function LoadData_Splitted_UCI
'''
import numpy as np
import os
import pandas as pd
import tensorflow as tf
DATA_PATH = "../UCI_Datasets"
class DataGenerator:... | 36.317073 | 123 | 0.580479 | 8,630 | 0.965973 | 0 | 0 | 0 | 0 | 0 | 0 | 2,376 | 0.26595 |
67161d52650aa2e5bc2f66de7b2914c066936052 | 362 | py | Python | after/config.py | mauvilsa/2021-config | 870fd832bda269a1be7bfba32dd327df9987e74a | [
"MIT"
] | 5 | 2021-12-25T15:16:16.000Z | 2022-03-19T09:04:39.000Z | after/config.py | ArjanCodes/2021-config | 7c2c3babb0fb66d69eac81590356fae512c5e784 | [
"MIT"
] | 1 | 2022-01-14T08:02:13.000Z | 2022-01-14T08:02:13.000Z | after/config.py | mauvilsa/2021-config | 870fd832bda269a1be7bfba32dd327df9987e74a | [
"MIT"
] | 1 | 2022-01-14T06:32:44.000Z | 2022-01-14T06:32:44.000Z | from dataclasses import dataclass
@dataclass
class Paths:
log: str
data: str
@dataclass
class Files:
train_data: str
train_labels: str
test_data: str
test_labels: str
@dataclass
class Params:
epoch_count: int
lr: float
batch_size: int
@dataclass
class MNISTConfig:
paths: ... | 12.066667 | 33 | 0.679558 | 272 | 0.751381 | 0 | 0 | 316 | 0.872928 | 0 | 0 | 0 | 0 |
671650e9876f386bef01f59b8d08f601fc6d3ed8 | 14,103 | py | Python | lab7/lab7.py | cudaczek/nlp-labs-2020 | 8e40fe04d2350c6e43a36b29f4428a34aedb6dea | [
"MIT"
] | null | null | null | lab7/lab7.py | cudaczek/nlp-labs-2020 | 8e40fe04d2350c6e43a36b29f4428a34aedb6dea | [
"MIT"
] | null | null | null | lab7/lab7.py | cudaczek/nlp-labs-2020 | 8e40fe04d2350c6e43a36b29f4428a34aedb6dea | [
"MIT"
] | null | null | null | import pprint
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn import manifold
from gensim.models import KeyedVectors
# Download polish word embeddings for word2vec github/Google drive:
# https://github.com/sdadas/polish-nlp-resources
# with 100 dimensionality
word2vec_100 = KeyedV... | 33.901442 | 127 | 0.667801 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11,121 | 0.7796 |
671762a970ef464f89d67b583ec5b5c7d9146820 | 1,427 | py | Python | Nimbus-Controller/sqs-fastreader.py | paulfdoyle/NIMBUS | 0f309b620c00a9438c55404e685bb1cafc44d200 | [
"MIT"
] | null | null | null | Nimbus-Controller/sqs-fastreader.py | paulfdoyle/NIMBUS | 0f309b620c00a9438c55404e685bb1cafc44d200 | [
"MIT"
] | null | null | null | Nimbus-Controller/sqs-fastreader.py | paulfdoyle/NIMBUS | 0f309b620c00a9438c55404e685bb1cafc44d200 | [
"MIT"
] | null | null | null | # This script adds a new message to a specific SQS queue
#
# Author - Paul Doyle Aug 2013
#
#
#from __future__ import print_function
import sys
import Queue
import boto.sqs
import argparse
import socket
import datetime
import sys
import time
from boto.sqs.attributes import Attributes
parser = argparse.ArgumentParser()... | 24.603448 | 154 | 0.733006 | 511 | 0.358094 | 0 | 0 | 0 | 0 | 0 | 0 | 351 | 0.245971 |
6718237fd3891c8aa0d6df664410cd0f7651353e | 1,547 | py | Python | dero/ml/results/reformat.py | whoopnip/dero | 62e081b341cc711ea8e1578e7c65b581eb74fa3f | [
"MIT"
] | null | null | null | dero/ml/results/reformat.py | whoopnip/dero | 62e081b341cc711ea8e1578e7c65b581eb74fa3f | [
"MIT"
] | 3 | 2020-03-24T17:57:46.000Z | 2021-02-02T22:25:37.000Z | dero/ml/results/reformat.py | whoopnip/dero | 62e081b341cc711ea8e1578e7c65b581eb74fa3f | [
"MIT"
] | null | null | null | from typing import Optional
import pandas as pd
from dero.ml.typing import ModelDict, AllModelResultsDict, DfDict
def model_dict_to_df(model_results: ModelDict, model_name: Optional[str] = None) -> pd.DataFrame:
df = pd.DataFrame(model_results).T
df.drop('score', inplace=True)
df['score'] = model_results[... | 37.731707 | 97 | 0.700711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 77 | 0.049774 |
67194761b98bb4ec0d555cbb6324bf54ba4345ac | 663 | py | Python | engine/view.py | amirgeva/py2d | 88210240b71446d53ee85cf07ca8d253d522a265 | [
"BSD-2-Clause"
] | null | null | null | engine/view.py | amirgeva/py2d | 88210240b71446d53ee85cf07ca8d253d522a265 | [
"BSD-2-Clause"
] | null | null | null | engine/view.py | amirgeva/py2d | 88210240b71446d53ee85cf07ca8d253d522a265 | [
"BSD-2-Clause"
] | null | null | null | import pygame
from engine.utils import Rect
from engine.app import get_screen_size
# EXPORT
class View(object):
def __init__(self, rect=None):
if rect:
self.rect = rect
else:
res = get_screen_size()
self.rect = Rect(0,0,res[0],res[1])
def offset(self, d):
... | 23.678571 | 89 | 0.600302 | 569 | 0.85822 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0.012066 |
67194cbd5bb79a7249d2ae1d8a3b2168422d756c | 1,640 | py | Python | oldplugins/coin.py | sonicrules1234/sonicbot | 07a22d08bf86ed33dc715a800957aee3b45f3dde | [
"BSD-3-Clause"
] | 1 | 2019-06-27T08:45:23.000Z | 2019-06-27T08:45:23.000Z | oldplugins/coin.py | sonicrules1234/sonicbot | 07a22d08bf86ed33dc715a800957aee3b45f3dde | [
"BSD-3-Clause"
] | null | null | null | oldplugins/coin.py | sonicrules1234/sonicbot | 07a22d08bf86ed33dc715a800957aee3b45f3dde | [
"BSD-3-Clause"
] | null | null | null | import shelve, random
arguments = ["self", "info", "args", "world"]
minlevel = 2
helpstring = "coin <bet>"
def main(connection, info, args, world) :
"""Decides heads or tails based on the coinchance variable. Adds or removes appropriate amount of money"""
money = shelve.open("money-%s.db" % (connection.netwo... | 60.740741 | 251 | 0.587805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 696 | 0.42439 |
6719b8a502c31dfe0118ee06e1a1b37092b216f3 | 13,562 | py | Python | src/rbvfit/vfit_mcmc.py | manoranjan-s/rbvfit | a5c450f721c08dda02c431a5a079945a73a0cfc2 | [
"MIT"
] | null | null | null | src/rbvfit/vfit_mcmc.py | manoranjan-s/rbvfit | a5c450f721c08dda02c431a5a079945a73a0cfc2 | [
"MIT"
] | null | null | null | src/rbvfit/vfit_mcmc.py | manoranjan-s/rbvfit | a5c450f721c08dda02c431a5a079945a73a0cfc2 | [
"MIT"
] | null | null | null | from __future__ import print_function
import emcee
from multiprocessing import Pool
import numpy as np
import corner
import matplotlib.pyplot as plt
import sys
import scipy.optimize as op
from rbvfit.rb_vfit import rb_veldiff as rb_veldiff
from rbvfit import rb_setline as rb
import pdb
def plot_model(wave_obs,fnorm,e... | 36.262032 | 204 | 0.539891 | 4,997 | 0.368456 | 0 | 0 | 0 | 0 | 0 | 0 | 2,369 | 0.174679 |
671a19cd137db70202b7e3303f276604903cd2b5 | 6,409 | py | Python | yolox/data/dataloading.py | XHYsdjkdsjsk2021/Yolox_xhy | a60f585d4d2bf36f9fa90b0a078efb7b315e0118 | [
"Apache-2.0"
] | null | null | null | yolox/data/dataloading.py | XHYsdjkdsjsk2021/Yolox_xhy | a60f585d4d2bf36f9fa90b0a078efb7b315e0118 | [
"Apache-2.0"
] | null | null | null | yolox/data/dataloading.py | XHYsdjkdsjsk2021/Yolox_xhy | a60f585d4d2bf36f9fa90b0a078efb7b315e0118 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright (c) Megvii, Inc. and its affiliates.
import torch
from torch.utils.data.dataloader import DataLoader as torchDataLoader
from torch.utils.data.dataloader import default_collate
import os
import random
from .samplers import YoloBatchSampler
def ... | 35.804469 | 99 | 0.555469 | 5,075 | 0.791855 | 0 | 0 | 0 | 0 | 0 | 0 | 3,563 | 0.555937 |
671a1a30341f98dfd27e877827d5eea516829e2a | 7,765 | py | Python | env/lib/python3.9/site-packages/ansible/modules/cloud/amazon/_ec2_vpc_vpn_facts.py | unbounce/aws-name-asg-instances | e0379442e3ce71bf66ba9b8975b2cc57a2c7648d | [
"MIT"
] | 17 | 2017-06-07T23:15:01.000Z | 2021-08-30T14:32:36.000Z | env/lib/python3.9/site-packages/ansible/modules/cloud/amazon/_ec2_vpc_vpn_facts.py | unbounce/aws-name-asg-instances | e0379442e3ce71bf66ba9b8975b2cc57a2c7648d | [
"MIT"
] | 9 | 2017-06-25T03:31:52.000Z | 2021-05-17T23:43:12.000Z | env/lib/python3.9/site-packages/ansible/modules/cloud/amazon/_ec2_vpc_vpn_facts.py | unbounce/aws-name-asg-instances | e0379442e3ce71bf66ba9b8975b2cc57a2c7648d | [
"MIT"
] | 3 | 2018-05-26T21:31:22.000Z | 2019-09-28T17:00:45.000Z | #!/usr/bin/python
# Copyright: Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = r'''
---
module: ec2_vpc_vpn_info
version_added: 1.0.0
short_description:... | 35.619266 | 157 | 0.642112 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5,660 | 0.728912 |
671aa126c99ce28f4a40eb764f765d0b5bf6665c | 10,454 | py | Python | cogs/roleselector.py | YouGotSchott/tcs-discord-bot | 696db5da129ef42f4c5047679d289aeb6ed122a9 | [
"MIT"
] | 1 | 2021-04-30T06:38:31.000Z | 2021-04-30T06:38:31.000Z | cogs/roleselector.py | YouGotSchott/tcs-discord-bot | 696db5da129ef42f4c5047679d289aeb6ed122a9 | [
"MIT"
] | null | null | null | cogs/roleselector.py | YouGotSchott/tcs-discord-bot | 696db5da129ef42f4c5047679d289aeb6ed122a9 | [
"MIT"
] | 1 | 2019-04-28T03:33:35.000Z | 2019-04-28T03:33:35.000Z | import discord
from discord.ext import commands
from pathlib import Path
from config import bot
from collections import OrderedDict
import json
class RoleSelector(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.messages_path = str(Path('cogs/data/messages.json'))
async def opener(... | 46.052863 | 147 | 0.505931 | 10,255 | 0.980964 | 0 | 0 | 2,124 | 0.203176 | 2,875 | 0.275014 | 4,257 | 0.407213 |
671b9c9f7b2c7728391666847cc8f06a6c3abea1 | 468 | py | Python | Bunnies.py | fatih-iver/Intro-to-Computer-Science-with-Python | 7b8127681415dfd100a0e70fe8a672cec696bbb7 | [
"MIT"
] | null | null | null | Bunnies.py | fatih-iver/Intro-to-Computer-Science-with-Python | 7b8127681415dfd100a0e70fe8a672cec696bbb7 | [
"MIT"
] | null | null | null | Bunnies.py | fatih-iver/Intro-to-Computer-Science-with-Python | 7b8127681415dfd100a0e70fe8a672cec696bbb7 | [
"MIT"
] | null | null | null | # Define a procedure, fibonacci, that takes a natural number as its input, and
# returns the value of that fibonacci number.
# Two Base Cases:
# fibonacci(0) => 0
# fibonacci(1) => 1
# Recursive Case:
# n > 1 : fibonacci(n) => fibonacci(n-1) + fibonacci(n-2)
def fibonacci(n):
return n if n ==... | 24.631579 | 79 | 0.604701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 290 | 0.619658 |
671bdca4dcc88d2670523ab9386ad959165e1bf4 | 1,876 | py | Python | symphony/cli/graphql_compiler/tests/test_utils_codegen.py | remo5000/magma | 1d1dd9a23800a8e07b1ce016776d93e12430ec15 | [
"BSD-3-Clause"
] | 1 | 2020-06-05T09:01:40.000Z | 2020-06-05T09:01:40.000Z | symphony/cli/graphql_compiler/tests/test_utils_codegen.py | remo5000/magma | 1d1dd9a23800a8e07b1ce016776d93e12430ec15 | [
"BSD-3-Clause"
] | 14 | 2019-11-15T12:01:18.000Z | 2019-12-12T14:37:42.000Z | symphony/cli/graphql_compiler/tests/test_utils_codegen.py | remo5000/magma | 1d1dd9a23800a8e07b1ce016776d93e12430ec15 | [
"BSD-3-Clause"
] | 3 | 2019-11-15T15:56:25.000Z | 2019-11-21T10:34:59.000Z | #!/usr/bin/env python3
from .base_test import BaseTest
from fbc.symphony.cli.graphql_compiler.gql.utils_codegen import CodeChunk
class TestRendererDataclasses(BaseTest):
def test_codegen_write_simple_strings(self):
gen = CodeChunk()
gen.write('def sum(a, b):')
gen.indent()
gen.wri... | 24.363636 | 73 | 0.537846 | 1,743 | 0.929104 | 0 | 0 | 0 | 0 | 0 | 0 | 257 | 0.136994 |
671c056e5378258e43c069fd46366a89b0af73b7 | 202 | py | Python | api/__init__.py | zhangyouliang/TencentComicBook | 74d8e7e787f70554d5d982687540a6ac3225b9ed | [
"MIT"
] | null | null | null | api/__init__.py | zhangyouliang/TencentComicBook | 74d8e7e787f70554d5d982687540a6ac3225b9ed | [
"MIT"
] | null | null | null | api/__init__.py | zhangyouliang/TencentComicBook | 74d8e7e787f70554d5d982687540a6ac3225b9ed | [
"MIT"
] | null | null | null | from flask import Flask
def create_app():
app = Flask(__name__)
app.config['JSON_AS_ASCII'] = False
from .views import app as main_app
app.register_blueprint(main_app)
return app
| 18.363636 | 39 | 0.70297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 | 0.074257 |
671c98674cb5f008f240bb63dd21b79174a4ca79 | 898 | py | Python | misc/pytorch_toolkit/chest_xray_screening/chest_xray_screening/utils/get_config.py | a-a-egorovich/training_extensions | e0bbdfa4266c6ccfebf23ef303204a4a62fc290d | [
"Apache-2.0"
] | null | null | null | misc/pytorch_toolkit/chest_xray_screening/chest_xray_screening/utils/get_config.py | a-a-egorovich/training_extensions | e0bbdfa4266c6ccfebf23ef303204a4a62fc290d | [
"Apache-2.0"
] | null | null | null | misc/pytorch_toolkit/chest_xray_screening/chest_xray_screening/utils/get_config.py | a-a-egorovich/training_extensions | e0bbdfa4266c6ccfebf23ef303204a4a62fc290d | [
"Apache-2.0"
] | 1 | 2021-05-08T04:29:44.000Z | 2021-05-08T04:29:44.000Z | import os
import json
def get_config(action, optimised = False):
""" action: train, test, export or gdrive
optimised: False --> DenseNet121
True --> DenseNet121Eff
"""
root_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
config_path = os.... | 33.259259 | 93 | 0.609131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 228 | 0.253898 |
671d6732bc9abaae404bc6f0b8c59f26d23ca716 | 3,337 | py | Python | src/udpa/annotations/versioning_pb2.py | pomerium/enterprise-client-python | 366d72cc9cd6dc05fae704582deb13b1ccd20a32 | [
"Apache-2.0"
] | 1 | 2021-09-14T04:34:29.000Z | 2021-09-14T04:34:29.000Z | src/udpa/annotations/versioning_pb2.py | pomerium/enterprise-client-python | 366d72cc9cd6dc05fae704582deb13b1ccd20a32 | [
"Apache-2.0"
] | 3 | 2021-09-15T15:10:41.000Z | 2022-01-04T21:03:03.000Z | src/udpa/annotations/versioning_pb2.py | pomerium/enterprise-client-python | 366d72cc9cd6dc05fae704582deb13b1ccd20a32 | [
"Apache-2.0"
] | 1 | 2021-09-13T21:51:37.000Z | 2021-09-13T21:51:37.000Z | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: udpa/annotations/versioning.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection... | 39.258824 | 374 | 0.802218 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,089 | 0.326341 |
671ef5ab0fb204c856b7864f6aaa3913e2ce45e8 | 2,787 | py | Python | modules/action/scan_smbclient_nullsession.py | mrpnkt/apt2 | 542fb0593069c900303421f3f24a499ce8f3a6a8 | [
"MIT"
] | 37 | 2018-08-24T20:13:19.000Z | 2022-02-22T08:41:24.000Z | modules/action/scan_smbclient_nullsession.py | zu3s/apt2-1 | 67325052d2713a363183c23188a67e98a379eec7 | [
"MIT"
] | 4 | 2020-06-14T23:16:45.000Z | 2021-03-08T14:18:21.000Z | modules/action/scan_smbclient_nullsession.py | zu3s/apt2-1 | 67325052d2713a363183c23188a67e98a379eec7 | [
"MIT"
] | 23 | 2018-11-15T13:00:09.000Z | 2021-08-07T18:53:04.000Z | import re
from core.actionModule import actionModule
from core.keystore import KeyStore as kb
from core.utils import Utils
class scan_smbclient_nullsession(actionModule):
def __init__(self, config, display, lock):
super(scan_smbclient_nullsession, self).__init__(config, display, lock)
self.title ... | 42.227273 | 108 | 0.545748 | 2,660 | 0.954431 | 0 | 0 | 0 | 0 | 0 | 0 | 912 | 0.327234 |
67217c13d08aaa4cb02ed01fdfa62904c93ef245 | 2,652 | py | Python | UserSpace/Python/Cosmo.py | dkaramit/MiMeS | a3c97a4877f181b54e880d7b144271c5659291b5 | [
"MIT"
] | 2 | 2022-01-27T20:10:19.000Z | 2022-01-29T04:26:16.000Z | UserSpace/Python/Cosmo.py | dkaramit/MiMeS | a3c97a4877f181b54e880d7b144271c5659291b5 | [
"MIT"
] | null | null | null | UserSpace/Python/Cosmo.py | dkaramit/MiMeS | a3c97a4877f181b54e880d7b144271c5659291b5 | [
"MIT"
] | null | null | null | from numpy import logspace
from sys import path as sysPath
sysPath.append('../../src')
#load the module
from interfacePy import Cosmo
cosmo=Cosmo('../../src/data/eos2020.dat',0,1e5)
for T in logspace(-5,5,50):
print(
'T=',T,'GeV\t',
'H=',cosmo.Hubble(T),'GeV\t',
'h_eff=',cosmo.heff(T),... | 28.212766 | 92 | 0.584465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 722 | 0.272247 |
6721e6112f2f0c4cefe44686fc888d2b7c5c0f42 | 5,236 | py | Python | src/psion/oauth2/endpoints/revocation.py | revensky/psion | dfe38a1a4f4d6a5029d0973dbe1326415df6d512 | [
"MIT"
] | 2 | 2021-02-22T22:12:23.000Z | 2021-02-22T22:48:33.000Z | src/psion/oauth2/endpoints/revocation.py | revensky/psion | dfe38a1a4f4d6a5029d0973dbe1326415df6d512 | [
"MIT"
] | null | null | null | src/psion/oauth2/endpoints/revocation.py | revensky/psion | dfe38a1a4f4d6a5029d0973dbe1326415df6d512 | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import Optional
from psion.oauth2.exceptions import InvalidClient, OAuth2Error, UnsupportedTokenType
from psion.oauth2.models import JSONResponse, Request
from .base import BaseEndpoint
class RevocationEndpoint(BaseEndpoint):
"""
Endpoint used by the `Client` ... | 41.228346 | 86 | 0.661383 | 4,997 | 0.954354 | 0 | 0 | 0 | 0 | 4,200 | 0.802139 | 3,995 | 0.762987 |
67221620473d936c0d65eea07a40a563dbd162cf | 1,851 | py | Python | experiments/Browser/browser.py | rajKarra69420/bento | 1324189e26acfe3a372882519bd78e037d93997c | [
"BSD-3-Clause"
] | 3 | 2021-12-01T02:11:15.000Z | 2022-02-03T22:45:00.000Z | experiments/Browser/browser.py | rajKarra69420/bento | 1324189e26acfe3a372882519bd78e037d93997c | [
"BSD-3-Clause"
] | 4 | 2021-11-27T11:04:36.000Z | 2022-02-17T02:53:21.000Z | experiments/Browser/browser.py | rajKarra69420/bento | 1324189e26acfe3a372882519bd78e037d93997c | [
"BSD-3-Clause"
] | 5 | 2021-07-01T20:23:43.000Z | 2022-03-12T18:10:34.000Z | #!/usr/bin/env python3
import argparse
import logging
import sys
import zlib
sys.path.append("../..")
from bento.client.api import ClientConnection
from bento.common.protocol import *
import bento.common.util as util
function_name= "browser"
function_code= """
import requests
import zlib
import os
def browser(url, ... | 27.626866 | 76 | 0.686116 | 0 | 0 | 0 | 0 | 1,178 | 0.636413 | 0 | 0 | 789 | 0.426256 |
67224f47630e980eac0b94abcd62dd84644278c0 | 3,429 | py | Python | app/views/v1/search.py | daghan/Ostrich | b12057bee7b8b92aedf09ec40edc97a60340527b | [
"MIT"
] | null | null | null | app/views/v1/search.py | daghan/Ostrich | b12057bee7b8b92aedf09ec40edc97a60340527b | [
"MIT"
] | null | null | null | app/views/v1/search.py | daghan/Ostrich | b12057bee7b8b92aedf09ec40edc97a60340527b | [
"MIT"
] | null | null | null | from app import webapp, mysql
from app.models import Search , Utils, Collection, WebUtils
from flask import request, jsonify
from flask.ext.jsonpify import jsonify as jsonp
import json
'''
Generic search call
@params
q: search query
page: the page number of search results (default 0)
t... | 34.636364 | 84 | 0.680082 | 0 | 0 | 0 | 0 | 2,969 | 0.86585 | 0 | 0 | 826 | 0.240887 |
6722b1ddb17bb6d89f4ea39b1f185bec7d6cfcf6 | 555 | py | Python | run.py | orest-d/pointcloud-viewer-rs | 0d6d3f27e24d1783c4812a14457f8e20c4ef6f0b | [
"MIT"
] | null | null | null | run.py | orest-d/pointcloud-viewer-rs | 0d6d3f27e24d1783c4812a14457f8e20c4ef6f0b | [
"MIT"
] | null | null | null | run.py | orest-d/pointcloud-viewer-rs | 0d6d3f27e24d1783c4812a14457f8e20c4ef6f0b | [
"MIT"
] | null | null | null | from flask import Flask, make_response
app = Flask(__name__)
@app.route("/")
@app.route("/index.html")
def index():
html = open("assets/index.html").read()
return html
@app.route("/assets/<name>")
def wasm(name):
r = make_response(open(f"assets/{name}","rb").read())
if name.endswith(".wasm"):
... | 20.555556 | 57 | 0.625225 | 0 | 0 | 0 | 0 | 425 | 0.765766 | 0 | 0 | 150 | 0.27027 |
6724bee4efbfb26d55e405a724ed5a24e2b08168 | 8,496 | py | Python | engine/audio/audio_director.py | codehearts/pickles-fetch-quest | ca9b3c7fe26acb50e1e2d654d068f5bb953bc427 | [
"MIT"
] | 3 | 2017-12-07T19:17:36.000Z | 2021-07-29T18:24:25.000Z | engine/audio/audio_director.py | codehearts/pickles-fetch-quest | ca9b3c7fe26acb50e1e2d654d068f5bb953bc427 | [
"MIT"
] | 41 | 2017-11-11T06:00:08.000Z | 2022-03-28T23:27:25.000Z | engine/audio/audio_director.py | codehearts/pickles-fetch-quest | ca9b3c7fe26acb50e1e2d654d068f5bb953bc427 | [
"MIT"
] | 2 | 2018-08-31T23:49:00.000Z | 2021-09-21T00:42:48.000Z | from .audio_source import AudioSource
from engine import disk
import pyglet.media
class AudioDirector(object):
"""Director for loading audio and controlling playback.
Attributes:
attenuation_distance (int): The default attenuation distance for newly
loaded audio. Existing audio will retai... | 38.27027 | 79 | 0.631474 | 8,411 | 0.989995 | 0 | 0 | 1,105 | 0.130061 | 0 | 0 | 5,463 | 0.643008 |
6726c80fc78ce012124f71d544ed59aef2223c32 | 2,858 | py | Python | source/windows10 system repair tool.py | programmer24680/windows10-system-repair-tool | 130e9c55a7448811994a4bc04f2c3362d96cf9c9 | [
"MIT"
] | 1 | 2021-01-25T06:44:45.000Z | 2021-01-25T06:44:45.000Z | source/windows10 system repair tool.py | programmer24680/windows10-system-repair-tool | 130e9c55a7448811994a4bc04f2c3362d96cf9c9 | [
"MIT"
] | null | null | null | source/windows10 system repair tool.py | programmer24680/windows10-system-repair-tool | 130e9c55a7448811994a4bc04f2c3362d96cf9c9 | [
"MIT"
] | null | null | null | import os
import time
print("=====================================================================")
print(" ")
print(" STARTING SYSTEM REPAIR ")
print(" ... | 42.029412 | 109 | 0.537089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,650 | 0.577327 |
6728b39bc11d9e4b1e1974a7a10fb1bb5d2f22d9 | 3,368 | py | Python | tests/test_fid_score.py | jwblangley/pytorch-fid | 3d604a25516746c3a4a5548c8610e99010b2c819 | [
"Apache-2.0"
] | 1,732 | 2018-03-05T19:20:48.000Z | 2022-03-31T08:11:03.000Z | tests/test_fid_score.py | jwblangley/pytorch-fid | 3d604a25516746c3a4a5548c8610e99010b2c819 | [
"Apache-2.0"
] | 70 | 2018-06-29T07:48:43.000Z | 2022-03-29T13:14:07.000Z | tests/test_fid_score.py | jwblangley/pytorch-fid | 3d604a25516746c3a4a5548c8610e99010b2c819 | [
"Apache-2.0"
] | 357 | 2018-03-14T06:35:24.000Z | 2022-03-31T11:04:39.000Z | import numpy as np
import pytest
import torch
from PIL import Image
from pytorch_fid import fid_score, inception
@pytest.fixture
def device():
return torch.device('cpu')
def test_calculate_fid_given_statistics(mocker, tmp_path, device):
dim = 2048
m1, m2 = np.zeros((dim,)), np.ones((dim,))
sigma = ... | 32.699029 | 77 | 0.540974 | 0 | 0 | 0 | 0 | 60 | 0.017815 | 0 | 0 | 176 | 0.052257 |
6728f13a7364357219192b47721a96d415fff8dc | 873 | py | Python | run/client.py | withcouragetol/codebee-10l | 2636b8fc1b456a85201b868201cf9c147d739031 | [
"Apache-2.0"
] | 6 | 2018-04-13T09:48:26.000Z | 2020-06-22T13:42:10.000Z | run/client.py | withcouragetol/codebee-10l | 2636b8fc1b456a85201b868201cf9c147d739031 | [
"Apache-2.0"
] | null | null | null | run/client.py | withcouragetol/codebee-10l | 2636b8fc1b456a85201b868201cf9c147d739031 | [
"Apache-2.0"
] | 2 | 2018-09-04T07:09:50.000Z | 2019-08-18T15:11:00.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import socket
import time
class emsc_client:
def __init__(self):
self.host = "10.10.83.174"
self.port = 5000
self.conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
def run(self):
try:
self.conn.connect((self.ho... | 24.942857 | 77 | 0.514318 | 828 | 0.854489 | 0 | 0 | 0 | 0 | 0 | 0 | 247 | 0.254902 |
672a7017194500a70a969cf6e26d3c8f610f807f | 2,765 | py | Python | src/sonic_ax_impl/main.py | stepanblyschak/sonic-snmpagent | 45edd7e689922ecf90697d099285f7cce99742c8 | [
"Apache-2.0"
] | 13 | 2016-03-09T20:38:16.000Z | 2021-02-04T17:39:27.000Z | src/sonic_ax_impl/main.py | stepanblyschak/sonic-snmpagent | 45edd7e689922ecf90697d099285f7cce99742c8 | [
"Apache-2.0"
] | 167 | 2017-02-01T23:16:11.000Z | 2022-03-31T02:22:08.000Z | src/sonic_ax_impl/main.py | xumia/sonic-snmpagent | 4e063e4ade89943f2413a767f24564aecfa2cd1c | [
"Apache-2.0"
] | 89 | 2016-03-09T20:38:18.000Z | 2022-03-09T09:16:13.000Z | """
SNMP subagent entrypoint.
"""
import asyncio
import functools
import os
import signal
import sys
import ax_interface
from sonic_ax_impl.mibs import ieee802_1ab
from . import logger
from .mibs.ietf import rfc1213, rfc2737, rfc2863, rfc3433, rfc4292, rfc4363
from .mibs.vendor import dell, cisco
# Background task u... | 32.151163 | 111 | 0.718626 | 808 | 0.292224 | 0 | 0 | 0 | 0 | 0 | 0 | 726 | 0.262568 |
672a72c5fc5af6da05a603f68e577831d5bb4e8d | 8,000 | py | Python | btk_server.py | bedrin/keyboard_mouse_emulate_on_raspberry | 2f1f0cff4b5c5b2e20159d0e91542ec8a5a48e3c | [
"MIT"
] | null | null | null | btk_server.py | bedrin/keyboard_mouse_emulate_on_raspberry | 2f1f0cff4b5c5b2e20159d0e91542ec8a5a48e3c | [
"MIT"
] | null | null | null | btk_server.py | bedrin/keyboard_mouse_emulate_on_raspberry | 2f1f0cff4b5c5b2e20159d0e91542ec8a5a48e3c | [
"MIT"
] | null | null | null | #!/usr/bin/python3
from __future__ import absolute_import, print_function
from optparse import OptionParser, make_option
import os
import sys
import uuid
import dbus
import dbus.service
import dbus.mainloop.glib
import time
import socket
from gi.repository import GLib
from dbus.mainloop.glib import DBusGMainLoop
impor... | 34.188034 | 103 | 0.59525 | 7,353 | 0.916604 | 0 | 0 | 0 | 0 | 0 | 0 | 2,432 | 0.303166 |
672b2fd274da4c3abef696a1ce2183fc11422e30 | 11,479 | py | Python | ai2thor/util/visualize_3D_bbox.py | KuoHaoZeng/ai2thor-1 | 7cc3295f8ac7a272078159f44b74bf61d1d2bb56 | [
"Apache-2.0"
] | null | null | null | ai2thor/util/visualize_3D_bbox.py | KuoHaoZeng/ai2thor-1 | 7cc3295f8ac7a272078159f44b74bf61d1d2bb56 | [
"Apache-2.0"
] | null | null | null | ai2thor/util/visualize_3D_bbox.py | KuoHaoZeng/ai2thor-1 | 7cc3295f8ac7a272078159f44b74bf61d1d2bb56 | [
"Apache-2.0"
] | null | null | null | import ai2thor.controller
import numpy as np
from PIL import Image, ImageDraw
def get_rotation_matrix(agent_rot):
#######
# Construct the rotation matrix. Ref: https://en.wikipedia.org/wiki/Rotation_matrix
#######
r_y = np.array([[np.cos(np.radians(agent_rot["y"])), 0, np.sin(np.radians(agent_rot["y"... | 46.100402 | 119 | 0.4787 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2,732 | 0.238 |
672b4006ae24930b53edb66efd8fb73b92773911 | 3,754 | py | Python | sa/profiles/ElectronR/KO01M/get_metrics.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 84 | 2017-10-22T11:01:39.000Z | 2022-02-27T03:43:48.000Z | sa/profiles/ElectronR/KO01M/get_metrics.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 22 | 2017-12-11T07:21:56.000Z | 2021-09-23T02:53:50.000Z | sa/profiles/ElectronR/KO01M/get_metrics.py | prorevizor/noc | 37e44b8afc64318b10699c06a1138eee9e7d6a4e | [
"BSD-3-Clause"
] | 23 | 2017-12-06T06:59:52.000Z | 2022-02-24T00:02:25.000Z | # ---------------------------------------------------------------------
# ElectronR.KO01M.get_metrics
# ---------------------------------------------------------------------
# Copyright (C) 2007-2020 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
# NOC... | 43.149425 | 98 | 0.485615 | 3,338 | 0.889185 | 0 | 0 | 3,236 | 0.862014 | 0 | 0 | 1,094 | 0.291422 |
672ca5a86d4634cb29b428fe498eec5d2e6591d7 | 17,041 | py | Python | clustering.py | t20100/ccCluster | 9645d80dcfe579c23b3d52e8d536a39d469b184a | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | clustering.py | t20100/ccCluster | 9645d80dcfe579c23b3d52e8d536a39d469b184a | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | clustering.py | t20100/ccCluster | 9645d80dcfe579c23b3d52e8d536a39d469b184a | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | from __future__ import print_function
__author__ = "Gianluca Santoni"
__copyright__ = "Copyright 20150-2019"
__credits__ = ["Gianluca Santoni, Alexander Popov"]
__license__ = ""
__version__ = "1.0"
__maintainer__ = "Gianluca Santoni"
__email__ = "[email protected]"
__status__ = "Beta"
from scipy.cluster impo... | 38.123043 | 146 | 0.589813 | 15,621 | 0.916672 | 0 | 0 | 0 | 0 | 0 | 0 | 5,134 | 0.301273 |
672fde99dcb82eabf8b0425ec9a63d4e04194da7 | 9,992 | py | Python | wrappaconda.py | nckz/wrappaconda | 43203be36f2de17fdf8fe77c151c5628bd98321f | [
"BSD-2-Clause"
] | null | null | null | wrappaconda.py | nckz/wrappaconda | 43203be36f2de17fdf8fe77c151c5628bd98321f | [
"BSD-2-Clause"
] | null | null | null | wrappaconda.py | nckz/wrappaconda | 43203be36f2de17fdf8fe77c151c5628bd98321f | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python
# Author: Nick Zwart
# Date: 2015oct31
from __future__ import print_function
import os
import sys
import stat
import errno
import shutil
import optparse
import traceback
import subprocess
wrappaconda_name_string = 'Wr[App]-A-Conda'
class AppAtizer(object):
def __init__(self):
# ... | 39.650794 | 236 | 0.618995 | 9,394 | 0.940152 | 0 | 0 | 0 | 0 | 0 | 0 | 3,503 | 0.35058 |
673174539407b646c8c0d2d08573c676c84a2fa0 | 557 | py | Python | watchtower/wallet/wallet.py | paytaca/watchtower-py | a9a4fb83ba4a9a15379efdd41bb91546821b4be8 | [
"MIT"
] | null | null | null | watchtower/wallet/wallet.py | paytaca/watchtower-py | a9a4fb83ba4a9a15379efdd41bb91546821b4be8 | [
"MIT"
] | null | null | null | watchtower/wallet/wallet.py | paytaca/watchtower-py | a9a4fb83ba4a9a15379efdd41bb91546821b4be8 | [
"MIT"
] | null | null | null | import requests
class Wallet(object):
def __init__(self, testnet=False):
if testnet:
self.base_url = 'https://testnet.watchtower.cash/api/'
else:
self.base_url = 'https://watchtower.cash/api/'
def _get_utxos(self, wallet_hash, amount):
url = self.base_url + f'... | 26.52381 | 66 | 0.606822 | 538 | 0.965889 | 0 | 0 | 0 | 0 | 0 | 0 | 135 | 0.24237 |
6733155cbc1b3ee12cbd1d7e111f38daa85f1326 | 858 | py | Python | test/unit/test_finalize.py | phated/binaryen | 50e66800dc28d67ea1cc88172f459df1ca96507d | [
"Apache-2.0"
] | 5,871 | 2015-11-13T19:06:43.000Z | 2022-03-31T17:40:21.000Z | test/unit/test_finalize.py | sthagen/binaryen | ce592cbdc8e58f36e7f39a3bd24b403f43adae34 | [
"Apache-2.0"
] | 2,743 | 2015-11-13T03:46:49.000Z | 2022-03-31T20:27:05.000Z | test/unit/test_finalize.py | sthagen/binaryen | ce592cbdc8e58f36e7f39a3bd24b403f43adae34 | [
"Apache-2.0"
] | 626 | 2015-11-23T08:00:11.000Z | 2022-03-17T01:58:18.000Z | from scripts.test import shared
from . import utils
class EmscriptenFinalizeTest(utils.BinaryenTestCase):
def do_output_test(self, args):
# without any output file specified, don't error, don't write the wasm,
# but do emit metadata
p = shared.run_process(shared.WASM_EMSCRIPTEN_FINALIZE + ... | 33 | 79 | 0.637529 | 803 | 0.935897 | 0 | 0 | 0 | 0 | 0 | 0 | 226 | 0.263403 |
67351c5ed22ca30713ae796c8d4fe75b64c848ee | 6,206 | py | Python | mc/tools/TreeWidget.py | zy-sunshine/falkon-pyqt5 | bc2b60aa21c9b136439bd57a11f391d68c736f99 | [
"MIT"
] | 1 | 2021-04-29T05:36:44.000Z | 2021-04-29T05:36:44.000Z | mc/tools/TreeWidget.py | zy-sunshine/falkon-pyqt5 | bc2b60aa21c9b136439bd57a11f391d68c736f99 | [
"MIT"
] | 1 | 2020-03-28T17:43:18.000Z | 2020-03-28T17:43:18.000Z | mc/tools/TreeWidget.py | zy-sunshine/falkon-pyqt5 | bc2b60aa21c9b136439bd57a11f391d68c736f99 | [
"MIT"
] | 1 | 2021-01-15T20:09:24.000Z | 2021-01-15T20:09:24.000Z | from PyQt5.QtWidgets import QTreeWidget
from PyQt5.Qt import pyqtSignal
from PyQt5.QtWidgets import QTreeWidgetItem
from PyQt5.Qt import Qt
class TreeWidget(QTreeWidget):
# enum ItemShowMode
ItemsCollapsed = 0
ItemsExpanded = 1
def __init__(self, parent=None):
super().__init__(parent)
s... | 28.731481 | 75 | 0.586046 | 6,064 | 0.977119 | 0 | 0 | 0 | 0 | 0 | 0 | 935 | 0.150661 |
673572261f6221c9f0594203352cc527924c075f | 1,400 | py | Python | app/api/v2/models/sales.py | danuluma/dannstore | e5b59f08542c1cacdac60e380b5c2945195ba64a | [
"MIT"
] | null | null | null | app/api/v2/models/sales.py | danuluma/dannstore | e5b59f08542c1cacdac60e380b5c2945195ba64a | [
"MIT"
] | 21 | 2018-10-16T09:29:03.000Z | 2022-03-11T23:31:35.000Z | app/api/v2/models/sales.py | danuluma/dannstore | e5b59f08542c1cacdac60e380b5c2945195ba64a | [
"MIT"
] | null | null | null | import os
import sys
LOCALPATH = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, LOCALPATH + '/../../../../')
from app.api.v2.db import Db
def format_sale(sale):
"""Formats the results to a dictionary"""
sale = {
"id": sale[0],
"books": sale[1],
"total": sale[2],
... | 25.454545 | 89 | 0.547143 | 959 | 0.685 | 0 | 0 | 0 | 0 | 0 | 0 | 479 | 0.342143 |
67366bf1792d0f436d2ce6181f326bfb3e3aea15 | 4,035 | py | Python | ubirch/linux/bleManager.py | ubirch/ubirch-ble-tool | 1399d018957e9a8424071296a71431c8ffa27e6f | [
"Apache-2.0"
] | 4 | 2018-07-20T16:35:52.000Z | 2020-11-12T13:38:58.000Z | ubirch/linux/bleManager.py | ubirch/ubirch-ble-tool | 1399d018957e9a8424071296a71431c8ffa27e6f | [
"Apache-2.0"
] | 1 | 2021-04-03T13:37:40.000Z | 2021-04-03T13:37:40.000Z | ubirch/linux/bleManager.py | ubirch/ubirch-ble-tool | 1399d018957e9a8424071296a71431c8ffa27e6f | [
"Apache-2.0"
] | null | null | null | from bleSuite import bleConnectionManager, bleServiceManager
from bluepy.btle import Scanner
from ubirch.linux.bleServiceManager import BLEServiceManager
class BLEManager(object):
""" BLE network manager """
def __init__(self, address, adapter, addressType, securityLevel, createRequester, psm=0, mtu=0):
... | 34.487179 | 105 | 0.666419 | 3,875 | 0.960347 | 0 | 0 | 0 | 0 | 0 | 0 | 563 | 0.139529 |
67366ca8b5a32e45010c5e5c8a95158feb06f5b0 | 1,952 | py | Python | sysinv/cgts-client/cgts-client/cgtsclient/v1/load.py | SidneyAn/config | d694cc5d79436ea7d6170881c23cbfc8441efc0f | [
"Apache-2.0"
] | null | null | null | sysinv/cgts-client/cgts-client/cgtsclient/v1/load.py | SidneyAn/config | d694cc5d79436ea7d6170881c23cbfc8441efc0f | [
"Apache-2.0"
] | null | null | null | sysinv/cgts-client/cgts-client/cgtsclient/v1/load.py | SidneyAn/config | d694cc5d79436ea7d6170881c23cbfc8441efc0f | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2015-2020 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
from cgtsclient.common import base
from cgtsclient import exc
CREATION_ATTRIBUTES = ['software_version', 'compatible_version',
'required_patches']
IMPORT_ATTRIBUTES = ['path_to_iso', 'path_to_sig', '... | 26.378378 | 81 | 0.589139 | 1,617 | 0.828381 | 0 | 0 | 0 | 0 | 0 | 0 | 335 | 0.171619 |
6736c3bf19a38443467bf3214084087a92e23009 | 10,984 | py | Python | tests/keras_tests/feature_networks_tests/feature_networks/weights_mixed_precision_tests.py | haihabi/model_optimization | 97372a9596378bb2287c59f1180b5059f741b2d6 | [
"Apache-2.0"
] | null | null | null | tests/keras_tests/feature_networks_tests/feature_networks/weights_mixed_precision_tests.py | haihabi/model_optimization | 97372a9596378bb2287c59f1180b5059f741b2d6 | [
"Apache-2.0"
] | null | null | null | tests/keras_tests/feature_networks_tests/feature_networks/weights_mixed_precision_tests.py | haihabi/model_optimization | 97372a9596378bb2287c59f1180b5059f741b2d6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 Sony Semiconductors Israel, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required b... | 47.549784 | 120 | 0.638929 | 9,287 | 0.845503 | 0 | 0 | 0 | 0 | 0 | 0 | 1,456 | 0.132556 |
67379ede0d1ebb11453ed5424da8aed4d1402f30 | 33,494 | py | Python | src/ansible_navigator/actions/run.py | NaincyKumariKnoldus/ansible-navigator | 2ac043aea4ce897f30df3c47c1444a5747c9446c | [
"Apache-2.0"
] | null | null | null | src/ansible_navigator/actions/run.py | NaincyKumariKnoldus/ansible-navigator | 2ac043aea4ce897f30df3c47c1444a5747c9446c | [
"Apache-2.0"
] | null | null | null | src/ansible_navigator/actions/run.py | NaincyKumariKnoldus/ansible-navigator | 2ac043aea4ce897f30df3c47c1444a5747c9446c | [
"Apache-2.0"
] | null | null | null | """:run
"""
import curses
import datetime
import json
import logging
import os
import re
import shlex
import shutil
import time
import uuid
from math import floor
from queue import Queue
from typing import Any
from typing import Callable
from typing import Dict
from typing import List
from typing import Optional
from ... | 37.091916 | 100 | 0.559921 | 28,553 | 0.852481 | 0 | 0 | 28,571 | 0.853018 | 0 | 0 | 8,042 | 0.240103 |
6738c6913f593e8f3489b3d849753c160556f231 | 480 | py | Python | storagetest/pkgs/pts/__init__.py | liufeng-elva/storage-test2 | 5364cc00dbe71b106f1bb740bf391e6124788bf4 | [
"MIT"
] | null | null | null | storagetest/pkgs/pts/__init__.py | liufeng-elva/storage-test2 | 5364cc00dbe71b106f1bb740bf391e6124788bf4 | [
"MIT"
] | null | null | null | storagetest/pkgs/pts/__init__.py | liufeng-elva/storage-test2 | 5364cc00dbe71b106f1bb740bf391e6124788bf4 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@file : __init__.py.py
@Time : 2020/11/12 13:37
@Author: Tao.Xu
@Email : [email protected]
"""
"""
phoronix-test-suite: Main for Performance Test
===================
https://github.com/phoronix-test-suite/phoronix-test-suite
The Phoronix Test Suite is the most compr... | 22.857143 | 68 | 0.683333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 448 | 0.933333 |
673a1a8a7022fbc7e3838045a6969aad19ff37aa | 8,279 | py | Python | owlbot.py | rahul2393/python-spanner | 86d33905269accabfc6d68dae0f2b78bec96026a | [
"Apache-2.0"
] | null | null | null | owlbot.py | rahul2393/python-spanner | 86d33905269accabfc6d68dae0f2b78bec96026a | [
"Apache-2.0"
] | null | null | null | owlbot.py | rahul2393/python-spanner | 86d33905269accabfc6d68dae0f2b78bec96026a | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | 32.214008 | 125 | 0.613721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5,686 | 0.686798 |
673a564ceef3de9745d7d4bb80242204d7ba623d | 1,843 | py | Python | k_means.py | sokrutu/imagemean | 680bab26a1841cd8d4e03beba020709a5cb434a2 | [
"MIT"
] | null | null | null | k_means.py | sokrutu/imagemean | 680bab26a1841cd8d4e03beba020709a5cb434a2 | [
"MIT"
] | null | null | null | k_means.py | sokrutu/imagemean | 680bab26a1841cd8d4e03beba020709a5cb434a2 | [
"MIT"
] | null | null | null | from random import randint
def k_means(data, K):
"""
k-Means clustering
TODO: Assumes values from 0-255
:param data: NxD array of numbers
:param K: The number of clusters
:return: Tuple of cluster means (KxD array) and cluster assignments (Nx1 with values from 1 to K)
"""
N = len(dat... | 25.597222 | 101 | 0.511666 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 468 | 0.253934 |
673ab82d9ec7dbd59a48086985188478a17a2fc5 | 756 | py | Python | contrib/analysis_server/src/analysis_server/__init__.py | Kenneth-T-Moore/OpenMDAO-Framework | 76e0ebbd6f424a03b547ff7b6039dea73d8d44dc | [
"Apache-2.0"
] | 3 | 2015-06-02T00:36:28.000Z | 2018-11-03T00:35:21.000Z | contrib/analysis_server/src/analysis_server/__init__.py | JustinSGray/OpenMDAO-Framework | 7ebd7fda0b10fbe8a86ae938dc4f135396dd9759 | [
"Apache-2.0"
] | null | null | null | contrib/analysis_server/src/analysis_server/__init__.py | JustinSGray/OpenMDAO-Framework | 7ebd7fda0b10fbe8a86ae938dc4f135396dd9759 | [
"Apache-2.0"
] | 1 | 2020-07-15T02:45:54.000Z | 2020-07-15T02:45:54.000Z | """
Support for interacting with ModelCenter via the AnalysisServer protocol.
Client-mode access to an AnalysisServer is provided by the 'client', 'factory',
and 'proxy' modules. Server-mode access by ModelCenter is provided by the
'server' and 'wrapper' modules.
An extension to the protocol allows 'eggs' to pe 'publ... | 36 | 79 | 0.797619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 420 | 0.555556 |
673b17b5d8b3ab21d7358bca547447f1eb5fad33 | 24,476 | py | Python | 3rd party/YOLO_network.py | isaiasfsilva/ROLO | 6612007e35edb73dac734e7a4dac2cd4c1dca6c1 | [
"Apache-2.0"
] | 962 | 2016-07-22T01:36:20.000Z | 2022-03-30T01:34:35.000Z | 3rd party/YOLO_network.py | isaiasfsilva/ROLO | 6612007e35edb73dac734e7a4dac2cd4c1dca6c1 | [
"Apache-2.0"
] | 57 | 2016-08-12T15:33:31.000Z | 2022-01-29T19:16:01.000Z | 3rd party/YOLO_network.py | isaiasfsilva/ROLO | 6612007e35edb73dac734e7a4dac2cd4c1dca6c1 | [
"Apache-2.0"
] | 342 | 2016-07-22T01:36:26.000Z | 2022-02-26T23:00:25.000Z | import os
import numpy as np
import tensorflow as tf
import cv2
import time
import sys
import pickle
import ROLO_utils as util
class YOLO_TF:
fromfile = None
tofile_img = 'test/output.jpg'
tofile_txt = 'test/output.txt'
imshow = True
filewrite_img = False
filewrite_txt = False
disp_console = True
weights_file ... | 35.6793 | 209 | 0.664774 | 22,168 | 0.905704 | 0 | 0 | 0 | 0 | 0 | 0 | 4,213 | 0.172128 |
673cf80cda7d6f2ddfed4ffa2f717379b2c4aa55 | 3,146 | py | Python | pipenv/cmdparse.py | sthagen/pipenv | 0924f75fd1004c848ea67d4272315eda4210b352 | [
"MIT"
] | 23 | 2017-01-20T01:18:31.000Z | 2017-01-20T17:25:11.000Z | pipenv/cmdparse.py | sthagen/pipenv | 0924f75fd1004c848ea67d4272315eda4210b352 | [
"MIT"
] | 1 | 2017-01-20T05:13:58.000Z | 2017-01-20T05:13:58.000Z | pipenv/cmdparse.py | sthagen/pipenv | 0924f75fd1004c848ea67d4272315eda4210b352 | [
"MIT"
] | null | null | null | import itertools
import re
import shlex
class ScriptEmptyError(ValueError):
pass
def _quote_if_contains(value, pattern):
if next(iter(re.finditer(pattern, value)), None):
return '"{0}"'.format(re.sub(r'(\\*)"', r'\1\1\\"', value))
return value
class Script(object):
"""Parse a script line (... | 30.543689 | 96 | 0.62206 | 2,919 | 0.927845 | 0 | 0 | 399 | 0.126828 | 0 | 0 | 1,959 | 0.622695 |
673d6da7ddbe2f62dc10d702de83d4dd27b4df32 | 1,059 | py | Python | msph/clients/ms_online.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | 11 | 2021-09-01T05:04:08.000Z | 2022-02-17T01:09:58.000Z | msph/clients/ms_online.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | null | null | null | msph/clients/ms_online.py | CultCornholio/solenya | 583cb5f36825808c7cdc2de03f565723a32ae8d3 | [
"MIT"
] | 2 | 2021-09-08T19:12:53.000Z | 2021-10-05T17:52:11.000Z | from .framework import Client, Resource
from . import constants as const
client = Client(
base_url='https://login.microsoftonline.com',
base_headers={
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0',
'Content-Type': 'application/x-www-form-urlencoded',
... | 32.090909 | 110 | 0.686497 | 0 | 0 | 0 | 0 | 728 | 0.687441 | 0 | 0 | 362 | 0.341832 |
673f2e75107755cce6965c485de6141329c56f72 | 1,868 | py | Python | warn/platforms/job_center/cache.py | anikasikka/warn-scraper | 13efac478ac06982bf68ce67e15db976ac07f101 | [
"Apache-2.0"
] | 12 | 2022-01-18T20:04:41.000Z | 2022-03-24T21:26:31.000Z | warn/platforms/job_center/cache.py | anikasikka/warn-scraper | 13efac478ac06982bf68ce67e15db976ac07f101 | [
"Apache-2.0"
] | 163 | 2022-01-14T19:30:23.000Z | 2022-03-31T23:48:48.000Z | warn/platforms/job_center/cache.py | anikasikka/warn-scraper | 13efac478ac06982bf68ce67e15db976ac07f101 | [
"Apache-2.0"
] | 4 | 2022-01-19T20:40:13.000Z | 2022-02-22T21:36:34.000Z | import logging
import re
from warn.cache import Cache as BaseCache
from .urls import urls
logger = logging.getLogger(__name__)
class Cache(BaseCache):
"""A custom cache for Job Center sites."""
def save(self, url, params, html):
"""Save file to the cache."""
cache_key = self.key_from_url(u... | 34.592593 | 83 | 0.579764 | 1,735 | 0.928801 | 0 | 0 | 0 | 0 | 0 | 0 | 571 | 0.305675 |
673f39d965787c5f1eaa35294c38eb2b5dda219c | 7,312 | py | Python | ebcli/core/abstractcontroller.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 110 | 2020-01-15T22:58:46.000Z | 2022-03-27T20:47:33.000Z | ebcli/core/abstractcontroller.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 89 | 2020-01-15T23:18:34.000Z | 2022-03-31T21:56:05.000Z | ebcli/core/abstractcontroller.py | senstb/aws-elastic-beanstalk-cli | ef27ae50e8be34ccbe29bc6dc421323bddc3f485 | [
"Apache-2.0"
] | 50 | 2020-01-15T22:58:53.000Z | 2022-02-11T17:39:28.000Z | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | 33.085973 | 101 | 0.603665 | 5,865 | 0.802106 | 0 | 0 | 2,921 | 0.39948 | 0 | 0 | 1,787 | 0.244393 |
673f86c193b95f2ceb11fd09422584819f2d7221 | 346 | py | Python | python/speaktest.py | kyle-cook/templates | f1047a8c31a42507acbd7a27e66db0825be811a6 | [
"MIT"
] | null | null | null | python/speaktest.py | kyle-cook/templates | f1047a8c31a42507acbd7a27e66db0825be811a6 | [
"MIT"
] | null | null | null | python/speaktest.py | kyle-cook/templates | f1047a8c31a42507acbd7a27e66db0825be811a6 | [
"MIT"
] | null | null | null | import unittest
import speak
class SpeakTests(unittest.TestCase):
"""
Unit test for the speak library
"""
def testHello(self):
self.assertEqual("Hello World!", speak.helloworld())
def testGoodbye(self):
self.assertEqual("Goodbye World!", speak.goodbyeworld())
if __name__ == "__mai... | 21.625 | 64 | 0.66474 | 267 | 0.771676 | 0 | 0 | 0 | 0 | 0 | 0 | 87 | 0.251445 |
674032fc8a912ba3dd53e6c5a60619d54e34cbd4 | 482 | py | Python | c2f_loop.py | devopsprosiva/python | 07311d7597c0895554efe8013b57f218a0f11bb5 | [
"MIT"
] | null | null | null | c2f_loop.py | devopsprosiva/python | 07311d7597c0895554efe8013b57f218a0f11bb5 | [
"MIT"
] | null | null | null | c2f_loop.py | devopsprosiva/python | 07311d7597c0895554efe8013b57f218a0f11bb5 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
import sys
temperatures=[10,-20,-289,100]
def c2f(cel_temp):
if cel_temp < -273.15:
return "The lowest possible temperature that physical matter can reach is -273.15C"
else:
fah_temp=(cel_temp*1.8)+32
return fah_temp
for temp in temperatures:
file = open('... | 22.952381 | 91 | 0.620332 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 125 | 0.259336 |
67409afcdfe55eae6e448c076e01c6ac7a7788be | 2,285 | py | Python | problems/eggs/services/confirm_min_throws_server.py | giuliagalvan/TAlight | 3471ea9c7f13ade595ae579db0713135da849f13 | [
"MIT"
] | null | null | null | problems/eggs/services/confirm_min_throws_server.py | giuliagalvan/TAlight | 3471ea9c7f13ade595ae579db0713135da849f13 | [
"MIT"
] | null | null | null | problems/eggs/services/confirm_min_throws_server.py | giuliagalvan/TAlight | 3471ea9c7f13ade595ae579db0713135da849f13 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# METADATA OF THIS TAL_SERVICE:
problem="eggs"
service="confirm_min_throws"
args_list = [
('min',int),
('n_eggs',int),
('n_floors',int),
('lang',str),
('ISATTY',bool),
]
from sys import stderr, exit, argv
from random import randrange
from math import inf as IMPOSSIBLE
from ... | 46.632653 | 279 | 0.688403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,389 | 0.607877 |
67416b98862ed94f8c8dd26ec4773d955430f943 | 460 | py | Python | pylox/error_reporting.py | hculpan/pylox | a5bde624f289115575e9e01bd171b6271c2e899a | [
"MIT"
] | 1 | 2018-05-18T08:16:02.000Z | 2018-05-18T08:16:02.000Z | pylox/error_reporting.py | hculpan/pylox | a5bde624f289115575e9e01bd171b6271c2e899a | [
"MIT"
] | null | null | null | pylox/error_reporting.py | hculpan/pylox | a5bde624f289115575e9e01bd171b6271c2e899a | [
"MIT"
] | null | null | null | errorFound = False
def hasError():
global errorFound
return errorFound
def clearError():
global errorFound
errorFound = False
def error(message, lineNo = 0):
report(lineNo, "", message)
def report(lineNo, where, message):
global errorFound
errorFound = True
if lineNo == 0:
... | 19.166667 | 73 | 0.630435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 45 | 0.097826 |
674628d16822f8d4efcc764dcb583fc1ae5fb351 | 86 | py | Python | tests/syntax/scripts/annotated_comments.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | tests/syntax/scripts/annotated_comments.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | tests/syntax/scripts/annotated_comments.py | toddrme2178/pyccel | deec37503ab0c5d0bcca1a035f7909f7ce8ef653 | [
"MIT"
] | null | null | null | #$ header variable x :: int
#$ acc parallel private(idx)
#$ omp parallel private(idx)
| 21.5 | 28 | 0.697674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 83 | 0.965116 |
6746ba919e9bbb1f397db2429492049488882aa8 | 1,361 | py | Python | server/admin.py | allisto/allistic-server | 848edb71b4709ad0734b83a43de4ac8c58e88fdf | [
"Apache-2.0"
] | 5 | 2019-03-04T08:28:08.000Z | 2019-03-05T05:55:55.000Z | server/admin.py | allisto/allistic-server | 848edb71b4709ad0734b83a43de4ac8c58e88fdf | [
"Apache-2.0"
] | 7 | 2019-03-03T19:45:02.000Z | 2021-03-18T21:26:08.000Z | server/admin.py | allisto/allistic-server | 848edb71b4709ad0734b83a43de4ac8c58e88fdf | [
"Apache-2.0"
] | 1 | 2019-03-01T11:15:07.000Z | 2019-03-01T11:15:07.000Z | from django.contrib import admin
from .models import Doctor, ConsultationTime, Medicine, Allergy, Child, Parent
admin.site.site_header = "Allisto - We Do Good"
@admin.register(Doctor)
class DoctorAdmin(admin.ModelAdmin):
list_display = ('name', 'aadhar_number', 'specialization', 'email', 'phone_number')
lis... | 30.931818 | 87 | 0.702425 | 1,022 | 0.750918 | 0 | 0 | 1,144 | 0.840558 | 0 | 0 | 472 | 0.346804 |
67470f3c7a77e0bc298ea17e0cb678c91fe2570a | 4,067 | py | Python | backend/ir/ir.py | zengljnwpu/yaspc | 5e85efb5fb8bee02471814b10e950dfb5b04c5d5 | [
"MIT"
] | null | null | null | backend/ir/ir.py | zengljnwpu/yaspc | 5e85efb5fb8bee02471814b10e950dfb5b04c5d5 | [
"MIT"
] | null | null | null | backend/ir/ir.py | zengljnwpu/yaspc | 5e85efb5fb8bee02471814b10e950dfb5b04c5d5 | [
"MIT"
] | null | null | null |
from backend.entity.entity import DefinedFuntion
from backend.ir.dumper import Dumper
from backend.ir.stmt import Assign
from backend.ir.stmt import Return
from backend.ir.expr import Bin
from backend.ir.expr import Call
from backend.entity.scope import *
def import_ir(data, asm_file):
def_vars = list()
def_... | 27.856164 | 113 | 0.588149 | 2,560 | 0.629457 | 0 | 0 | 0 | 0 | 0 | 0 | 604 | 0.148512 |
67475ec9e070602cd855d1d0690b385ad1b9adb8 | 10,060 | py | Python | forest/benchmarking/tests/test_superoperator_transformations.py | stjordanis/forest-benchmarking | f9ad9701c2d253de1a0c922d7220ed7de75ac685 | [
"Apache-2.0"
] | 40 | 2019-01-25T18:35:24.000Z | 2022-03-13T11:21:18.000Z | forest/benchmarking/tests/test_superoperator_transformations.py | stjordanis/forest-benchmarking | f9ad9701c2d253de1a0c922d7220ed7de75ac685 | [
"Apache-2.0"
] | 140 | 2019-01-25T20:09:02.000Z | 2022-03-12T01:08:01.000Z | forest/benchmarking/tests/test_superoperator_transformations.py | stjordanis/forest-benchmarking | f9ad9701c2d253de1a0c922d7220ed7de75ac685 | [
"Apache-2.0"
] | 22 | 2019-02-01T13:18:35.000Z | 2022-01-12T15:03:13.000Z | import numpy as np
from pyquil.gate_matrices import X, Y, Z, H
from forest.benchmarking.operator_tools.superoperator_transformations import *
# Test philosophy:
# Using the by hand calculations found in the docs we check conversion
# between one qubit channels with one Kraus operator (Hadamard) and two
# Kraus operat... | 34.930556 | 98 | 0.602485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 976 | 0.097018 |
6748094d5dca0ac93c047a1471d4c4dfa641d3ad | 112 | py | Python | 0702 In-Place Move Zeros to End of List.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 1 | 2020-12-29T21:17:26.000Z | 2020-12-29T21:17:26.000Z | 0702 In-Place Move Zeros to End of List.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | null | null | null | 0702 In-Place Move Zeros to End of List.py | ansabgillani/binarysearchcomproblems | 12fe8632f8cbb5058c91a55bae53afa813a3247e | [
"MIT"
] | 4 | 2021-09-09T17:42:43.000Z | 2022-03-18T04:54:03.000Z | class Solution:
def solve(self, nums):
return [num for num in nums if num != 0] + [0]*nums.count(0)
| 28 | 68 | 0.598214 | 111 | 0.991071 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
674979db2e403ec19a4fc12df3f2a373c9172b77 | 86 | py | Python | OIL/__init__.py | vjdad4m/OIL | a664fe213723fe354796245632f58f31583bcba0 | [
"MIT"
] | 1 | 2021-06-22T22:14:16.000Z | 2021-06-22T22:14:16.000Z | OIL/__init__.py | vjdad4m/OIL | a664fe213723fe354796245632f58f31583bcba0 | [
"MIT"
] | null | null | null | OIL/__init__.py | vjdad4m/OIL | a664fe213723fe354796245632f58f31583bcba0 | [
"MIT"
] | null | null | null | import OIL.color
import OIL.label
import OIL.parser
import OIL.tools
import OIL.errors | 17.2 | 17 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
6749e169faceb4050a87041472715faed2d19901 | 2,866 | py | Python | lib/spack/spack/cmd/load.py | padamson/spack | d3f67a48552691b4846ccc4a10f76740b154090c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2021-03-05T10:54:32.000Z | 2021-03-05T14:14:52.000Z | lib/spack/spack/cmd/load.py | padamson/spack | d3f67a48552691b4846ccc4a10f76740b154090c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 32 | 2020-12-15T17:29:20.000Z | 2022-03-21T15:08:31.000Z | lib/spack/spack/cmd/load.py | padamson/spack | d3f67a48552691b4846ccc4a10f76740b154090c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2021-07-19T20:31:27.000Z | 2021-07-19T21:14:14.000Z | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import sys
import spack.cmd
import spack.cmd.common.arguments as arguments
import spack.environment as ev
import spack.st... | 34.119048 | 79 | 0.664689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,047 | 0.365318 |
674ba1aa522d2bf108faa75b0291c6fcbe497e66 | 1,680 | py | Python | poisson_image_editing.py | zishun/Poisson-EVA2019 | de3dd88f4046f63575d02c9395b26a4b1d0b6258 | [
"BSD-3-Clause"
] | null | null | null | poisson_image_editing.py | zishun/Poisson-EVA2019 | de3dd88f4046f63575d02c9395b26a4b1d0b6258 | [
"BSD-3-Clause"
] | null | null | null | poisson_image_editing.py | zishun/Poisson-EVA2019 | de3dd88f4046f63575d02c9395b26a4b1d0b6258 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import imageio
from PoissonTemperature import FiniteDifferenceMatrixConstruction
def ind_sub_conversion(img, ind2sub_fn, sub2ind_fn):
rows, cols = img.shape[:2]
num = rows*cols
arange = np.arange(rows*cols, dtype=np.int32)
ind2sub = np.empty((num, 2), dtype=np.int32)
ind2sub[:, ... | 32.941176 | 72 | 0.671429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 91 | 0.054167 |
674c93e05bb72036422e17078331287c9f481a64 | 10,343 | py | Python | mindsdb/api/http/initialize.py | mindsdb/main | 2c7c09a756c17a47f2ff4a38bf45203d706240ee | [
"MIT"
] | 261 | 2018-09-28T02:32:17.000Z | 2018-12-10T06:30:54.000Z | mindsdb/api/http/initialize.py | mindsdb/main | 2c7c09a756c17a47f2ff4a38bf45203d706240ee | [
"MIT"
] | 27 | 2018-09-26T08:49:11.000Z | 2018-12-10T14:42:52.000Z | mindsdb/api/http/initialize.py | mindsdb/main | 2c7c09a756c17a47f2ff4a38bf45203d706240ee | [
"MIT"
] | 46 | 2018-10-06T10:11:18.000Z | 2018-12-10T04:02:17.000Z | from distutils.version import LooseVersion
import requests
import os
import shutil
import threading
import webbrowser
from zipfile import ZipFile
from pathlib import Path
import traceback
import tempfile
# import concurrent.futures
from flask import Flask, url_for, make_response
from flask.json import dumps
from flask_... | 34.591973 | 178 | 0.667601 | 299 | 0.028908 | 0 | 0 | 98 | 0.009475 | 0 | 0 | 2,473 | 0.239099 |
674df0520020cb5c060d141941c47d1d5a1e8c48 | 9,686 | py | Python | pyrocov/io.py | corneliusroemer/pyro-cov | 54e89d128293f9ff9e995c442f72fa73f5f99b76 | [
"Apache-2.0"
] | 22 | 2021-09-14T04:33:11.000Z | 2022-02-01T21:33:05.000Z | pyrocov/io.py | corneliusroemer/pyro-cov | 54e89d128293f9ff9e995c442f72fa73f5f99b76 | [
"Apache-2.0"
] | 7 | 2021-11-02T13:48:35.000Z | 2022-03-23T18:08:35.000Z | pyrocov/io.py | corneliusroemer/pyro-cov | 54e89d128293f9ff9e995c442f72fa73f5f99b76 | [
"Apache-2.0"
] | 6 | 2021-09-18T01:06:51.000Z | 2022-01-10T02:22:06.000Z | # Copyright Contributors to the Pyro-Cov project.
# SPDX-License-Identifier: Apache-2.0
import functools
import io
import logging
import math
import re
import sys
import torch
import torch.multiprocessing as mp
from Bio import AlignIO
from Bio.Phylo.NewickIO import Parser
from Bio.Seq import Seq
from Bio.SeqRecord im... | 31.044872 | 88 | 0.574024 | 0 | 0 | 1,984 | 0.204832 | 0 | 0 | 0 | 0 | 2,258 | 0.23312 |
674dfe34110c0256d54ed4a145016c108d5fa7fa | 1,439 | py | Python | core.py | mistifiedwarrior/house_price_prediction | c935650130ea6464f948706d057af6f044abbff6 | [
"MIT"
] | null | null | null | core.py | mistifiedwarrior/house_price_prediction | c935650130ea6464f948706d057af6f044abbff6 | [
"MIT"
] | null | null | null | core.py | mistifiedwarrior/house_price_prediction | c935650130ea6464f948706d057af6f044abbff6 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression
def convert_to_sqft(str):
tokens = str.split(' - ')
if len(tokens) == 2:
return (float(tokens[0]) + float(tokens[1])) / 2
try:
return float(tokens[0])
except Exception:
return np.NAN
def co... | 31.977778 | 100 | 0.648367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 197 | 0.136901 |
674e48cd30f8211b37cb1b97721c2c716552aabd | 605 | py | Python | Python/bank-robbers.py | JaredLGillespie/CodinGame | 7e14078673300f66d56c8af4f66d9bf5d2229fa6 | [
"MIT"
] | 1 | 2020-01-05T17:44:57.000Z | 2020-01-05T17:44:57.000Z | Python/bank-robbers.py | JaredLGillespie/CodinGame | 7e14078673300f66d56c8af4f66d9bf5d2229fa6 | [
"MIT"
] | null | null | null | Python/bank-robbers.py | JaredLGillespie/CodinGame | 7e14078673300f66d56c8af4f66d9bf5d2229fa6 | [
"MIT"
] | 2 | 2020-09-27T16:02:53.000Z | 2021-11-24T09:08:59.000Z | # https://www.codingame.com/training/easy/bank-robbers
from heapq import *
def calc_vault_time(c, n):
return 10**n * 5**(c - n)
def solution():
robbers = int(input())
vault = int(input())
vault_times = []
for i in range(vault):
c, n = map(int, input().split())
vault_times.appen... | 20.862069 | 66 | 0.609917 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 54 | 0.089256 |
674e497c1af4728fb031faf7f24fbf2bf5bd7b4b | 576 | py | Python | 14Django/day04/BookManager/introduction1.py | HaoZhang95/PythonAndMachineLearning | b897224b8a0e6a5734f408df8c24846a98c553bf | [
"MIT"
] | 937 | 2019-05-08T08:46:25.000Z | 2022-03-31T12:56:07.000Z | 14Django/day04/BookManager/introduction1.py | Sakura-gh/Python24 | b97e18867264a0647d5645c7d757a0040e755577 | [
"MIT"
] | 47 | 2019-09-17T10:06:02.000Z | 2022-03-11T23:46:52.000Z | 14Django/day04/BookManager/introduction1.py | Sakura-gh/Python24 | b97e18867264a0647d5645c7d757a0040e755577 | [
"MIT"
] | 354 | 2019-05-10T02:15:26.000Z | 2022-03-30T05:52:57.000Z | """
模板语言:
{{ 变量 }}
{% 代码段 %}
{% 一个参数时:变量|过滤器, Book.id | add: 1 <= 2 当前id+1来和2比较
两个参数时:变量|过滤器:参数 %}, 过滤器最多只能传2个参数,过滤器用来对传入的变量进行修改
{% if book.name|length > 4 %} 管道|符号的左右不能有多余的空格,否则报错,其次并不是name.length而是通过管道来过滤
{{ book.pub_date|date:'Y年m月j日' }} 日期的转换管道
"""
"""
CSRF 跨站请求伪造, 盗用... | 24 | 85 | 0.670139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,210 | 0.996705 |
674eb289511fbd351f416105eb842fadb81a491d | 291 | py | Python | gammapy/maps/__init__.py | watsonjj/gammapy | 8d2498c8f63f73d1fbe4ba81ab02d9e72552df67 | [
"BSD-3-Clause"
] | null | null | null | gammapy/maps/__init__.py | watsonjj/gammapy | 8d2498c8f63f73d1fbe4ba81ab02d9e72552df67 | [
"BSD-3-Clause"
] | 1 | 2020-10-29T19:55:46.000Z | 2020-10-29T19:55:46.000Z | gammapy/maps/__init__.py | watsonjj/gammapy | 8d2498c8f63f73d1fbe4ba81ab02d9e72552df67 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Sky maps."""
from .base import *
from .geom import *
from .hpx import *
from .hpxnd import *
from .hpxsparse import *
from .hpxmap import *
from .wcs import *
from .wcsnd import *
from .wcsmap import *
from .sparse import *
| 22.384615 | 63 | 0.71134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 78 | 0.268041 |
674ebc40e603703da0b0ddbc5fe2fad3846b9a69 | 3,305 | py | Python | lhotse/dataset/sampling/utils.py | stachu86/lhotse | d5e78154db2d4d52f15aaadc8882f76eb5b77640 | [
"Apache-2.0"
] | 353 | 2020-10-31T10:38:51.000Z | 2022-03-30T05:22:52.000Z | lhotse/dataset/sampling/utils.py | stachu86/lhotse | d5e78154db2d4d52f15aaadc8882f76eb5b77640 | [
"Apache-2.0"
] | 353 | 2020-10-27T23:25:12.000Z | 2022-03-31T22:16:05.000Z | lhotse/dataset/sampling/utils.py | stachu86/lhotse | d5e78154db2d4d52f15aaadc8882f76eb5b77640 | [
"Apache-2.0"
] | 66 | 2020-11-01T06:08:08.000Z | 2022-03-29T02:03:07.000Z | import warnings
from typing import Dict, Tuple
from lhotse import CutSet
from lhotse.dataset.sampling.base import CutSampler
def find_pessimistic_batches(
sampler: CutSampler, batch_tuple_index: int = 0
) -> Tuple[Dict[str, CutSet], Dict[str, float]]:
"""
Function for finding 'pessimistic' batches, i.e. ... | 39.345238 | 108 | 0.644781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,893 | 0.572769 |
674f2806f73a13483671e5b0ce4735f88b2f1c4f | 606 | py | Python | book/migrations/0010_auto_20170603_1441.py | pyprism/Hiren-Mail-Notify | 324583a2edd25da5d2077914a79da291e00c743e | [
"MIT"
] | null | null | null | book/migrations/0010_auto_20170603_1441.py | pyprism/Hiren-Mail-Notify | 324583a2edd25da5d2077914a79da291e00c743e | [
"MIT"
] | 144 | 2015-10-18T17:19:03.000Z | 2021-06-27T07:05:56.000Z | book/migrations/0010_auto_20170603_1441.py | pyprism/Hiren-Mail-Notify | 324583a2edd25da5d2077914a79da291e00c743e | [
"MIT"
] | 1 | 2015-10-18T17:04:39.000Z | 2015-10-18T17:04:39.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-06-03 08:41
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('book', '0009_book_folder'),
]
operations = [
migrations.AddField(
... | 23.307692 | 64 | 0.587459 | 450 | 0.742574 | 0 | 0 | 0 | 0 | 0 | 0 | 123 | 0.20297 |
674faa0b694ce161c45416e214ad1d35c7eb77fc | 1,218 | py | Python | contrib/ComparisonStatistics/Test/test_1.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 62 | 2018-03-30T15:46:56.000Z | 2021-12-08T23:30:24.000Z | contrib/ComparisonStatistics/Test/test_1.py | xylar/cdat | 8a5080cb18febfde365efc96147e25f51494a2bf | [
"BSD-3-Clause"
] | 114 | 2018-03-21T01:12:43.000Z | 2021-07-05T12:29:54.000Z | contrib/ComparisonStatistics/Test/test_1.py | CDAT/uvcdat | 5133560c0c049b5c93ee321ba0af494253b44f91 | [
"BSD-3-Clause"
] | 14 | 2018-06-06T02:42:47.000Z | 2021-11-26T03:27:00.000Z | #!/usr/bin/env python
import ComparisonStatistics
import cdutil
import os,sys
# Reference
ref = os.path.join(cdutil.__path__[0],'..','..','..','..','sample_data','tas_dnm-95a.xml')
Ref=cdutil.VariableConditioner(ref)
Ref.var='tas'
Ref.id='reference'
# Test
tst = os.path.join(cdutil.__path__[0],'..','..','..','..','s... | 24.36 | 91 | 0.728243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 448 | 0.367816 |
674fc8fb47108fcde4353966aaff882285b50e79 | 1,087 | py | Python | mathipy/functions/linearithmic.py | BatiDyDx/maths-tools-python | e9a58aa669b5f36d7ee01402fe1f16a1db7b0e50 | [
"MIT"
] | 1 | 2021-02-02T02:58:38.000Z | 2021-02-02T02:58:38.000Z | mathipy/functions/linearithmic.py | BatiDyDx/maths-tools-python | e9a58aa669b5f36d7ee01402fe1f16a1db7b0e50 | [
"MIT"
] | null | null | null | mathipy/functions/linearithmic.py | BatiDyDx/maths-tools-python | e9a58aa669b5f36d7ee01402fe1f16a1db7b0e50 | [
"MIT"
] | null | null | null | import math
import numpy as np
from mathipy.math import calculus
class Linearithmic(calculus.Function):
"""
f(x) = (mx + h)log_b(kx + a)
"""
function_type = 'Linearithmic'
def __init__(self, m = 1, h = 0, b = 10, a = 0, k = 1):
self.m = m
self.h = h
self.b = b
self.... | 30.194444 | 92 | 0.554738 | 1,021 | 0.939282 | 0 | 0 | 0 | 0 | 0 | 0 | 142 | 0.130635 |
674feabbfb04fd43b656a2ee09e804a9db0cc338 | 11,479 | py | Python | pivot_based_eccv2018/misc/expander/disambiguate.py | gujiuxiang/unpaired_im2text_iccv19 | cf71b82b3d2616b0b1fb5c2dfd7f7832cd1e8ec2 | [
"MIT"
] | 18 | 2019-11-01T13:50:03.000Z | 2022-03-14T03:07:34.000Z | pivot_based_eccv2018/misc/expander/disambiguate.py | gujiuxiang/unpaired_im2text_iccv19 | cf71b82b3d2616b0b1fb5c2dfd7f7832cd1e8ec2 | [
"MIT"
] | 7 | 2020-01-03T13:53:26.000Z | 2021-03-25T22:55:52.000Z | pivot_based_eccv2018/misc/expander/disambiguate.py | gujiuxiang/unpaired_im2text_iccv19 | cf71b82b3d2616b0b1fb5c2dfd7f7832cd1e8ec2 | [
"MIT"
] | 3 | 2019-09-16T02:03:59.000Z | 2021-06-12T07:03:03.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This module contains the necessary functions to load a text-corpus from
NLTK, contract all possible sentences, applying POS-tags to the
contracted sentences and compare that with the original text.
The information about which contraction+pos-tag pair gets expanded to
... | 40.850534 | 77 | 0.586811 | 0 | 0 | 4,207 | 0.366463 | 0 | 0 | 0 | 0 | 5,824 | 0.507317 |
675069879b1d492d1df7599b3ec43ea76978d06f | 1,881 | py | Python | setup.py | baye0630/paperai | 717f6c5a6652d6bc1bdb70d4a248a4751f820ddb | [
"Apache-2.0"
] | null | null | null | setup.py | baye0630/paperai | 717f6c5a6652d6bc1bdb70d4a248a4751f820ddb | [
"Apache-2.0"
] | null | null | null | setup.py | baye0630/paperai | 717f6c5a6652d6bc1bdb70d4a248a4751f820ddb | [
"Apache-2.0"
] | null | null | null | # pylint: disable = C0111
from setuptools import find_packages, setup
setup(name="paperai",
# version="1.5.0",
# author="NeuML",
# description="AI-powered literature discovery and review engine for medical/scientific papers",
# long_description=DESCRIPTION,
# long_description_content_typ... | 36.882353 | 102 | 0.569378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,276 | 0.678363 |
6751ed6431d090ba5f0d7abc986bd5b1a678af78 | 3,295 | py | Python | hit_analysis/image/cut_reconstruction.py | credo-science/credo-classify | 1cc5e00a4df36c4069c0d0fbc19f579780b79ca5 | [
"MIT"
] | null | null | null | hit_analysis/image/cut_reconstruction.py | credo-science/credo-classify | 1cc5e00a4df36c4069c0d0fbc19f579780b79ca5 | [
"MIT"
] | 8 | 2021-03-30T12:52:01.000Z | 2022-03-12T00:19:45.000Z | hit_analysis/image/cut_reconstruction.py | credo-science/credo-classify | 1cc5e00a4df36c4069c0d0fbc19f579780b79ca5 | [
"MIT"
] | 1 | 2020-06-12T13:29:34.000Z | 2020-06-12T13:29:34.000Z | from io import BytesIO
from typing import List, Dict
from PIL import Image
from hit_analysis.commons.config import Config
from hit_analysis.commons.consts import IMAGE, CROP_X, CROP_Y, CROP_SIZE, FRAME_DECODED, CLASSIFIED, CLASS_ARTIFACT, ORIG_IMAGE
def append_to_frame(image: Image, detection: dict):
hit_img = ... | 35.815217 | 132 | 0.643703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 990 | 0.300455 |
67525ed3e9b1efee9050769baa49e34f54d058e4 | 7,215 | py | Python | tests/st/fallback/control_flow/test_fallback_010_if_in_if.py | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | tests/st/fallback/control_flow/test_fallback_010_if_in_if.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | tests/st/fallback/control_flow/test_fallback_010_if_in_if.py | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | # Copyright 2022 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to... | 27.43346 | 78 | 0.595981 | 0 | 0 | 0 | 0 | 6,333 | 0.877755 | 0 | 0 | 1,772 | 0.245599 |
6756dc638ee04975afad0eae2f92936de0c1062f | 42,937 | py | Python | EPOpt/SpectrumAnalysis.py | ruixueqingyang/GPOEO | 8fe65ac3e0ae4d097fdd0d58878aa2cf3201a18c | [
"MIT"
] | 5 | 2021-09-01T18:04:18.000Z | 2022-02-25T04:48:21.000Z | EPOpt/SpectrumAnalysis.py | ruixueqingyang/GPOEO | 8fe65ac3e0ae4d097fdd0d58878aa2cf3201a18c | [
"MIT"
] | null | null | null | EPOpt/SpectrumAnalysis.py | ruixueqingyang/GPOEO | 8fe65ac3e0ae4d097fdd0d58878aa2cf3201a18c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from scipy.fftpack import fft, fftshift, ifft
from scipy.fftpack import fftfreq
from scipy.signal import find_peaks
from scipy import signal
import numpy as np
import matplotlib.pyplot as plt
import pickle
import warnings
import sys
from scipy.signal.filter_design import maxflat
warnings.filter... | 42.851297 | 153 | 0.613038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15,859 | 0.329114 |
6757319350181b82afbdb20fa5b589436eb598b6 | 3,623 | py | Python | slippy/core/tests/test_materials.py | KDriesen/slippy | 816723fe6ab9f5ed26b14b4fe0f66423649b85e6 | [
"MIT"
] | 12 | 2020-12-06T15:30:06.000Z | 2021-12-14T06:37:15.000Z | slippy/core/tests/test_materials.py | KDriesen/slippy | 816723fe6ab9f5ed26b14b4fe0f66423649b85e6 | [
"MIT"
] | null | null | null | slippy/core/tests/test_materials.py | KDriesen/slippy | 816723fe6ab9f5ed26b14b4fe0f66423649b85e6 | [
"MIT"
] | 5 | 2021-03-18T05:53:11.000Z | 2022-02-16T15:18:43.000Z | import numpy as np
import numpy.testing as npt
import slippy
import slippy.core as core
"""
If you add a material you need to add the properties that it will be tested with to the material_parameters dict,
the key should be the name of the class (what ever it is declared as after the class key word).
The value should ... | 43.650602 | 118 | 0.666299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,121 | 0.309412 |
675790d51afdb63e5ecaf1442d2db56ff733f532 | 2,602 | py | Python | python/dash_tools/restore_from_bup.py | Dash-Industry-Forum/media-tools | 66be01ce09c8998d47d05729e0721857b2517017 | [
"BSD-3-Clause"
] | 60 | 2017-01-02T07:44:17.000Z | 2022-03-29T07:39:53.000Z | media-tools/python/dash_tools/restore_from_bup.py | roolrz/ABR-Alg-Implementation | 02ba8fbc804eeabeae1dcd51d359c6b0a2dc7566 | [
"MIT"
] | 4 | 2018-03-23T07:56:21.000Z | 2021-11-22T06:45:12.000Z | media-tools/python/dash_tools/restore_from_bup.py | roolrz/ABR-Alg-Implementation | 02ba8fbc804eeabeae1dcd51d359c6b0a2dc7566 | [
"MIT"
] | 36 | 2016-08-04T14:28:30.000Z | 2022-03-20T09:41:17.000Z | #!/usr/bin/env python
"""Restore files with ending BACKUP_ENDING to original files."""
# The copyright in this software is being made available under the BSD License,
# included below. This software may be subject to other third party and contributor
# rights, including patent rights, and no such rights are granted un... | 41.967742 | 85 | 0.737894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1,965 | 0.755188 |
67588c7659b325ae0aa6ae1b1ce63ec6f84fa51d | 4,851 | py | Python | src/opendr/simulation/human_model_generation/utilities/joint_extractor.py | makistsantekidis/opendr | 07dee3b59d3487b9c5a93d6946317178a02c9890 | [
"Apache-2.0"
] | 3 | 2021-06-24T01:54:25.000Z | 2021-12-12T16:21:24.000Z | src/opendr/simulation/human_model_generation/utilities/joint_extractor.py | makistsantekidis/opendr | 07dee3b59d3487b9c5a93d6946317178a02c9890 | [
"Apache-2.0"
] | 79 | 2021-06-23T10:40:10.000Z | 2021-12-16T07:59:42.000Z | src/opendr/simulation/human_model_generation/utilities/joint_extractor.py | makistsantekidis/opendr | 07dee3b59d3487b9c5a93d6946317178a02c9890 | [
"Apache-2.0"
] | 5 | 2021-07-04T07:38:50.000Z | 2021-12-12T16:18:47.000Z | # Copyright 2020-2021 OpenDR European Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 46.644231 | 119 | 0.520305 | 4,193 | 0.864358 | 0 | 0 | 2,552 | 0.526077 | 0 | 0 | 798 | 0.164502 |
6758d510a825ee1d3b5115d43a4e119fa4dab901 | 956 | py | Python | bluebottle/donations/migrations/0009_auto_20190130_1140.py | jayvdb/bluebottle | 305fea238e6aa831598a8b227223a1a2f34c4fcc | [
"BSD-3-Clause"
] | null | null | null | bluebottle/donations/migrations/0009_auto_20190130_1140.py | jayvdb/bluebottle | 305fea238e6aa831598a8b227223a1a2f34c4fcc | [
"BSD-3-Clause"
] | null | null | null | bluebottle/donations/migrations/0009_auto_20190130_1140.py | jayvdb/bluebottle | 305fea238e6aa831598a8b227223a1a2f34c4fcc | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2019-01-30 10:40
from __future__ import unicode_literals
import bluebottle.utils.fields
from decimal import Decimal
from django.db import migrations, models
import django.db.models.deletion
import djmoney.models.fields
class Migration(migrations.Migration):
... | 31.866667 | 179 | 0.66318 | 677 | 0.708159 | 0 | 0 | 0 | 0 | 0 | 0 | 223 | 0.233264 |
675926d38ebca3605bde9778baaa7d1ff647176f | 95 | py | Python | pickle_storage/tests/__init__.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | pickle_storage/tests/__init__.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | pickle_storage/tests/__init__.py | PyUnchained/pickle_storage | c0a978701ae59a9feeb3e14026ff0b2353b2e7f5 | [
"MIT"
] | null | null | null | # import os
# os.environ.setdefault('PICKLE_STORAGE_SETTINGS', 'pickle_storage.tests.settings') | 47.5 | 83 | 0.810526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 94 | 0.989474 |
6759d2fab349039ee4a85d50f2f8ff9d4646da91 | 6,592 | py | Python | src/config.py | NicolasSommer/valuenet | 1ce7e56956b378a8f281e9f9919e6aa98516a9d9 | [
"Apache-2.0"
] | null | null | null | src/config.py | NicolasSommer/valuenet | 1ce7e56956b378a8f281e9f9919e6aa98516a9d9 | [
"Apache-2.0"
] | null | null | null | src/config.py | NicolasSommer/valuenet | 1ce7e56956b378a8f281e9f9919e6aa98516a9d9 | [
"Apache-2.0"
] | null | null | null | import argparse
import json
import os
class Config:
DATA_PREFIX = "data"
EXPERIMENT_PREFIX = "experiments"
def write_config_to_file(args, output_path):
config_path = os.path.join(output_path, "args.json")
with open(config_path, 'w', encoding='utf-8') as f:
json.dump(args.__dict__, f, indent... | 40.944099 | 104 | 0.715564 | 76 | 0.011529 | 0 | 0 | 0 | 0 | 0 | 0 | 2,476 | 0.375607 |
675abb614add4be960125080b494d7201adec0de | 2,352 | py | Python | aqg/utils/summarizer.py | Sicaida/Automatic_Question_Generation | a228c166d40103a194e1daa23ff37f73c9488a5d | [
"MIT"
] | 134 | 2018-04-04T19:06:09.000Z | 2022-02-24T03:24:36.000Z | aqg/utils/summarizer.py | Sicaida/Automatic_Question_Generation | a228c166d40103a194e1daa23ff37f73c9488a5d | [
"MIT"
] | 22 | 2018-09-20T07:17:11.000Z | 2022-03-11T23:45:15.000Z | aqg/utils/summarizer.py | sagarparikh2013/Automatic-Question-Generation-NLP | 6a2cf5d90e47980676f57c67f2ed73be6f8d7fed | [
"MIT"
] | 50 | 2018-07-09T16:29:15.000Z | 2021-12-20T11:37:33.000Z | from __future__ import absolute_import
from __future__ import division, print_function, unicode_literals
from sumy.parsers.html import HtmlParser
from sumy.parsers.plaintext import PlaintextParser
from sumy.nlp.tokenizers import Tokenizer
#from sumy.summarizers.lsa import LsaSummarizer as Summarizer
from sumy.summariz... | 31.783784 | 79 | 0.676446 | 1,748 | 0.743197 | 0 | 0 | 0 | 0 | 0 | 0 | 388 | 0.164966 |
675aeab4c1e2b9cf3c2dce4e2188f947ea6ee089 | 50 | py | Python | tests/__init__.py | AdamRuddGH/super_json_normalize | 4a3c77d0e0dce632678ffe40b37fbd98fd2b4be8 | [
"MIT"
] | 2 | 2021-10-03T02:43:41.000Z | 2021-10-04T10:15:20.000Z | tests/__init__.py | AdamRuddGH/super_json_normalize | 4a3c77d0e0dce632678ffe40b37fbd98fd2b4be8 | [
"MIT"
] | null | null | null | tests/__init__.py | AdamRuddGH/super_json_normalize | 4a3c77d0e0dce632678ffe40b37fbd98fd2b4be8 | [
"MIT"
] | null | null | null | """Unit test package for super_json_normalize."""
| 25 | 49 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 49 | 0.98 |