id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/oe-bakery-0.16.5.tar.gz/oe-bakery-0.16.5/oebakery/oe.py
import sys, dircache, subprocess, os, string, re, glob, hashlib def main(): usage="""Usage: oe <command> [options]* Allowed oe commands are: init Setup new OE Bakery development environment clone Clone an OE Bakery development environment into a new directory update Update OE Bakery devel...
PypiClean
/directorypy-0.0.1.tar.gz/directorypy-0.0.1/README.md
# directory.py This library is useful for working with structure of files and directories, facilitating the tasks related with those structures, such as getting information, copying, renaming and creating files and directories. ```from directoryPy import directory``` ## Class File(path: str) This class creates a File...
PypiClean
/odoo14_addon_stock_location_tray-14.0.1.1.2-py3-none-any.whl/odoo/addons/stock_location_tray/models/stock_location.py
from collections import defaultdict from odoo import _, api, exceptions, fields, models from odoo.addons.base_sparse_field.models.fields import Serialized class StockLocation(models.Model): _inherit = "stock.location" tray_type_id = fields.Many2one( comodel_name="stock.location.tray.type", ondelet...
PypiClean
/onshape-test-client-1.0.0.tar.gz/onshape-test-client-1.0.0/onshape_client/oas/model/btm_parameter_configured2222.py
import re # noqa: F401 import sys # noqa: F401 from onshape_client.oas.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type,...
PypiClean
/malaya_speech-1.4.0rc1-py3-none-any.whl/malaya_speech/train/model/deep_speaker/model.py
import numpy as np import tensorflow.keras.backend as K from tensorflow.keras import layers from tensorflow.keras import regularizers from tensorflow.keras.layers import BatchNormalization from tensorflow.keras.layers import Conv2D from tensorflow.keras.layers import Dropout from tensorflow.keras.layers import Input fr...
PypiClean
/cdktf-cdktf-provider-vsphere-7.0.0.tar.gz/cdktf-cdktf-provider-vsphere-7.0.0/src/cdktf_cdktf_provider_vsphere/tag/__init__.py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions from typeguard import check_type from .._jsii import * import cdktf as _cdktf_9a9027ec import constructs as _constructs_77d1e7e8 class Tag( _cdktf_9a9027ec.TerraformResource, metacl...
PypiClean
/jupyros-0.7.0a0.tar.gz/jupyros-0.7.0a0/js/node_modules/electron-to-chromium/full-chromium-versions.js
module.exports = { "39.0.2171.65": [ "0.20.0", "0.20.1", "0.20.2", "0.20.3", "0.20.4", "0.20.5", "0.20.6", "0.20.7", "0.20.8" ], "40.0.2214.91": [ "0.21.0", "0.21.1", "0.21.2" ], "41.0.2272.76": [ "0.21.3", "0.22.1", "0.22.2", "0.22.3", "0.23.0", "0.24.0" ], "42.0.2311.107": [...
PypiClean
/moin-1.9.11.tar.gz/moin-1.9.11/MoinMoin/web/static/htdocs/applets/FCKeditor/editor/lang/en-ca.js
๏ปฟ/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2010 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://ww...
PypiClean
/django-timedeltafield-0.7.10.tar.gz/django-timedeltafield-0.7.10/timedelta/forms.py
from django import forms from django.utils.translation import ugettext_lazy as _ from django.utils import six import datetime from collections import defaultdict from .widgets import TimedeltaWidget from .helpers import parse class TimedeltaFormField(forms.Field): default_error_messages = { 'invalid...
PypiClean
/v1/model/show_program_response.py
import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ShowProgramResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
PypiClean
/tensorflow_fedora28-1.9.0rc01-cp27-cp27mu-manylinux1_x86_64.whl/tensorflow_fedora28-1.9.0rc0.data/purelib/tensorflow/python/keras/applications/vgg19.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import os from tensorflow.python.keras import backend as K from tensorflow.python.keras.applications.imagenet_utils import _obtain_input_shape from tensorflow.python.keras.applications.imagenet_utils import de...
PypiClean
/kwnlp_sql_parser-0.0.2.tar.gz/kwnlp_sql_parser-0.0.2/README.md
# Kensho Wikimedia for Natural Language Processing - SQL Dump Parser kwnlp_sql_parser is a Python package for parsing [Wikipedia SQL dumps](https://meta.wikimedia.org/wiki/Data_dumps/Dump_format) into CSVs. # Quick Install (Requires Python >= 3.6) ```bash pip install kwnlp-sql-parser ``` # Examples ## Basic Usage...
PypiClean
/greenpass-4.2.2.tar.gz/greenpass-4.2.2/README.md
# Green Pass Verifier [![Codacy Badge](https://app.codacy.com/project/badge/Grade/575c0631970a4d9a994f18b416e0eefc)](https://www.codacy.com/gh/berdav/greenpass/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=berdav/greenpass&amp;utm_campaign=Badge_Grade) [![Codacy Badge Coverage](https://app.cod...
PypiClean
/castepxbin-0.3.0.tar.gz/castepxbin-0.3.0/docs/usage.md
# Usage This package only provides basic, low level interfaces for reading data rather than performing any analysis. No unit conversion is carried out - any numerical values returned are simply in the internal unit used by CASTEP. In most cases, they are in the [atomic units](https://en.wikipedia.org/wiki/Hartree_ato...
PypiClean
/fbfbot-0.2.2.tar.gz/fbfbot-0.2.2/fbf/lib/botbase.py
## fbf imports from fbf.utils.exception import handle_exception from .runner import defaultrunner, callbackrunner, waitrunner from .eventhandler import mainhandler from fbf.utils.lazydict import LazyDict from .plugins import plugs as coreplugs from .callbacks import callbacks, first_callbacks, last_callbacks, remote_c...
PypiClean
/Drowsy-0.1.6-py3-none-any.whl/drowsy/resource_class_registry.py
from __future__ import unicode_literals from marshmallow.exceptions import RegistryError # { # <class_name>: <list of class objects> # <module_path_to_class>: <list of class objects> # } _registry = {} def register(classname, cls): """Add a class to the registry of resource classes. When a class is reg...
PypiClean
/bitweb2_yescryptr16-1.0.5.tar.gz/bitweb2_yescryptr16-1.0.5/README
git clone https://github.com/bitweb-project/bitweb_yescryptr16_python3 cd bitweb_yescryptr16_python3 sudo python3 setup.py install import bitweb_yescryptr16 or https://pypi.org/project/bitweb-yescryptr16/#files python3.7 -m pip install bitweb-yescryptr16 How to compile at windows ? Example for python38-32bit. ...
PypiClean
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/body-parser/lib/types/urlencoded.js
'use strict' /** * Module dependencies. * @private */ var bytes = require('bytes') var contentType = require('content-type') var createError = require('http-errors') var debug = require('debug')('body-parser:urlencoded') var deprecate = require('depd')('body-parser') var read = require('../read') var typeis = requ...
PypiClean
/convo5-0.1.tar.gz/convo5-0.1/convo/server.py
import asyncio import functools import logging import multiprocessing import os import tempfile import traceback import typing from functools import reduce, wraps from inspect import isawaitable from typing import Any, Callable, List, Optional, Text, Union import convo import convo.core.utils from convo.utils.common i...
PypiClean
/uwosh.snippets-2.0.4.tar.gz/uwosh.snippets-2.0.4/src/uwosh/snippets/utils.py
from Acquisition import aq_base from Acquisition import aq_inner from Acquisition import aq_parent from lxml.html import fromstring from lxml.html import tostring from plone import api from plone.registry.interfaces import IRegistry from Products.CMFCore.Expression import createExprContext from Products.CMFCore.Express...
PypiClean
/word_treasure-1.1.tar.gz/word_treasure-1.1/word_treasure/word_treasure.py
import sys from argparse import ArgumentParser #sys.path.append("./wordnik/") from wordnik import * apiURL = 'http://api.wordnik.com/v4' apiKey = '06433ce87b8d5300a221707756305436a90698af8fb780485' # my own key, get yours client = swagger.ApiClient(apiKey, apiURL) wordApi = WordApi.WordApi(client) wordsApi = Words...
PypiClean
/BlueWhale3-Timeseries-0.3.13.tar.gz/BlueWhale3-Timeseries-0.3.13/orangecontrib/timeseries/widgets/owspiralogram.py
from enum import Enum from itertools import chain from numbers import Number from collections import defaultdict from os import path import numpy as np from Orange.data import Table, TimeVariable, DiscreteVariable from Orange.util import color_to_hex from Orange.widgets import widget, gui, settings from Orange.widget...
PypiClean
/js.ember-1.0.0-pre.8.1.zip/js.ember-1.0.0-pre.8.1/js/ember/resources/ember-data-0.13-108.min.js
(function(){var define,requireModule;(function(){var registry={},seen={};define=function(name,deps,callback){registry[name]={deps:deps,callback:callback};};requireModule=function(name){if(seen[name]){return seen[name];} seen[name]={};var mod,deps,callback,reified,exports;mod=registry[name];if(!mod){throw new Error("Mod...
PypiClean
/pied_piper_sdwan_sdk-1.0.51-py3-none-any.whl/openapi_client/model/property_definition.py
import re # noqa: F401 import sys # noqa: F401 from openapi_client.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type, ...
PypiClean
/pulumi_oci-1.9.0a1693465256.tar.gz/pulumi_oci-1.9.0a1693465256/pulumi_oci/core/drg_route_distribution.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DrgRouteDistributionArgs', 'DrgRouteDistribution'] @pulumi.input_type class DrgRouteDistributionArgs: def __init__(__self__, *, ...
PypiClean
/gateway-acl-1.0.tar.gz/gateway-acl-1.0/acl/core/impl/processor/assembler/process_filter.py
from ally.api.config import GET from ally.api.operator.type import TypeModel, TypeProperty, TypeCall from ally.api.type import Type, typeFor from ally.container.ioc import injected from ally.container.support import setup from ally.design.processor.attribute import requires, defines, definesIf from ally.design.processo...
PypiClean
/TurboGears-1.5.1.tar.gz/TurboGears-1.5.1/turbogears/identity/exceptions.py
# declare what should be exported __all__ = ['IdentityConfigurationException', 'IdentityException', 'IdentityFailure', 'IdentityManagementNotEnabledException', 'RequestRequiredException', 'get_failure_url', 'get_identity_errors', 'set_identity_errors'] from cherrypy import request, response, HTTPRedirect,...
PypiClean
/collective.pluggablelogin-1.2.1.zip/collective.pluggablelogin-1.2.1/README.rst
Introduction ============ ``collective.pluggablelogin`` overrides the standard Plone login form with a template using a portlet manager, so that various login components can be configured. .. image:: https://github.com/collective/collective.pluggablelogin/raw/master/screenshot.png Configuration ------------- Go to...
PypiClean
/itsybitsy_test-0.2.tar.gz/itsybitsy_test-0.2/itsybitsy/spider/asynchronous.py
import asyncio import warnings import logging import functools import aiohttp import lxml.html from itsybitsy import util from itsybitsy.url_normalize import url_normalize logger = logging.getLogger("itsybitsy") async def crawl_async(base_url, only_go_deeper=True, max_depth=5, max_retries=10, timeout=10, ...
PypiClean
/openmetadata-data-profiler-0.2.0.tar.gz/openmetadata-data-profiler-0.2.0/src/data_profiler/expectations/metrics/column_map_metrics/column_value_lengths.py
from typing import Optional from data_profiler.core import ExpectationConfiguration from data_profiler.execution_engine import ( ExecutionEngine, PandasExecutionEngine, SparkDFExecutionEngine, ) from data_profiler.execution_engine.sqlalchemy_execution_engine import ( SqlAlchemyExecutionEngine, ) from d...
PypiClean
/nm_transformers_nightly-1.6.0.20230829-py3-none-any.whl/transformers/models/mobilevit/image_processing_mobilevit.py
"""Image processor class for MobileViT.""" from typing import Dict, List, Optional, Tuple, Union import numpy as np from ...image_processing_utils import BaseImageProcessor, BatchFeature, get_size_dict from ...image_transforms import ( center_crop, flip_channel_order, get_resize_output_image_size, re...
PypiClean
/echarts-china-counties-pypkg-0.0.2.tar.gz/echarts-china-counties-pypkg-0.0.2/echarts_china_counties_pypkg/resources/echarts-china-counties-js/381f0d2e6da6a7d29cd383ec3dea9576.js
(function (root, factory) {if (typeof define === 'function' && define.amd) {define(['exports', 'echarts'], factory);} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {factory(exports, require('echarts'));} else {factory({}, root.echarts);}}(this, function (exports, echarts) {var log = func...
PypiClean
/qvpnstatus-0.1.2.tar.gz/qvpnstatus-0.1.2/README.md
# QVpnStatus [![pipeline status](https://gitlab.com/mikeramsey/qvpnstatus/badges/master/pipeline.svg)](https://gitlab.com/mikeramsey/qvpnstatus/pipelines) [![coverage report](https://gitlab.com/mikeramsey/qvpnstatus/badges/master/coverage.svg)](https://gitlab.com/mikeramsey/qvpnstatus/commits/master) [![documentation]...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/device_management/managed_devices/bulk_reprovision_cloud_pc/bulk_reprovision_cloud_pc_post_request_body.py
from __future__ import annotations from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union class BulkReprovisionCloudPcPostRequestBody(AdditionalDataHolder, Parsable): def __init__(self,...
PypiClean
/in-transformers-1.0.0.tar.gz/in-transformers-1.0.0/src/transformers/models/electra/__init__.py
# Copyright 2020 The HuggingFace Team. 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 applicab...
PypiClean
/moin-1.9.11.tar.gz/moin-1.9.11/MoinMoin/support/passlib/ifc.py
#============================================================================= # imports #============================================================================= # core import logging; log = logging.getLogger(__name__) import sys # site # pkg from passlib.utils.decor import deprecated_method # local __all__ = [ ...
PypiClean
/cap-python-0.1.16.tar.gz/cap-python-0.1.16/cap/cap/settings.py
import os #import cap.urls #print [cap.urls] print __file__ DEBUG = True TEMPLATE_DEBUG = DEBUG LOGIN_URL="/login/" LANGUAGE_CODE="zh-CN" if getattr(os,"config",None): config = os.config else: config = ["192.168.14.90",3306,"cap_test","spider","123456"] WORK_DIR = os.work_dir HOST = os.host DATABASES = { ...
PypiClean
/Helmholtz-0.2.0.tar.gz/Helmholtz-0.2.0/helmholtz/analysis/tools/core/decorators.py
from copy import copy from helmholtz.analysis.tools.core.analyses import Analysis from helmholtz.analysis.tools.core.pins import Parameter,Input,DatabaseObject from helmholtz.analysis.tools.managers.common import DBManager #def configuration_match_component(view_func): # """Decorator that checks if a configuration ...
PypiClean
/ReCaptchaBreaker-0.2.0.tar.gz/ReCaptchaBreaker-0.2.0/src/model.py
from transformers import AutoModel, AutoProcessor, AutoConfig import torch import torch.nn as nn from PIL import Image import numpy as np import os from .utils import download_image, get_borders from .constants import label_texts, flex_thresh, NUM_LABELS from typing import Tuple, List class CustomModel(torch.nn.Mo...
PypiClean
/wield.model-0.6.0.tar.gz/wield.model-0.6.0/src/wield/model/optics/alm/utils.py
""" """ import numpy as np from wield.utilities.np import matrix_stack def np_check_sorted(vals): if len(vals.shape) > 1: return False else: return np.all(vals[1:] > vals[:-1]) def matrix_space(L_m): return np.matrix( [ [1, L_m], [0, 1], ] ) ...
PypiClean
/jmetalpy-1.6.0.tar.gz/jmetalpy-1.6.0/jmetal/lab/statistical_test/critical_distance.py
import numpy as np import pandas as pd from matplotlib import pyplot as plt from statsmodels.stats.libqsturng import qsturng from jmetal.lab.statistical_test.functions import ranks def NemenyiCD(alpha: float, num_alg, num_dataset): """Computes Nemenyi's critical difference: * CD = q_alpha * sqrt(num_alg*(num...
PypiClean
/acuitylite-6.21.0-cp310-cp310-manylinux2010_x86_64.whl/acuitylib/converter/lite/tflite/Uint8Vector.py
# namespace: tflite import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class Uint8Vector(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = Uint8Vector() ...
PypiClean
/agent_link-0.1.2.tar.gz/agent_link-0.1.2/agent_link/modules/.settings/figma_v2/lib/html-to-figma/index.ts
import { getBoundingClientRect } from "./helpers/dimensions"; import { getImagePaintWithUrl } from "./helpers/image"; import { isHidden, textNodesUnder, traverse } from "./helpers/nodes"; import { size } from "./helpers/object"; import { getRgb } from "./helpers/parsers"; import { addStrokesFromBorder, getStrokesRe...
PypiClean
/deepgnn_tf-0.1.60-py3-none-manylinux1_x86_64.whl/deepgnn/arg_types.py
"""Type conversions to parse command line arguments.""" import argparse def vec2str(vec): """Concat 1 or 2 dimensionanl ndarray to str. It is used when output embeddings to files, e.g.: vec = [1,2,3] res = vec2str(vec) # res is "1 2 3" """ if len(vec.shape) == 2: return ",".join([...
PypiClean
/dash_custom_components-4.0.5.tar.gz/dash_custom_components-4.0.5/dash_custom_components/dash_custom_components.min.js
window.dash_custom_components=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof ...
PypiClean
/collective.elastic.plone-1.1.4-py3-none-any.whl/collective/elastic/plone/restapi/expansions.py
from plone import api from plone.restapi.indexers import extract_text from plone.restapi.interfaces import IExpandableElement from zope.annotation import IAnnotations from zope.component import adapter from zope.globalrequest import getRequest from zope.interface import implementer from zope.interface import Interface ...
PypiClean
/cfn-policy-validator-0.0.22.tar.gz/cfn-policy-validator-0.0.22/cfn_policy_validator/validation/validator.py
import json import logging import re import time import uuid from cfn_policy_validator.canonical_user_id import client, get_canonical_user from cfn_policy_validator.validation.findings import Findings from cfn_policy_validator.validation import default_to_json, InvalidPolicyException from cfn_policy_validator.validati...
PypiClean
/wq.build-2.0.0a1.tar.gz/wq.build-2.0.0a1/wq/build/commands/serviceworker.py
from wq.build import wq import click import os import json from glob import glob import pathlib @wq.command() @click.argument("version") @click.option( "--template", type=click.Path(), help="Override service worker template" ) @click.option( "--output", type=click.Path(), default="./htdocs/service-wor...
PypiClean
/ooouno-2.1.2-py3-none-any.whl/ooo/lo/logging/log_record.py
from ooo.oenv.env_const import UNO_NONE import typing from ..util.date_time import DateTime as DateTime_84de09d3 class LogRecord(object): """ Struct Class assembles the complete information about a to-be-logged event **since** OOo 2.3 See Also: `API LogRecord <https://a...
PypiClean
/pulumi_okta-4.4.0a1693464337.tar.gz/pulumi_okta-4.4.0a1693464337/pulumi_okta/user/outputs.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'UserPasswordHash', 'GetUserSearchResult', 'GetUsersSearchResult', 'GetUsersUserResult', ] @pulumi.output_type class UserPasswordH...
PypiClean
/azure_mgmt_dataprotection-1.2.0-py3-none-any.whl/azure/mgmt/dataprotection/aio/_configuration.py
from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies from azure.mgmt.core.policies import ARMHttpLoggingPolicy, AsyncARMChallengeAuthenticationPolicy from .._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungr...
PypiClean
/infoblox-netmri-3.8.0.0.tar.gz/infoblox-netmri-3.8.0.0/infoblox_netmri/api/broker/v3_8_0/infra_device_broker.py
from ..broker import Broker class InfraDeviceBroker(Broker): controller = "infra_devices" def index(self, **kwargs): """Lists the available infra devices. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to query lists, using this method is...
PypiClean
/tensorflow_cpu-2.14.0rc1-cp311-cp311-macosx_10_15_x86_64.whl/tensorflow/python/distribute/parallel_device/parallel_device.py
"""Utility for eagerly executing operations in parallel on multiple devices.""" import threading import weakref from tensorflow.python import _pywrap_parallel_device from tensorflow.python.distribute import device_util from tensorflow.python.eager import context from tensorflow.python.framework import composite_tenso...
PypiClean
/safegate_pro-2021.7.6-py3-none-any.whl/homeassistant/components/tmb/sensor.py
from datetime import timedelta import logging from requests import HTTPError from tmb import IBus import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity from homeassistant.const import ATTR_ATTRIBUTION, CONF_NAME, TIME_MINUTES import homeassistant.helpers.config_validation ...
PypiClean
/django-ostinato-1.1.tar.gz/django-ostinato-1.1/ostinato/pages/models.py
import re from django.db import models from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.core.cache import get_cache from django.utils import timezone from django.utils.translation import ugettext_lazy as _ from django.conf import settings from mptt.models import MPT...
PypiClean
/cameo_claw-1.4.5.tar.gz/cameo_claw-1.4.5/cameo_claw/scheduler.py
from pydantic import BaseModel from datetime import datetime import uuid from cameo_claw.cameo_claw_reuse import fastapi_app, split_list app = fastapi_app() class ItemClientAddTask(BaseModel): module_name: str = 'cameo_claw.remote' function_name: str = 'square' lst_iter: list = list(range(32)) int_c...
PypiClean
/plone.staticresources-2.0.0b3-py3-none-any.whl/plone/staticresources/static/bundle-plone/bootstrap-remote.min.js
var __patternslib_mf__bootstrap;!function(){"use strict";var n,e,t,r,u,o,f,i,c,a,l,d,s,h,b={38642:function(n,e,t){var r={"./main":function(){return t.e(51025).then((function(){return function(){return t(51025)}}))}},u=function(n,e){return t.R=e,e=t.o(r,n)?r[n]():Promise.resolve().then((function(){throw new Error('Modul...
PypiClean
/nba_api-1.2.1.tar.gz/nba_api-1.2.1/src/nba_api/stats/endpoints/playercareerbycollegerollup.py
from nba_api.stats.endpoints._base import Endpoint from nba_api.stats.library.http import NBAStatsHTTP from nba_api.stats.library.parameters import LeagueID, PerModeSimple, SeasonTypeAllStar, SeasonNullable class PlayerCareerByCollegeRollup(Endpoint): endpoint = 'playercareerbycollegerollup' expected_data = {...
PypiClean
/mis_modulos-0.1.tar.gz/mis_modulos-0.1/urllib3/fields.py
from __future__ import absolute_import import email.utils import mimetypes import re from .packages import six def guess_content_type(filename, default="application/octet-stream"): """ Guess the "Content-Type" of a file. :param filename: The filename to guess the "Content-Type" of using :mod:`m...
PypiClean
/mk-scaffold-1.0.10.tar.gz/mk-scaffold-1.0.10/scaffold/questions.py
import sys from prompt_toolkit import prompt as user_input from prompt_toolkit.validation import ValidationError, Validator from . import utils from .environment import StrictNativeEnvironment from .validators import allowed, boolean, default, max_length, min_length, nullable, vartype def validate_answer(value, sch...
PypiClean
/apache-atlas-0.0.14.tar.gz/apache-atlas-0.0.14/apache_atlas/client/discovery.py
from apache_atlas.model.discovery import (AtlasQuickSearchResult, AtlasSearchResult, AtlasSuggestionsResult, AtlasUserSavedSearch) from apache_atlas.utils import API, BASE_URI, HTTPMethod, HTTPStatus DEFAULT_LIMIT = 100 DEFAULT_OFFSET = 0 class DiscoveryClient: DISCOVERY...
PypiClean
/code_size_analyzer_client_python-0.6.0-py3-none-any.whl/code_size_analyzer_client/api/parser_api.py
import re # noqa: F401 import sys # noqa: F401 from code_size_analyzer_client.api_client import ApiClient, Endpoint as _Endpoint from code_size_analyzer_client.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, datetime, file_type, none_type, validate_and_co...
PypiClean
/ai_core_sdk-1.22.3-py3-none-any.whl/ai_core_sdk/models/base_models.py
from typing import Dict class BasicNameResponse: """The BasicNameResponse object defines the response with name from the server :param name: Name of the relevant resource :type id: str :param message: Response message from the server :type message: str :param `**kwargs`: The keyword arguments...
PypiClean
/buildbot-3.9.0.tar.gz/buildbot-3.9.0/docs/developer/style.rst
Buildbot Coding Style ===================== Documentation ------------- Buildbot strongly encourages developers to document the methods, behavior, and usage of classes that users might interact with. However, this documentation should be in ``.rst`` files under ``master/docs/developer``, rather than in docstrings wit...
PypiClean
/certora-cli-alpha-naftali-support_CONSTANT_sumary_for_all_non_dynamic_returns-20230511.6.27.81965.tar.gz/certora-cli-alpha-naftali-support_CONSTANT_sumary_for_all_non_dynamic_returns-20230511.6.27.81965/certora_cli/EVMVerifier/Compiler/CompilerCollectorSol.py
from pathlib import Path from typing import Any, List, Tuple, Dict, Set from EVMVerifier.Compiler.CompilerCollector import CompilerLang, CompilerCollector, CompilerLangFunc from Shared.certoraUtils import Singleton import EVMVerifier.certoraType as CT class CompilerLangSol(CompilerLang, metaclass=Singleton): """...
PypiClean
/git-backup-tool-0.1.2.tar.gz/git-backup-tool-0.1.2/README.md
[![Python application](https://github.com/AlexanderHieser/git-backup/actions/workflows/pylint.yml/badge.svg)](https://github.com/AlexanderHieser/git-backup/actions/workflows/pylint.yml) # Git Backup ![Welcome](/docu/git_backup_header.png) Small CLI which helps to clone all user repositories on github.com, gitlab.com,...
PypiClean
/ckanext_versioned_datastore-5.0.2-py3-none-any.whl/ckanext/versioned_datastore/model/downloads.py
from datetime import datetime from sqlalchemy import ( Column, Table, BigInteger, UnicodeText, DateTime, ForeignKey, desc, ) from sqlalchemy.dialects.postgresql import JSONB from sqlalchemy.orm import relationship, backref from sqlalchemy.exc import InvalidRequestError from ckan.model impo...
PypiClean
/callable-journal-0.0.9.tar.gz/callable-journal-0.0.9/src/callable_journal/param_arg_mapper.py
import copy from inspect import getcallargs from typing import Iterable, Mapping, Callable, Optional, List, Union, Tuple, Any from callable_journal.exceptions import ResultNameMappingError class CopyAllArgs: """Sentry class to indicate that all arguments should be copied.""" pass COPY_ALL_ARGS = CopyAllArg...
PypiClean
/blue_st_sdk-1.4.0.tar.gz/blue_st_sdk-1.4.0/blue_st_sdk/utils/number_conversion.py
# IMPORT import struct # CLASSES class NumberConversion(object): """This class helps to convert array of bytes to different formats, and viceversa. """ @classmethod def byte_to_uint8(self, data, index = 0): """Returns the short value of the unsigned byte value in position "index...
PypiClean
/networking-odl-22.0.0.tar.gz/networking-odl-22.0.0/networking_odl/hacking/checks.py
import re import tokenize from hacking.checks import docstrings from hacking import core _ND01_MSG = ( "ND01: use OpenDaylight (capital D) instead of Opendaylight") # noqa _ND01_OPENDAYLIGHT = 'Opendaylight' # noqa _ND02_MSG = ( "ND02: use the config fixture provided by oslo_config and use config()" ...
PypiClean
/ztfy.sendit-0.1.20.tar.gz/ztfy.sendit-0.1.20/src/ztfy/sendit/database.py
__docformat__ = "restructuredtext" # import standard packages import transaction # import Zope3 interfaces from z3c.language.negotiator.interfaces import INegotiatorManager from zope.authentication.interfaces import IAuthentication from zope.catalog.interfaces import ICatalog from zope.component.interfaces import IC...
PypiClean
/keras-core-0.1.5.tar.gz/keras-core-0.1.5/keras_core/src/layers/preprocessing/string_lookup.py
import numpy as np from keras_core.src import backend from keras_core.src.api_export import keras_core_export from keras_core.src.layers.preprocessing.index_lookup import IndexLookup from keras_core.src.utils import backend_utils from keras_core.src.utils.module_utils import tensorflow as tf @keras_core_export("kera...
PypiClean
/onshape-test-client-1.0.0.tar.gz/onshape-test-client-1.0.0/onshape_client/oas/model/bt_global_tree_node_list_response.py
import re # noqa: F401 import sys # noqa: F401 from onshape_client.oas.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type,...
PypiClean
/aws-syndicate-0.9.6.tar.gz/aws-syndicate-0.9.6/syndicate/connection/ec2_connection.py
import time from boto3 import client from syndicate.commons.log_helper import get_logger from syndicate.connection.helper import apply_methods_decorator, retry _LOG = get_logger('syndicate.connection.ec2_connection') def create_permissions(ranges): ip_ranges = [{'CidrIp': ip_range} for ip_range in ranges] ...
PypiClean
/sportmonks_python_sdk-0.1.0-py3-none-any.whl/sportmonks/paths/version_odds_markets_market_id/get.py
from dataclasses import dataclass import typing_extensions import urllib3 from sportmonks.request_before_hook import request_before_hook import json from urllib3._collections import HTTPHeaderDict from sportmonks.api_response import AsyncGeneratorResponse from sportmonks import api_client, exceptions from datetime imp...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/domain/ZhimaCreditEpCertificationInitializeModel.py
import json from alipay.aop.api.constant.ParamConstants import * class ZhimaCreditEpCertificationInitializeModel(object): def __init__(self): self._alipay_account = None self._certify_category = None self._certify_return_url = None self._ep_cert_no = None self._ep_name = ...
PypiClean
/circuitpython-Slider-0.4.0.tar.gz/circuitpython-Slider-0.4.0/slider.py
################################ # A slider widget for CircuitPython, using displayio and adafruit_display_shapes # # Features: # - slider to represent non discrete values # # Future options to consider: # --------------------------- # different orientations (horizontal, vertical, flipped) # from adafruit_display_sha...
PypiClean
/edg-0.0.1.tar.gz/edg-0.0.1/electronics_model/ConnectedGenerator.py
from typing import Type, TypeVar, Generic from edg_core import * from .VoltagePorts import VoltageLink, VoltageSink, VoltageSource from .DigitalPorts import DigitalLink, DigitalSink, DigitalSource @abstract_block # really this is just a category class DefaultConnectionBlock(InternalBlock): """A utility block that...
PypiClean
/volttron_lib_dnp3_driver-0.1.2rc1.tar.gz/volttron_lib_dnp3_driver-0.1.2rc1/README.md
# volttron-lib-dnp3-driver [![Eclipse VOLTTRONโ„ข](https://img.shields.io/badge/Eclips%20VOLTTRON--red.svg)](https://volttron.readthedocs.io/en/latest/) ![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg) ![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg) [![Pytests](https://github.com/eclip...
PypiClean
/fine_grained_segmentation-0.1.9.tar.gz/fine_grained_segmentation-0.1.9/fine_grained_segmentation/visualize.py
import random import colorsys import numpy as np import skimage from skimage.measure import find_contours import matplotlib.pyplot as plt from matplotlib import patches from matplotlib.patches import Polygon random.seed(42) def random_colors(N, bright=True): """ Generate random colors. To get visually d...
PypiClean
/rockset_v2_internal-2.0.4-py3-none-any.whl/rockset/model/delete_view_response.py
import re # noqa: F401 import sys # noqa: F401 from rockset.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type, valida...
PypiClean
/ghananews-scraper-1.0.25.tar.gz/ghananews-scraper-1.0.25/citionline/scraper.py
import csv import os import sys import unicodedata import uuid from dataclasses import asdict from datetime import datetime from urllib.parse import unquote import requests from bs4 import BeautifulSoup from .utils import HEADERS, SaveFile, Article from loguru import logger class CitiBusinessOnline: def __init_...
PypiClean
/ParmEd-4.1.0.tar.gz/ParmEd-4.1.0/parmed/structure.py
import logging import math import os from collections import defaultdict from copy import copy, deepcopy import numpy as np from . import unit as u from . import residue from .constants import DEG_TO_RAD, SMALL from .exceptions import ParameterError from .geometry import (STANDARD_BOND_LENGTHS_SQUARED, box_lengths_an...
PypiClean
/taichi_tina-0.1.0-py3-none-any.whl/tina/blend/__init__.py
import bpy import bgl from . import worker, options class TinaRenderEngine(bpy.types.RenderEngine): # These custom members are used by blender to set up the # RenderEngine; define its internal name, visible name and capabilities. bl_idname = "TINA" bl_label = "Tina" bl_use_preview = True # I...
PypiClean
/FamcyDev-0.3.71-py3-none-any.whl/Famcy/bower_components/bootstrap-table/tools/check-api.js
require = require('esm')(module) const fs = require('fs') const chalk = require('chalk') const Constants = require('../src/constants/index.js').default let errorSum = 0 const exampleFilesFolder = './bootstrap-table-examples/' const exampleFilesFound = fs.existsSync(exampleFilesFolder) let exampleFiles = [] if (exampleF...
PypiClean
/dataultra.commandlines-0.1a2.tar.gz/dataultra.commandlines-0.1a2/model/v3_0/microservice.py
import json import collections from ..utils.http_utils import http_request from ..utils.common_utils import print_table, obj_replace_time_field, status_format lifecycle_conf = {"running": u"ๅทฒไธŠ็บฟ", "setting": u"้…็ฝฎไธญ", "executing": u"ๆ‰ง่กŒไธญ"} status_summary_conf = {"successfully_deployed":...
PypiClean
/Misago-0.36.1.tar.gz/Misago-0.36.1/misago/static/misago/admin/momentjs/hr.js
;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['../moment'], factory) : factory(global.moment) }(this, (function (moment) { 'use strict'; ...
PypiClean
/collective.smsauthenticator-0.3.4.tar.gz/collective.smsauthenticator-0.3.4/src/collective/smsauthenticator/browser/forms/request_mobile_number_reset.py
import logging from smtplib import SMTPRecipientsRefused from six import text_type from zope.i18nmessageid import MessageFactory from zope.schema import TextLine from z3c.form import button, field from plone.directives import form from plone import api from plone.z3cform.layout import wrap_form from Products.status...
PypiClean
/salvus_mesher_lite-1.0.6.tar.gz/salvus_mesher_lite-1.0.6/salvus_mesher_lite/models_1D.py
from __future__ import division, print_function import copy import glob import matplotlib.pyplot as plt import numpy as np from numpy.polynomial.polynomial import Polynomial import inspect import os from scipy.integrate import ode, cumtrapz, quad from scipy.interpolate import InterpolatedUnivariateSpline import warning...
PypiClean
/sofia_redux-1.3.3.tar.gz/sofia_redux-1.3.3/sofia_redux/scan/info/instrument.py
import numpy as np from astropy import constants, units from sofia_redux.scan.info.base import InfoBase from sofia_redux.scan.flags.mounts import Mount __all__ = ['InstrumentInfo'] class InstrumentInfo(InfoBase): def __init__(self): """ Initialize the instrument information. The instr...
PypiClean
/pulumi_google_native-0.31.2a1689827148.tar.gz/pulumi_google_native-0.31.2a1689827148/pulumi_google_native/servicedirectory/v1beta1/endpoint.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __all__ = ['EndpointArgs', 'Endpoint'] @pulumi.input_type class EndpointArgs: def __init__(__self__, *, endpoint_id: pulumi.Input[str], ...
PypiClean
/pythondata_misc_opentitan-0.0.post5512-py3-none-any.whl/pythondata_misc_opentitan/resources/hw/vendor/lowrisc_ibex/doc/03_reference/index.rst
Ibex Reference Guide ==================== The Ibex Reference Guide provides background information. It describes the design in detail, discusses the verification approach and the resulting testbench structures, and generally helps to understand Ibex in depth. .. toctree:: :maxdepth: 2 :caption: In this section ...
PypiClean
/bmcs-0.0.2a28-py3-none-any.whl/ibvpy/fets/fets3D/fets3D8h20u.py
from traits.api import \ Instance, Int, Property, Array, cached_property from numpy import \ zeros, dot, hstack, identity from scipy.linalg import \ inv from .fets3D import FETS3D #----------------------------------------------------------------------------------- # FETS3D8H20U - 20 nodes Subparametri...
PypiClean
/Netzob-2.0.0.tar.gz/Netzob-2.0.0/src/netzob/NetzobResources.py
#+---------------------------------------------------------------------------+ #| 01001110 01100101 01110100 01111010 01101111 01100010 | #| | #| Netzob : Inferring communication protocols | #+-...
PypiClean
/ncube_sdk-0.3-py3-none-any.whl/ncube_sdk/http.py
from __future__ import absolute_import, unicode_literals import logging import requests import requests.adapters from urllib3.util.retry import Retry __all__ = ["raise_if_err", "create_session"] _logger = logging.getLogger(__name__) def raise_if_err(r): # type: (requests.Response) -> None if not r.ok: ...
PypiClean
/Spire.XLS_for_Python-13.5.0-py3-none-any.whl/spire/xls/XlsChartDataPoint.py
from enum import Enum from plum import dispatch from typing import TypeVar,Union,Generic,List,Tuple from spire.common import * from spire.xls import * from ctypes import * import abc class XlsChartDataPoint ( XlsObject, IChartDataPoint) : """ """ @property def DataFormat(self)->'IChartSerieDataForma...
PypiClean
/qublets-0.1.3.tar.gz/qublets-0.1.3/README.md
Qublets === Qublets is an approachable Quantum Computing Library written in Python using Intel's [intel-qs](https://github.com/iqusoft/intel-qs) Quantum Computing Simulator. The goal of the library is to make introductory quantum computing approachable at the undergraduate (or lower) level. Setup --- If you are on U...
PypiClean
/datalab_on_jupyter-2.2.1-py3-none-any.whl/datalab_on_jupyter/dist/75-95398d9844809bdafa8c.bundle.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[75],{1794:function(e,t,n){"use strict";n.r(t);var r,o,i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.val...
PypiClean
/m9s-trytond-6.0.35.tar.gz/m9s-trytond-6.0.35/trytond/protocols/xmlrpc.py
import xmlrpc.client as client import datetime import logging # convert decimal to float before marshalling: from decimal import Decimal import defusedxml.xmlrpc from werkzeug.wrappers import Response from werkzeug.exceptions import ( BadRequest, InternalServerError, Conflict, Forbidden, Locked, TooManyReques...
PypiClean
/graph-jsp-env-0.3.2.tar.gz/graph-jsp-env-0.3.2/README.md
<div id="top"></div> <!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://cybernetics-lab.de/"> <img src="https://github.com/Alexander-Nasuta/graph-jsp-env/raw/master/resources/readme_images/logo.png" alt="Logo" height="80"> </a> <h1 align="center"> Graph Job Shop Problem Gym Environmen...
PypiClean