id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/youtrack_python_openapi-2023.1-py3-none-any.whl/you_track_rest_api_client/api/default/get_tags.py
from http import HTTPStatus from typing import Any, Dict, Optional, Union import httpx from ... import errors from ...client import Client from ...types import UNSET, Response, Unset def _get_kwargs( *, client: Client, fields: Union[Unset, None, str] = "$type,id,name,owner($type,id,login,ringId)", s...
PypiClean
/cloud_builder-1.0.7.tar.gz/cloud_builder-1.0.7/cloud_builder/project_metadata/project_metadata.py
import os import yaml from cerberus import Validator from cloud_builder.project_metadata.project_metadata_schema import ( project_metadata_schema ) from cloud_builder.cloud_logger import CBCloudLogger from cloud_builder.broker import CBMessageBroker from cloud_builder.response.response import CBResponse from cloud_...
PypiClean
/bluesky_httpserver-0.0.11-py3-none-any.whl/bluesky_httpserver/routers/core_api.py
import asyncio import io import logging import pprint from typing import Optional import pydantic from bluesky_queueserver.manager.conversions import simplify_plan_descriptions, spreadsheet_to_plan_list from fastapi import APIRouter, Depends, File, Form, Request, Security, UploadFile from packaging import version if ...
PypiClean
/PyMedTermino-0.3.3.tar.gz/PyMedTermino-0.3.3/scripts/import_snomedct.py
# This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be usefu...
PypiClean
/barman-3.8.0.tar.gz/barman-3.8.0/doc/manual/55-barman-cli.en.md
\newpage # Barman client utilities (`barman-cli`) Formerly a separate open-source project, `barman-cli` has been merged into Barman's core since version 2.8, and is distributed as an RPM/Debian package. `barman-cli` contains a set of recommended client utilities to be installed alongside the PostgreSQL server: - `ba...
PypiClean
/pyElli-0.18.1.tar.gz/pyElli-0.18.1/src/elli/fitting/params_hist.py
to keep track of the changes made to the parameters.""" # Encoding: utf-8 import copy from typing import List try: from lmfit import Parameters except ImportError as e: raise ImportError( "This module requires lmfit to work properly.\n" "Try installing this package with the additional fitting r...
PypiClean
/pytigre-0.1.8.tar.gz/pytigre-0.1.8/tigre/demos/d01_create_geometry.ipynb
# Demo 01: Describing your geometry To see a demo of what the geometry paramterers should look like, do as follows: ``` import tigre geo = tigre.geometry_default(high_quality = False) print(geo) ``` We recommend using the template below and defining you're class as such: ``` from __future__ import division import...
PypiClean
/django_apar-2.0.15-py3-none-any.whl/aparnik/contrib/province/migrations/0001_initial.py
from django.db import migrations, models import django.db.models.deletion def load_from_fixture(apps, schema_editor): from django.core.management import call_command call_command("loaddata", "province.json") def delete(apps, schema_editor): # Store = apps.get_model("stores", "Store") # Store.object...
PypiClean
/pulumi_azure-5.50.0a1693462503.tar.gz/pulumi_azure-5.50.0a1693462503/pulumi_azure/paloalto/get_local_rulestack.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'GetLocalRulestackResult', 'AwaitableGetLocalRulestackResult', 'get_local_rulestack', 'get_local_rulestack_output', ] @pulumi.outp...
PypiClean
/coastviewer-0.1.12.tar.gz/coastviewer-0.1.12/CONTRIBUTING.rst
.. highlight:: shell ============ Contributing ============ Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given. You can contribute in many ways: Types of Contributions ---------------------- Report Bugs ~~~~~~~~~~~ Report bugs at https://github.com...
PypiClean
/panorama_sidekick-0.1.3.tar.gz/panorama_sidekick-0.1.3/README.md
<h2 align="center">A Palo Alto Panorama Sidekick</h2> [![CI](https://github.com/johnjtorres/panorama-sidekick/actions/workflows/main.yml/badge.svg)](https://github.com/johnjtorres/panorama-sidekick/actions/workflows/main.yml) ## Features - Print a list of managed device groups. ## TODO - Print a list of managed fi...
PypiClean
/py-binance-chain-0.2.tar.gz/py-binance-chain-0.2/py_binance_chain/ledger/client.py
import re import binascii from typing import Optional from btchip.btchip import writeUint32LE, BTChipException from py_binance_chain.environment import BinanceEnvironment from py_binance_chain.ledger.exceptions import LedgerRequestException class LedgerApp: BNC_CLA = 0xbc BNC_INS_GET_VERSION = 0x00 BNC...
PypiClean
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/domain/AlipayFundCouponOrderDisburseModel.py
import json from alipay.aop.api.constant.ParamConstants import * class AlipayFundCouponOrderDisburseModel(object): def __init__(self): self._amount = None self._deduct_auth_no = None self._deduct_out_order_no = None self._extra_param = None self._order_title = None ...
PypiClean
/Products.TinyMCE-1.4.3.tar.gz/Products.TinyMCE-1.4.3/Products/TinyMCE/skins/tinymce/plugins/AtD/readme.html
<html> <head> <title>After the Deadline TinyMCE Plugin</title> </head> <body> <h1>After the Deadline for TinyMCE - README</h1> <p><a href="http://www.afterthedeadline.com">After the Deadline</a> is an <a href="http://open.afterthedeadline.com">open source</a> software service that checks <a href="http:/...
PypiClean
/vboxn-0.2.3.tar.gz/vboxn-0.2.3/ez_setup.py
import sys DEFAULT_VERSION = "0.6c11" DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" % sys.version[:3] md5_data = { 'setuptools-0.6b1-py2.3.egg': '8822caf901250d848b996b7f25c6e6ca', 'setuptools-0.6b1-py2.4.egg': 'b79a8a403e4502fbb85ee3f1941735cb', 'setuptools-0.6b2-py2.3.egg': '565775...
PypiClean
/astratomo-1.8b2.tar.gz/astratomo-1.8b2/astra-toolbox/README.md
# The ASTRA Toolbox The ASTRA Toolbox is a MATLAB and Python toolbox of high-performance GPU primitives for 2D and 3D tomography. We support 2D parallel and fan beam geometries, and 3D parallel and cone beam. All of them have highly flexible source/detector positioning. A large number of 2D and 3D algorithms are av...
PypiClean
/pydavis-0.1.1.tar.gz/pydavis-0.1.1/docs/pydavis.rst
pydavis package =============== Submodules ---------- pydavis\.data\_logging module ----------------------------- .. automodule:: pydavis.data_logging :members: :undoc-members: :show-inheritance: pydavis\.db\_manager module --------------------------- .. automodule:: pydavis.db_manager :members: ...
PypiClean
/labbox-ephys-widgets-jp-0.1.10.tar.gz/labbox-ephys-widgets-jp-0.1.10/js/lib/extensions/common/useFetchCache.js
import objectHash from 'object-hash'; import { useEffect, useMemo, useReducer, useRef, useState } from "react"; const initialFetchCacheState = { data: {}, activeFetches: {} }; const fetchCacheReducer = (state, action) => { switch (action.type) { case 'clear': { return initialFetchCacheSt...
PypiClean
/creationism-0.0.5.tar.gz/creationism-0.0.5/README.md
[![tests](https://github.com/martvanrijthoven/creationism/actions/workflows/tests.yml/badge.svg)](https://github.com/martvanrijthoven/creationism/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/martvanrijthoven/creationism/branch/main/graph/badge.svg?token=2GG651W294)](https://codecov.io/gh/martvanrijtho...
PypiClean
/swh.graph-3.0.1.tar.gz/swh.graph-3.0.1/docs/memory.rst
.. _swh-graph-memory: Memory & Performance tuning =========================== This page discusses various considerations related to memory usage and performance tuning when using the ``swh-graph`` library to load large compressed graphs. JVM options ----------- In production, we tend to use very large servers which...
PypiClean
/ooouno-2.1.2-py3-none-any.whl/ooo/lo/accessibility/x_accessible_value.py
from __future__ import annotations from abc import abstractmethod from ..uno.x_interface import XInterface as XInterface_8f010a43 class XAccessibleValue(XInterface_8f010a43): """ Implement this interface to give access to a single numerical value. The XAccessibleValue interface represents a single num...
PypiClean
/telliot_feeds-0.1.11.tar.gz/telliot_feeds-0.1.11/src/telliot_feeds/sources/price/spot/coinpaprika.py
from dataclasses import dataclass from dataclasses import field from typing import Any from urllib.parse import urlencode from telliot_feeds.dtypes.datapoint import datetime_now_utc from telliot_feeds.dtypes.datapoint import OptionalDataPoint from telliot_feeds.pricing.price_service import WebPriceService from telliot...
PypiClean
/pulumi_pagerduty-3.12.0a1693029616.tar.gz/pulumi_pagerduty-3.12.0a1693029616/pulumi_pagerduty/escalation_policy.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities from . import outputs from ._inputs import * __all__ = ['EscalationPolicyArgs', 'EscalationPolicy'] @pulumi.input_type class EscalationPolicyArgs: def __in...
PypiClean
/armory_testbed-0.18.1-py3-none-any.whl/armory/scenarios/object_detection.py
from armory.instrument.export import ( CocoBoxFormatMeter, ExportMeter, ObjectDetectionExporter, ) from armory.scenarios.image_classification import ImageClassificationTask class ObjectDetectionTask(ImageClassificationTask): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs...
PypiClean
/home_assistant_frontend-20230901.0-py3-none-any.whl/hass_frontend/frontend_latest/86643-BMWGp3XwXDA.js
export const id=86643;export const ids=[86643];export const modules={74834:(t,i,e)=>{var o=e(17463),a=e(14271),n=e(68144),d=e(79932),l=e(3712);(0,o.Z)([(0,d.Mo)("ha-button")],(function(t,i){return{F:class extends i{constructor(...i){super(...i),t(this)}},d:[{kind:"field",static:!0,key:"styles",value:()=>[l.W,n.iv`::slo...
PypiClean
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/request/KoubeiMemberDataOutuserinfoModifyRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.KoubeiMemberDataOutuserinfoModifyModel import KoubeiMemberDataOutuserinfoModifyModel class KoubeiMemberDataOutuserinfoModifyRequest(object): def __init__(self, biz_model=Non...
PypiClean
/pyhealthvault-1.0.1a0.tar.gz/pyhealthvault-1.0.1a0/src/healthvaultlib/objects/thinggroup.py
from lxml import etree from healthvaultlib.exceptions.healthserviceexception import HealthServiceException class ThingGroup(): ''' ThingGroup acts as a filter for the GetThings request. Attributes: filters Specifies a filter for things to be retrieved ...
PypiClean
/RJUtils-1.2.2-py3-none-any.whl/rj_utils/utils_port_reforward.py
import socket import threading """ 端口转发 """ """ 端口映射配置信息 入口-> 本地接收地址 -> 远端监听地址 """ # 接收数据缓存大小 PKT_BUFF_SIZE = 2048 # 调试日志封装 def __send_log(content): print(content) def __tcp_mapping_worker(conn_receiver, conn_sender): """ 单向流数据传递 :param conn_receiver: 接收socket :param conn_sender: 发送socket ...
PypiClean
/nniv04-0.4.1-py3-none-any.whl/nniv04-0.4.1.data/data/nni/node_modules/once/README.md
# once Only call a function once. ## usage ```javascript var once = require('once') function load (file, cb) { cb = once(cb) loader.load('file') loader.once('load', cb) loader.once('error', cb) } ``` Or add to the Function.prototype in a responsible way: ```javascript // only has to be done once require('...
PypiClean
/pulumi_yandex_unofficial-0.1.8.tar.gz/pulumi_yandex_unofficial-0.1.8/pulumi_yandex_unofficial/get_client_config.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = [ 'GetClientConfigResult', 'AwaitableGetClientConfigResult', 'get_client_config', ] @pulumi.output_type class GetClientConfigResult: ...
PypiClean
/Sagittarius_api_test-0.13-py3-none-any.whl/Sagittarius/simulate_measurements.py
import os import sys from typing import List import anndata sys.path.append(os.path.join(sys.path[0], '../')) # import api_utils import numpy as np from Sagittarius import api_utils def simulate_single_EvoDevo(model_file: str, config_file: str, species: str, organ: str, timepoint: List...
PypiClean
/rs-django-jet-1.0.10.tar.gz/rs-django-jet-1.0.10/jet/static/jet/js/src/features/compact-inline.js
var $ = require('jquery'); var CompactInline = function($inline) { this.$inline = $inline; this.prefix = $inline.data('inline-prefix'); this.verboseName = $inline.data('inline-verbose-name'); this.deleteText = $inline.data('inline-delete-text'); }; CompactInline.prototype = { updateLabels: functio...
PypiClean
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js
'use strict'; const elementType = require('jsx-ast-utils/elementType'); const pragmaUtil = require('../util/pragma'); const variableUtil = require('../util/variable'); const versionUtil = require('../util/version'); const docsUrl = require('../util/docsUrl'); // -------------------------------------------------------...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/network/get_private_dns_zone_group.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilities, _tables from . import outputs __all__ = [ 'GetPrivateDnsZoneGroupResult', 'AwaitableGetPrivateDnsZoneGroupResult', 'get_private_dns_zone_group', ] @pulumi.output_type ...
PypiClean
/echarts-china-counties-pypkg-0.0.2.tar.gz/echarts-china-counties-pypkg-0.0.2/echarts_china_counties_pypkg/resources/echarts-china-counties-js/950691ff83ed17c6491e6fc324a452da.js
(function (root, factory) {if (typeof define === 'function' && define.amd) {define(['exports', 'echarts'], factory);} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {factory(exports, require('echarts'));} else {factory({}, root.echarts);}}(this, function (exports, echarts) {var log = func...
PypiClean
/de_ausbildungssuche-0.1.0-py3-none-any.whl/deutschland/ausbildungssuche/model/response_aggregations_anbieter214069.py
import re # noqa: F401 import sys # noqa: F401 from deutschland.ausbildungssuche.exceptions import ApiAttributeError from deutschland.ausbildungssuche.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, OpenApiModel, cached_property, change_keys_js_to...
PypiClean
/ciefunctions-1.0.2.tar.gz/ciefunctions-1.0.2/tc1_97/MathJax-2.7.5/localization/br/HelpDialog.js
MathJax.Localization.addTranslation("br","HelpDialog",{version:"2.7.5",isLoaded:true,strings:{Help:"Sikour MathJax",MathJax:"*MathJax* zo ul levraoueg JavaSkript. Ganta\u00F1 e c'hall aozerien ar pajenno\u00F9 enderc'hel jedado\u00F9 en o fajenno\u00F9 Web. Evel lenner n'ho po ket ezhomm d'ober netra evit ma'z aio en-d...
PypiClean
/corpus_statistics-0.1.1-py3-none-any.whl/corpus_statistics/component_advanced.py
import array import functools import operator from collections import Counter, defaultdict from functools import cached_property from pathlib import Path from typing import Callable, Dict, List, NamedTuple, Union import numpy as np import scipy.sparse as sp import srsly from spacy.language import Language from spacy.t...
PypiClean
/fireflyai-0.0.61.tar.gz/fireflyai-0.0.61/README.md
# Firefly.ai Python SDK Firefly.ai python SDK ## Documentation https://firefly-python-sdk.readthedocs.io/en/latest/ ### Example notebook: https://github.com/NeuralAlgorithms/firefly-python-sdk/blob/master/examples/SDK_example.ipynb #### Example notebook using google colab: https://colab.research.google.com/github/N...
PypiClean
/brifuture_facilities-0.0.2a1-py3-none-any.whl/bffacilities/paperUtil.py
__version__ = '0.0.1' from ._util import createLogger, initGetText tr = initGetText("gitrepo") logger = createLogger("gitrepo.log", stream=True) from ._frame import Frame from pathlib import Path from argparse import ArgumentParser import os from colorama import Fore, Style class PaperUtil(Frame): def __init__(s...
PypiClean
/monk_keras_cpu_test-0.0.11.tar.gz/monk_keras_cpu_test-0.0.11/monk/gluon/finetune/level_3_training_base.py
from monk.gluon.finetune.imports import * from monk.system.imports import * from monk.gluon.finetune.level_2_model_base import finetune_model class finetune_training(finetune_model): ''' Base class for training and associated functions Args: verbose (int): Set verbosity levels ...
PypiClean
/Captcha_Net-0.2.3.tar.gz/Captcha_Net-0.2.3/Captcha_Net/CenterNet/CenterNetModule.py
import torch from torch.utils.data import DataLoader from tqdm import tqdm from deeplearning_tools.networks import centernet from deeplearning_tools.utils.image import to_rgb from deeplearning_tools.utils import box as bounding_box import torchvision.transforms as T import torch.nn.functional as F import numpy as np im...
PypiClean
/codemagic_cli_tools-0.42.1-py3-none-any.whl/codemagic/tools/google_play/action_groups/tracks_action_group.py
import json from abc import ABCMeta from typing import List from codemagic import cli from codemagic.google_play import GooglePlayDeveloperAPIClientError from codemagic.google_play.resources import Track from ..arguments import GooglePlayArgument from ..arguments import TracksArgument from ..errors import GooglePlayE...
PypiClean
/perm_banana-0.2.1-py3-none-any.whl/perm_banana/PermissionHandler.py
from typing import Dict, Union from copy import deepcopy from .Permission import Permission class PermissionHandler: """Finds the given permissions of a user and contains them for their respective""" def __init__(self, permission: Permission, children: Dict[int, "PermissionHandler"] = None): self.pe...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/compute/v20190701/virtual_machine_scale_set_extension.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __all__ = ['VirtualMachineScaleSetExtension'] class VirtualMachineScaleSetExtension(pulumi.CustomResource): def __init__(__self__, resource_name: st...
PypiClean
/airbyte-cdk-velocity-amazon-0.1.1.tar.gz/airbyte-cdk-velocity-amazon-0.1.1/airbyte_cdk/sources/abstract_source.py
import copy from abc import ABC, abstractmethod from datetime import datetime from typing import Any, Iterator, List, Mapping, MutableMapping, Optional, Tuple from airbyte_cdk.logger import AirbyteLogger from airbyte_cdk.models import ( AirbyteCatalog, AirbyteConnectionStatus, AirbyteMessage, Airbyte...
PypiClean
/colossalai-nightly-2023.9.2.tar.gz/colossalai-nightly-2023.9.2/colossalai/auto_parallel/tensor_shard/node_handler/transpose_handler.py
from typing import Dict, List import torch from ..sharding_strategy import OperationData, OperationDataType from .node_handler import NodeHandler from .registry import operator_registry from .strategy import StrategyGenerator, TransposeGenerator __all__ = ['TransposeHandler'] @operator_registry.register(torch.Tens...
PypiClean
/galois-0.3.4.tar.gz/galois-0.3.4/docs/basic-usage/array-creation.rst
Array Creation ============== This page discusses the multiple ways to create arrays over finite fields. For this discussion, we are working in the finite field :math:`\mathrm{GF}(3^5)`. .. ipython-with-reprs:: int,poly,power GF = galois.GF(3**5) print(GF.properties) alpha = GF.primitive_element; alpha Cre...
PypiClean
/django_coreplus-0.4-py3-none-any.whl/coreplus/heralds/api/v1/viewsets.py
import logging from django.apps import apps as django_apps from django.conf import settings from django.contrib.auth import get_user_model from django.db import transaction from django.shortcuts import get_object_or_404 from django.utils.translation import gettext_lazy as _ from django_filters.rest_framework import D...
PypiClean
/alipay-python-3.3.17.tar.gz/alipay-python-3.3.17/alipay/aop/api/domain/AlipaySecurityProdSignatureTaskApplyModel.py
import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.SignDataInfo import SignDataInfo from alipay.aop.api.domain.SignTask import SignTask class AlipaySecurityProdSignatureTaskApplyModel(object): def __init__(self): self._biz_app = None self._biz_id = None ...
PypiClean
/ais_dom_frontend-20230831.0-py3-none-any.whl/hass_frontend/frontend_es5/6469-K7uC4Mm-f04.js
"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[6469],{3239:function(e,t,i){i.d(t,{Z:function(){return n}});var a=i(76775);function n(e){if(!e||"object"!=(0,a.Z)(e))return e;if("[object Date]"==Object.prototype.toString.call(e))return new Date(e.getTime());if(...
PypiClean
/BatAnalysis-1.0.2.tar.gz/BatAnalysis-1.0.2/README.md
<!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or simply open an issue with the tag "enhancement". *** Thanks again! Now go create something AMAZING! :D *** *** *** *** To avoid retyping too much i...
PypiClean
/ros-cdk-flink-1.0.17.tar.gz/ros-cdk-flink-1.0.17/src/ros_cdk_flink/__init__.py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions from typeguard import check_type from ._jsii import * import ros_cdk_core as _ros_cdk_core_7adfd82f class Instance( _ros_cdk_core_7adfd82f.Resource, metaclass=jsii.JSIIMeta, jsi...
PypiClean
/ansible-8.3.0-py3-none-any.whl/ansible_collections/netapp/ontap/plugins/modules/na_ontap_ldap_client.py
from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' module: na_ontap_ldap_client short_description: NetApp ONTAP LDAP client extends_documentation_fragment: - netapp.ontap.netapp.na_ontap version_added: 2.9.0 author: Milan Zink (@zeten30) <zeten30@gmail.com>...
PypiClean
/django-material-orange-0.11.6.tar.gz/django-material-orange-0.11.6/material/base.py
import re import warnings from functools import partial from django.template import TemplateDoesNotExist from django.template.loader import get_template, select_template from django.utils import six from django.utils.encoding import smart_text class LayoutNode(object): """Base class for self-rendered nodes.""" ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_10/models/rapid_data_locking_response.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flashblade.FB_2_10 import models class RapidDataLockingResponse(object): """ Attributes: swagger_types (dict): The key is attribute name and th...
PypiClean
/Products.MeetingNamur-4.2.0a1.tar.gz/Products.MeetingNamur-4.2.0a1/src/Products/MeetingNamur/adapters.py
from AccessControl import ClassSecurityInfo from AccessControl.class_init import InitializeClass from Products.MeetingNamur.config import WriteDecisionProject from Products.PloneMeeting.model.adaptations import WF_APPLIED, grantPermission from collective.contact.plonegroup.utils import get_organizations from imio.help...
PypiClean
/jenkins-job-builder-5.0.4.tar.gz/jenkins-job-builder-5.0.4/jenkins_jobs/formatter.py
# Manage interpolation of JJB variables into template strings. import _string import logging import re from string import Formatter from jinja2 import Undefined from jinja2.exceptions import UndefinedError from .errors import JenkinsJobsException logger = logging.getLogger(__name__) class CustomFormatter(Formatt...
PypiClean
/odoo12_addon_l10n_ch_payment_slip-12.0.3.3.0-py3-none-any.whl/odoo/addons/l10n_ch_payment_slip/models/invoice.py
from odoo import _, api, exceptions, fields, models from odoo.addons.l10n_ch_base_bank.models.bank import pretty_l10n_ch_postal class AccountMoveLine(models.Model): _inherit = "account.move.line" payment_slip_ids = fields.One2many(comodel_name='l10n_ch.payment_slip', ...
PypiClean
/xotl.tools-2.2.5.tar.gz/xotl.tools-2.2.5/docs/source/history/_changes-1.7.0.rst
This release was mainly focused in providing a new starting point for several other changes. This release is being synchronized with the last release of the 1.6.11 to allow deprecation messages to be included properly. The following is the list of changes: - The `defaults` `xoutil.objects.smart_copy`:func: has being...
PypiClean
/vpv_viewer-2.3.8-py3-none-any.whl/vpv/vpv_temp.py
# Copyright 2016 Medical Research Council Harwell. # # 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 o...
PypiClean
/h2o_lightwave_web-0.26.2-py3-none-any.whl/h2o_lightwave_web/www/wave-static/delphi-20c87528.js
function l(e){const a=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finaliz...
PypiClean
/axiom_py-0.1.0-py3-none-any.whl/axiom/query/result.py
from dataclasses import dataclass, field from datetime import datetime, timedelta from typing import List, Dict, Any, Optional from enum import Enum from .query import QueryLegacy class MessageCode(Enum): """Message codes represents the code associated with the query.""" UNKNOWN_MESSAGE_CODE = "" VIRTUA...
PypiClean
/gen_rpc-1.0.1-py3-none-any.whl/gen_rpc/pro/__init__.py
import sys try: from pathlib import Path from gen_rpc.pro.config import ProConfig from gen_rpc.pro.config.pro_name import ProName from gen_rpc.pro.config.pro_type import ProType from gen_rpc.pro.read_template import ReadTemplate from gen_rpc.pro.write_template import WriteTemplate from ats_...
PypiClean
/pytest-lockable-0.9.2.tar.gz/pytest-lockable-0.9.2/pytest_lockable/plugin.py
import socket import tempfile import pytest from lockable import Lockable def pytest_addoption(parser): """ register argparse-style options and ini-style config values, called once at the beginning of a test run """ group = parser.getgroup("lockable") group.addoption("--allocation_hostname", d...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/image-size/Readme.md
# image-size [![NPM Version](https://img.shields.io/npm/v/image-size.svg)](https://www.npmjs.com/package/image-size) [![Build Status](https://travis-ci.org/image-size/image-size.svg?branch=master)](https://travis-ci.org/image-size/image-size) [![NPM Downloads](https://img.shields.io/npm/dm/image-size.svg)](http://npm-...
PypiClean
/mis_modulos-0.1.tar.gz/mis_modulos-0.1/tensorflow/python/ops/inplace_ops.py
from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import gen_array_ops from tensorflow.python.ops import math_ops from tensorflow.python.util import deprecation def _inplace_helper(x, i, v, op): """Applie...
PypiClean
/ls_trace-0.2.1-cp27-cp27m-manylinux1_i686.whl/ddtrace/span.py
import math import random import sys import traceback from .compat import StringIO, stringify, iteritems, numeric_types, time_ns, is_integer from .constants import ( NUMERIC_TAGS, MANUAL_DROP_KEY, MANUAL_KEEP_KEY, SPAN_MEASURED_KEY, ) from .ext import SpanTypes, errors, priority, net, http from .intern...
PypiClean
/brocolli-caffe-9.0.0.tar.gz/brocolli-caffe-9.0.0/docs/tutorial/layers/lrn.md
--- title: Local Response Normalization (LRN) --- # Local Response Normalization (LRN) * Layer type: `LRN` * [Doxygen Documentation](http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1LRNLayer.html) * Header: [`./include/caffe/layers/lrn_layer.hpp`](https://github.com/BVLC/caffe/blob/master/include/caffe/layers/lr...
PypiClean
/antlr4-python2-runtime-4.13.0.tar.gz/antlr4-python2-runtime-4.13.0/src/antlr4/atn/ATNConfigSet.py
from antlr4.PredictionContext import merge from antlr4.Utils import str_list from antlr4.atn.ATN import ATN from antlr4.atn.SemanticContext import SemanticContext from antlr4.error.Errors import UnsupportedOperationException, IllegalStateException # # Specialized {@link Set}{@code <}{@link ATNConfig}{@code >} that can...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/babel-types/node_modules/lodash/truncate.js
var baseToString = require('./_baseToString'), castSlice = require('./_castSlice'), hasUnicode = require('./_hasUnicode'), isObject = require('./isObject'), isRegExp = require('./isRegExp'), stringSize = require('./_stringSize'), stringToArray = require('./_stringToArray'), toInteger = requi...
PypiClean
/ais_dom-2023.7.2-py3-none-any.whl/homeassistant/components/steamist/__init__.py
from __future__ import annotations from datetime import timedelta from typing import Any from aiosteamist import Steamist from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_HOST, CONF_NAME, Platform from homeassistant.core import HomeAssistant from homeassistant.helpers import ...
PypiClean
/hurry.jqgrid-3.6.2.0.tar.gz/hurry.jqgrid-3.6.2.0/src/hurry/jqgrid/jqgrid-build/js/i18n/grid.locale-sv.js
(function(a){a.jgrid={defaults:{recordtext:"Visar {0} - {1} av {2}",emptyrecords:"Det finns inga poster att visa",loadtext:"Laddar...",pgtext:"Sida {0} av {1}"},search:{caption:"S�k Poster - Ange s�kvillkor",Find:"S�k",Reset:"Nollst�ll Villkor",odata:["lika","ej lika","mindre","mindre eller lika","st�rre","st�rre eller...
PypiClean
/prometeo-cli-1.0.1.tar.gz/prometeo-cli-1.0.1/helpers/table_helper.py
from rich.table import Table from rich.console import Console class TablePrinter: def __init__(self): self._console = Console() def print_accounts(self, accounts): table = Table(show_header=True, header_style="bold magenta") table.add_column('Number') table.add_column('Name') ...
PypiClean
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.py
from __future__ import annotations from dataclasses import dataclass from kiota_abstractions.get_path_parameters import get_path_parameters from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAdapter from kiota_abstractions.request_information import RequestInformation fro...
PypiClean
/ti_teste3-0.2.0.tar.gz/ti_teste3-0.2.0/src/data_pipeline/feature_engineering/key_smash.py
from statistics import mean class KeySmash: """A class for calculating metrics to indicate key smashing behavior in a text. Key smashing is the act of typing on a keyboard in a rapid and uncontrolled manner, often resulting in a series of random characters being entered into a document or text field. ...
PypiClean
/topsis_by_van-0.1.tar.gz/topsis_by_van-0.1/README.md
This is a simple package to use topsis(technique for Order of preference by Similarity to Ideal Solution) approach to select best among many things based on different attributes, such as selecting the best Machine Learning algorithms based on correlation,R-square,root mean square error and accuracy. You can use this si...
PypiClean
/patella-0.1.12.tar.gz/patella-0.1.12/README.rst
A Webservice for Scraping Files and Plotting Data Against Presidential Party Variation ====================================================================================== ``patella`` uses Flask to host an interactive html/css/js frontend through which users can navigate to data and plot it. Flask Url Paths ----...
PypiClean
/jira-history-0.8.1.tar.gz/jira-history-0.8.1/README.rst
============ jira-history ============ Makes working with Jira issue changelogs a breeze! Quickstart ---------- :: >>> issue = jira.issue('JIRA-2204') >>> add_history(issue) >>> issue.history <Changelog 3 entries> >>> issue.history.at(day) {'resolution': ...} Installation ------------ Simp...
PypiClean
/hgvs-1.5.4.tar.gz/hgvs-1.5.4/docs/changelog/1.1/1.1.2.rst
1.1.2 (2018-03-31) ################### Changes since 1.1.1 (2017-11-24). Bug Fixes $$$$$$$$$$ * Fix `#483 <https://github.com/biocommons/hgvs/issues/483/>`_: fix bug when normalizing at first and last base (`#484 <https://github.com/biocommons/hgvs/issues/484/>`_) * Fix `#480 <https://github.com/biocommons/hgvs/iss...
PypiClean
/django-static-html5shiv-3.7.3.3.tar.gz/django-static-html5shiv-3.7.3.3/django_static_html5shiv/static/html5shiv/html5shiv-printshiv.min.js
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=y.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=y.elements;"string"!=typeof c&&...
PypiClean
/vigilant_kit-1.2.8-py3-none-any.whl/vigilant/driver/vigilant_driver.py
import os from selenium import webdriver from vigilant.actions.vigilant_actions import VigilantActions from vigilant.logger import logger as log class VigilantDriver(VigilantActions): """ VigilantDriver class provide methods for running WebDriver instance from scratch using configuration from .vigilant....
PypiClean
/rudi-node-write-0.1.1.tar.gz/rudi-node-write-0.1.1/src/rudi_node_write/utils/file_utils.py
from json import load, dump from os import stat from os.path import exists from pathlib import Path from time import time from typing import Literal from chardet import detect from puremagic import magic_file from rudi_node_write.rudi_types.rudi_const import FileExtensions from rudi_node_write.rudi_types.serializable...
PypiClean
/ARGs_OAP-2.3.2.tar.gz/ARGs_OAP-2.3.2/ARGs_OAP/bin/bbmap/removecatdogmousehuman.sh
usage(){ echo " Written by Brian Bushnell Last modified September 17, 2018 This script requires at least 52GB RAM. It is designed for NERSC and uses hard-coded paths. Description: Removes all reads that map to the cat, dog, mouse, or human genome with at least 95% identity after quality trimming. Removes approximate...
PypiClean
/nnisgf-0.4-py3-none-manylinux1_x86_64.whl/nnisgf-0.4.data/data/nni/node_modules/rx/ts/core/linq/observable/zip.ts
module Rx { export interface ObservableStatic { /** * Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index. * @param arguments Observable sources. ...
PypiClean
/fds.sdk.StocksAPIforDigitalPortals-0.10.12-py3-none-any.whl/fds/sdk/StocksAPIforDigitalPortals/model/inline_response20015_data_performance_end_of_day_months3.py
import re # noqa: F401 import sys # noqa: F401 from fds.sdk.StocksAPIforDigitalPortals.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type...
PypiClean
/dsc-0.4.3.5.tar.gz/dsc-0.4.3.5/src/hdf5io.py
# Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright notice, this # list of conditions and the following disclaimer. # * Redistributions in binary form mu...
PypiClean
/sdksio_juniper_mist_sdk-1.0.0-py3-none-any.whl/mistapi/models/api_v_1_register_request.py
from mistapi.api_helper import APIHelper class ApiV1RegisterRequest(object): """Implementation of the 'Api V1 Register Request' model. TODO: type model description here. Attributes: account_only (bool): skip creating initial setup if true allow_mist (bool): whether to allow Mist to look...
PypiClean
/scikit_hep-2023.8.2-py3-none-any.whl/skhep/math/geometry.py
# ============================================================================= __all__ = ( "Vector3D", ## 3D-vector "Point3D", ## 3D-point "Line3D", ## line in 3D "Plane3D", ## plane in 3D "distance", ## 3D-distance between geometry objects ) # =================================================...
PypiClean
/thibaultlebrun-ralph-malph-3.6.0.tar.gz/thibaultlebrun-ralph-malph-3.6.0/src/ralph/models/xapi/video/fields/results.py
from datetime import timedelta from typing import Optional try: from typing import Literal except ImportError: from typing_extensions import Literal from pydantic import Field, NonNegativeFloat from ...config import BaseExtensionModelWithConfig from ...fields.results import ResultField from ..constants impo...
PypiClean
/soracom_api-0.0.2-py3-none-any.whl/soracom_api/model/create_role_response.py
import re # noqa: F401 import sys # noqa: F401 from soracom_api.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, va...
PypiClean
/bittensor-wallet-0.0.5.tar.gz/bittensor-wallet-0.0.5/bittensor_wallet/wallet_impl.py
# The MIT License (MIT) # Copyright © 2021 Yuma Rao # Copyright © 2022 Opentensor Foundation # Copyright © 2023 Opentensor Technologies Inc # 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 with...
PypiClean
/metadrive_simulator-0.4.1.2-py3-none-any.whl/metadrive/third_party/kitsunetsuki/exporter/gltf/vertex.py
# 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 option) any later version. # This program is distributed in the hope that it will be useful, # bu...
PypiClean
/tensorflow_object_detection-0.0.6.tar.gz/tensorflow_object_detection-0.0.6/tf_object_detection/research/slim/nets/inception_v1.py
"""Contains the definition for inception v1 classification network.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from nets import inception_utils slim = tf.contrib.slim trunc_normal = lambda stddev: tf.truncated_normal_initia...
PypiClean
/dolbyio-rest-apis-4.0.1.tar.gz/dolbyio-rest-apis-4.0.1/client/src/dolbyio_rest_apis/streaming/models/subscribe_token.py
from typing import List from dolbyio_rest_apis.core.helpers import get_value_or_default class SubscribeTokenStream(dict): """The :class:`SubscribeTokenStream` object, which represents a Subscribe Token Stream.""" def __init__(self, dictionary: dict): dict.__init__(self, dictionary) self.strea...
PypiClean
/lck.django-0.8.10.tar.gz/lck.django-0.8.10/src/lck/django/common/monkeys.py
# Copyright (C) 2011 by Łukasz Langa # # 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, d...
PypiClean
/ussd-elastic-apm-5.7.tar.gz/ussd-elastic-apm-5.7/elasticapm/instrumentation/packages/dbapi2.py
import re from elasticapm.instrumentation.packages.base import AbstractInstrumentedModule from elasticapm.traces import capture_span from elasticapm.utils import compat, wrapt from elasticapm.utils.encoding import force_text class Literal(object): def __init__(self, literal_type, content): self.literal_...
PypiClean
/argteller_orig-0.0b21-py3-none-any.whl/argteller_orig/argteller.py
from .tree.tree_parser import TreeParser import inspect import os import functools def initializer_error_handler(func): def wrapped_init(*args, **kwargs): try: func(*args, **kwargs) except Exception as e: sub_str = 'takes 1 positional argu...
PypiClean
/kiwitcms-12.4.tar.gz/kiwitcms-12.4/tcms/node_modules/moment/locale/lb.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
/mapitio_edc-0.1.19-py3-none-any.whl/mapitio_ae/migrations/0002_auto_20200513_0023.py
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("mapitio_ae", "0001_initial"), ] operations = [ migrations.AlterModelOptions( name="aefollowup", options={ "default_permissions": ( "add"...
PypiClean