id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_0/models/resource_performance_by_array_get_response.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_0 import models class ResourcePerformanceByArrayGetResponse(object): """ Attributes: swagger_types (dict): The key is attribute name ...
PypiClean
/stix2-patterns-2.0.0.tar.gz/stix2-patterns-2.0.0/CHANGELOG.rst
CHANGELOG ========= 2.0.0 - Released 2022-03-31 --------------------------- * #85 Update to ANTLR 4.9 (@chisholm) * #88 Default to STIX 2.1 version patterns 1.3.2 - Released 2020-12-10 --------------------------- * #79 Fix bug to prevent crashing on '*' selector in hashes (@chisholm) * #81 Fix bug with bracket che...
PypiClean
/dash-user-analytics-0.0.1.tar.gz/dash-user-analytics-0.0.1/README.md
# dash-user-analytics dash-user-analytics is a part of [Dash Enterprise](https://plotly.com/dash/), Plotly's end-to-end Dash application platform. This public copy of the package is a stub published on pypi.org designed to shield Dash Enterprise users from [dependency confusion](https://medium.com/@alex.birsan/depende...
PypiClean
/py-Betawi-0.1.0.tar.gz/py-Betawi-0.1.0/pyBetawi/config.py
import sys from os import getenv try: from dotenv import load_dotenv load_dotenv() except ImportError: pass MSG_PERMIT = ( """ โ•ญโ”ˆโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚โ€œ๐–๐ž๐ฅ๐œ๐จ๐ฆ๐ž ๐ญ๐จ ๐“๐ก๐ž ๐๐ซ๐ข๐ฏ๐š๐œ๐ฒ ๐Œ๐ž๐ฌ๐ฌ๐š๐ ๐žโ€ โ”œโ”ˆโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚๐——๐—œ๐—Ÿ๐—”๐—ฅ๐—”๐—ก๐—š ๐— ๐—˜๐—Ÿ๐—”๐—ž๐—จ๐—ž๐—”๐—ก ๐—ฆ๐—ฃ๐—”๐— ๐— ๐—œ๐—ก๐—šโ— โ”‚๐˜’๐˜ข๐˜ณ๐˜ฆ...
PypiClean
/xnni-0.7.4-py3-none-manylinux1_x86_64.whl/xnni-0.7.4.data/data/nni/node_modules/debug/README.md
# debug [![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master) [![Slack](https://visionmedia-com...
PypiClean
/thonny_calliope-0.2b1-py3-none-any.whl/thonnycontrib/calliope/api_stubs/builtins.py
class ArithmeticError: '' class AssertionError: '' class AttributeError: '' class BaseException: '' class EOFError: '' Ellipsis = None class Exception: '' class GeneratorExit: '' class ImportError: '' class IndentationError: '' class IndexError: '' class KeyError: '...
PypiClean
/etl_helper_talenttech-1.7.0-py3-none-any.whl/converter/pg_ch_converter/schemas_checker.py
from dataclasses import dataclass from enum import Enum from converter.database_worker import get_type_sql_alchemy from converter.pg_ch_converter.table_generator import PgChCreator class ChangeEvent(Enum): DELETE = 1 ADD = 2 TYPE_UPDATE = 3 @dataclass class ColumnChangeEvent: """Class for updating ...
PypiClean
/lgblkb_navigation-0.1.20.tar.gz/lgblkb_navigation-0.1.20/lgblkb_navigation/utils/google_way.py
import matplotlib.pyplot as plt import numpy as np import scipy.spatial as scisp from lgblkb_tools import logger from ortools.constraint_solver import pywrapcp from ortools.constraint_solver import routing_enums_pb2 """Simple travelling salesman problem between cities.""" class SimpleTSP(object): def __init__(self...
PypiClean
/genie-parser-0.1.0.tar.gz/genie-parser-0.1.0/genieparser/grammar/thingtalk.py
import json import os import urllib.request import ssl import numpy as np import tensorflow as tf from collections import OrderedDict from orderedset import OrderedSet from . import slr from .shift_reduce_grammar import ShiftReduceGrammar from ..util.metrics import make_pyfunc_metric_fn, accuracy, grammar_accuracy, \...
PypiClean
/xbim-flex-2.0.4.tar.gz/xbim-flex-2.0.4/xbim_flex/identity/exceptions.py
class OpenApiException(Exception): """The base exception class for all OpenAPIExceptions""" class ApiTypeError(OpenApiException, TypeError): def __init__(self, msg, path_to_item=None, valid_classes=None, key_type=None): """ Raises an exception for TypeErrors Args: ...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/bluebird/js/main/thenables.js
"use strict"; module.exports = function(Promise, INTERNAL) { var util = require("./util.js"); var errorObj = util.errorObj; var isObject = util.isObject; function tryConvertToPromise(obj, context) { if (isObject(obj)) { if (obj instanceof Promise) { return obj; } else if (isAnyB...
PypiClean
/ironic_python_agent-9.6.0-py3-none-any.whl/ironic_python_agent/encoding.py
import json import uuid from ironic_lib import exception as lib_exc class Serializable(object): """Base class for things that can be serialized.""" serializable_fields = () def serialize(self): """Turn this object into a dict.""" return dict((f, getattr(self, f)) for f in self.serializa...
PypiClean
/hubble_exchange-0.6.4-py3-none-any.whl/hubble_exchange/client.py
import json from typing import Dict, List import websockets from hexbytes import HexBytes from hubble_exchange.eip712 import get_ioc_order_hash, get_limit_order_hash from hubble_exchange.eth import get_async_web3_client, get_websocket_endpoint from hubble_exchange.models import (AsyncOrderBookDepthCallback, ...
PypiClean
/NICpolpy-0.1.5-py3-none-any.whl/nicpolpy/ysphotutilpy4nicpolpy/growth.py
import numpy as np def _profile_moffat(r, flux=1, width=1, power=1): ''' The circular Moffat profile (Students' t-distribution variant) Paramters --------- r : float The distance from the profile center in pixel. flux : float, optional. The total flux. width, power : float, opt...
PypiClean
/superset-2.0.0-custom-test-0.0.1.tar.gz/superset-2.0.0-custom-test-0.0.1/superset/charts/commands/delete.py
import logging from typing import Optional from flask_appbuilder.models.sqla import Model from flask_appbuilder.security.sqla.models import User from flask_babel import lazy_gettext as _ from superset.charts.commands.exceptions import ( ChartDeleteFailedError, ChartDeleteFailedReportsExistError, ChartForb...
PypiClean
/jarvis-sdk-python-1.5.0.tar.gz/jarvis-sdk-python-1.5.0/indykite_sdk/config/service_account_credential.py
from indykite_sdk.indykite.config.v1beta1 import config_management_api_pb2 as pb2 from indykite_sdk.model.service_account_credential import ServiceAccountCredential from indykite_sdk.model.register_service_account_credential import RegisterServiceAccountCredential from google.protobuf.timestamp_pb2 import Timestamp d...
PypiClean
/django-roi-buro-sample-project-0.1.10.tar.gz/django-roi-buro-sample-project-0.1.10/README.md
# ROI BURO sample project ## Name ROI BURO sample test project ## Description This is Django-based sample test project which collect information about CPU usage and shows this stats at HTML page. There are client - linux daemon written on Python, which measures CPU utilization periodically and server - django applica...
PypiClean
/parmoo-0.3.0.tar.gz/parmoo-0.3.0/docs/quickstart.rst
.. _Quickstart: Quickstart ========== ParMOO is a parallel multiobjective optimization solver that seeks to exploit simulation-based structure in objective and constraint functions. To exploit structure, ParMOO models *simulations* separately from *objectives* and *constraints*. In our language: * a **design vari...
PypiClean
/kiwi-blockchain-1.0.3.tar.gz/kiwi-blockchain-1.0.3/chia/wallet/util/backup_utils.py
import base64 import json from typing import Any import aiohttp from blspy import AugSchemeMPL, PrivateKey, PublicKeyMPL, SignatureMPL from cryptography.fernet import Fernet from chia.server.server import ssl_context_for_root from chia.ssl.create_ssl import get_mozilla_ca_crt from chia.util.byte_types import hexstr_t...
PypiClean
/plynx-1.11.1.tar.gz/plynx-1.11.1/README.md
# Plynx ![Plynx](docs/img/logo-black-font.png?style=centerme) [![Website shields.io](https://img.shields.io/circleci/project/github/plynx-team/plynx.svg)](https://circleci.com/gh/plynx-team/plynx) [![Website shields.io](https://img.shields.io/github/license/plynx-team/plynx.svg)](https://github.com/plynx-team/plynx) ...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/security/host_cookie_collection_response.py
from __future__ import annotations from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from . import host_cookie from .. import base_collection_pagination_count_response from .. imp...
PypiClean
/seg_torch-0.1.7-py3-none-any.whl/segmentation/data_loader/segmentation_dataset.py
from __future__ import absolute_import, print_function, division import os import numpy as np import time import torch from torch.utils.data import Dataset import cv2 # Ignore warnings import warnings warnings.filterwarnings("ignore") class DataLoaderError(Exception): pass try: from tqdm import tqdm except I...
PypiClean
/azure-mgmt-appcontainers-3.0.0b1.zip/azure-mgmt-appcontainers-3.0.0b1/azure/mgmt/appcontainers/aio/operations/_jobs_operations.py
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload import urllib.parse from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundEr...
PypiClean
/plainbox-0.38.0.tar.gz/plainbox-0.38.0/docs/manpages/plainbox-run.rst
================ plainbox-run (1) ================ .. argparse:: :ref: plainbox.impl.box.get_parser_for_sphinx :prog: plainbox :manpage: :path: run :nodefault: This command runs zero or more Plainbox jobs as a part of a single session and saves the test results. Plainbox will follow the fo...
PypiClean
/diffusersTangkhode-0.0.1.tar.gz/diffusersTangkhode-0.0.1/src/diffusers/models/controlnet_flax.py
from typing import Tuple, Union import flax import flax.linen as nn import jax import jax.numpy as jnp from flax.core.frozen_dict import FrozenDict from ..configuration_utils import ConfigMixin, flax_register_to_config from ..utils import BaseOutput from .embeddings_flax import FlaxTimestepEmbedding, FlaxTimesteps fr...
PypiClean
/uniohomeassistant-0.1.3.tar.gz/uniohomeassistant-0.1.3/homeassistant/components/wink/climate.py
import logging import pywink from homeassistant.components.climate import ClimateEntity from homeassistant.components.climate.const import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, CURRENT_HVAC_COOL, CURRENT_HVAC_HEAT, CURRENT_HVAC_IDLE, CURRENT_HVAC_OFF, FAN_AUTO, FAN_HIGH, F...
PypiClean
/crashlaker_d3-0.0.1-py3-none-any.whl/crashlaker/Website.py
from scrapeasy.Page import Page class Website(object): def __init__(self, url, verify=True): url = url.replace("%2F", "/") self._domain = self.findDomain(url) self._mainPage = Page(url, verify=verify) #Define empty subpages list and empty media dict self._subpages = [] ...
PypiClean
/Cuckoo-2.0.7a1.tar.gz/Cuckoo-2.0.7a1/cuckoo/web/controllers/submission/api.py
import json from django.http import JsonResponse from django.shortcuts import redirect from django.views.decorators.http import require_http_methods from cuckoo.common.config import config from cuckoo.core.submit import SubmitManager from cuckoo.web.utils import api_post, JsonSerialize, json_error_response submit_m...
PypiClean
/Malas-1.0.210930.1.tar.gz/Malas-1.0.210930.1/malas/ip_addr_validator.py
import re # Import function from module from .file_validator import device_info_list_validator from .device_info_validator import device_info_validator def is_octet(ip_octets): # IP address must have 4 octets result = len(ip_octets) == 4 # Pass the value return result def is_empty(ip_octets): if ...
PypiClean
/tf_object_detection-0.0.3.tar.gz/tf_object_detection-0.0.3/tf_object_detection/research/slim/nets/resnet_utils.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import tensorflow as tf slim = tf.contrib.slim class Block(collections.namedtuple('Block', ['scope', 'unit_fn', 'args'])): """A named tuple describing a ResNet block. Its parts are: ...
PypiClean
/dsin100daysv28-6.0.1.tar.gz/dsin100daysv28-6.0.1/notebook/static/components/codemirror/addon/search/matchesonscrollbar.js
(function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./searchcursor"), require("../scroll/annotatescrollbar")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror", "./searchcursor", ".....
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_mt-mt.js
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "AM", "PM" ], "DAY": [ "Il-\u0126add", ...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/user_experience_analytics_app_health_app_performance_by_app_version_device_id.py
from __future__ import annotations from datetime import datetime from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from . import entity from . import entity class UserExperienceAnaly...
PypiClean
/r-django-jet-2.0.9.tar.gz/r-django-jet-2.0.9/jet/filters.py
from django.contrib.admin import RelatedFieldListFilter from django.utils.encoding import smart_text from django.utils.html import format_html try: from django.core.urlresolvers import reverse except ImportError: # Django 1.11 from django.urls import reverse try: from django.contrib.admin.utils import get_...
PypiClean
/eadtoolbox-1.0.0.tar.gz/eadtoolbox-1.0.0/distribute_setup.py
import os import shutil import sys import time import fnmatch import tempfile import tarfile import optparse from distutils import log try: from site import USER_SITE except ImportError: USER_SITE = None try: import subprocess def _python_cmd(*args): args = (sys.executable,) + args r...
PypiClean
/give_me_python-3.10.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/give_me_python/data/lib/python3.10/importlib/_bootstrap.py
# See importlib._setup() for what is injected into the global namespace. # When editing this code be aware that code executed at import time CANNOT # reference any injected objects! This includes not only global code but also # anything specified at the class level. def _object_name(obj): try: return obj...
PypiClean
/genx3-3.6.22.tar.gz/genx3-3.6.22/genx/models/lib/island_lattice.py
r""" .. module:: island_lattice.py :synopsis: Models to calcualte the reflectivity from a 2D island array This module provide functions to calculate the reflectivity from gratings using the distorted wave Born approximation (DWBA) and the kinematical theory. """ from .parameters import Int, Float, ComplexArray, Fu...
PypiClean
/bl3-cli-saveedit-1.17.0.tar.gz/bl3-cli-saveedit-1.17.0/bl3save/cli_import_protobuf.py
# Copyright (c) 2020-2021 CJ Kucera (cj@apocalyptech.com) # # This software is provided 'as-is', without any express or implied warranty. # In no event will the authors be held liable for any damages arising from # the use of this software. # # Permission is granted to anyone to use this software for any purpose, # ...
PypiClean
/ase_core-3.23.0b1.post2-py3-none-any.whl/ase/build/general_surface.py
from math import gcd import numpy as np from numpy.linalg import norm, solve from ase.build import bulk def surface(lattice, indices, layers, vacuum=None, tol=1e-10, periodic=False): """Create surface from a given lattice and Miller indices. lattice: Atoms object or str Bulk lattice structure of all...
PypiClean
/hexagonulator-0.0.1.tar.gz/hexagonulator-0.0.1/hexgonulator/v67/processor.py
from hexgonulator.memory.hub import MemoryControllerHub from .instructions.abstract.constant_extender import ConstantExtender from .instructions.decoders.decode import decode_instruction from .registers import Registers from .sequencer import Sequencer from .xunits import Xunits from ..common.bits_ops import set_substr...
PypiClean
/GraphQL_core_next-1.1.1-py3-none-any.whl/graphql/validation/rules/unique_field_definition_names.py
from collections import defaultdict from typing import Any, Dict from ...error import GraphQLError from ...language import NameNode, ObjectTypeDefinitionNode from ...type import is_object_type, is_interface_type, is_input_object_type from . import SDLValidationContext, SDLValidationRule __all__ = [ "UniqueFieldDe...
PypiClean
/dsin100daysv32-6.0.1.tar.gz/dsin100daysv32-6.0.1/notebook/static/components/requirejs/require.js
var requirejs, require, define; (function (global) { var req, s, head, baseElement, dataMain, src, interactiveScript, currentlyAddingScript, mainScript, subPath, version = '2.2.0', commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg, cjsRequireRegExp = /[^.]\s*require\s*\(\s*...
PypiClean
/azure-cli-2.51.0.tar.gz/azure-cli-2.51.0/azure/cli/command_modules/cognitiveservices/commands.py
from azure.cli.core.commands import CliCommandType from azure.cli.command_modules.cognitiveservices._client_factory import cf_accounts, cf_resource_skus,\ cf_deleted_accounts, cf_deployments, cf_commitment_plans, cf_commitment_tiers, cf_models, cf_usages def load_command_table(self, _): accounts_type = CliCo...
PypiClean
/honeybee-display-0.2.19.tar.gz/honeybee-display-0.2.19/docs/index.rst
Welcome to honeybee-display's documentation! =================================== .. image:: http://www.ladybug.tools/assets/img/honeybee.png A library that adds methods to translate honeybee objects to VisualizationSets. Installation ============ ``pip install -U honeybee-display`` If you want to also include all...
PypiClean
/sciencebeam_parser-0.1.8.tar.gz/sciencebeam_parser-0.1.8/sciencebeam_parser/models/extract.py
from abc import ABC, abstractmethod import logging import re from typing import Iterable, Mapping, Optional, Tuple from sciencebeam_parser.document.semantic_document import ( SemanticContentFactoryProtocol, SemanticContentWrapper, SemanticNote ) from sciencebeam_parser.document.layout_document import EMPTY...
PypiClean
/django-static-ace-builds-1.4.12.0.tar.gz/django-static-ace-builds-1.4.12.0/django_static_ace_builds/static/ace-builds/mode-haskell.js
ace.define("ace/mode/haskell_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:["punctuation.definition.entity.haskell","keyword.operato...
PypiClean
/quickder.rfc-1.4.0-py3-none-any.whl/quickder/rfc/rfc5280.py
# # Import general definitions and package dependencies # from arpa2.quickder import api as _api # # Classes for ASN.1 type assignments # # OtherName ::= SEQUENCE { type-id OBJECT IDENTIFIER, value [0] EXPLICIT ANY } class OtherName (_api.ASN1ConstructedType): _der_packer = ( chr(_api.DER_PACK_ENTER | ...
PypiClean
/scipy-1.9.1.tar.gz/scipy-1.9.1/doc/source/tutorial/stats/continuous_invgauss.rst
.. _continuous-invgauss: Inverse Normal (Inverse Gaussian) Distribution ============================================== The standard form involves the shape parameter :math:`\mu` (in most definitions, :math:`L=0.0` is used). (In terms of the regress documentation :math:`\mu=A/B` ) and :math:`B=S` and :math:`L` is not...
PypiClean
/spyder-terminal-1.2.2.tar.gz/spyder-terminal-1.2.2/spyder_terminal/server/static/components/webpack-dev-server/bin/options.js
'use strict'; /* eslint-disable multiline-ternary, space-before-function-paren */ const ADVANCED_GROUP = 'Advanced options:'; const DISPLAY_GROUP = 'Stats options:'; const SSL_GROUP = 'SSL options:'; const CONNECTION_GROUP = 'Connection options:'; const RESPONSE_GROUP = 'Response options:'; const BASIC_GROUP = 'Ba...
PypiClean
/create_tao_masternode-1.2.6-py3-none-any.whl/create_tao_masternode/main.py
from typing import Dict import os import shutil import sys from jinja2 import Template import click from create_tao_masternode import __version__, envs, templates @click.command(help='Set up a Tao masternode by running one command.') @click.argument('name', type=click.Path( file_okay=False, resolve_path=Tr...
PypiClean
/ioflo1-1.7.8.tar.gz/ioflo1-1.7.8/ioflo/base/skedding.py
import sys if sys.version > '3': xrange = range import os import time from collections import deque from ..aid.consoling import getConsole console = getConsole() from ..aid.sixing import * from ..aid import odict, oset from .globaling import * from ..aid import timing from . import excepting from . import regis...
PypiClean
/mera_tvm_host_only-1.3.1-cp36-cp36m-manylinux_2_27_x86_64.whl/tvm/topi/searchsorted.py
"""searchsorted operator""" from . import utils from . import te from ..tir import ir_builder from .math import cast def binary_search(ib, sequence_offset, search_range, sorted_sequence, value, right, out_dtype): """Common IR generator for binary search used by CPU and GPU backends. `sorted_sequence` is a N-...
PypiClean
/peek-plugin-diagram-3.4.11.tar.gz/peek-plugin-diagram-3.4.11/peek_plugin_diagram/_private/server/LogicEntryHook.py
import logging from twisted.internet.defer import inlineCallbacks from vortex.DeferUtil import deferToThreadWrapWithLogger from peek_plugin_base.server.PluginLogicEntryHookABC import ( PluginLogicEntryHookABC, ) from peek_plugin_base.server.PluginServerStorageEntryHookABC import ( PluginServerStorageEntryHook...
PypiClean
/finch-cms-0.8.7.tar.gz/finch-cms-0.8.7/finch/models.py
from datetime import datetime from django.db import models from django.conf import settings from django.contrib.sites.models import Site from django.contrib.auth.models import AnonymousUser, User from django.utils.translation import ugettext as _ from treebeard.ns_tree import NS_Node from contentmanager import blockp...
PypiClean
/sensamag-1.0.3-py3-none-any.whl/sensamag_utility/connection_manager.py
import mariadb from rich import print as rprint DEFAULT_USER = "sensamag_utility" DEFAULT_PASSWORD = "verystrongpassword" DEFAULT_HOST = "127.0.0.1" DEFAULT_PORT = 3308 DEFAULT_DATABASE = "sensamag_sp" class ConnectionManager: """ Class-wrapper for a connection to MariaDB. """ def __init__(self): ...
PypiClean
/ridge_detection-3.0.0-py3-none-any.whl/ridge_detection/helper.py
I inserted the function called from the main: -) displayContours -)save_to_disk Here I collected the following file: -) Normal.java -) Threshold.java -) Offset.java """ from math import exp,sin,cos from ridge_detection.basicGeometry import Region,Chord from numpy import amax,amin,asarray import logging from os impor...
PypiClean
/calculatorPython3-0.1.0-py3-none-any.whl/calculatorpython3/trigonometric.py
import numpy as np from math import degrees, radians class Trigonometric: def __init__(self, value): self.value = value def sin(self, unit='radians'): """Calculate the sine of the value.""" if unit == 'degrees': value_in_radians = radians(self.value) return np....
PypiClean
/django-daiquiri-0.4.3.tar.gz/django-daiquiri-0.4.3/daiquiri/tap/management/commands/setup_tap_metadata.py
from django.apps import apps from django.conf import settings from django.core.management.base import BaseCommand from daiquiri.metadata.models import Schema, Table, Column from daiquiri.tap.constants import TAP_SCHEMA_METADATA class Command(BaseCommand): def handle(self, *args, **options): # remove the...
PypiClean
/ax-platform-0.3.4.tar.gz/ax-platform-0.3.4/ax/core/types.py
import enum from typing import ( Any, Callable, DefaultDict, Dict, Hashable, List, Optional, Tuple, Union, ) import numpy as np TNumeric = Union[float, int] TParamCounter = DefaultDict[int, int] TParamValue = Optional[Union[str, bool, float, int]] TParameterization = Dict[str, TP...
PypiClean
/miv_os-0.3.0.post4.tar.gz/miv_os-0.3.0.post4/miv/signal/filter/median_filter.py
__all__ = ["MedianFilter"] from typing import Optional, Tuple, Union import logging from dataclasses import dataclass import numpy as np import numpy.typing as npt from miv.core.datatype import Signal from miv.core.operator import OperatorMixin from miv.core.wrapper import wrap_generator_to_generator from miv.typin...
PypiClean
/NlvWxPython-4.2.0-cp37-cp37m-win_amd64.whl/wx/lib/editor/README.txt
wxEditor component ------------------ The wxEditor class implements a simple text editor using wxPython. You can create a custom editor by subclassing wxEditor. Even though much of the editor is implemented in Python, it runs surprisingly smoothly on normal hardware with small files. Keys ---- Keys are similar to ...
PypiClean
/fastapi_create_app-1.1.0.tar.gz/fastapi_create_app-1.1.0/README.md
# FastAPI CREATE APP fastapi-create-app is a CLI tool for generating bare-bone FastAPI project. When you run `fastapi-create-app new [project_name]`, it generates the following project structure: . โ”œโ”€โ”€ app/ โ”‚ โ”œโ”€โ”€ __init__.py โ”‚ โ”œโ”€โ”€ config/ โ”‚ โ”‚ โ”œโ”€โ”€ __init__.py โ”‚ โ”‚ โ””โ”€โ”€ config.py โ”‚...
PypiClean
/raspi.lpd8806-0.2.zip/raspi.lpd8806-0.2/src/raspi/lpd8806/led_queue_worker.py
from haigha.connection import Connection from haigha.message import Message from led_lib import Strip from ledstrip import * import argparse import inspect import json import os import requests import requests.exceptions import time import urllib def get_used_leds(seq): used = [] for led in seq.leds: ...
PypiClean
/guildai-0.8.1.tar.gz/guildai-0.8.1/guild/external/pip/_vendor/urllib3/contrib/socks.py
from __future__ import absolute_import try: import socks except ImportError: import warnings from ..exceptions import DependencyWarning warnings.warn(( 'SOCKS support in urllib3 requires the installation of optional ' 'dependencies: specifically, PySocks. For more information, see ' ...
PypiClean
/nb_offline_convert-0.1.1.tar.gz/nb_offline_convert-0.1.1/share/jupyter/nbconvert/templates/lab_offline/static/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/Shapes/Regular/Main.js
MathJax.OutputJax["HTML-CSS"].FONTDATA.FONTS.STIXMathJax_Shapes={directory:"Shapes/Regular",family:"STIXMathJax_Shapes",testString:"\u00A0\u2423\u2500\u2502\u2506\u2508\u250A\u251C\u2524\u252C\u2534\u253C\u2550\u2551\u2552",32:[0,0,250,0,0],160:[0,0,250,0,0],9251:[16,120,500,40,460],9472:[340,-267,708,-11,719],9474:[91...
PypiClean
/TracAccountManager-0.5.0.tar.gz/TracAccountManager-0.5.0/acct_mgr/notification.py
from trac.admin import IAdminPanelProvider from trac.config import Option, ListOption from trac.core import Component, TracError, implements from trac.notification import NotifyEmail from acct_mgr.api import IAccountChangeListener, CommonTemplateProvider, \ _, dgettext from acct_mgr.compat im...
PypiClean
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/liang-nan/ๅฏŒ้ฅถๆ–ฐ่ฏพใ€Šๅฟƒๆœบใ€‹๏ผš7.md
# ๅฏŒ้ฅถๆ–ฐ่ฏพใ€Šๅฟƒๆœบใ€‹๏ผš7 ใ€Šๆ–ฐๅญฃใ€‹ใ€Šๅฅ—่ทฏใ€‹ใ€Š็ฌฌไธƒ่Š‚ใ€‹่ฏพ็จ‹๏ผŒๆˆ‘ไปฌไปŠๅคฉไธป่ฆ็ป™ๅคงๅฎถๅˆ†ไบซ๏ผŒ่ฟ™ไบ›็ปฟ่Œถๆ ‡ใ€็ฝ‘็บขใ€ๅ‡่„ธ๏ผŒไป–ไปฌๆœ€ๆœŸๅพ…่ขซไป€ไนˆๆ ท็š„็”ทไบบๆ‰€ๅนฒๆณจ๏ผŒไป–ไปฌ้€‰ๆ‹ฉ็”ทไบบ็š„ไธ€ไธช้‡่ฆๆ€งๆŽ’ๅบ๏ผŒๆœ€ๆœŸๅพ…ๆœ€ๅธŒๆœ›ๆ‰พๅˆฐไป€ไนˆๆ ท็š„ไปฅๅŠๆœ€ๅบ•็บฟๆ˜ฏไป€ไนˆๆ ท็š„ใ€‚ ้‚ฃไนˆไปŠๅคฉๅ…จ้ƒจ็ป™ไป–ๆขณ็†ๆŽ’ๅˆ—ไธ€ไธ‹๏ผŒไฝ ๅฐฑ็Ÿฅ้“่ฟ™ไบ›ๅฅณไบบๅœจไป–ไปฌๅฟƒไธญๆ˜ฏๅ–œๆฌขไป€ไนˆๆ ท็š„็”ทไบบ๏ผŒ้‚ฃไธบไป€ไนˆ่ฆ่ฟ™ๆ ท่ฏดๅ‘ข๏ผŒๅ…ถๅฎžๅ‘ขๆˆ‘็ป™ๅคงๅฎถ่ฎฒไธ€ไธ‹๏ผŒๆฏ”ๅฆ‚่ฏดๆˆ‘ไปฌๆฏไธชไบบ่ฏดๅฎž่ฏ๏ผŒไบบ้ƒฝๆ˜ฏๆœ‰369็ญ‰็š„๏ผŒไป€ไนˆๆ„ๆ€ๅ‘ข๏ผŒๆฏ”ๅฆ‚่ฏดไฝ ็Žฐๅœจๅœจไธ€ไธชๅญฆๆ ก้‡Œ้ขใ€‚ ้‚ฃไนˆๆฏ”ๅฆ‚่ฏดไฝ ไปŠๅคฉๅคง่กฃๅ…ˆ็”Ÿ๏ผŒไฝ ๅˆšๅˆšๅˆฐๅญฆๆ ก๏ผŒ็„ถๅŽๆ‰€ๆœ‰ๅŒๅญฆ่š้›†ๅœจๆ“ๅœบ๏ผŒ้‚ฃไนˆๅฏ่ƒฝไฝ ็ญ”ๅบ”ไธ€็œ‹80%็š„ๅฅณ็”Ÿ๏ผŒไฝ ๆฒกๆœ‰่ทŸไป–ไปฌ่Šๅคฉ๏ผŒๆฒกๆœ‰่ทŸไป–ไปฌ็”Ÿๆ—ฅๆŽฅ่งฆ๏ผŒไฝ†ๆ˜ฏไฝ ๅช่ฆไธ€็œ‹ไฝ ๅˆ่ง‰ๅพ—๏ผŒๅฏ่ƒฝ่ฟ™่พˆๅญไธๆƒณ่ทŸไป–ๆœ‰ไปปไฝ•ไบคๆŽฅใ€‚ ๅฏ่ƒฝ่ทŸไป–ไธไผšๆœ‰ไปปไฝ•ๅ…ถไป–...
PypiClean
/delaunay-triangulation-1.0.4.tar.gz/delaunay-triangulation-1.0.4/README.md
# Installing ### Python 3.6 or higher is required other than that it's just as simple as ``` pip install delaunay-triangulation ``` # Features ## Geometry Math Classes - typing.py ### StandardLine A line in a coordinate grid described in standard form (ax + by = c). ### Coordinate A single x or y coordinate that does...
PypiClean
/custom_workflow_solutions-2.2.5-py3-none-any.whl/airflow/migrations/versions/0e2a74e0fc9f_add_time_zone_awareness.py
import sqlalchemy as sa from alembic import op from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = "0e2a74e0fc9f" down_revision = "d2ae31099d61" branch_labels = None depends_on = None def upgrade(): conn = op.get_bind() if conn.dialect.name == "mysql": conn.execu...
PypiClean
/mitosheet-private-0.2.15.tar.gz/mitosheet-private-0.2.15/mitosheet/updates/update_existing_imports.py
# Copyright (c) Saga Inc. # Distributed under the terms of the GPL License. from copy import copy from typing import Any, Dict, List from mitosheet.step import Step from mitosheet.types import StepsManagerType from mitosheet.utils import create_step_id UPDATE_EXISTING_IMPORTS_UPDATE_EVENT = 'update_existing_import_u...
PypiClean
/c3s_magic_wps-1.0.0rc1-py3-none-any.whl/c3s_magic_wps/static/diagnosticsdata/teleconnections/description.md
This functionality is implemented in the namelist MId-Latitude Evaluation System (MiLES), also available as stand-alone package (https://github.com/oloapinivad/MiLES). The tool works on daily 500hPa geopotential height data (with data interpolated on a common 2.5x2.5 grid) and calculates the following diagnostics':' ...
PypiClean
/infoblox-netmri-3.8.0.0.tar.gz/infoblox-netmri-3.8.0.0/infoblox_netmri/api/broker/v3_6_0/vrf_route_target_broker.py
from ..broker import Broker class VrfRouteTargetBroker(Broker): controller = "vrf_route_targets" def show(self, **kwargs): """Shows the details for the specified vrf route target. **Inputs** | ``api version min:`` None | ``api version max:`` None | ...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/domain/NewsConcernedLabel.py
import json from alipay.aop.api.constant.ParamConstants import * class NewsConcernedLabel(object): def __init__(self): self._label_code = None self._label_name = None self._label_show_name = None self._label_type = None @property def label_code(self): return self...
PypiClean
/shapresearchable-0.0.1.tar.gz/shapresearchable-0.0.1/shap/explainers/_partition.py
from ..utils import MaskedModel import pandas as pd import scipy as sp import numpy as np import warnings import time from tqdm.auto import tqdm import queue from ..utils import assert_import, record_import_error, safe_isinstance, make_masks, OpChain from .. import Explanation from .. import maskers from ._explainer im...
PypiClean
/testgailbot002-0.1a11-py3-none-any.whl/gailbot/services/converter/plugin/pluginMethod.py
import os from typing import Dict, Union, List, Any from gailbot.core.utils.general import write_toml, read_toml from ..payload.payloadObject import PayLoadObject, MERGED_FILE_NAME from gailbot.services.converter.result import UttDict from gailbot.plugins import Methods from gailbot.core.utils.logger import makelogger ...
PypiClean
/cmdix-3.0.0.tar.gz/cmdix-3.0.0/README.rst
.. image:: https://img.shields.io/pypi/v/cmdix.svg :target: https://pypi.org/project/cmdix .. image:: https://img.shields.io/pypi/pyversions/cmdix.svg .. image:: https://github.com/jaraco/cmdix/workflows/tests/badge.svg :target: https://github.com/jaraco/cmdix/actions?query=workflow%3A%22tests%22 :alt: tests...
PypiClean
/nannernest-0.1.4.tar.gz/nannernest-0.1.4/README.md
# nannernest ![Python package](https://github.com/EthanRosenthal/nannernest/workflows/Python%20package/badge.svg?branch=master) A small package for optimizing banana coverage on peanut butter and banana sandwiches. See [blog post](https://www.ethanrosenthal.com/2020/08/25/optimal-peanut-butter-and-banana-sandwiches/)...
PypiClean
/etiket_client-0.1.7-py3-none-any.whl/etiket_client/models/dataset_update.py
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..types import UNSET, Unset T = TypeVar("T", bound="DatasetUpdate") @attr.s(auto_attribs=True) class DatasetUpdate: """ Attributes: name (Union[Unset, str]): collec...
PypiClean
/pulumi_oci-1.9.0a1693465256.tar.gz/pulumi_oci-1.9.0a1693465256/pulumi_oci/identity/domains_identity_provider.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * __all__ = ['DomainsIdentityProviderArgs', 'DomainsIdentityProvider'] @pulumi.input_type class DomainsIdentityProv...
PypiClean
/python_zwave-0.2.1-py3-none-any.whl/pyzwave/commandclass/Configuration.py
from enum import IntEnum import logging from pyzwave.const.ZW_classcmd import ( COMMAND_CLASS_CONFIGURATION, CONFIGURATION_BULK_GET_V2, CONFIGURATION_BULK_REPORT_V2, CONFIGURATION_GET, CONFIGURATION_REPORT, CONFIGURATION_SET, ) from pyzwave.message import Message from pyzwave.types import ( ...
PypiClean
/minecraft_text_components-3.1.2-py3-none-any.whl/minecraft_text_components/minify/factor_common_formatting.py
import itertools import math from collections.abc import Iterable from dataclasses import dataclass from functools import cache, cached_property from types import EllipsisType from typing import TYPE_CHECKING, Any, Final, NamedTuple, cast from ..formatting import get_formatting, is_affected_by_inheriting from ..helper...
PypiClean
/dota2win-0.14.tar.gz/dota2win-0.14/README.rst
ASIC sin -R /data/tongji1/liyx/CSIA/CSIA.Test/Refer/LSL_1008bp.fa -D /data/tongji1/liyx/CSIA/CSIA.Test/Data/SRR2007490/ -O /data/tongji1/liyx/CSIA/CSIA.Test/Output/ -N LSL -P 0.01 -A 0.001 -U -VR -VC -VS ASIC sin -R /data/tongji1/liyx/CSIA/CSIA.Test/Refer/iGFP_448bp.fa -D /data/tongji1/liyx/CSIA/CSIA.Test/Data/SRR20074...
PypiClean
/django-cms-patched-2.3.5.tar.gz/django-cms-patched-2.3.5/cms/plugins/googlemap/migrations/0004_copy_address.py
from south.db import db from django.db import models from cms.plugins.googlemap.models import * class Migration: def forwards(self, orm): if not db.dry_run: for map in orm.googlemap.objects.all(): map.address = "%s %s" % (map.street, map.streetnr ) map.zipc...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/logz/v20220101preview/sub_account.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities from . import outputs from ._enums import * from ._inputs import * __all__ = ['SubAccountArgs', 'SubAccount'] @pulumi.input_type class SubAccountArgs: de...
PypiClean
/mpf_mc-0.56.1-cp37-cp37m-macosx_10_9_x86_64.whl/mpfmc/uix/widget.py
"""A widget on a slide.""" from typing import Union, Optional, List, Tuple from copy import deepcopy from functools import reduce import math from kivy.clock import Clock from kivy.animation import Animation from kivy.uix.relativelayout import RelativeLayout from kivy.uix.widget import Widget as KivyWidget from kivy.p...
PypiClean
/spark-nlp_tmptest-4.2.2.tar.gz/spark-nlp_tmptest-4.2.2/sparknlp/annotator/embeddings/bert_sentence_embeddings.py
"""Contains classes for BertSentenceEmbeddings.""" from sparknlp.common import * class BertSentenceEmbeddings(AnnotatorModel, HasEmbeddingsProperties, HasCaseSensitiveProperties, HasStorageRef, HasBatc...
PypiClean
/docurial-8.1.8.1.tar.gz/docurial-8.1.8.1/material/assets/javascripts/lunr/min/lunr.hu.min.js
* based on * Snowball JavaScript Library v0.3 * http://code.google.com/p/urim/ * http://snowball.tartarus.org/ * * Copyright 2010, Oleg Mazko * http://www.mozilla.org/MPL/ */ !function(e,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():n()(e.lunr)}(this,function(){...
PypiClean
/magus_msa-0.1.0a4-py3-none-any.whl/align/aligner.py
import os import shutil from align.alignment_context import AlignmentContext from align.decompose.decomposer import decomposeSequences from align.merge.merger import mergeSubalignments from tools import external_tools from configuration import Configs from helpers import sequenceutils from tasks import task ''' Alig...
PypiClean
/streamlit-elements-fluence-0.1.4.tar.gz/streamlit-elements-fluence-0.1.4/streamlit_elements_fluence/frontend/build/_next/static/chunks/reactPlayerMixcloud.ad37b7b3ac7bd76f.js
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4667],{499734:function(e,t,r){function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":ty...
PypiClean
/bigframes-0.2.0.tar.gz/bigframes-0.2.0/third_party/bigframes_vendored/sklearn/preprocessing/_encoder.py
from third_party.bigframes_vendored.sklearn.base import BaseEstimator class OneHotEncoder(BaseEstimator): """Encode categorical features as a one-hot format. The input to this transformer should be an array-like of integers or strings, denoting the values taken on by categorical (discrete) features. ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_19/models/policy_rule_snapshot_response.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_19 import models class PolicyRuleSnapshotResponse(object): """ Attributes: swagger_types (dict): The key is attribute name and ...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/databox/latest/list_job_credentials.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs __all__ = [ 'ListJobCredentialsResult', 'AwaitableListJobCredentialsResult', 'list_job_credentials', ] @pulumi.output_type class ListJob...
PypiClean
/hdi_utils-0.0.3.1-py3-none-any.whl/hdiutils/HDIimport/cyt_reader.py
# Import external modules from pathlib import Path import os import h5py import skimage.io import numpy as np import pandas as pd import scipy.sparse import random # Import custom modules from .tif_reader import TIFreader from .h5_reader import H5reader from .utils import ReadMarkers, FlattenZstack # Create a class...
PypiClean
/splitio_client-9.5.0.tar.gz/splitio_client-9.5.0/splitio/storage/inmemmory.py
import logging import threading import queue from collections import Counter from splitio.models.segments import Segment from splitio.models.telemetry import HTTPErrors, HTTPLatencies, MethodExceptions, MethodLatencies, LastSynchronization, StreamingEvents, TelemetryConfig, TelemetryCounters, CounterConstants from spl...
PypiClean
/benchling_api_client-2.0.207-py3-none-any.whl/benchling_api_client/api/apps/list_app_configuration_items.py
from typing import Any, Dict, Optional, Union import httpx from ...client import Client from ...models.app_configuration_paginated_list import AppConfigurationPaginatedList from ...models.list_app_configuration_items_sort import ListAppConfigurationItemsSort from ...models.not_found_error import NotFoundError from .....
PypiClean
/spotcrime-1.0.4.tar.gz/spotcrime-1.0.4/README.md
python-spotcrime [![Build Status](https://travis-ci.org/jcconnell/python-spotcrime.svg?branch=master)](https://travis-ci.org/jcconnell/python-spotcrime) =======================================================================================================================================================================...
PypiClean
/mppm-3.0.7.tar.gz/mppm-3.0.7/README.md
# mppm ## Introduce Configure the pypi source repository, support for downloading specified modules or files and its dependent packages. ## My Use Case The project project is offline and requires downloading the dependent package locally. The project project can only be started after the installation of the depend...
PypiClean
/pythonic_config-0.6.14-py3-none-any.whl/hparams/hparams.py
from functools import lru_cache from functools import partial from functools import wraps from importlib import import_module from pathlib import Path from typing import cast from typing import get_type_hints import inspect import itertools import logging import pprint import sys import traceback import typing import ...
PypiClean
/turnstile-0.7.0b2.tar.gz/turnstile-0.7.0b2/README.rst
============================================== Turnstile Distributed Rate-Limiting Middleware ============================================== Turnstile is a piece of WSGI middleware that performs true distributed rate-limiting. System administrators can run an API on multiple nodes, then place this middleware in the p...
PypiClean
/fds.sdk.StocksAPIforDigitalPortals-0.10.12-py3-none-any.whl/fds/sdk/StocksAPIforDigitalPortals/model/post_stock_notation_screener_search_request.py
import re # noqa: F401 import sys # noqa: F401 from fds.sdk.StocksAPIforDigitalPortals.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...
PypiClean