id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/concise-0.6.9.tar.gz/concise-0.6.9/docs/templates/getting-started/getting_started.md
# **TODO*** - how to nicely show and compile a jupiter notebook as markdown? - [ ] This notebook (add to issues): - get the DeepBind data - maybe use RNACompete? - show one example - write down where to get this notebook (concise/nbs/getting_started.ipynb) - [ ] (add to issues) Notebook: hyper-parameter opti...
PypiClean
/pycap-2.4.0-py3-none-any.whl/redcap/methods/users.py
from typing import TYPE_CHECKING, Any, Dict, List, Literal, Optional, Union, cast from redcap.methods.base import Base, Json if TYPE_CHECKING: import pandas as pd class Users(Base): """Responsible for all API methods under 'Users & User Privileges' in the API Playground""" def export_users( sel...
PypiClean
/arginfer-0.0.1.tar.gz/arginfer-0.0.1/docs/source/tutorial.rst
.. _sec_tutorial: ======== Tutorial ======== ********************* Sampling ARGs ********************* As a simple example, we will first simulate sample data with `msprime <https://tskit.dev/msprime/docs/stable/>`_. We will then run `arginfer` on the simulated dataset. The following code simulates a tree sequence ...
PypiClean
/python_microscopy-20.12.8-cp36-cp36m-win_amd64.whl/PYME/Acquire/Hardware/Simulator/rend_im.py
################## # rend_im.py # # Copyright David Baddeley, 2009 # d.baddeley@auckland.ac.nz # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your o...
PypiClean
/spotify_confidence-3.0.2-py3-none-any.whl/spotify_confidence/analysis/abstract_base_classes/confidence_abc.py
from abc import ABC, abstractmethod from typing import Union, Iterable, Tuple, List from pandas import DataFrame from spotify_confidence.chartgrid import ChartGrid from .confidence_computer_abc import ConfidenceComputerABC from .confidence_grapher_abc import ConfidenceGrapherABC from ..constants import NIM_TYPE cl...
PypiClean
/jarvis-sdk-python-1.5.0.tar.gz/jarvis-sdk-python-1.5.0/CHANGELOG.md
# Changelog ## [1.5.0](https://github.com/indykite/jarvis-sdk-python/compare/v1.4.0...v1.5.0) (2023-01-03) ### Features * uuid to gid and files renaming ([a4ffd9e](https://github.com/indykite/jarvis-sdk-python/commit/a4ffd9e992c41374ee150c36015b029a61c065bb)) ## [1.4.0](https://github.com/indykite/jarvis-sdk-pytho...
PypiClean
/python_zwave-0.2.1-py3-none-any.whl/pyzwave/adapter.py
import abc import asyncio import enum import logging from pyzwave.commandclass import NetworkManagementInclusion, NetworkManagementProxy, Zip from .util import Listenable, MessageWaiter from .types import dsk_t from .message import Message _LOGGER = logging.getLogger(__name__) class TxOptions(enum.IntFlag): ""...
PypiClean
/eureka-opensource-1.0.3.tar.gz/eureka-opensource-1.0.3/static/yui-3.4.1/event-custom-base/event-custom-base-debug.js
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module ev...
PypiClean
/uberspace_takeout-0.3.0.tar.gz/uberspace_takeout-0.3.0/uberspace_takeout/storage.py
import datetime import errno import os import tarfile try: from BytesIO import BytesIO except ImportError: from io import BytesIO class Storage: def __init__(self, destination, mode): if mode not in ("takein", "takeout"): raise Exception( 'Invalid mode {}, expected "ta...
PypiClean
/collective.js.angular-1.5.5.0.tar.gz/collective.js.angular-1.5.5.0/src/collective/js/angular/resources/i18n/angular-locale_fr-ga.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": [ "dimanche", "lu...
PypiClean
/isc-py-common-0.1.27.tar.gz/isc-py-common-0.1.27/react/views/fragment_param_types.py
from isc_common.http.DSResponse import DSResponseUpdate, DSResponseAdd, DSResponse, JsonResponseWithException from isc_common.http.RPCResponse import RPCResponseConstant from isc_common.http.response import JsonResponse from react.models.fragment_param_types import Fragment_param_types, Fragment_param_typesManager @J...
PypiClean
/dtscalibration-2.0.0.tar.gz/dtscalibration-2.0.0/docs/notebooks/15Matching_sections.ipynb
# 15. Calibration using matching sections In notebook 14 we showed how you can take splices or connectors within your calibration into account. To then calibrate the cable we used reference sections on both sides of the splice. If these are not available, or in other cases where you have a lack of reference sections,...
PypiClean
/azure-mgmt-appcontainers-3.0.0b1.zip/azure-mgmt-appcontainers-3.0.0b1/azure/mgmt/appcontainers/operations/_container_apps_revisions_operations.py
from typing import Any, Callable, Dict, Iterable, Optional, TypeVar import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from azure.core.paging import ItemPaged fr...
PypiClean
/django_parcel_ssr-0.7.0-py3-none-any.whl/ssr/template.py
from os.path import relpath, splitext, basename, join, dirname, exists from urllib.parse import urljoin from collections import namedtuple from django.template import TemplateSyntaxError from django.http import HttpRequest from ssr.settings import ENTRIES_DIR, BUNDLES_DIR, CACHE_DIR, SOCKETS_DIR from ssr.server import ...
PypiClean
/onshape_client-1.6.3-py3-none-any.whl/onshape_client/oas/models/btm_parameter_configured2222_all_of.py
from __future__ import absolute_import import re # noqa: F401 import sys # noqa: F401 import six # noqa: F401 import nulltype # noqa: F401 from onshape_client.oas.model_utils import ( # noqa: F401 ModelComposed, ModelNormal, ModelSimple, date, datetime, file_type, int, none_type, ...
PypiClean
/micral_name_core-2.0.tar.gz/micral_name_core-2.0/README.rst
Micral (MICROstructure anALysis) Name module - core module ----- Description : The aim is to give a name between 7 available This tools output the name of the sample, and some others details as the accuracy. ----- Installation : pip install micral_name ----- Usage : In a python file or directly in the interp...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_8/models/relationship_performance_replication_get_resp.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flashblade.FB_2_8 import models class RelationshipPerformanceReplicationGetResp(object): """ Attributes: swagger_types (dict): The key is attribute name ...
PypiClean
/rainforest_mch-1.3.3.tar.gz/rainforest_mch-1.3.3/rainforest/database/db_populate.py
# Global imports import sys import os import datetime import logging from pathlib import Path logging.basicConfig(level=logging.INFO) dir_path = os.path.dirname(os.path.realpath(__file__)) sys.path.append(dir_path) from optparse import OptionParser # Local imports from rainforest.database.database import Database fro...
PypiClean
/architect-api-0.4.tar.gz/architect-api-0.4/architect/utils.py
import os import re import json import yaml import importlib import datetime import rfc3339 import iso8601 from django.conf import settings from architect import exceptions _schema_dir = os.path.join( os.path.dirname(os.path.realpath(__file__)), 'schemas') def load_yaml_json_file(path): if os.path.exists(pa...
PypiClean
/idealoom-0.1.0-py3-none-any.whl/assembl/static/widget/card/assembl/static/js/bower/angular-route/angular-route.js
(function(window, angular, undefined) {'use strict'; /** * @ngdoc module * @name ngRoute * @description * * # ngRoute * * The `ngRoute` module provides routing and deeplinking services and directives for angular apps. * * ## Example * See {@link ngRoute.$route#example $route} for an example of configuring an...
PypiClean
/odoo13_addon_stock_request-13.0.1.7.3-py3-none-any.whl/odoo/addons/stock_request/models/stock_request_abstract.py
from odoo import _, api, fields, models from odoo.exceptions import ValidationError class StockRequest(models.AbstractModel): _name = "stock.request.abstract" _description = "Stock Request Template" _inherit = ["mail.thread", "mail.activity.mixin"] @api.model def default_get(self, fields): ...
PypiClean
/pyparsing-3.1.0b1.tar.gz/pyparsing-3.1.0b1/examples/number_words.py
import pyparsing as pp from operator import mul def define_numeric_word_range( names: str, from_: int, to_: int = None, step: int = 1 ) -> pp.MatchFirst: """ Compose a MatchFirst of CaselessKeywords, given their names and values, which when parsed, are converted to their value """ def define_...
PypiClean
/criteo_api_marketingsolutions_sdk-2023.7.0.230831-py3-none-any.whl/criteo_api_marketingsolutions_v2023_07/model/create_ad_set_targeting.py
import re # noqa: F401 import sys # noqa: F401 from criteo_api_marketingsolutions_v2023_07.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_...
PypiClean
/azure-mgmt-sql-4.0.0b3.zip/azure-mgmt-sql-4.0.0b3/azure/mgmt/sql/operations/_database_recommended_actions_operations.py
from typing import Any, Callable, Dict, List, Optional, TypeVar from msrest import Serializer from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import...
PypiClean
/podder-task-base-0.9.1.tar.gz/podder-task-base-0.9.1/podder_task_base/repositories/base/base_repository.py
from typing import Dict, List, Union from podder_task_base.context import Context from sqlalchemy.ext.declarative import DeclarativeMeta from sqlalchemy.orm.session import Session class BaseRepository(object): model_class = DeclarativeMeta @property def session(self) -> Session: raise Exception(...
PypiClean
/stf-client-0.1.0.tar.gz/stf-client-0.1.0/docs/DeviceResponse.md
# DeviceResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **success** | **bool** | | **description** | **str** | | **device** | **bool, date, datetime, dict, float, int, list, str, none_type** | | **any string name** | **bool, date, datetime, d...
PypiClean
/python_telegram_bot_raw-20.4-py3-none-any.whl/telegram/_files/inputmedia.py
"""Base class for Telegram InputMedia Objects.""" from typing import Optional, Sequence, Tuple, Union from telegram._files.animation import Animation from telegram._files.audio import Audio from telegram._files.document import Document from telegram._files.inputfile import InputFile from telegram._files.photosize impo...
PypiClean
/ixnetwork_restpy-1.1.10.tar.gz/ixnetwork_restpy-1.1.10/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/cfmsimulatedmp_d0096b7abd3340f4c8bdf5e2ba2578fb.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 CfmSimulatedMp(Base): """Simulated Node Information The CfmSimulatedMp class encapsulates a list of cfmSimulatedMp resources that are managed...
PypiClean
/DomainThesaurus-1.2.3.tar.gz/DomainThesaurus-1.2.3/DST/word_discrimination/WordDiscrimination.py
import re import networkx as nx from DST.utils.DSUtil import levenshtein_distance import logging logger = logging.getLogger(__name__) def __numberInString(term): for i in term: if i.isdigit(): return True return False # check if the number in two string are the same def __isNumberSame(te...
PypiClean
/aliyun-python-sdk-ecs-test-2.0.6.tar.gz/aliyun-python-sdk-ecs-test-2.0.6/aliyunsdkecs/request/v20140526/CreateNatGatewayRequest.py
from aliyunsdkcore.request import RpcRequest class CreateNatGatewayRequest(RpcRequest): def __init__(self): RpcRequest.__init__(self, 'Ecs', '2014-05-26', 'CreateNatGateway') def get_ResourceOwnerId(self): return self.get_query_params().get('ResourceOwnerId') def set_ResourceOwnerId(self,ResourceOwnerId): ...
PypiClean
/twomartens.allrisscraper-0.5.9-py3-none-any.whl/twomartens/allrisscraper/public.py
import argparse import configparser import json import os from selenium import webdriver from selenium.webdriver.firefox.firefox_binary import FirefoxBinary from selenium.webdriver.firefox.options import Options from twomartens.allrisscraper import agenda from twomartens.allrisscraper import config as config_module f...
PypiClean
/gtftools-0.9.0.tar.gz/gtftools-0.9.0/README.md
GTFtools ==== ## Description GTFtools provides a set of functions to compute or extract various features of gene models as described in the table below. Note that GTFtools can be applied to not only human but also non-human gene models like the lab mouse. | **Options** | **Functions and example use** ...
PypiClean
/maya_mock_completion-0.0.1.tar.gz/maya_mock_completion-0.0.1/maya/app/renderSetup/model/modelCmds.py
if False: from typing import Dict, List, Tuple, Union, Optional class _MPxCommand(object): """ Base class for custom commands. """ def __init__(*args, **kwargs): """ x.__init__(...) initializes x; see help(type(x)) for signature """ pass def doIt(*args, **kwar...
PypiClean
/paper-uploads-0.15.1.tar.gz/paper-uploads-0.15.1/paper_uploads/signals/handlers.py
from django.apps import apps as global_apps from django.db import DEFAULT_DB_ALIAS, migrations, transaction from django.db.migrations.operations.base import Operation from django.db.models.signals import post_delete from django.dispatch import receiver from django.utils.timezone import now from .. import exceptions fr...
PypiClean
/antenna-intensity-modeler-0.1.1.tar.gz/antenna-intensity-modeler-0.1.1/README.rst
========================= antenna-intensity-modeler ========================= .. image:: https://img.shields.io/pypi/v/antenna_intensity_modeler.svg :target: https://pypi.python.org/pypi/antenna_intensity_modeler .. image:: https://img.shields.io/travis/wboxx1/antenna-intensity-modeler.svg :target: h...
PypiClean
/local_visualizer-0.2.0.tar.gz/local_visualizer-0.2.0/README.md
[![Documentation Status](https://readthedocs.org/projects/local-visualizer/badge/?version=latest)](http://local-visualizer.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.org/psvishnu91/local_visualizer.svg?branch=master)](https://travis-ci.org/psvishnu91/local_visualizer) [![PyPI version](ht...
PypiClean
/PyBrain-0.3.tar.gz/PyBrain-0.3/pybrain/structure/modules/mdlstm.py
__author__ = 'Tom Schaul, tom@idsia.ch' from scipy import zeros, tanh from neuronlayer import NeuronLayer from module import Module from pybrain.structure.parametercontainer import ParameterContainer from pybrain.tools.functions import sigmoid, sigmoidPrime, tanhPrime from pybrain.structure.moduleslice import ModuleS...
PypiClean
/maghilchiplusplus-0.0.2.tar.gz/maghilchiplusplus-0.0.2/interpreter/tokens_/compiler.py
import abc import hashlib import json import os import pickle from typing import Any, Dict, List, Optional, Tuple, Type from interpreter.internal.token_ import Token # type: ignore from interpreter.tokens_ import tokens TokenData = Tuple[int, str, Any, int, Optional[int], int] class CompilerError(Exception): "...
PypiClean
/iq-0.0.2.tar.gz/iq-0.0.2/README.rst
Pay === .. image:: https://img.shields.io/pypi/v/iq.svg :target: https://pypi.python.org/pypi/iq/ :alt: Latest Version .. image:: https://img.shields.io/pypi/wheel/iq.svg :target: https://pypi.python.org/pypi/iq/ .. image:: https://img.shields.io/pypi/pyversions/iq.svg :target: https://pypi.python.or...
PypiClean
/tmx-nano-2040-wifi-aio-1.0.tar.gz/tmx-nano-2040-wifi-aio-1.0/tmx_nano2040_wifi_aio/private_constants.py
class PrivateConstants: """ This class contains a set of constants for telemetrix internal use . """ # commands # send a loop back request - for debugging communications LOOP_COMMAND = 0 SET_PIN_MODE = 1 # set a pin to INPUT/OUTPUT/PWM/etc DIGITAL_WRITE = 2 # set a single digital pin ...
PypiClean
/azure-mgmt-resource-23.1.0b1.zip/azure-mgmt-resource-23.1.0b1/azure/mgmt/resource/subscriptions/v2022_12_01/models/_models_py3.py
from typing import Any, Dict, List, Optional, TYPE_CHECKING, Union from ... import _serialization if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from .. import models as _models class AvailabilityZoneMappings(_serialization.Model): """Availability zone mappings for the region. ...
PypiClean
/classiq_interface-0.8.1-py3-none-any.whl/classiq_interface/generator/model/model.py
from typing import Any, Dict, List, Optional, _Final # type: ignore[attr-defined] import pydantic import classiq_interface.generator.validations.flow_graph as flow_graph from classiq_interface._version import VERSION as _VERSION from classiq_interface.generator.function_call import FunctionCall from classiq_interfac...
PypiClean
/kolla-ansible-16.1.0.tar.gz/kolla-ansible-16.1.0/tools/generate_passwords.py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
PypiClean
/sas-frontend-20211225.2.tar.gz/sas-frontend-20211225.2/sas_frontend/frontend_latest/e39068f3.js
"use strict";(self.webpackChunksas_frontend=self.webpackChunksas_frontend||[]).push([[87520],{4558:(e,t,a)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeRelativeTimeFormat=void 0;var r=a(71160),n=a(17595),i=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;t.InitializeRelativeTimeFormat=function(e,t,a,l){var o=l.get...
PypiClean
/django-classic-user-accounts-1.0.39.tar.gz/django-classic-user-accounts-1.0.39/ClassicUserAccounts/static/matrix-admin/js/bootstrap-colorpicker.js
!function( $ ) { // Color object var Color = function(val) { this.value = { h: 1, s: 1, b: 1, a: 1 }; this.setColor(val); }; Color.prototype = { constructor: Color, //parse a string to HSB setColor: function(val){ val = val.toLowerCase(); var that = this; $.each( CPGlobal.s...
PypiClean
/gooddata-api-client-1.5.0.tar.gz/gooddata-api-client-1.5.0/gooddata_api_client/paths/api_v1_entities_workspaces_workspace_id_workspace_data_filters_object_id/patch.py
from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from gooddata_api_client import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F401 import functools # noqa: F401 import io # noqa: F401 import r...
PypiClean
/inqbus.ocf.generic-0.1.tar.gz/inqbus.ocf.generic-0.1/README.txt
================================================== inqbus.ocf.generic : OCF resource agents framework ================================================== :Version: 0.1 :Download: http://pypi.python.org/pypi/inqbus.ocf.generic :Keywords: python, OCF, resource agents, framework, pacemaker, .. contents:: :local: O...
PypiClean
/docker-emperor-0.2.2.tar.gz/docker-emperor-0.2.2/docker_emperor/nodes/machine.py
import os import six import collections from docker_emperor.commands import Command from docker_emperor.nodes.environment import Environment from docker_emperor.nodes.service import Services from docker_emperor.nodes.command import Commands from docker_emperor.utils import setdefaultdict, OrderedDict import docker_empe...
PypiClean
/cubicweb-inlinedit-2.0.0.tar.gz/cubicweb-inlinedit-2.0.0/cubicweb_inlinedit/data/cubes.inlinedit.js
cw.inlinedit = new Namespace('cw.inlinedit'); jQuery.extend(cw.inlinedit, { /* Unhides the part of inlinedit div containing the form * hides other parts */ showInlineEditionForm: function (divid) { jQuery('#' + divid).hide(); jQuery('#' + divid + '-value').hide(); jQuery('#' ...
PypiClean
/pipfile-0.0.2.tar.gz/pipfile-0.0.2/docs/development/submitting-patches.rst
Submitting patches ================== * Always make a new branch for your work. * Patches should be small to facilitate easier review. `Studies have shown`_ that review quality falls off as patch size grows. Sometimes this will result in many small PRs to land a single large feature. * Larger changes should be dis...
PypiClean
/sinophone-0.0.2.tar.gz/sinophone-0.0.2/examples/example.wuu_hant.py
from sinophone import options from sinophone.phonetics import * from sinophone.phonology import * # 設置語言爲吳語 options.repr_lang = "wuu-Hant" # Syllable 音節 # 阿拉來建立一眼音節。 kaq = Syllable( Initial("k"), Final( nucleus=Nucleus("ɐ"), coda=Coda("ʔ"), ), Tone("˥˥"), ) kaq """ # 在墶終端裏向,實際輸出是彩色個。 <...
PypiClean
/jupyter_server_mathjax-0.2.6-py3-none-any.whl/jupyter_server_mathjax/static/localization/zh-hant/FontWarnings.js
MathJax.Localization.addTranslation("zh-hant","FontWarnings",{version:"2.7.9",isLoaded:true,strings:{webFont:"MathJax\u662F\u4F7F\u7528\u57FA\u65BC\u7DB2\u9801\u7684\u5B57\u578B\u4F86\u986F\u793A\u9801\u9762\u4E0A\u7684\u6578\u5B78\u76F8\u95DC\u5167\u5BB9\u3002\u56E0\u6B64\u6703\u82B1\u8CBB\u4E00\u4E9B\u6642\u9593\u4E0...
PypiClean
/django-bootstrap-datetimepicker-1.5.tar.gz/django-bootstrap-datetimepicker-1.5/django_bootstrap_datetimepicker/widgets.py
import json from django import forms from django.conf import settings from django.utils import translation from django.utils.safestring import mark_safe try: from django.utils.encoding import force_unicode as force_text except ImportError: # python3 from django.utils.encoding import force_text DATETIME_INPUT_...
PypiClean
/alarmdecoder-1.13.11.tar.gz/alarmdecoder-1.13.11/docs/build/html/searchindex.js
Search.setIndex({envversion:42,terms:{represent:2,all:[0,2],code:[3,2],sleep:3,on_boot:2,stage_don:2,backlight:2,zone:2,readabl:2,send:2,program:2,x03:2,x02:2,x01:2,sent:2,x04:2,sourc:[0,2,3],string:2,clear_zon:2,fals:2,on_messag:[3,2],perimeter_onli:2,lrr:2,on_alarm_restor:2,level:2,list:2,upload:2,dsc:2,"try":[3,2],e...
PypiClean
/lxd_client-1.0.0-py3-none-any.whl/lxd_client/api/instances/post_instances_by_name_backups.py
from typing import Any, Dict, Optional, Union import httpx from ...client import Client from ...models.background_operation_response import BackgroundOperationResponse from ...models.create_instances_by_name_backups_request import CreateInstancesByNameBackupsRequest from ...models.error_response import ErrorResponse ...
PypiClean
/stargaze_protobuf-0.1.0.tar.gz/stargaze_protobuf-0.1.0/src/stargaze_protobuf/cosmos/evidence/v1beta1/query_pb2_grpc.py
import grpc from ....cosmos.evidence.v1beta1 import query_pb2 as cosmos_dot_evidence_dot_v1beta1_dot_query__pb2 class QueryStub(object): """Query defines the gRPC querier service. """ def __init__(self, channel): """Constructor. Args: channel: A grpc.Channel. """ ...
PypiClean
/python-heatclient-3.3.0.tar.gz/python-heatclient-3.3.0/doc/source/man/heat.rst
==== heat ==== .. program:: heat SYNOPSIS ======== `heat` [options] <command> [command-options] `heat help` `heat help` <command> DESCRIPTION =========== `heat` is a command line client for controlling OpenStack Heat. Before the `heat` command is issued, ensure the environment contains the necessary vari...
PypiClean
/pytreaty-2019.1b4.tar.gz/pytreaty-2019.1b4/contracts/main.py
from __future__ import unicode_literals import sys import types from collections import defaultdict from textwrap import dedent from typing import List import six from .backported import getcallargs, getfullargspec from .docstring_parsing import Arg, DocStringInfo from .enabling import all_disabled from .inspection i...
PypiClean
/alibabacloud_ddosbgp20171120-1.0.1.tar.gz/alibabacloud_ddosbgp20171120-1.0.1/README.md
English | [简体中文](README-CN.md) ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg) ## Alibaba Cloud ddosbgp SDK for Python ## Requirements - Python >= 3.6 ## Installation - **Install with pip** Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guid...
PypiClean
/groceries-tobiasli-1.1.7.tar.gz/groceries-tobiasli-1.1.7/groceries/configs/unit_definition/metric_imperial.py
from groceries.configs.config_types import UnitDefinition from groceries.configs.unit_definition.unit_constants import unit_constants as c _units = { 'length': { 'm': { 'variants': ['meter', 'meters'], 'prefixes': c.metric_prefixes }, # Imperial 'inch': { ...
PypiClean
/pyfundamentus-0.0.7a0.tar.gz/pyfundamentus-0.0.7a0/README.md
# Python Fundamentus [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![codecov](https://codecov.io/github/alexcamargos/pyFundamentus/branch/main/graph/badge.svg?token=44RJNBZZFQ)](https://codecov.io/github/alexcamargos/pyFundamentus) `Python Fundamentus` is a Python API that allows you...
PypiClean
/tsml-eval-0.1.0.tar.gz/tsml-eval-0.1.0/tsml_eval/publications/2023/tser_archive_expansion/set_tser_exp_regressor.py
__author__ = ["TonyBagnall", "MatthewMiddlehurst", "dguijo"] import numpy as np from tsml_eval.utils.functions import str_in_nested_list expansion_regressors = [ ["1nn-dtw", "KNeighborsTimeSeriesRegressor"], "1nn-ed", "5nn-dtw", "5nn-ed", ["fcnn", "fcn", "fcnnregressor", "FCNRegressor"], ["F...
PypiClean
/django-twemoir-0.2.1.tar.gz/django-twemoir-0.2.1/example/face/static/admin/js/jquery.min.js
(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){v...
PypiClean
/ibm_watson_machine_learning-1.0.320-py3-none-any.whl/ibm_watson_machine_learning/libs/repo/mlrepositoryartifact/hybrid_artifact_loader.py
import os import shutil import zipfile from ibm_watson_machine_learning.utils.autoai.utils import try_import_joblib from ibm_watson_machine_learning.libs.repo.util.unique_id_gen import uid_generate class HybridArtifactLoader(object): def load(self, artifact_queryparam): if artifact_queryparam is None: ...
PypiClean
/azure_mgmt_connectedvmware-1.0.0b3-py3-none-any.whl/azure/mgmt/connectedvmware/operations/_virtual_networks_operations.py
import sys from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from...
PypiClean
/vampire_analysis-0.0.1-py3-none-any.whl/vampire/analysis.py
import numpy as np import pandas as pd from scipy import spatial from sklearn import preprocessing from sklearn.cluster import KMeans from . import amath def pca_contours(contours): """ Return the principal component of the contours. Parameters ---------- contours : ndarray Object contou...
PypiClean
/django-kelove-db-3.1.0.tar.gz/django-kelove-db-3.1.0/django_kelove_db/static/django_kelove_db/editor_md/lib/codemirror/mode/turtle/turtle.js
(function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use s...
PypiClean
/mlflow_by_johnsnowlabs-2.20.0-py3-none-any.whl/mlflow/store/artifact/mlflow_artifacts_repo.py
from urllib.parse import urlparse, urlunparse import re from mlflow.store.artifact.http_artifact_repo import HttpArtifactRepository from mlflow.tracking._tracking_service.utils import get_tracking_uri from mlflow.exceptions import MlflowException def _check_if_host_is_numeric(hostname): if hostname: try:...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/response/AlipayOverseasTaxOrderQueryResponse.py
import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayOverseasTaxOrderQueryResponse(AlipayResponse): def __init__(self): super(AlipayOverseasTaxOrderQueryResponse, self).__init__() self._identify_account_no = None self._identify_account_type = None ...
PypiClean
/openpeerpower_frontend-20210523.2-py3-none-any.whl/opp_frontend/frontend_es5/chunk.0af871604d5c7462da2b.js
(self.webpackChunkopenpeerpower_frontend=self.webpackChunkopenpeerpower_frontend||[]).push([[7632,7172,9816,873,9978,272,4328,7082,129,1422,4823],{99257:function(t,e,r){"use strict";r(65233);var n=r(15112),o=r(9672),i=r(87156);(0,o.k)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{t...
PypiClean
/simplebot_translator-1.4.0.tar.gz/simplebot_translator-1.4.0/CHANGELOG.rst
Changelog ========= `1.4.0`_ -------- - warn user if command has wrong syntax. - warn user if language code is invalid. - added filter to translate text sent in private (user can set the language to which text will be translated) `1.3.0`_ -------- - improved commad description. - try other engines if the default en...
PypiClean
/apache_airflow_providers_amazon-8.6.0-py3-none-any.whl/airflow/providers/amazon/aws/triggers/sagemaker.py
from __future__ import annotations import asyncio from collections import Counter from enum import IntEnum from functools import cached_property from typing import Any, AsyncIterator from botocore.exceptions import WaiterError from airflow import AirflowException from airflow.providers.amazon.aws.hooks.sagemaker im...
PypiClean
/ts_IntegrationTests-0.1.1.tar.gz/ts_IntegrationTests-0.1.1/python/lsst/ts/IntegrationTests/base_script.py
__all__ = ["BaseScript"] from lsst.ts import salobj from lsst.ts.idl.enums import ScriptQueue class BaseScript: """Defines the common attributes and functions for an AuxTel or MainTel script. Notes ----- Use index=1 for MainTel, 2 for AuxTel. The index is defined as a class attribute for...
PypiClean
/snakeskin_fabric-0.1.1-py3-none-any.whl/snakeskin/config.py
import os import json from dataclasses import dataclass, field from typing import List, Mapping import yaml import dacite from .models import Peer, Channel, User, Orderer, ChaincodeSpec from .models.gateway import Gateway from .constants import ChaincodeLanguage @dataclass() class GatewayConfig: """ A gateway co...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/storage/private_endpoint_connection.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__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] @pulumi.input_type...
PypiClean
/basx_bread-0.7.30-py3-none-any.whl/basxbread/forms/forms.py
import htmlgenerator as hg from django import forms from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation from django.contrib.contenttypes.forms import ( BaseGenericInlineFormSet, generic_inlineformset_factory, ) from django.core.exceptions import FieldDoesNotExist from django.db imp...
PypiClean
/django-mssql-backend-2.8.1.tar.gz/django-mssql-backend-2.8.1/sql_server/pyodbc/schema.py
import binascii import datetime from django.db.backends.base.schema import ( BaseDatabaseSchemaEditor, _is_relevant_relation, _related_non_m2m_objects, logger, ) from django.db.backends.ddl_references import ( Columns, IndexName, Statement as DjStatement, Table, ) from django.db.models ...
PypiClean
/bitbank-client-0.1.1.tar.gz/bitbank-client-0.1.1/bitbank_client/sync.py
import hashlib import requests import time import hmac import json import urllib class Client(object): def __init__(self, **kwargs): self.public_origin = kwargs.get('public_origin', 'https://public.bitbank.cc') self.private_origin = kwargs.get('private_origin', 'https://api.bitbank.cc') self.public_key = kwarg...
PypiClean
/lightnovel_crawler-3.2.10-py3-none-any.whl/sources/en/k/kolnovelnewsite.py
import logging from lncrawl.core.crawler import Crawler logger = logging.getLogger(__name__) search_url = "https://newsite.kolnovel.com/?s=%s&post_type=wp-manga" chapter_list_url = "https://newsite.kolnovel.com/wp-admin/admin-ajax.php" class kolnovelnewsite(Crawler): base_url = "https://newsite.kolnovel.com/" ...
PypiClean
/convo6-0.1-py3-none-any.whl/convo/utils/common.py
import logging import os import shutil import warnings from types import TracebackType from typing import Any, Callable, Dict, List, Optional, Text, Type import convo.core.utils import convo.utils.io from convo.cli import utils from convo.cli.utils import bcolors from convo.constants import ( DEFAULT_LOG_LEVEL, ...
PypiClean
/benchling_api_client-2.0.207-py3-none-any.whl/benchling_api_client/v2/stable/models/folder_create.py
from typing import Any, cast, Dict, Type, TypeVar import attr from ..extensions import NotPresentError from ..types import UNSET, Unset T = TypeVar("T", bound="FolderCreate") @attr.s(auto_attribs=True, repr=False) class FolderCreate: """ """ _name: str _parent_folder_id: str def __repr__(self): ...
PypiClean
/obiba_opal-5.2.1.tar.gz/obiba_opal-5.2.1/obiba_opal/exports.py
import json import obiba_opal.core as core import obiba_opal.io as io class ExportPluginCommand: """ Data export to a datasource plugin. """ @classmethod def add_arguments(cls, parser): """ Add data command specific options """ parser.add_argument('--datasource', '...
PypiClean
/scf-0.2.8.tar.gz/scf-0.2.8/tcfcli/common/operation_msg.py
import os import sys import click import logging from logging.handlers import RotatingFileHandler from builtins import str as text from tcfcli.common.user_config import UserConfig home = os.path.expanduser('~') _LOG_FILE_PATH_ = os.path.join(home, '.scfcli_log') if not os.path.exists(_LOG_FILE_PATH_): os.makedirs...
PypiClean
/boyd_bot_glasgow-1.6.1-py3-none-any.whl/boyd_bot/timetable.py
import pytz import requests from icalendar import Calendar from datetime import datetime from getpass import getpass from fuzzywuzzy import fuzz class Timetable: def __init__(self, cal_url, tmzn="UTC", fuzz_threshold=36): self.cal_url = cal_url self.tmzn = pytz.timezone(tmzn) self.fuzz_thr...
PypiClean
/ovos_core-0.0.8a25-py3-none-any.whl/ovos_core/intent_services/commonqa_service.py
import re from threading import Lock, Event import time from itertools import chain from ovos_bus_client.message import Message, dig_for_message import ovos_core.intent_services from ovos_utils import flatten_list from ovos_utils.enclosure.api import EnclosureAPI from ovos_utils.log import LOG from ovos_utils.message...
PypiClean
/hurry.jqplot-0.9.7.2.zip/hurry.jqplot-0.9.7.2/src/hurry/jqplot/jqplot-build/plugins/jqplot.cursor.js
(function($) { /** * Class: $.jqplot.Cursor * Plugin class representing the cursor as displayed on the plot. */ $.jqplot.Cursor = function(options) { // Group: Properties // // prop: style // CSS spec for cursor style this.style = 'crosshair'; ...
PypiClean
/mockdjangosaml2-0.16.1.tar.gz/mockdjangosaml2-0.16.1/README.rst
Mock djangosaml2 ================ In projects that use ``djangosaml2`` in production environment it is useful to have a mockup authentication system that can be used in development and testing environments i.e. when ``DEBUG = True``. Install ------- ``pip install mockdjangosaml2`` Usage ----- * in project's ``setting...
PypiClean
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/@jupyterlab/services/lib/serverconnection.d.ts
export declare namespace ServerConnection { /** * A Jupyter server settings object. * Note that all of the settings are optional when passed to * [[makeSettings]]. The default settings are given in [[defaultSettings]]. */ interface ISettings { /** * The base url of the serv...
PypiClean
/ivy-testing-release-0.0.0.1.tar.gz/ivy-testing-release-0.0.0.1/ivy/functional/frontends/jax/numpy/indexing.py
import inspect import abc # local import ivy from ivy.functional.frontends.jax.func_wrapper import ( to_ivy_arrays_and_back, ) from .creation import linspace, arange, array from .manipulations import transpose, concatenate, expand_dims @to_ivy_arrays_and_back def diagonal(a, offset=0, axis1=0, axis2=1): retu...
PypiClean
/pulsar_sdk_py-0.1.35-py3-none-any.whl/pulsar_sdk_py/pulsar_sdk.py
import re import json import uuid import logging from dataclasses import asdict import requests import websockets from typing import AsyncGenerator from pulsar_sdk_py.helpers import filter_non_empty_params from pulsar_sdk_py.schemas.serializer import serialize_to_dataclass from pulsar_sdk_py.enums import ( TierKe...
PypiClean
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/request/AlipayMobilePublicAccountDeleteRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * class AlipayMobilePublicAccountDeleteRequest(object): def __init__(self, biz_model=None): self._biz_model = biz_model self._biz_content = None self._version = "1.0" sel...
PypiClean
/HarmonyDecoder-1.0.9.tar.gz/HarmonyDecoder-1.0.9/README.md
HARMONY DECODER Project made for fun, to help people with harmony tasks. The project itself is very simple - it takes input as functions in specific format, each function has to be separated by space, and solves the harmony task. All basic harmony rules are being checked to create all solutions. Solutions are sorted ...
PypiClean
/lns-icloudpy-0.0.3.tar.gz/lns-icloudpy-0.0.3/icloudpy/services/reminders.py
import json import time import uuid from datetime import datetime from tzlocal import get_localzone class RemindersService: """The 'Reminders' iCloud service.""" def __init__(self, service_root, session, params): self.session = session self._params = params self._service_root = servi...
PypiClean
/robotFramework-DebugUiLibrary-0.9.0.zip/robotFramework-DebugUiLibrary-0.9.0/DebugUiLibrary/DebugUiLibrary.py
from RfInterface import RfInterface # This allows acccess to robotFramework calls and data from DebugUI import DebugUI # This is the pop up UI # This is the main library function used in robotFramework scripts class DebugUiLibrary: """ This test library provides a single keyword 'Debug' to al...
PypiClean
/django-classic-user-accounts-1.0.39.tar.gz/django-classic-user-accounts-1.0.39/ClassicUserAccounts/static/matrix-admin-v2/assets/libs/flot/jquery.flot.navigate.js
(function(a){function e(h){var k,j=this,l=h.data||{};if(l.elem)j=h.dragTarget=l.elem,h.dragProxy=d.proxy||j,h.cursorOffsetX=l.pageX-l.left,h.cursorOffsetY=l.pageY-l.top,h.offsetX=h.pageX-h.cursorOffsetX,h.offsetY=h.pageY-h.cursorOffsetY;else if(d.dragging||l.which>0&&h.which!=l.which||a(h.target).is(l.not))return;switc...
PypiClean
/bbc1-1.5.1-py3-none-any.whl/bbc1-1.5.1.data/scripts/file_proof.py
# -*- coding: utf-8 -*- """ Copyright (c) 2017 beyond-blockchain.org. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
PypiClean
/ckls_testlib4-4.2.8.tar.gz/ckls_testlib4-4.2.8/sparknlp_jsl/annotator/chunker/assertion_filterer.py
from sparknlp_jsl.common import * from sparknlp_jsl.utils.licensed_annotator_type import InternalAnnotatorType class AssertionFilterer(AnnotatorModelInternal): """Filters entities coming from ASSERTION type annotations and returns the CHUNKS. Filters can be set via a white list on the extracted chunk, the as...
PypiClean
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/liang-nan/富饶私教课:私教正课:10.富饶私教——如何聊天.md
# 富饶私教课:私教正课:10.富饶私教——如何聊天 OK 一位录平 對,好 那我們就是說 現在就開始我們今天要講的內容,就是今天我們主要講的就是告訴大家如何去和女生聊天,那我們講到這個就是聊天的話 實在是一個問題,就是你 我生話中的門對聊天的一個理解。 有一個基本的理解 就是聊天是一個你和女生在互動的一個方式,最主要的是聊天是你和女生在互動的一個方式,那麼首先我們在說聊天之前還有一個什麼呢,就是我們要分辨出來哪些女生其實是可以聊的。 哪些是不可以聊的 或者是說在講聊天之前我們要先講,讓這個就是這個女生他有一個基本的好感,他願意跟你講話 願意去跟你聊天,這個我們才可以進行這件事情 如果一個女生他都不願意大力你。 每一句話都不...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/nocardiasp348mftsu51.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def NocardiaSp348mftsu51( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs: D...
PypiClean
/alipay-sdk-python-pycryptodome-3.3.202.tar.gz/alipay-sdk-python-pycryptodome-3.3.202/alipay/aop/api/domain/AlipayTradePeerpayprodRelationCreateModel.py
import json from alipay.aop.api.constant.ParamConstants import * class AlipayTradePeerpayprodRelationCreateModel(object): def __init__(self): self._aliapy_related_id = None self._alipay_user_id = None self._relation_name = None self._relation_type = None self._taobao_rela...
PypiClean