id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/RsCMPX_WlanMeas-4.0.150-py3-none-any.whl/RsCMPX_WlanMeas/Implementations/WlanMeas/MultiEval/Trace/SpectrFlatness/Ofdm/Maximum.py
from typing import List from .......Internal.Core import Core from .......Internal.CommandsGroup import CommandsGroup from .......Internal.ArgSingleSuppressed import ArgSingleSuppressed from .......Internal.Types import DataType from .......Internal.ArgSingleList import ArgSingleList from .......Internal.ArgSingle imp...
PypiClean
/apache-superset-3.0.0rc3.tar.gz/apache-superset-3.0.0rc3/superset/config.py
# pylint: disable=too-many-lines from __future__ import annotations import imp # pylint: disable=deprecated-module import importlib.util import json import logging import os import re import sys from collections import OrderedDict from datetime import timedelta from email.mime.multipart import MIMEMultipart from typi...
PypiClean
/odoo-client-lib-1.2.2.tar.gz/odoo-client-lib-1.2.2/odoolib/main.py
import sys import requests if sys.version_info >= (3, 0, 0): from xmlrpc.client import ServerProxy else: from xmlrpclib import ServerProxy import logging import json import random _logger = logging.getLogger(__name__) def _getChildLogger(logger, subname): return logging.getLogger(logger.name + "." + subna...
PypiClean
/contrail-api-cli-0.4.0rc1.tar.gz/contrail-api-cli-0.4.0rc1/contrail_api_cli/commands/tree.py
from __future__ import unicode_literals from ..command import Command, Arg, Option, expand_paths from ..resource import Resource from ..utils import format_tree, parallel_map, Path from ..exceptions import ResourceMissing class Tree(Command): """Show tree of references of a resource. .. code-block:: bash ...
PypiClean
/tc-messageBroker-1.5.1.tar.gz/tc-messageBroker-1.5.1/tc_messageBroker/rabbit_mq/saga/utils/choreography_schema.py
from tc_messageBroker.rabbit_mq.status import Status choreography_schema = { "type": "object", "properties": { "sagaId": {"type": "string", "unique": True}, "choreography": { "type": "object", "properties": { "name": { "type": "string"...
PypiClean
/nni_daily-1.5.2005180104-py3-none-manylinux1_x86_64.whl/nni_daily-1.5.2005180104.data/data/nni/node_modules/sqlite3/CONTRIBUTING.md
# Contributing General guidelines for contributing to node-sqlite3 ## Install Help If you've landed here due to a failed install of `node-sqlite3` then feel free to create a [new issue](https://github.com/mapbox/node-sqlite3/issues/new) to ask for help. The most likely problem is that we do not yet provide pre-built...
PypiClean
/hls4ml-0.7.1.tar.gz/hls4ml-0.7.1/docs/advanced/fifo_depth.rst
============================== FIFO Buffer Depth Optimization ============================== With the ``io_stream`` IO type, each layer is connected with the subsequent layer through first-in first-out (FIFO) buffers. The implementation of the FIFO buffers contribute to the overall resource utilization of the design, ...
PypiClean
/deta_discord_interactions-0.1.1-py3-none-any.whl/deta_discord_interactions/utils/database/_local_drive.py
import pathlib import io import os from typing import Optional import typing class FileProxy: pass class RealFileProxy(FileProxy): def __init__(self, path: str) -> None: self.path = path def read(self): with open(self.path, 'rb') as f: return f.read() class MemoryProxy(FileProxy)...
PypiClean
/gym_envs-2.2.2-py3-none-any.whl/gym_envs/widowx_env/env_description.py
import numpy as np import pybullet as p # import time class ObservationShapes: """ Implements observations shapes 1 to 7 """ def __init__( self, endeffector_pos, endeffector_orient, torso_pos, torso_orient, goal_pos, goal_orient, joint_positions...
PypiClean
/gateway_provisioners-0.2.0-py3-none-any.whl/gateway_provisioners/cli/k8s_specapp.py
import os from jupyter_core.application import JupyterApp from overrides import overrides from traitlets import Bool, Unicode, default from .._version import __version__ from .base_app import DEFAULT_LANGUAGE, PYTHON, SCALA, BaseSpecSparkApp, R SPARK_OP = "spark_operator" KERNEL_SPEC_TEMPLATE_NAMES = { PYTHON: ...
PypiClean
/ctc_detector-0.1.14-py3-none-any.whl/ctc_detector/train.py
import os import argparse import time from multiprocessing import Manager # 3rd party library import numpy as np import torch import torch.nn as nn from torch.nn.utils import clip_grad_norm from torch.utils.data import DataLoader from tensorboardX import SummaryWriter # own code from .config import config from .model i...
PypiClean
/anyblok_wms_base-0.8.0.post0.tar.gz/anyblok_wms_base-0.8.0.post0/anyblok_wms_base/core/operation/move.py
from anyblok import Declarations from anyblok.column import Integer from anyblok.relationship import Many2One from anyblok_wms_base.exceptions import ( OperationContainerExpected, ) register = Declarations.register Mixin = Declarations.Mixin Operation = Declarations.Model.Wms.Operation @register(Operation)...
PypiClean
/wumpy_models-0.1.0-py3-none-any.whl/wumpy/models/_channels.py
import dataclasses from datetime import datetime, timedelta from typing import Optional, Tuple, Union from discord_typings import ( CategoryChannelData, ChannelCreateData, ChannelDeleteData, ChannelMentionData, ChannelUpdateData, DMChannelData, PartialChannelData, TextChannelData, ThreadChannelData, Thread...
PypiClean
/spPersist-1.0.2.tar.gz/spPersist-1.0.2/README.md
# Spatial transcriptomics with Persistent Homology This is a package for classifying Spatial transcriptomics data according to its spatial topology. The specific mathematical foundation for the classification is the theory of Persistent Homology and persistence diagram. The package contains a data processing module,...
PypiClean
/django_websocket_redis_plus-0.6.0.2-py3-none-any.whl/ws4redis/utf8validator.py
import six if six.PY3: xrange = range ## use Cython implementation of UTF8 validator if available ## try: from wsaccel.utf8validator import Utf8Validator except: ## fallback to pure Python implementation class Utf8Validator: """ Incremental UTF-8 validator with constant memory consum...
PypiClean
/timeify-1.0.1.tar.gz/timeify-1.0.1/README.md
## Timeify > Convert Millisecond to human readable format ## Screenshot <img src="https://gitlab.com/yoginth/timeify/raw/master/Screenshot.png" width="550"> ## Install ``` $ pip install timeify ``` ## Usage ```python import timeify as time print (time.humanize(180000)) #=> (2, 2, 0, 0) # (days, hours, minutes, ...
PypiClean
/burrito-fillings-0.1.1.tar.gz/burrito-fillings-0.1.1/bfillings/clearcut.py
#----------------------------------------------------------------------------- # Copyright (c) 2013--, biocore development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-----------------------------------------------...
PypiClean
/eea.facetednavigation-16.0a1.zip/eea.facetednavigation-16.0a1/eea/facetednavigation/widgets/tagscloud/edit.js
FacetedEdit.TagsCloudWidget = function (wid) { this.wid = wid; this.widget = jQuery("#" + wid + "_widget"); this.type = "tagscloud"; this.tags = jQuery("li", this.widget); this.selected = jQuery(".faceted-tag-selected", this.widget); this.config = {}; this.initialize(); var js_widget = ...
PypiClean
/cdk-cloudformation-logzio-kinesisshipper-kinesisshipper-module-1.2.0a2.tar.gz/cdk-cloudformation-logzio-kinesisshipper-kinesisshipper-module-1.2.0a2/src/cdk_cloudformation_logzio_kinesisshipper_kinesisshipper_module/__init__.py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions from ._jsii import * import aws_cdk.core class CfnModule( aws_cdk.core.CfnResource, metaclass=jsii.JSIIMeta, jsii_type="@cdk-cloudformation/logzio-kinesisshipper-kinesisshipper-m...
PypiClean
/openerp-core-7.0.406.tar.gz/openerp-core-7.0.406/openerp/report/pyPdf/pdf.py
__author__ = "Mathieu Fenniak" __author_email__ = "biziqe@mathieu.fenniak.net" import math import struct from sys import version_info try: from cStringIO import StringIO except ImportError: from StringIO import StringIO import filters import utils from generic import * from utils import readNonWhitespace, rea...
PypiClean
/docassemble.webapp-1.4.72.tar.gz/docassemble.webapp-1.4.72/docassemble/webapp/static/bootstrap-fileinput/js/locales/ru.js
(function ($) { "use strict"; $.fn.fileinputLocales['ru'] = { fileSingle: 'файл', filePlural: 'файлы', browseLabel: 'Выбрать &hellip;', removeLabel: 'Удалить', removeTitle: 'Очистить выбранные файлы', cancelLabel: 'Отмена', cancelTitle: 'Отменить текущую ...
PypiClean
/django-xadmin-0.5.0.tar.gz/django-xadmin-0.5.0/xadmin/static/xadmin/vendor/datejs/build/date-mn-MN.js
Date.CultureInfo={name:"mn-MN",englishName:"Mongolian (Cyrillic, Mongolia)",nativeName:"Монгол хэл (Монгол улс)",dayNames:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],abbreviatedDayNames:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],shortestDayNames:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],firstLetterDayNames:["Н","Д"...
PypiClean
/hmd_lib_robot_shared-0.2.39-py3-none-any.whl/hmd_lib_robot_shared/postgres_client_robot_lib.py
from importlib import import_module from typing import Dict, List from robot.api.deco import keyword, library import yaml from json import loads from hmd_cli_tools.cdktf_tools import DeploymentConfig, db_secret_name_from_dependencies from hmd_cli_tools.hmd_cli_tools import ( make_standard_name, get_deployer_ta...
PypiClean
/symsynd-3.0.0.zip/symsynd-3.0.0/llvm/docs/CommandGuide/bugpoint.rst
bugpoint - automatic test case reduction tool ============================================= SYNOPSIS -------- **bugpoint** [*options*] [*input LLVM ll/bc files*] [*LLVM passes*] **--args** *program arguments* DESCRIPTION ----------- **bugpoint** narrows down the source of problems in LLVM tools and passes. It can ...
PypiClean
/starspot-backlights-0.0.2.tar.gz/starspot-backlights-0.0.2/README.md
# starspot-backlights A suite of cartoon tools for modeling the effect of starspots on transiting exoplanet observations. ## Documentation For detailed usage, please read the documentation [here](???). ## Example Usage ``` (include example) ``` ## Installation You should be able to install this by running ``` pip in...
PypiClean
/ase_koopmans-0.1.4-py3-none-any.whl/ase/ga/particle_mutations.py
import numpy as np from operator import itemgetter from ase.ga.offspring_creator import OffspringCreator from ase.ga.utilities import get_distance_matrix, get_nndist from ase import Atoms class Mutation(OffspringCreator): """Base class for all particle mutation type operators. Do not call this class directly...
PypiClean
/enablebanking_api-0.5.1-py3-none-any.whl/enablebanking/models/jyske_bank_connector_settings.py
'\n enable:Banking SDK\n\n enable:Banking SDK consists of 4 interfaces: - [Meta](#auth-api) provides information about available connectors; - [Auth](#auth-api) provides PSU (bank user) authentication and token creation functionality; - [AISP](#aisp-api) provides functions for accessing account information, su...
PypiClean
/ixnetwork_restpy-1.1.10.tar.gz/ixnetwork_restpy-1.1.10/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/dhcp6iapd1_7faba276e9bd1fe8044fca79065254a7.py
import sys from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files if sys.version_info >= (3, 5): from typing import List, Any, Union class Dhcp6Iapd1(Base): """DHCPv6 Iapd endpoint used in traffic The Dhcp6Iapd1 class encapsulates a required dhcp6Iapd1 resource which will be retr...
PypiClean
/zpy-db-core-1.2.2.tar.gz/zpy-db-core-1.2.2/zdb/postgresql/__init__.py
from dataclasses import asdict from typing import Optional, Any, List, Callable, TypeVar from psycopg2 import connect, DatabaseError from zpy.utils.funcs import safely_exec from zdb.commons import show_info, DBTypes, get_map_type, ZDatabase, ZDBConfig, build_params, process_exception T = TypeVar("T") def __fn_extr...
PypiClean
/silva.pas.radius-1.0.tar.gz/silva.pas.radius-1.0/silva/pas/radius/install.py
from zope.interface import alsoProvides, noLongerProvides from Products.PluggableAuthService.interfaces.plugins import * from silva.pas.base.interfaces import IPASMemberService from interfaces import IRaduisAware def install(root): """Installation method for OpenID support """ assert IPASMemberService.p...
PypiClean
/bi_db-1.3.4.tar.gz/bi_db-1.3.4/bi_db/s3_dev_tracking_data.py
import boto3 import pandas as pd import gzip import json from biz_intel_creds import CredsList dev_s3_creds = CredsList().dev_s3 class S3DevTrackingData(): def __init__(self): self.s3login = boto3.client('s3', aws_access_key_id=dev_s3_creds['key_id'], ...
PypiClean
/behave-py3-1.2.5a1-r2014122202.tar.gz/behave-py3-1.2.5a1-r2014122202/behave/formatter/progress.py
from behave.formatter.base import Formatter from behave.compat.os_path import relpath import os # ----------------------------------------------------------------------------- # CLASS: ProgressFormatterBase # ----------------------------------------------------------------------------- class ProgressFormatterBase(Form...
PypiClean
/Pyckson-1.13.1-py3-none-any.whl/pyckson/model/builder.py
from inspect import Parameter, getmembers, signature from pyckson.const import PYCKSON_TYPEINFO, get_cls_attr from pyckson.defaults import apply_defaults from pyckson.helpers import get_name_rule from pyckson.model.model import PycksonModel, PycksonAttribute from pyckson.model.union import inspect_optional_typing from...
PypiClean
/edgedb_orm-1.0.13.tar.gz/edgedb_orm-1.0.13/edgedb_orm/nested_resolvers.py
import typing as T from pydantic import BaseModel if T.TYPE_CHECKING: from .resolver import Resolver SEPARATOR = "__AHH__" class NestedResolvers(BaseModel): d: dict[str, list[T.Any]] = {} def get(self, edge: str) -> list["Resolver"]: return self.d.get(edge, []) def has(self, edge: str) -> ...
PypiClean
/pyseistr-win-0.0.1.2.tar.gz/pyseistr-win-0.0.1.2/pyseistrw/pwsmooth.py
import numpy as np def pwsmooth_set(dip,n1,n2,ns,order,eps): ''' pwsmooth_set: set local slope for pwsmooth_lop INPUT dip: n1/n2: ns: order: eps: OUTPUT w1: 2D matrix [n1,n2] ''' n12=n1*n2; w1=np.ones(n12); par={'nm':n12,'nd':n12,'dip':dip,'w1':w1.reshape(n1,n2,order='F'),'ns':ns,'order':order,'eps'...
PypiClean
/VIP-yt-2022.7.26.tar.gz/VIP-yt-2022.7.26/VIP_yt/extractor/youtube.py
import base64 import calendar import copy import datetime import hashlib import itertools import json import math import os.path import random import re import sys import threading import time import traceback import urllib.error import urllib.parse from .common import InfoExtractor, SearchInfoExtractor from ..compat ...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/virtualmachineimages/v20190501preview/outputs.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs from ._enums import * __all__ = [ 'ImageTemplateFileCustomizerResponse', 'ImageTemplateIdentityResponse', 'ImageTemplateIdentityResponseU...
PypiClean
/django_forestadmin-1.6.8-py3-none-any.whl/django_forest/utils/type_mapping.py
TYPE_CHOICES = { 'AutoField': 'String', 'BigAutoField': 'Integer', 'BinaryField': 'String', 'BooleanField': 'Boolean', 'CharField': 'String', 'DateField': 'Dateonly', 'DateTimeField': 'Date', 'DecimalField': 'Float', 'DurationField': 'Number', 'FileField': 'String', 'FilePath...
PypiClean
/balanced_kmeans-0.1.0.tar.gz/balanced_kmeans-0.1.0/README.md
# Balanced K-Means clustering in PyTorch Balanced K-Means clustering in Pytorch with strong GPU acceleration. **Disclaimer:** This project is heavily inspired by the project [kmeans_pytorch](https://github.com/subhadarship/kmeans_pytorch). Each part of the original implementation is combined with the appropriate attr...
PypiClean
/lanforge_scripts-0.0.13-py3-none-any.whl/lanforge_scripts/py_scripts/sandbox/kpi_sqlite.py
import dash import dash_core_components as dcc import dash_html_components as html import plotly.express as px import pandas as pd import sqlite3 external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] app = dash.Dash(__name__, external_stylesheets=external_stylesheets) # load data df = pd.read_csv('...
PypiClean
/azure_mgmt_automanage-2.0.0b1-py3-none-any.whl/azure/mgmt/automanage/aio/operations/_configuration_profile_hci_assignments_operations.py
import sys from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from azure.core.pipeline import Pipeline...
PypiClean
/psycopg-pool-3.1.7.tar.gz/psycopg-pool-3.1.7/psycopg_pool/pool_async.py
import asyncio import logging from abc import ABC, abstractmethod from time import monotonic from types import TracebackType from typing import Any, AsyncIterator, Awaitable, Callable from typing import Dict, List, Optional, Sequence, Type from weakref import ref from contextlib import asynccontextmanager from psycop...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/network/v20191201/vpn_gateway.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs from ._enums import * from ._inputs import * __all__ = ['VpnGateway'] class VpnGateway(pulumi.CustomResource): def __init__(__self__, ...
PypiClean
/PyWarden-0.1.7.tar.gz/PyWarden-0.1.7/pywarden/cli/get_items.py
import subprocess from pywarden.classes import classes import json from pywarden.logger import logger from pywarden.pywarden import handle_config from pywarden.login import unlock def get_organization_id(): get_organization_name = subprocess.check_output(f'bw list organizations --pretty --nointeraction --session...
PypiClean
/ufal.pybox2d-2.3.10.2-cp36-cp36m-win32.whl/Box2D/examples/backends/pygame_gui.py
try: from ..pgu import gui except: raise ImportError('Unable to load PGU') from ..settings import checkboxes from ..settings import sliders class fwGUI(gui.Table): """ Deals with the initialization and changing the settings based on the GUI controls. Callbacks are not used, but the checkboxes an...
PypiClean
/isedit-0.3.0.tar.gz/isedit-0.3.0/js/node_modules/moment/locale/fa.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
/zap_cli_v2-0.12.2-py3-none-any.whl/zapcli/helpers.py
from contextlib import contextmanager import json import os import re import sys import click from tabulate import tabulate from zapcli.exceptions import ZAPError from zapcli.log import console def validate_ids(ctx, param, value): """Validate a list of IDs and convert them to a list.""" if not value: ...
PypiClean
/refinitiv-data-1.3.1.tar.gz/refinitiv-data-1.3.1/refinitiv/data/content/estimates/view_summary/_historical_snapshots_periodic_measures_interim_definition.py
from typing import Union, TYPE_CHECKING from .._enums import Package from ..._content_data import Data from ..._content_provider_layer import ContentUsageLoggerMixin from ...._content_type import ContentType from ...._tools import validate_types, validate_bool_value, try_copy_to_list from ....delivery._data._data_prov...
PypiClean
/django-blog-lotus-0.6.1.tar.gz/django-blog-lotus-0.6.1/lotus/views/category.py
from django.conf import settings from django.views.generic import ListView from django.views.generic.detail import SingleObjectMixin from django.urls import reverse from ..models import Article, Category from .mixins import ( ArticleFilterMixin, LanguageMixin, LotusContextStage, PreviewModeMixin, ) t...
PypiClean
/Flask-Common-0.3.0.tar.gz/Flask-Common-0.3.0/flask_common.py
import os import multiprocessing import crayons import maya from flask import request, current_app, url_for, redirect from gunicorn import util from gunicorn.app.base import Application from whitenoise import WhiteNoise from flask_caching import Cache try: from flask.exthook import ExtDeprecationWarning impor...
PypiClean
/ams_dott_runtime-1.1.0-py3-none-win_amd64.whl/ams_dott_runtime-1.1.0.data/data/dott_data/apps/python27/python-2.7.13/Lib/_osx_support.py
import os import re import sys __all__ = [ 'compiler_fixup', 'customize_config_vars', 'customize_compiler', 'get_platform_osx', ] # configuration variables that may contain universal build flags, # like "-arch" or "-isdkroot", that may need customization for # the user environment _UNIVERSAL_CONFIG_V...
PypiClean
/smart_home_tng-2023.1.3.tar.gz/smart_home_tng-2023.1.3/smart_home_tng/frontend/frontend_es5/488c89e0.js
"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[88030,11833],{8621:function(e,t,n){n.d(t,{G:function(){return v}});n(48175);var i={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},r={8:"backspace",9:"tab",13:"enter",27:"esc",...
PypiClean
/custom-awscli-1.27.51.tar.gz/custom-awscli-1.27.51/awscli/examples/ssm-contacts/delete-contact-channel.rst
**To delete a contact channel** The following ``delete-contact-channel`` example deletes a contact channel. Deleting a contact channel ensures the contact channel will not be paged during an incident. :: aws ssm-contacts delete-contact-channel \ --contact-channel-id "arn:aws:ssm-contacts:us-east-1:1111222...
PypiClean
/CmlArabicReaderThird-0.1-py3-none-any.whl/ThirdcamelArabicReader/camel_tools/morphology/database.py
# MIT License # # Copyright 2018-2021 New York University Abu Dhabi # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, c...
PypiClean
/backend-library-createquestions-0.1.0.tar.gz/backend-library-createquestions-0.1.0/question_builder/bp/question_creators/general/antonym_question_creator.py
import random from ...dictionary_factory import BAITS from ...dictionary_factory import CORRECT from ...dictionary_factory import word2antonym from ...exceptions.dictionary_exceptions import WordNotInAntonymDictionary from ...exceptions.pos_exceptions import WordNotAdjective from ...questions.question import N_BAITS f...
PypiClean
/Flask-Bootstrap4-4.0.2.tar.gz/Flask-Bootstrap4-4.0.2/flask_bootstrap/forms.py
from dominate import tags from dominate.util import raw from flask import current_app from markupsafe import Markup from visitor import Visitor def render_form(form, **kwargs): r = WTFormsRenderer(**kwargs) return Markup(r.visit(form)) class WTFormsRenderer(Visitor): def __init__(self, ...
PypiClean
/mudpy-0.5.1.tar.gz/mudpy-0.5.1/doc/source/install.rst
=============== install guide =============== .. Copyright (c) 2020-2021 mudpy authors. Permission to use, copy, modify, and distribute this software is granted under terms provided in the LICENSE file distributed with this software. This guide provides quick setup instructions for a basic mudpy installation, ...
PypiClean
/ploigos_step_runner-2.0.0rc1-py3-none-any.whl/ploigos_step_runner/step_implementers/validate_environment_configuration/configlint.py
import os import sys import sh from ploigos_step_runner.step_implementer import StepImplementer from ploigos_step_runner.results import StepResult from ploigos_step_runner.utils.io import create_sh_redirect_to_multiple_streams_fn_callback DEFAULT_CONFIG = { 'rules': './config-lint.rules' } REQUIRED_CONFIG_OR_PRE...
PypiClean
/HippodamiaAgent-0.1.12.tar.gz/HippodamiaAgent-0.1.12/hippodamia_agent/states/active.py
from hippodamia_agent.states.aagentstate import AAgentState from hippodamia_agent.states.event_ids import event_ids from asyncscheduler import AsyncScheduler class Active(AAgentState): send_config = None send_config_interval = 0 send_ping = None send_ping_interval = 0 send_runtime = None send_...
PypiClean
/dstore-sdk-python-1.0.2.5.tar.gz/dstore-sdk-python-1.0.2.5/dstore/engine/procedures/im_RemoveBinaryFromNodes_Ad_pb2.py
import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database from google.p...
PypiClean
/apollo_fpga-0.0.5-py3-none-any.whl/apollo_fpga/intel.py
import time from enum import IntEnum from collections import defaultdict from .jtag import JTAGChain from .support.bits import bits class IntelJTAGProgrammer: """ Apollo JTAG configuration tool for Intel FPGAs. Parameters ---------- jtag_chain: JTAGChain The JTAG chain to be used for config...
PypiClean
/ircb-0.3.0.tar.gz/ircb-0.3.0/README.md
# ircb A versatile IRC bouncer. ## Requirements - Python3.5 - Pip3.5 ## Setup - Install dependencies: ``[sudo] pip3.5 install -r requirements.txt`` - Copy and extend ``ircb/config/default_settings.py``, as needed, to a custom location. say, ``/etc/ircb/settings.py``. - [OPTIONAL] ``export IRCB_SE...
PypiClean
/netoprmgr-1.3.5.tar.gz/netoprmgr-1.3.5/cryptography/hazmat/primitives/asymmetric/ec.py
from __future__ import absolute_import, division, print_function import abc import warnings import six from cryptography import utils from cryptography.hazmat._oid import ObjectIdentifier class EllipticCurveOID(object): SECP192R1 = ObjectIdentifier("1.2.840.10045.3.1.1") SECP224R1 = ObjectIdentifier("1.3....
PypiClean
/cctbx_base-2020.8-0_py38h167b89d-cp38-cp38m-manylinux2010_x86_64.whl/mmtbx/regression/model_idealization/tst_with_mtz.py
from __future__ import absolute_import, division, print_function from libtbx import easy_run import libtbx.load_env import os.path import time import iotbx from mmtbx.utils import fmodel_from_xray_structure from mmtbx.secondary_structure.build.tst_2 import tst_01_start_lines import mmtbx.command_line.fmodel def exerci...
PypiClean
/neurokit2cw-0.0.16-py3-none-any.whl/neurokit2/rsp/rsp_clean.py
from warnings import warn import numpy as np import pandas as pd import scipy.signal from ..misc import NeuroKitWarning, as_vector from ..signal import signal_detrend, signal_filter from ..stats import mad def rsp_clean(rsp_signal, sampling_rate=1000, method="khodadad2018", **kwargs): """**Preprocess a respirat...
PypiClean
/apis_core-0.18.14.tar.gz/apis_core-0.18.14/apis_core/apis_metainfo/views.py
from django.contrib.auth.decorators import login_required from django.http import HttpResponse from django.urls import reverse_lazy from django.conf import settings from django.utils.decorators import method_decorator from django.views.generic.detail import DetailView from django.views.generic.edit import DeleteView f...
PypiClean
/infoblox-netmri-3.8.0.0.tar.gz/infoblox-netmri-3.8.0.0/infoblox_netmri/api/broker/v2_9_0/device_mem_stat_broker.py
from ..broker import Broker class DeviceMemStatBroker(Broker): controller = "device_mem_stats" def show(self, **kwargs): """Shows the details for the specified device mem stat. **Inputs** | ``api version min:`` None | ``api version max:`` None | ``...
PypiClean
/wifileds-1.0.6.tar.gz/wifileds-1.0.6/README.md
# WifiLEDs Python Library This package is dedicated to being a cohesive resource point for Wifi LED lighting through Python. This package currently only contains the API layer for [LimitlessLED bulbs](wifileds/limitlessled) ($16/$19 / bulb), but will soon expand to [LIFX bulbs](http://lifx.co/) ($80 / bulb) which are...
PypiClean
/gitflow-api-0.3.26.tar.gz/gitflow-api-0.3.26/gitflow_api/config/config.py
import configparser import json import os from gitflow_api.config.properties import * class Config: # Branches structure master_branch = '' staging_branch = '' hotfix_branch = '' feature_branch = '' release_branch = '' version = '' # Issue Classification - Api Labels feature_la...
PypiClean
/vipster-1.19.1.zip/vipster-1.19.1/external/nlohmann_json/benchmarks/thirdparty/benchmark/README.md
# benchmark [![Build Status](https://travis-ci.org/google/benchmark.svg?branch=master)](https://travis-ci.org/google/benchmark) [![Build status](https://ci.appveyor.com/api/projects/status/u0qsyp7t1tk7cpxs/branch/master?svg=true)](https://ci.appveyor.com/project/google/benchmark/branch/master) [![Coverage Status](https...
PypiClean
/odoo_addon_purchase_request-16.0.1.0.0.28-py3-none-any.whl/odoo/addons/purchase_request/models/purchase_request_allocation.py
from odoo import _, api, fields, models class PurchaseRequestAllocation(models.Model): _name = "purchase.request.allocation" _description = "Purchase Request Allocation" purchase_request_line_id = fields.Many2one( string="Purchase Request Line", comodel_name="purchase.request.line", ...
PypiClean
/xlrd-2.0.1.tar.gz/xlrd-2.0.1/scripts/runxlrd.py
from __future__ import print_function cmd_doc = """ Commands: 2rows Print the contents of first and last row in each sheet 3rows Print the contents of first, second and last row in each sheet bench Same as "show", but doesn't print -- for profiling biff_count[1] Print a count of each ...
PypiClean
/ase_koopmans-0.1.4-py3-none-any.whl/ase/io/jsonio.py
import datetime import json import numpy as np from ase.utils import reader, writer class MyEncoder(json.JSONEncoder): def default(self, obj): if hasattr(obj, 'todict'): d = obj.todict() if not isinstance(d, dict): raise RuntimeError('todict() of {} returned objec...
PypiClean
/lidarr-py-0.3.1.tar.gz/lidarr-py-0.3.1/lidarr/models/album_resource.py
from __future__ import annotations from inspect import getfullargspec import pprint import re # noqa: F401 import json from datetime import datetime from typing import List, Optional from pydantic import BaseModel from lidarr.models.add_album_options import AddAlbumOptions from lidarr.models.album_release_resource im...
PypiClean
/tw.tinymce-0.8.tar.gz/tw.tinymce-0.8/tw/tinymce/static/javascript/themes/advanced/langs/es.js
tinyMCE.addToLang('',{ theme_style_select : '-- Estilos --', theme_code_desc : 'Editar c&oacute;digo HTML', theme_code_title : 'Editor c&oacute;digo HTML', theme_code_wordwrap : 'Ajuste de l&iacute;nea', theme_sub_desc : 'Sub&iacute;ndice', theme_sup_desc : 'Super&iacute;ndice', theme_hr_desc : 'Insertar una barra hori...
PypiClean
/pano-airflow-providers-amazon-8.0.0.tar.gz/pano-airflow-providers-amazon-8.0.0/airflow/providers/amazon/aws/operators/sagemaker.py
from __future__ import annotations import json import time import warnings from typing import TYPE_CHECKING, Any, Callable, Sequence from botocore.exceptions import ClientError from airflow.compat.functools import cached_property from airflow.exceptions import AirflowException from airflow.models import BaseOperator...
PypiClean
/insights-core-3.2.14.tar.gz/insights-core-3.2.14/insights/parsers/audit_log.py
import shlex from datetime import date from .. import LogFileOutput, parser, add_filter from insights.specs import Specs # Currently, only selinux related(AVC type) audit logs are interested. # Add this filter in parser directly to filter out too many other types logs. # Also, filters can be changed to meet any furthe...
PypiClean
/bethesda-structs-0.1.4.tar.gz/bethesda-structs-0.1.4/README-PYPI.rst
.. image:: https://github.com/stephen-bunn/bethesda-structs/raw/master/docs/source/_static/img/logo.png :alt: Bethesda Structs Logo :width: 800 :align: center .. image:: https://img.shields.io/pypi/v/bethesda-structs.svg :target: https://pypi.org/project/bethesda-structs/ :alt: PyPi Status .. image:: h...
PypiClean
/goifer-0.0.5-py3-none-any.whl/goifer-0.0.5.dist-info/LICENSE.md
Copyright 2022 Stefan Oderbolz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublic...
PypiClean
/financial_fraud-0.0.5.tar.gz/financial_fraud-0.0.5/financial_fraud/__init__.py
import numpy as np import pandas as pd import datetime from dateutil.relativedelta import relativedelta class financial_fraud: def large_transactions(self, df, df_threshold, datestamp): df = df.dropna().reset_index(drop = True) df.columns = ["customer_id", "transaction_id", "customer_type", "transa...
PypiClean
/pulumi_mongodbatlas-3.11.0a1693029055.tar.gz/pulumi_mongodbatlas-3.11.0a1693029055/pulumi_mongodbatlas/get_privatelink_endpoints_service_serverless.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 __all__ = [ 'GetPrivatelinkEndpointsServiceServerlessResult', 'AwaitableGetPrivatelinkEndpointsServiceServerlessResult', 'get_...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/sql/v20200801preview/outputs.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities from ._enums import * __all__ = [ 'SkuResponse', ] @pulumi.output_type class SkuResponse(dict): """ An ARM Resource SKU. """ def __init__...
PypiClean
/django-parler-rest-2.2.tar.gz/django-parler-rest-2.2/parler_rest/fields.py
from collections import OrderedDict from django.core.exceptions import ImproperlyConfigured from django.utils.translation import gettext_lazy as _ from rest_framework import serializers from rest_framework.fields import SkipField from parler.models import TranslatableModelMixin, TranslatedFieldsModel from parler.utils...
PypiClean
/ask-sdk-model-1.82.0.tar.gz/ask-sdk-model-1.82.0/ask_sdk_model/interfaces/alexa/presentation/apl/clear_focus_command.py
# # Copyright 2019 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 accomp...
PypiClean
/requests_SSL_v3-2.1.0.tar.gz/requests_SSL_v3-2.1.0/requests/api.py
from . import sessions def request(method, url, **kwargs): """Constructs and sends a :class:`Request <Request>`. Returns :class:`Response <Response>` object. :param method: method for the new :class:`Request` object. :param url: URL for the new :class:`Request` object. :param params: (optional) D...
PypiClean
/pytorch_ood-0.1.6-py3-none-any.whl/pytorch_ood/dataset/img/mnistc.py
import logging import os from os.path import join from typing import Any, Callable, Optional, Tuple import numpy as np from PIL import Image from .base import ImageDatasetBase log = logging.getLogger(__name__) class MNISTC(ImageDatasetBase): """ MNIST-C is MNIST with corruptions for benchmarking OOD method...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_16/models/policy_nfs_post.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_16 import models class PolicyNfsPost(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is ...
PypiClean
/mkdocs_iolanta_tables-1.2.0-py3-none-any.whl/mkdocs_iolanta/types.py
from enum import Enum from logging import config as logging_config from typing import Any, Dict, NamedTuple, Optional, Union import rdflib from rdflib import Graph, term from typing_extensions import Protocol from ldflex.ldflex import SelectResult MKDOCS = rdflib.Namespace('https://mkdocs.iolanta.tech/') IOLANTA = r...
PypiClean
/zipline.py-0.8.1-py3-none-any.whl/zipline/client.py
from __future__ import annotations from datetime import datetime from types import TracebackType from typing import TYPE_CHECKING, List, Literal, Optional, Type import aiohttp from .enums import * from .errors import * from .models import * if TYPE_CHECKING: from typing_extensions import Self __all__ = ("Clien...
PypiClean
/deepeval-0.11.5.tar.gz/deepeval-0.11.5/README.md
# 👩‍⚖️ DeepEval [![](https://dcbadge.vercel.app/api/server/a3K9c8GRGt)](https://discord.gg/a3K9c8GRGt) [![PyPI version](https://badge.fury.io/py/deepeval.svg)](https://badge.fury.io/py/deepeval)<a target="_blank" href="https://colab.research.google.com/drive/1jnRUg0GHS_dTN0heijUr_88NnWiNOIFA?usp=sharing"> <img sr...
PypiClean
/cppyy-cling-6.28.0.tar.gz/cppyy-cling-6.28.0/src/interpreter/llvm/src/tools/clang/utils/analyzer/CmpRuns.py
import json import os import plistlib import re import sys from math import log from collections import defaultdict from copy import copy from enum import Enum from typing import (Any, DefaultDict, Dict, List, NamedTuple, Optional, Sequence, Set, TextIO, TypeVar, Tuple, Union) Number = Union[int,...
PypiClean
/DracoPy-0.0.10.tar.gz/DracoPy-0.0.10/draco/docs/spec/draco.decoder.md
## Draco Decoder ### Decode() ~~~~~ void Decode() { ParseHeader(); if (flags & METADATA_FLAG_MASK) DecodeMetadata(); DecodeConnectivityData(); DecodeAttributeData(); } ~~~~~ {:.draco-syntax} ### ParseHeader() ~~~~~ ParseHeader() { draco_string ...
PypiClean
/dm-kylinpy-2.2.0.tar.gz/dm-kylinpy-2.2.0/kylinpy/sqla_dialect.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import itertools from sqlalchemy import pool from sqlalchemy.engine import default from sqlalchemy.sql import compiler from .kylindb import KylinDB from .utils.keywords...
PypiClean
/bulk_whois_api-1.1.1-py3-none-any.whl/bulkwhoisapi/client.py
from json import loads, JSONDecodeError from uuid import UUID import re from .exceptions.error import EmptyApiKeyError, FileError, ParameterError, \ UnparsableApiResponseError from .models.response import ResponseCreate, ResponseRecords, ResponseRequests from .net.http import ApiRequester class Client: __de...
PypiClean
/dnv_bladed_models-0.3.44.tar.gz/dnv_bladed_models-0.3.44/src/dnv_bladed_models/nacelle_accelerometer.py
from __future__ import annotations from datetime import date, datetime # noqa: F401 from enum import Enum, IntEnum import re # noqa: F401 from typing import Any, Dict, List, Optional, Type, Union, Callable # noqa: F401 from pathlib import Path from typing import TypeVar Model = TypeVar('Model', bound='BaseModel') ...
PypiClean
/demisto_sdk-1.19.2.tar.gz/demisto_sdk-1.19.2/demisto_sdk/commands/common/hook_validations/correlation_rule.py
from demisto_sdk.commands.common.constants import ( FILETYPE_TO_DEFAULT_FROMVERSION, FileType, ) from demisto_sdk.commands.common.errors import Errors from demisto_sdk.commands.common.hook_validations.base_validator import error_codes from demisto_sdk.commands.common.hook_validations.content_entity_validator im...
PypiClean
/inmanta-core-9.3.0.tar.gz/inmanta-core-9.3.0/src/inmanta/server/services/codeservice.py
import logging from typing import Dict, List, cast from inmanta import data from inmanta.data import model from inmanta.protocol import handle, methods, methods_v2 from inmanta.protocol.exceptions import BadRequest, NotFound, ServerError from inmanta.server import SLICE_CODE, SLICE_DATABASE, SLICE_FILE, SLICE_TRANSPOR...
PypiClean
/pypcapkit-1.2.1-cp310-none-any.whl/pcapkit/const/hip/notify_message.py
from aenum import IntEnum, extend_enum __all__ = ['NotifyMessage'] class NotifyMessage(IntEnum): """[NotifyMessage] Notify Message Types""" #: Reserved [:rfc:`7401`] Reserved_0 = 0 #: UNSUPPORTED_CRITICAL_PARAMETER_TYPE [:rfc:`7401`] UNSUPPORTED_CRITICAL_PARAMETER_TYPE = 1 #: INVALID_SYNTA...
PypiClean
/xmldirector.plonecore-2.1.1.zip/xmldirector.plonecore-2.1.1/xmldirector/plonecore/browser/resources/ace-builds/src-min-noconflict/mode-protobuf.js
ace.define("ace/mode/doc_comment_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:"comment.doc.tag",regex:"@[\\w\\d_]+"},s.getTagRule()...
PypiClean
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/timers-browserify/CHANGELOG.md
# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## 2.0.11 - 2019-08-10 ### Fixed * License metadata in `package.json` now in standard SPDX format ## 2.0.10 - 2018-04-18 ### Fixed * Guard `global` usage in scope to...
PypiClean