id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/pplmyapi-0.0.6.tar.gz/pplmyapi-0.0.6/README.md
# 📦📦 pplmyapi (Python PPL myAPI wrapper) Czech PPL (Professional Parcel Logistic) API wrapper written in Python. Helps you to communicate with PPL myAPI without worring about constructing your own SOAP headers, bodies or even fetching access tokens. All (hopefully) done for you in the background. # Install it from ...
PypiClean
/AutoGator-0.3.0.tar.gz/AutoGator-0.3.0/autogator/circuits.py
from __future__ import annotations import copy import logging from pathlib import Path from typing import Any, Dict, NamedTuple, Tuple, Union, List from autogator.errors import CircuitMapUniqueKeyError log = logging.getLogger(__name__) class Location(NamedTuple): """ Location is the GDS coordinate of a cir...
PypiClean
/predicatepandasai-0.2-py3-none-any.whl/pandasai/helpers/shortcuts.py
from ..helpers.df_info import DataFrameType from typing import Union from abc import ABC, abstractmethod class Shortcuts(ABC): @abstractmethod def chat(self, prompt: str) -> DataFrameType: """ Run method from PandasAI class. Args: prompt (str): The prompt to be executed. ...
PypiClean
/bitsmiths-fura-2.2.3.tar.gz/bitsmiths-fura-2.2.3/bs_fura/fura_server_impl.py
import copy import datetime import mettle import json from mettle.lib import xMettle from bs_fura.braze import FuraServerInterface from . import fura_davcache from .dao import Dao from .err_code import ErrCode from .user_login import UserLogin from .fura_token import FuraToken from .xfu...
PypiClean
/timeweb_cloud-0.12.2-py3-none-any.whl/timeweb/sync_api/dbs.py
import logging import warnings from datetime import timedelta from httpx import Client from .base import BaseClient from ..schemas import dbs as schemas class DatabasesAPI(BaseClient): '''Клиент для работы с API базами данных Timeweb Cloud''' def __init__(self, token: str, client: Client | None = None): ...
PypiClean
/plone.staticresources-2.0.0b3-py3-none-any.whl/plone/staticresources/static/bundle-plone/chunks/45088.0cae668e7f4a6f05e10f.min.js
"use strict";(self.webpackChunkplone_staticresources=self.webpackChunkplone_staticresources||[]).push([[45088],{45088:function(t,e,n){n.r(e),n.d(e,{animateFill:function(){return it},createSingleton:function(){return et},delegate:function(){return rt},followCursor:function(){return ut},hideAll:function(){return Q},inlin...
PypiClean
/dj-dynamic-forms-0.4.tar.gz/dj-dynamic-forms-0.4/dynamic_forms/admin.py
from __future__ import unicode_literals import json import six from django import forms from django.contrib import admin from django.forms.util import flatatt from django.utils.encoding import force_text # TODO: Django >1.4: # from django.utils.html import format_html from django.utils.html import conditional_escape ...
PypiClean
/actnova_yolo-1.0.24-py3-none-any.whl/ultralytics/nn/tasks.py
import contextlib from copy import deepcopy from pathlib import Path import torch import torch.nn as nn from ultralytics.nn.modules import (AIFI, C1, C2, C3, C3TR, SPP, SPPF, Bottleneck, BottleneckCSP, C2f, C3Ghost, C3x, Classify, Concat, Conv, Conv2, ConvTranspose, Detect, DWConv...
PypiClean
/lc-django-ckeditor-5.6.8.tar.gz/lc-django-ckeditor-5.6.8/ckeditor/static/ckeditor/ckeditor/lang/ja.js
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['ja']={"editor":"リッチテキストエディタ","editorPanel":"リッチテキストエディタパネル","common":{"editorHelp":"ヘルプは ALT 0 を押してください","browseServer":"サーバブラウザ","url":"URL","protocol":"プロトコル",...
PypiClean
/g2p_greek-0.0.2a0.tar.gz/g2p_greek-0.0.2a0/src/g2p_greek/prefixes.py
_prefixes = { "1digit": { "0": "μηδέν", "1": "ένα", # μια, ένας "2": "δύο", "3": "τρία", # τρεις "4": "τέσσερα", # τέσσερις "5": "πέντε", "6": "έξι", "7": "εφτά", "8": "οχτώ", "9": "εννιά" }, "2digit": { "10": "δέκα",...
PypiClean
/openbb-3.2.2-py3-none-any.whl/openbb_terminal/core/session/sdk_session.py
import logging from openbb_terminal.core.session import ( local_model as Local, session_model, ) from openbb_terminal.core.session.current_user import ( get_current_user, is_local, ) from openbb_terminal.decorators import log_start_end from openbb_terminal.rich_config import console from openbb_termina...
PypiClean
/zwyfastai-2.0.21.tar.gz/zwyfastai-2.0.21/src/fastai/data/load.py
__all__ = ['fa_collate', 'fa_convert', 'SkipItemException', 'DataLoader'] # Cell from ..torch_basics import * from torch.utils.data.dataloader import _MultiProcessingDataLoaderIter,_SingleProcessDataLoaderIter,_DatasetKind _loaders = (_MultiProcessingDataLoaderIter,_SingleProcessDataLoaderIter) # Cell def _wif(work...
PypiClean
/python_win_ad-0.6.2-py3-none-any.whl/pyad/pyadutils.py
import datetime import win32api import win32security import pywintypes from .adbase import ADBase from .pyadconstants import GENERIC_ADSI_ERRORS, GENERIC_COM_ERRORS, WIN32_ERRORS from .pyadexceptions import genericADSIException, comException, win32Exception def validate_credentials( username: str, password: str,...
PypiClean
/pytorch/utils/loss.py
from typing import Any, Callable, Dict, Iterable, List, Tuple, Union import torch import torch.nn as nn import torch.nn.functional as TF from torch import Tensor from torch.nn import Module from sparseml.pytorch.utils.helpers import tensors_module_forward from sparseml.pytorch.utils.yolo_helpers import ( box_giou...
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_nus.js
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
PypiClean
/badger-voter-sdk-0.1.3.tar.gz/badger-voter-sdk-0.1.3/badger_voter_sdk/collectors/api_collectors.py
from decimal import Decimal from typing import Dict from typing import List from typing import Optional import requests from badger_voter_sdk.constants import BINANCE_KLINES_URL from badger_voter_sdk.constants import COWSWAP_TRADES_URL from badger_voter_sdk.constants import SNAPSHOT_SCORES_URL from badger_voter_sdk.j...
PypiClean
/Herring-0.1.49.tar.gz/Herring-0.1.49/herring/support/terminalsize.py
import os import shlex import struct import platform import subprocess def get_terminal_size(): """ getTerminalSize() - get width and height of console - works on linux,os x,windows,cygwin(windows) originally retrieved from: http://stackoverflow.com/questions/566746/how-to-get-console-window-w...
PypiClean
/c65faucet-1.0.59.tar.gz/c65faucet-1.0.59/faucet/valve_switch.py
# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2015 Brad Cowie, Christopher Lorier and Joe Stringer. # Copyright (C) 2015 Research and Education Advanced Network New Zealand Ltd. # Copyright (C) 2015--2019 The Contributors # # Licensed under the Apache License, Version 2.0 (the "Licen...
PypiClean
/shimao-hass-frontend-20180609.tar.gz/shimao-hass-frontend-20180609/hass_frontend/9f97cfa8172ee9301d73.chunk.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{133:function(e,a,t){"use strict";t(2),t(28);var n=t(75),o=t(4),i=t(43),c=t(35);const r=document.createElement("template");r.setAttribute("style","display: none;"),r.innerHTML='<dom-module id="paper-checkbox">\n <template strip-whitespace="">\n <style>\n ...
PypiClean
/h5py-3.5.0.tar.gz/h5py-3.5.0/docs/whatsnew/3.5.rst
What's new in h5py 3.5 ====================== New features ------------ * Datasets are now created without timestamps by default, making it easier to create more consistent files. Pass ``track_times=True`` to :meth:`.Group.create_dataset` to add timestamps again. * Added ``locking`` :class:`.File` argument to sel...
PypiClean
/datadog_api_client-2.16.0-py3-none-any.whl/datadog_api_client/v2/model/metric_ingested_indexed_volume.py
from __future__ import annotations from typing import Union, TYPE_CHECKING from datadog_api_client.model_utils import ( ModelNormal, cached_property, unset, UnsetType, ) if TYPE_CHECKING: from datadog_api_client.v2.model.metric_ingested_indexed_volume_attributes import ( MetricIngestedIn...
PypiClean
/depthai_pipeline_graph-0.0.5-py3-none-any.whl/depthai_pipeline_graph/NodeGraphQt/custom_widgets/properties.py
from collections import defaultdict from Qt import QtWidgets, QtCore, QtGui from ..constants import (NODE_PROP_QLABEL, NODE_PROP_QLINEEDIT, NODE_PROP_QTEXTEDIT, NODE_PROP_QCOMBO, ...
PypiClean
/great_expectations_cta-0.15.43.tar.gz/great_expectations_cta-0.15.43/great_expectations/types/__init__.py
import copy import logging from enum import Enum from typing import Optional, Set import pandas as pd from .base import SerializableDotDict from .colors import ColorPalettes, PrimaryColors, SecondaryColors, TintsAndShades from .configurations import ClassConfig from .fonts import FontFamily, FontFamilyURL logger = l...
PypiClean
/cctbx-2020.8-0_py36h1d45459-cp36-cp36m-manylinux2010_x86_64.whl/wxtbx/phil_controls/text_base.py
from __future__ import absolute_import, division, print_function from wxtbx import phil_controls import wxtbx from libtbx.utils import Abort, to_unicode, to_str from libtbx import Auto import wx import sys class ValidatedTextCtrl(wx.TextCtrl, phil_controls.PhilCtrl): def __init__(self, *args, **kwds): saved_valu...
PypiClean
/PyAstronomy-0.19.0.tar.gz/PyAstronomy-0.19.0/src/pyasl/asl/rotBroad.py
from __future__ import print_function, division import numpy as np from PyAstronomy.pyaC import pyaErrors as PE import six.moves as smo class _Gdl: def __init__(self, vsini, epsilon): """ Calculate the broadening profile. Parameters ---------- vsini : float Pr...
PypiClean
/RsCMPX_NrFr1Meas-4.0.185.tar.gz/RsCMPX_NrFr1Meas-4.0.185/RsCMPX_NrFr1Meas/Implementations/NrSubMeas/MultiEval/ListPy/Cc/Modulation/Evm/Rms/Low/Current.py
from typing import List from ..........Internal.Core import Core from ..........Internal.CommandsGroup import CommandsGroup from ..........Internal import Conversions from ..........Internal.ArgSingleSuppressed import ArgSingleSuppressed from ..........Internal.Types import DataType from .......... import repcap # n...
PypiClean
/searpent-classy-sdk-0.1.3.tar.gz/searpent-classy-sdk-0.1.3/classy_sdk/api/api.py
import os import requests class ApiManager: """Sends authenticated requests to API. This class is designed to simplify queries sent to the Classy API by the SDK – from initial settings such as authentication, to extending timeout or checking for possible exceptions. Args: api_url (option...
PypiClean
/taskcluster_yml_validator-0.0.9.tar.gz/taskcluster_yml_validator-0.0.9/taskcluster_yml_validator/events/push.py
tasks_for = "github-push" event = { "ref": "refs/heads/master", "before": "7a257a6d139708a3188bf2e0cd1f15e466a88d0e", "after": "b79ce60be819cdc482c9c6a84dc3c457959aa66f", "created": False, "deleted": False, "forced": False, "base_ref": None, "compare": "https://github.com/TaskclusterRob...
PypiClean
/TXM_Sandbox-0.2.5-py3-none-any.whl/TXM_Sandbox/gui/io_config_gui.py
import json from ipywidgets import widgets, GridspecLayout, dlink from .gui_components import (get_handles, create_widget, enable_disable_boxes, save_io_config) class io_config_gui(): def __init__(self, parent_h, form_sz=[650, 740]): self.gui_name = 'io_config' self.form_sz = form_sz sel...
PypiClean
/facialis_palsy_file_models-0.1.0-py3-none-any.whl/facialis_palsy_file_models/housebrackmann_type.py
from typing import Optional, List from pydantic import BaseModel, ConfigDict from facialis_palsy_file_models.base_types import KeyValue class HouseBrackmann(BaseModel): metadata_object_version: str = "0.1.0" application_version: str = "APPLICATION_VERSION" application_org: str = "ORGANIZATION_DOMAIN" ...
PypiClean
/reqmgr2ms-transferor-2.2.4rc2.tar.gz/reqmgr2ms-transferor-2.2.4rc2/src/python/Utils/Throttled.py
# standard modules import time from builtins import object import logging import threading # cherrypy modules import cherrypy class _ThrottleCounter(object): """ _ThrottleCounter class defines throttle parameter and enter/exit methods to work with `with` context. """ def __init__(self, throttle,...
PypiClean
/tutor-contrib-k8s-deploy-tasks-15.0.2.tar.gz/tutor-contrib-k8s-deploy-tasks-15.0.2/README.rst
k8s_deploy_tasks plugin for `Tutor <https://docs.tutor.overhang.io>`__ =================================================================================== tutor plugin to manage deployment tasks that are exclusively (or mostly) specific to Kubernetes deployments. - *oauth misconfiguration*. tutor relies on an enviro...
PypiClean
/pyniki-0.0.6-py3-none-any.whl/pyniki/field.py
import curses from pyniki.curses import scr from pyniki.ui import print_first_line class Field: def __init__(self, size_y, size_x, offset_y=0, offset_x=0, name=''): self.size_y, self.size_x, self.offset_y, self.offset_x = \ size_y, size_x, offset_y, offset_x self.discs = [[0 for _ i...
PypiClean
/sktime_legacy-0.3.1-cp37-cp37m-manylinux1_x86_64.whl/sktime/utils/results_writing.py
import os from sklearn.metrics import accuracy_score as acc def write_results_to_uea_format(path, strategy_name, dataset_name, y_true, y_pred, split='TEST', resample_seed=0, y_proba=None, second_line="N/A"): if len(y_true) != len(y_pred): raise IndexError("The number of pr...
PypiClean
/csr_azure_agent-0.0.5.tar.gz/csr_azure_agent-0.0.5/waagent/azurelinuxagent/agent.py
from __future__ import print_function import os import sys import re import subprocess import traceback import azurelinuxagent.common.logger as logger import azurelinuxagent.common.event as event import azurelinuxagent.common.conf as conf from azurelinuxagent.common.version import AGENT_NAME, AGENT_LONG_VERSION, \ ...
PypiClean
/pyqode3.core-3.2.35.tar.gz/pyqode3.core-3.2.35/pyqode/core/cache.py
import json import locale import logging from pyqode.qt import QtCore try: from future.builtins import open from future.builtins import str except: pass # python 3.2 not supported class Cache(object): """ Provides an easy acces to the cache by exposing some wrapper properties over QSettings....
PypiClean
/kendryte_caffe-1.0.0.20210829-cp36-cp36m-macosx_10_9_x86_64.whl/caffe/io.py
import numpy as np import skimage.io from scipy.ndimage import zoom from skimage.transform import resize try: # Python3 will most likely not be able to load protobuf from caffe.proto import caffe_pb2 except: import sys if sys.version_info >= (3, 0): print("Failed to include caffe_pb2, things mi...
PypiClean
/pylaia-1.0.5-py3-none-any.whl/laia/decoders/ctc_language_decoder.py
from typing import Any, Dict, List import numpy as np import torch from torchaudio.models.decoder import ctc_decoder from laia.losses.ctc_loss import transform_batch class CTCLanguageDecoder: """ Intialize a CTC decoder with n-gram language modeling. Args: language_model_path (str): path to a Ke...
PypiClean
/funkiio-1.0.1-py3-none-any.whl/homeassistant/components/daikin/climate.py
import logging import re import voluptuous as vol from homeassistant.components.climate import PLATFORM_SCHEMA, ClimateDevice from homeassistant.components.climate.const import ( ATTR_AWAY_MODE, ATTR_CURRENT_TEMPERATURE, ATTR_FAN_MODE, ATTR_OPERATION_MODE, ATTR_SWING_MODE, STATE_AUTO, STATE_COOL, STATE_DRY, ...
PypiClean
/xmind_to_testlink-2.0.3.tar.gz/xmind_to_testlink-2.0.3/xmind_to_testlink/rexmind.py
from __future__ import unicode_literals import zipfile import os import codecs import json import argparse BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(BASE_DIR) import markdown_to_dict import dict_to_json import zip_need import read_xml def get_dpath(in_dict, pre_path = ''): path_list = [...
PypiClean
/ansible-8.3.0-py3-none-any.whl/ansible_collections/cisco/dnac/plugins/action/network_device_count_info.py
# Copyright (c) 2021, Cisco Systems # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible.plugins.action import ActionBase try: from ansible_collections.ansible.utils.plugins...
PypiClean
/britive-2.20.1.tar.gz/britive-2.20.1/README.md
# Britive Python SDK Pure Python implementation for interacting with the Britive API. This package aims to wrap the Britive API for use in Python. For the most part it is a simple wrapper (sending potentially bad parameters to the API) but there are a couple of places where liberties were taken to enhance the develop...
PypiClean
/NESTML-5.3.0-py3-none-any.whl/pynestml/visitors/ast_symbol_table_visitor.py
from pynestml.cocos.co_cos_manager import CoCosManager from pynestml.meta_model.ast_namespace_decorator import ASTNamespaceDecorator from pynestml.meta_model.ast_declaration import ASTDeclaration from pynestml.meta_model.ast_stmt import ASTStmt from pynestml.meta_model.ast_variable import ASTVariable from pynestml.sym...
PypiClean
/alipay-python-3.3.17.tar.gz/alipay-python-3.3.17/alipay/aop/api/request/AlipayEcoMycarMaintainOrderserverNotifyRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayEcoMycarMaintainOrderserverNotifyModel import AlipayEcoMycarMaintainOrderserverNotifyModel class AlipayEcoMycarMaintainOrderserverNotifyRequest(object): def __init__(s...
PypiClean
/moai-mdk-0.1.5a16.tar.gz/moai-mdk-0.1.5a16/moai/networks/lightning/factory/multibranch.py
import moai.networks.lightning as minet import moai.utils.parsing.rtp as mirtp from collections import OrderedDict import torch import inspect import hydra.utils as hyu import omegaconf.omegaconf import typing import logging import toolz __all__ = ['MultiBranch'] log = logging.getLogger(__name__) def _create_proc...
PypiClean
/matrix_synapse-1.91.0rc1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/synapse/http/site.py
import contextlib import logging import time from typing import TYPE_CHECKING, Any, Generator, Optional, Tuple, Union import attr from zope.interface import implementer from twisted.internet.address import UNIXAddress from twisted.internet.defer import Deferred from twisted.internet.interfaces import IAddress from tw...
PypiClean
/limepkg_scrive-2.0.4-py3-none-any.whl/limepkg_scrive/frontend/dist/esm-es5/css-shim-6aaf713d-9b13816a.js
var StyleNode = /** @class */ (function () { function StyleNode() { this.start = 0; this.end = 0; this.previous = null; this.parent = null; this.rules = null; this.parsedCssText = ''; this.cssText = ''; this.atRule = false; this.type = 0; ...
PypiClean
/robolson-0.3.83-py3-none-any.whl/rob/ticktick/managers/habits.py
import deal class HabitManager: @deal.pure def __init__(self, client_class): self._client = client_class self.access_token = "" # --------------------------------------------------------------------------------------------------------------- # Habit Methods @deal.pure def g...
PypiClean
/hestia_earth_models-0.49.0-py3-none-any.whl/hestia_earth/models/stehfestBouwman2006GisImplementation/noxToAirInorganicFertiliser.py
from hestia_earth.schema import EmissionMethodTier, EmissionStatsDefinition from hestia_earth.models.utils.cycle import get_inorganic_fertiliser_N_total from hestia_earth.models.utils.emission import _new_emission from .noxToAirSoilFlux import _should_run, _get_value from . import MODEL REQUIREMENTS = { "Cycle": ...
PypiClean
/columbia-discord-bot-0.2.1.tar.gz/columbia-discord-bot-0.2.1/docs/_build/html/_static/pygments/lexers/haxe.py
import re from pygments.lexer import ExtendedRegexLexer, RegexLexer, include, bygroups, \ default from pygments.token import Text, Comment, Operator, Keyword, Name, String, \ Number, Punctuation, Generic, Whitespace __all__ = ['HaxeLexer', 'HxmlLexer'] class HaxeLexer(ExtendedRegexLexer): """ For Ha...
PypiClean
/mlflow_tmp-2.2.26-py3-none-any.whl/mlflow/pyspark/ml/_autolog.py
from pyspark.sql.utils import IllegalArgumentException from pyspark.sql import DataFrame import re from functools import reduce from pyspark.ml.functions import vector_to_array from pyspark.ml.linalg import VectorUDT from pyspark.sql import types as t from pyspark.ml.base import Transformer from pyspark.ml.pipeline imp...
PypiClean
/CoPipes-0.1.tar.gz/CoPipes-0.1/copipes/__init__.py
from contextlib import contextmanager from functools import update_wrapper from os import linesep from sys import version_info __all__ = ['coroutine', 'pipeline', 'null'] __version__ = '0.1' __author__ = 'Dmitry Vakhrushev <self@kr41.net>' __license__ = 'BSD' is2 = version_info[0] == 2 class _null(object): ""...
PypiClean
/py_simple_ttk-0.2.10-py3-none-any.whl/py_simple_ttk/widgets/ListBoxWidgets.py
import platform import tkinter as tk from tkinter import ttk from typing import Callable from .Labeler import Labeler from .Scroller import Scroller, _create_container from .SuperWidget import SuperWidgetMixin from .WidgetsCore import default_pack from .LabeledMultiWidget import LabeledMultiWidgetMixin from .ButtonWidg...
PypiClean
/scikit-eLCS-1.2.4.tar.gz/scikit-eLCS-1.2.4/skeLCS/Timer.py
import time # -------------------------------------- class Timer: def __init__(self): # Global Time objects self.globalStartRef = time.time() self.globalTime = 0.0 self.globalAdd = 0 # Match Time Variables self.startRefMatching = 0.0 self.globalMatching = ...
PypiClean
/django_machina-1.3.0-py3-none-any.whl/README.rst
############## Django-machina ############## Django-machina is a forum framework for Django providing a way to build community-driven websites. It offers a full-featured yet very extensible forum solution: * Topic and post editing * Forums tree management * Per-forum permissions * Anonymous posting * Polls and attach...
PypiClean
/lrp_pf_auc-0.1.6-py3-none-any.whl/pf/plot.py
r"""Plotting library.""" # pylint: disable=duplicate-code __author__ = 'Rodrigo Bermudez Schettino (TU Berlin)' __credits__ = ['Rodrigo Bermudez Schettino (TU Berlin)'] __maintainer__ = 'Rodrigo Bermudez Schettino (TU Berlin)' __email__ = 'r.bermudezschettino@campus.tu-berlin.de' __status__ = 'Development' # pylint: ...
PypiClean
/starthinker-2.1.6.tar.gz/starthinker-2.1.6/dags/cm_to_dv360_io_dag.py
from starthinker_airflow.factory import DAG_Factory # Add the following credentials to your Airflow configuration. USER_CONN_ID = "starthinker_user" # The connection to use for user authentication. GCP_CONN_ID = "starthinker_service" # The connection to use for service authentication. INPUTS = { 'recipe_slug': '', ...
PypiClean
/datasette-surveys-1.1.8.tar.gz/datasette-surveys-1.1.8/datasette_surveys/static/lib/ace-builds/src/mode-apache_conf.js
define("ace/mode/apache_conf_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var ApacheConfHighlightRules = ...
PypiClean
/RsCMPX_NrFr2Meas-4.0.185-py3-none-any.whl/RsCMPX_NrFr2Meas/Implementations/Configure/NrMmwMeas/ListPy/Segment/Cc/Allocation/Pusch/Sgeneration.py
from .........Internal.Core import Core from .........Internal.CommandsGroup import CommandsGroup from .........Internal.Types import DataType from .........Internal.StructBase import StructBase from .........Internal.ArgStruct import ArgStruct from .........Internal.ArgSingleList import ArgSingleList from .........Int...
PypiClean
/pykeen-1.10.0.tar.gz/pykeen-1.10.0/docs/source/api/pykeen.metrics.ValueRange.rst
ValueRange ========== .. currentmodule:: pykeen.metrics .. autoclass:: ValueRange :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~ValueRange.lower ~ValueRange.lower_inclusive ~ValueRange.upper ~ValueRange.upper_inclusive .. rubric:: Methods Summary .. au...
PypiClean
/invenio-pages-3.0.1.tar.gz/invenio-pages-3.0.1/invenio_pages/administration/views/pages.py
"""Invenio administration pages view module.""" from invenio_administration.views.base import ( AdminResourceDetailView, AdminResourceEditView, AdminResourceListView, ) from invenio_i18n import lazy_gettext as _ class PageListView(AdminResourceListView): """Configuration for pages list view.""" ...
PypiClean
/bte-pytorch-0.0.1.5rc0.tar.gz/bte-pytorch-0.0.1.5rc0/bte/utils/indexs.py
import torch import itertools import math import functools from typing import Tuple, List def next_index(idx): M=len(idx) s=idx[-1] idx[-1]=0 for n in range(M-1,0,-1): if(idx[n-1]>0): idx[n]=s+1 idx[n-1]=idx[n-1]-1; return idx idx[0]=s+1 return idx ...
PypiClean
/azure-mgmt-dnsresolver-1.1.0b1.zip/azure-mgmt-dnsresolver-1.1.0b1/azure/mgmt/dnsresolver/aio/operations/_virtual_network_links_operations.py
import sys 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, Resourc...
PypiClean
/steelscript.appresponse-2.0.2.tar.gz/steelscript.appresponse-2.0.2/steelscript/appresponse/commands/sources.py
# Copyright (c) 2019 Riverbed Technology, Inc. # # This software is licensed under the terms and conditions of the MIT License # accompanying the software ("License"). This software is distributed "AS IS" # as set forth in the License. """ List all the sources that the given AppResponse appliance supports. """ fro...
PypiClean
/GoogleScraper-0.2.4.tar.gz/GoogleScraper-0.2.4/README.md
# GoogleScraper - Scraping search engines professionally ## New News - August 2018 For questions you can [contact me on my wegpage](https://incolumitas.com/) and write me an email there. This project is back to live after two years of abandonment. In the coming weeks, I will take some time to update all functionalit...
PypiClean
/FreePyBX-1.0-RC1.tar.gz/FreePyBX-1.0-RC1/freepybx/public/js/dojox/html/README
------------------------------------------------------------------------------- dojox.html ------------------------------------------------------------------------------- Version 0.2 Release date: 04/24/2008 ------------------------------------------------------------------------------- Project state: beta ------------...
PypiClean
/monk_keras_cpu-0.0.1-py3-none-any.whl/monk/pytorch/datasets/params.py
from monk.pytorch.datasets.imports import * from monk.system.imports import * @accepts([int, tuple], dict, post_trace=False) #@TraceFunction(trace_args=False, trace_rv=False) def set_input_size(input_size, system_dict): ''' Set Input data size Args: input_size (int, tuple): Single integer in case...
PypiClean
/Firefly_III_API_Client-2.0.5.0-py3-none-any.whl/firefly_iii_client/paths/v1_autocomplete_currencies_with_code/get.py
from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from firefly_iii_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 re...
PypiClean
/blue_interface-0.1.tar.gz/blue_interface-0.1/blue_interface/rosbridge_client.py
import json import threading import time import uuid from pydispatch import dispatcher from ws4py.client.threadedclient import WebSocketClient class ROSBridgeClient(WebSocketClient): """ROSBridgeClient extends WebSocketClient and manages connection to the server and all interactions with ROS. It keeps a re...
PypiClean
/aws_okta_keyman-0.9.0.tar.gz/aws_okta_keyman-0.9.0/aws_okta_keyman/aws.py
import configparser import datetime import json import logging import os import re import boto3 import botocore import bs4 import requests from aws_okta_keyman.aws_saml import SamlAssertion LOG = logging.getLogger(__name__) class InvalidSaml(BaseException): """Raised when the SAML Assertion is invalid for some...
PypiClean
/omnihost-0.2.1.tar.gz/omnihost-0.2.1/README.md
# OMNIHOST A tool for those who would like to host native gemini content in parallel on the web as well as gopherspace. ## Description Easily convert a directory full of gemtext markup into HTML and (eventually) gophermaps. This tool is a work it progress. It should not be considered stable before the v1.0.0 releas...
PypiClean
/nni_upload_test-0.7.1904290925-py3-none-win_amd64.whl/nni_upload_test-0.7.1904290925.data/data/nni/node_modules/proxy-addr/index.js
'use strict' /** * Module exports. * @public */ module.exports = proxyaddr module.exports.all = alladdrs module.exports.compile = compile /** * Module dependencies. * @private */ var forwarded = require('forwarded') var ipaddr = require('ipaddr.js') /** * Variables. * @private */ var DIGIT_REGEXP = /^[0-...
PypiClean
/mobPushSdkV3-2.0.0.tar.gz/mobPushSdkV3-2.0.0/mobpush/PushV3Client.py
from mobpush.SendRequest import Send from mobpush.PushWorkBuilder import PushWorkBuilder class PushV3Client(object): baseUrl = "http://api.push.mob.com" PUSH_URI = '/v3/push/createPush' GET_BY_WORKID_URI = '/v3/push/getByWorkId' GET_BY_WORKNO_URI = '/v3/push/getByWorkno' CANCEL_TASK_URI = '/push/d...
PypiClean
/contact_map-0.7.0.tar.gz/contact_map-0.7.0/contact_map/min_dist.py
import collections import itertools import mdtraj as md class NearestAtoms(object): """ Identify nearest atoms (within a cutoff) to an atom. This was primarily written to quickly look for atoms that are nearly overlapping, but should be extendable to have other uses. Parameters ---------- ...
PypiClean
/zoe_ci-0.1.38.tar.gz/zoe_ci-0.1.38/zoe_ci/work.py
import zoe_ci import os import time import inspect import threading import logging import logging import json import base64 import importlib.util from datetime import datetime from zoe_ci.utils import decodeMessage, hashPath, restartScript, hashFileSHA1, ZoeException from zoe_ci.gpuInfo import GpuInfo logger = loggi...
PypiClean
/rinoh_typeface_texgyrebonum-0.1.1-py3-none-any.whl/rinoh_typeface_texgyrebonum/README-TeX-Gyre-Bonum.txt
########################################################################### ############ The TeX Gyre Collection of Fonts ############ ############ The font Bonum ############ ########################################################################### Font: TeX Gyre ...
PypiClean
/Flask-WeRoBot-0.1.2.zip/Flask-WeRoBot-0.1.2/flask_werobot.py
__version__ = '0.1.2' from werobot.robot import BaseRoBot from flask import Flask class WeRoBot(BaseRoBot): """ 给你的 Flask 应用添加 WeRoBot 支持。 你可以在实例化 WeRoBot 的时候传入一个 Flask App 添加支持: :: app = Flask(__name__) robot = WeRoBot(app) 或者也可以先实例化一个 WeRoBot ,然后通过 ``init_app`` 来给应用添加支持 :: ...
PypiClean
/django_billjobs-0.10.0-py3-none-any.whl/billjobs/views.py
from django.forms import ModelForm, ValidationError from django.http import HttpResponse from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User, Group from django.utils.translation import gettext as _ from reportlab.pdfgen impo...
PypiClean
/pykeen-1.10.0.tar.gz/pykeen-1.10.0/docs/source/api/pykeen.metrics.ranking.AdjustedGeometricMeanRankIndex.rst
AdjustedGeometricMeanRankIndex ============================== .. currentmodule:: pykeen.metrics.ranking .. autoclass:: AdjustedGeometricMeanRankIndex :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~AdjustedGeometricMeanRankIndex.binarize ~AdjustedGeometricMeanRankIndex.clos...
PypiClean
/omero-fpbioimage-0.4.1.tar.gz/omero-fpbioimage-0.4.1/omero_fpbioimage/static/fpbioimage/FPBioimage/download.js
(function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define([], factory); } else if (typeof exports === 'object') { // Node. Does not work with strict CommonJS, but // only CommonJS-like environments that support module.exports, // like Node...
PypiClean
/odoo_addon_purchase_receipt_expectation_manual_split-15.0.2.0.0.1-py3-none-any.whl/odoo/addons/purchase_receipt_expectation_manual_split/models/purchase_order_line.py
from odoo import api, fields, models from odoo.tools import float_is_zero class PurchaseOrderLine(models.Model): _inherit = "purchase.order.line" product_qty_pre_split = fields.Float( digits="Product Unit of Measure", string="Pre-split Original Qty", readonly=True, ) manually...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/ember-data/node_modules/babel-core/lib/api/node.js
"use strict"; exports.__esModule = true; exports.transformFromAst = exports.transform = exports.analyse = exports.Pipeline = exports.OptionManager = exports.traverse = exports.types = exports.messages = exports.util = exports.version = exports.resolvePreset = exports.resolvePlugin = exports.template = exports.buildExt...
PypiClean
/facebook_business-17.0.4.tar.gz/facebook_business-17.0.4/facebook_business/adobjects/eventsourcegroup.py
# You are hereby granted a non-exclusive, worldwide, royalty-free license to # use, copy, modify, and distribute this software in source code or binary # form for use in connection with the web services and APIs provided by # Facebook. # As with any software that integrates with the Facebook platform, your use # of t...
PypiClean
/mysmile-0.7.2.tar.gz/mysmile-0.7.2/mysmile/settings/base.py
import os, sys import datetime # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), '..') # APP CONFIGURATION DJANGO_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes...
PypiClean
/google-cloud-recommendations-ai-0.10.4.tar.gz/google-cloud-recommendations-ai-0.10.4/google/cloud/recommendationengine_v1beta1/services/catalog_service/async_client.py
from collections import OrderedDict import functools import re from typing import ( Dict, Mapping, MutableMapping, MutableSequence, Optional, Sequence, Tuple, Type, Union, ) from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.ap...
PypiClean
/django-publications-1.1.0.tar.gz/django-publications-1.1.0/publications/admin_views/import_bibtex.py
__license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>' __author__ = 'Lucas Theis <lucas@theis.io>' __docformat__ = 'epytext' import re import publications.six as six from django.shortcuts import render from django.contrib.admin.views.decorators import staff_member_required from django.contrib...
PypiClean
/django-sysace-1.2.8.tar.gz/django-sysace-1.2.8/ace/static/js/tinymce/plugins/paste/plugin.dev.js
(function(exports) { "use strict"; var html = "", baseDir; var modules = {}, exposedModules = [], moduleCount = 0; var scripts = document.getElementsByTagName('script'); for (var i = 0; i < scripts.length; i++) { var src = scripts[i].src; if (src.indexOf('/plugin.dev.js') != -1) { baseDir = src.substrin...
PypiClean
/minapip1-2.1.1.tar.gz/minapip1-2.1.1/convo/core/interpreter.py
import aiohttp import logging import os from typing import Text, Dict, Any, Union, Optional from convo.core import constants from convo.shared.core.trackers import DialogueStateTracker from convo.shared.nlu.constants import INTENT_NAME_KEY import convo.shared.utils.io import convo.shared.utils.common import convo.sh...
PypiClean
/ansible-base-2.10.17.tar.gz/ansible-base-2.10.17/docs/docsite/rst/scenario_guides/vmware_scenarios/vmware_external_doc_links.rst
.. _vmware_external_doc_links: ***************************** Other useful VMware resources ***************************** * `VMware API and SDK Documentation <https://www.vmware.com/support/pubs/sdk_pubs.html>`_ * `VCSIM test container image <https://quay.io/repository/ansible/vcenter-test-container>`_ * `Ansible VMwa...
PypiClean
/cupkb-1.0.4.tar.gz/cupkb-1.0.4/wikisql/annotate.py
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser import os import records import ujson as json from stanza.nlp.corenlp import CoreNLPClient from tqdm import tqdm import copy from lib.common import count_lines, detokenize from lib.query import Query client = None def annotate(sentence, lower=True):...
PypiClean
/peek-plugin-diagram-3.4.11.tar.gz/peek-plugin-diagram-3.4.11/peek_plugin_diagram/_private/server/client_handlers/BranchIndexChunkLoadRpc.py
import logging from vortex.Tuple import Tuple from vortex.rpc.RPC import vortexRPC from peek_abstract_chunked_index.private.server.client_handlers.ACIChunkLoadRpcABC import ( ACIChunkLoadRpcABC, ) from peek_plugin_base.PeekVortexUtil import peekBackendNames from peek_plugin_base.PeekVortexUtil import peekServerNa...
PypiClean
/MegEngine-1.13.1-cp37-cp37m-macosx_10_14_x86_64.whl/megengine/module/external.py
import numpy as np from ..functional.external import ( atlas_runtime_opr, cambricon_runtime_opr, extern_opr_subgraph, magicmind_runtime_opr, tensorrt_runtime_opr, ) from .module import Module class ExternOprSubgraph(Module): r"""Load a serialized ExternOpr subgraph. See :func:`~.extern_o...
PypiClean
/AIfES_Converter-1.0.0-py3-none-any.whl/aifes/pytorch_extractor/pytorch_extractor.py
from .pytorch_extractor_utils import get_layer_list from ..support.aifes_model import * try: import torch from torch.nn import Module from torch.nn import Linear from torch.nn import ELU, LeakyReLU, ReLU, Sigmoid, Softmax, Softsign, Tanh except ImportError as err: raise ImportError("PyTorch is not ...
PypiClean
/google_pasta-0.2.0-py3-none-any.whl/pasta/base/annotate.py
"""Annotate python syntax trees with formatting from the source file.""" # Copyright 2017 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LI...
PypiClean
/covid19_big-1.0.0-py3-none-any.whl/covid19_big/web/assets/js/peta11.js
require(["esri/Map","esri/views/MapView","esri/layers/GeoJSONLayer","esri/layers/FeatureLayer","esri/widgets/TimeSlider","esri/widgets/Expand","esri/widgets/Home","esri/widgets/Legend","esri/widgets/LayerList","esri/widgets/BasemapGallery","esri/widgets/Fullscreen","esri/widgets/Zoom","esri/layers/MapImageLayer","esri/...
PypiClean
/ftw.labels-2.0.1.tar.gz/ftw.labels-2.0.1/ftw/labels/browser/resources/select2.min.js
!function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++d<e&&(c.context=c[0]=this[d])&&b.call(c[0],d,c)!==!1;);return this}})}(jQuery),function(a,b){"use strict";function n(b){var c=a(document.createTextNode(""));b.before(c),c.before(b),c.remove()}function o(a...
PypiClean
/vioneta-2023.7.3.tar.gz/vioneta-2023.7.3/homeassistant/components/lacrosse_view/config_flow.py
from __future__ import annotations from collections.abc import Mapping import logging from typing import Any from lacrosse_view import LaCrosse, Location, LoginError import voluptuous as vol from homeassistant import config_entries from homeassistant.core import HomeAssistant from homeassistant.data_entry_flow impor...
PypiClean
/streamlit-code-editor-0.1.10.tar.gz/streamlit-code-editor-0.1.10/code_editor/frontend/build/877fd48e980be7b27a5be8709dfb4137.js
ace.define("ace/mode/fortran_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,o=function(){var e=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":...
PypiClean
/com.precisely.apis-16.0.3-py3-none-any.whl/com/precisely/apis/model/place.py
import re # noqa: F401 import sys # noqa: F401 from com.precisely.apis.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type,...
PypiClean
/Unidecode-1.3.6.tar.gz/Unidecode-1.3.6/unidecode/x00c.py
data = ( None, # 0x00 'N', # 0x01 'N', # 0x02 'H', # 0x03 None, # 0x04 'a', # 0x05 'aa', # 0x06 'i', # 0x07 'ii', # 0x08 'u', # 0x09 'uu', # 0x0a 'R', # 0x0b 'L', # 0x0c None, # 0x0d 'e', # 0x0e 'ee', # 0x0f 'ai', # 0x10 None, # 0x11 'o', # 0x12 'oo', # 0x13 '...
PypiClean