id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/MetaCalls-0.0.5-cp310-cp310-manylinux2014_x86_64.whl/metacalls/node_modules/readable-stream/lib/_stream_readable.js
'use strict'; module.exports = Readable; /*<replacement>*/ var Duplex; /*</replacement>*/ Readable.ReadableState = ReadableState; /*<replacement>*/ var EE = require('events').EventEmitter; var EElistenerCount = function EElistenerCount(emitter, type) { return emitter.listeners(type).length; }; /*</replacement>*/...
PypiClean
/apache-superset_qwerty-2.0.11.tar.gz/apache-superset_qwerty-2.0.11/INSTALL.md
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this...
PypiClean
/gnosis-yodaplus-py-3.1.19.tar.gz/gnosis-yodaplus-py-3.1.19/gnosis/eth/django/serializers.py
import logging from django.utils.translation import gettext_lazy as _ from ethereum.utils import checksum_encode from hexbytes import HexBytes from rest_framework import serializers from rest_framework.exceptions import ValidationError from ..constants import (SIGNATURE_R_MAX_VALUE, SIGNATURE_R_MIN_VALUE, ...
PypiClean
/boolrule-0.3.5.tar.gz/boolrule-0.3.5/docs/index.rst
.. boolrule documentation master file, created by sphinx-quickstart on Tue Jul 9 22:26:36 2013. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to boolrule's documentation =================================== boolrule is a simpe boolean ...
PypiClean
/nexuscloud-client-1.0.9.tar.gz/nexuscloud-client-1.0.9/nexuscloud_client/api/reports_api.py
import re # noqa: F401 import sys # noqa: F401 from nexuscloud_client.api_client import ApiClient, Endpoint as _Endpoint from nexuscloud_client.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, datetime, file_type, none_type, validate_and_convert_types ) fr...
PypiClean
/ai_flow-0.3.1.tar.gz/ai_flow-0.3.1/airflow/cli/simple_table.py
import inspect import json from typing import Any, Callable, Dict, List, Optional, Union import yaml from rich.box import ASCII_DOUBLE_HEAD from rich.console import Console from rich.syntax import Syntax from rich.table import Table from airflow.plugins_manager import PluginsDirectorySource class AirflowConsole(Con...
PypiClean
/sdksio_verizon_apis_sdk-1.0.0-py3-none-any.whl/verizon/models/firmware_package.py
from verizon.api_helper import APIHelper class FirmwarePackage(object): """Implementation of the 'FirmwarePackage' model. Available firmware. Attributes: firmware_name (string): Firmware name. firmware_from (string): Firmware from version. firmware_to (string): Firmware to versi...
PypiClean
/bmcs_cross_section-0.0.56a0.tar.gz/bmcs_cross_section-0.0.56a0/bmcs_cross_section/mxn/matresdev/db/exdb/loadtxt_bending.py
import os from matresdev.db.simdb.simdb import simdb import numpy as np def dot2comma(value): value = value.replace(',', '.') return float(value) file_name = os.path.join(simdb.exdata_dir, 'bending_tests', 'ZiE_2011-06-08_BT-12c-6cm-0-TU', 'BT-12c-6cm-0-Tu-V4.raw') # file contains...
PypiClean
/openc.excludesearch-0.1.1.tar.gz/openc.excludesearch-0.1.1/openc/excludesearch/README.txt
Introduction ============ openc.excludesearch is designed to make it possible for an administrator to easily mark content as being hidden to searches. NB: Requires dm's AdvancedQuery from http://www.dieter.handshake.de/pyprojects/zope/#AdvancedQuery First off, install myself:: >>> self.addProduct("ope...
PypiClean
/curver-0.4.1.tar.gz/curver-0.4.1/docs/user/representations.rst
Representations =============== Many of the data structures used to represent topological objects combinatorially within curver are based on (ideal) triangulations. For example, :class:`~curver.kernel.lamination.Lamination`, :class:`~curver.kernel.homologyclass.HomologyClass` and :class:`~curver.kernel.encoding.Mappi...
PypiClean
/wmagent-2.2.4rc3.tar.gz/wmagent-2.2.4rc3/src/python/WMComponent/RucioInjector/Database/MySQL/GetCompletedBlocks.py
from WMCore.Database.DBFormatter import DBFormatter class GetCompletedBlocks(DBFormatter): """ Retrieves a list of blocks that are closed but NOT sure yet if they are deleteable: - The workflows for all files in the block need to be completed (This relates only to the workflows directly producin...
PypiClean
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/me/drives/item/list/content_types/item/base_types/base_types_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
/open_aea-1.38.0-py3-none-win32.whl/aea/cli/eject.py
"""Implementation of the 'aea eject' subcommand.""" import shutil from pathlib import Path from typing import cast import click from packaging.version import Version import aea from aea.cli.fingerprint import fingerprint_item from aea.cli.remove import ItemRemoveHelper from aea.cli.utils.click_utils import PublicIdP...
PypiClean
/dagster-toolbox-0.0.5.tar.gz/dagster-toolbox-0.0.5/dagster_toolbox/functions/dataframe.py
from datetime import datetime def cast_dataframe(dataframe, columns): for column_name, column_type in columns: if column_type == "string": dataframe[column_name] = dataframe[column_name].astype( "str", errors="ignore" ) elif column_type == "int": ...
PypiClean
/mroylib_min-2.2.5.tar.gz/mroylib_min-2.2.5/qlib/net/__requester.py
import random from functools import wraps from importlib import import_module from urllib.parse import urlencode import requests from .config import RAW_HEADERS from .agents import AGS, AG_NUM def random_choice(lst, num=None): if not num: num = len(lst) ix = random.randint(0, num-1) return lst[i...
PypiClean
/django_mazer-0.0.18-py3-none-any.whl/mazer/static/assets/vendors/tinymce/plugins/spellchecker/plugin.min.js
!function(){"use strict";var N=function(e){var t=e;return{get:function(){return t},set:function(e){t=e}}},e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=Object.hasOwnProperty,g=tinymce.util.Tools.resolve("tinymce.util.Tools"),d=tinymce.util.Tools.resolve("tinymce.util.URI"),f=tinymce.util.Tools.resolve("tinymc...
PypiClean
/larcv-3.5.0.tar.gz/larcv-3.5.0/src/json/doc/mkdocs/docs/api/basic_json/get_ref.md
# <small>nlohmann::basic_json::</small>get_ref ```cpp template<typename ReferenceType> ReferenceType get_ref(); template<typename ReferenceType> const ReferenceType get_ref() const; ``` Implicit reference access to the internally stored JSON value. No copies are made. ## Template parameters `ReferenceType` : ref...
PypiClean
/starlink-pywrapper-0.3.tar.gz/starlink-pywrapper-0.3/starlink/kappa_help/paldef.rst
PALDEF ====== Purpose ~~~~~~~ Loads the default palette to a colour table Description ~~~~~~~~~~~ This application loads the standard palette of colours to fill the portion of the current image display's colour table which is reserved for the palette. The palette comprises 16 colours and is intended to provide co...
PypiClean
/math_econ_code-0.1.2.tar.gz/math_econ_code-0.1.2/meclp.py
import pandas as pd import numpy as np import scipy.sparse as spr #import gurobipy as grb import sympy from sympy.solvers import solve from sympy import * import matplotlib.pyplot as plt from tabulate import tabulate ############################# # LP1: Intro to linear programming # ############################# def...
PypiClean
/mfn_sdk-0.8.9.tar.gz/mfn_sdk-0.8.9/mfn_sdk/workflow.py
import requests import base64 import json import random import sys import time import logging from .deprecated import deprecated #logging.basicConfig(level=logging.DEBUG) log = logging.getLogger(__name__) class Execution(object): """ Execution represents the execution of a workflow that can be referenced by i...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/users/item/device_enrollment_configurations/item/assignments/assignments_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
/edpop_explorer-0.4.2-py3-none-any.whl/edpop_explorer/sparqlreader.py
from typing import Dict, List, Optional from dataclasses import dataclass, field as dataclass_field from SPARQLWrapper import SPARQLWrapper, JSON, SPARQLExceptions from edpop_explorer.apireader import APIReader, APIRecord, APIException PREFIXES = { 'rdf': 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'rdfs'...
PypiClean
/intel_tensorflow-2.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/tensorflow/python/ops/parallel_for/pfor.py
"""Compiled parallel-for loop.""" # pylint: disable=missing-docstring,g-direct-tensorflow-import import collections from functools import partial import string import sys import traceback import numpy as np from tensorflow.compiler.tf2xla.python import xla from tensorflow.core.framework import full_type_pb2 from ten...
PypiClean
/otpstore-0.1.3.tar.gz/otpstore-0.1.3/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
/TermEmulator-1.0.2.tar.gz/TermEmulator-1.0.2/README.rst
TermEmulator ============ ``TermEmulator`` is a pure python module for emulating VT100 terminal programs. It handles V100 special characters and most important escape sequences. It also handles graphics rendition which specifies text style (i.e. bold, italics), foreground color and background color. The handled es...
PypiClean
/romeapi-0.1.5.tar.gz/romeapi-0.1.5/cybex-rome/connect.py
import requests import struct from binascii import unhexlify from datetime import datetime import time from .core import operations, signedtransactions # from bitsharesbase import operations, signedtransactions from .core.ecdsa import quick_sign_message import graphenebase.ecdsa """ CCXT The unified ccxt API is a ...
PypiClean
/jupyterlab_blockly-0.3.0a1.tar.gz/jupyterlab_blockly-0.3.0a1/packages/blockly-extension/node_modules/minimatch/dist/mjs/brace-expressions.js
const posixClasses = { '[:alnum:]': ['\\p{L}\\p{Nl}\\p{Nd}', true], '[:alpha:]': ['\\p{L}\\p{Nl}', true], '[:ascii:]': ['\\x' + '00-\\x' + '7f', false], '[:blank:]': ['\\p{Zs}\\t', true], '[:cntrl:]': ['\\p{Cc}', true], '[:digit:]': ['\\p{Nd}', true], '[:graph:]': ['\\p{Z}\\p{C}', true, true...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/device_category_collection_response.py
from __future__ import annotations from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from . import base_collection_pagination_count_response, device_category from . import base_collec...
PypiClean
/openepda-0.1.20.tar.gz/openepda-0.1.20/docs/source/data/openepda_data_format.rst
.. _openepda_data_format: ==================== openEPDA data format ==================== About openEPDA data format ========================== Summary ------- With the development of fab-less approach to integrated photonics, there is an increasing demand on infrastructure for handling measurement, analysis and simu...
PypiClean
/NeuralPlayground-0.0.7.tar.gz/NeuralPlayground-0.0.7/neuralplayground/experiments/sargolini_2006_data.py
import glob import os.path import numpy as np import scipy.io as sio import neuralplayground from neuralplayground.datasets import fetch_data_path from neuralplayground.experiments import Experiment, Hafting2008Data from neuralplayground.utils import clean_data class SargoliniDataTrajectory(Experiment): """Data...
PypiClean
/eurotools-0.5.4.tar.gz/eurotools-0.5.4/eurocharts/static/lib/js/js/modules/accessibility.js
(function(k){"object"===typeof module&&module.exports?module.exports=k:k(Highcharts)})(function(k){(function(e){function k(a){for(var b=a.childNodes.length;b--;)a.appendChild(a.childNodes[b])}function t(a){var b;a&&a.onclick&&(b=m.createEvent("Events"),b.initEvent("click",!0,!1),a.onclick(b))}var w=e.win,m=w.document,h...
PypiClean
/object_detection_tf-0.1.2-py3-none-any.whl/object_detection/utils/np_mask_ops.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np EPSILON = 1e-7 def area(masks): """Computes area of masks. Args: masks: Numpy array with shape [N, height, width] holding N masks. Masks values are of type np.uint8 and valu...
PypiClean
/ShowerModel-0.1.9.tar.gz/ShowerModel-0.1.9/showermodel/projection.py
import numpy as np import pandas as pd # Class ####################################################################### class Projection(pd.DataFrame): """ DataFrame containing the projection of a shower track. The track is viewed from a telescope position in both horizontal coordinates system and Fo...
PypiClean
/tb-rest-client-3.5.tar.gz/tb-rest-client-3.5/tb_rest_client/models/models_pe/rule_node_id.py
# Copyright 2023. ThingsBoard # # 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 writi...
PypiClean
/gvm_tools-23.9.0.tar.gz/gvm_tools-23.9.0/scripts/create-targets-from-host-list.gmp.py
import sys import time from argparse import ArgumentParser, Namespace, RawTextHelpFormatter from pathlib import Path from typing import List from gvm.protocols.gmp import Gmp from gvmtools.helper import error_and_exit HELP_TEXT = ( "This script pulls hostnames from a text " "file and creates a target for ea...
PypiClean
/django-dmcadmin-0.1.1.tar.gz/django-dmcadmin-0.1.1/dmcadmin/static/AdminLTE/plugins/moment/locale/en-gb.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
/git-cola-4.3.2.tar.gz/git-cola-4.3.2/cola/models/dag.py
from __future__ import absolute_import, division, print_function, unicode_literals import json from .. import core from .. import utils from ..models import prefs # put summary at the end b/c it can contain # any number of funky characters, including the separator logfmt = r'format:%H%x01%P%x01%d%x01%an%x01%ad%x01%ae...
PypiClean
/dawa_facade-2017.12.1b3.tar.gz/dawa_facade-2017.12.1b3/dawa_facade/util/dawa_session.py
import requests import dawa_facade.util.exceptions class DawaSession(requests.Session): def __init__(self, base_url: str, timeout): super().__init__() self.base_url = base_url self.timeout = timeout def request(self, method, url, params=None, data=None, headers=None, cookies=None, fil...
PypiClean
/python-airtable-0.5.tar.gz/python-airtable-0.5/README.md
# Python Airtable [![PyPI version](https://img.shields.io/pypi/v/python-airtable.svg)](https://pypi.python.org/pypi/python-airtable/) [![PyPI license](https://img.shields.io/pypi/l/python-airtable.svg)](https://pypi.python.org/pypi/python-airtable/) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/python-air...
PypiClean
/ztfy.myams-0.1.33.tar.gz/ztfy.myams-0.1.33/src/ztfy/myams/resources/js/ext/bootstrap-modal.min.js
!function(t){"use strict";var i=function(t,i){this.init(t,i)};i.prototype={constructor:i,init:function(i,e){var n=this;this.options=e,this.$element=t(i).delegate('[data-dismiss="modal"]',"click.dismiss.modal",t.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote,functi...
PypiClean
/throat-0.0.0-py3-none-any.whl/app/views/user.py
import time from peewee import fn, JOIN from flask import Blueprint, render_template, abort, redirect, url_for, flash from flask_login import login_required, current_user from flask_babel import _, Locale from .do import uid_from_recovery_token, info_from_email_confirmation_token from .. import misc, config from ..auth...
PypiClean
/NinjaTools-0.68-py3-none-any.whl/ninja_tools/keyboard.py
import ctypes from random import uniform from time import sleep import win32gui import ninja_tools.keycodes as key INPUT_MOUSE = 0 INPUT_KEYBOARD = 1 INPUT_HARDWARE = 2 KEYEVENTF_EXTENDEDKEY = 0x0001 KEYEVENTF_KEYUP = 0x0002 KEYEVENTF_SCANCODE = 0x0008 KEYEVENTF_UNICODE = 0x0004 class MOUSE_INPUT(ctypes.Structure...
PypiClean
/wildbook_ia-4.0.4-py3-none-any.whl/wbia/control/manual_chip_funcs.py
import logging from os.path import join import utool as ut from wbia import constants as const from wbia.control import accessor_decors, controller_inject from wbia.control.controller_inject import make_ibs_register_decorator print, rrr, profile = ut.inject2(__name__) logger = logging.getLogger('wbia') CLASS_INJEC...
PypiClean
/PolicyEngine-UK-0.55.2.tar.gz/PolicyEngine-UK-0.55.2/policyengine_uk/reforms/cps/marriage_tax_reforms.py
from policyengine_uk.model_api import * from typing import Union, Optional def create_expanded_ma_reform( max_child_age: Optional[int] = None, child_education_levels: Optional[List[str]] = None, ) -> Reform: class meets_expanded_ma_conditions(Variable): label = "Qualifies for an expanded Marriage ...
PypiClean
/fds.sdk.FactSetPrices-1.1.6-py3-none-any.whl/fds/sdk/FactSetPrices/model/splits.py
import re # noqa: F401 import sys # noqa: F401 from fds.sdk.FactSetPrices.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_ty...
PypiClean
/zidiscord.py-1.7.3.3.tar.gz/zidiscord.py-1.7.3.3/discord/opus.py
import array import ctypes import ctypes.util import logging import math import os.path import struct import sys from .errors import DiscordException log = logging.getLogger(__name__) c_int_ptr = ctypes.POINTER(ctypes.c_int) c_int16_ptr = ctypes.POINTER(ctypes.c_int16) c_float_ptr = ctypes.POINTER(ctypes.c_float) ...
PypiClean
/pydonicli-0.2.5.tar.gz/pydonicli-0.2.5/src/commands/opsys/du_by_filetype.py
import click import pydoni import pydoni.opsys from cli_reference.common import Verbose @click.option('-d', '--dpath', type=click.Path(exists=True), required=True, help='Full path to target directory.') @click.option('-o', '--output-fpath', type=click.Path(), default=None, help='If specifi...
PypiClean
/PyScaffold-4.5.tar.gz/PyScaffold-4.5/src/pyscaffold/structure.py
from copy import deepcopy from pathlib import Path from string import Template from typing import Callable, Dict, Optional, Tuple, Union, cast from . import templates from .file_system import PathLike, create_directory from .operations import ( FileContents, FileOp, ScaffoldOpts, create, no_overwri...
PypiClean
/dnanew-1.10-py3-none-any.whl/dna_audit_tool/aws_services/s3/s3_service.py
import json import boto3 import botocore import common.utils.helper as helper from aws_services.s3 import s3_constants as constants from common.constants import application_constants from common.utils.initialize_logger import logger class S3: """A class that checks the security settings of Amazon S3 buckets.""" ...
PypiClean
/Products.Ploneboard-3.6.zip/Products.Ploneboard-3.6/src/Products/Ploneboard/interfaces.py
from zope.interface import Interface, Attribute class IPloneboard(Interface): """ Ploneboard is the outmost board object, what shows up in your site. The board contains forums. Board is folderish. The number of items contained in Board should be limited and steady. This is an optional type. ""...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/ws/lib/Receiver.js
var util = require('util') , Validation = require('./Validation').Validation , ErrorCodes = require('./ErrorCodes') , BufferPool = require('./BufferPool') , bufferUtil = require('./BufferUtil').BufferUtil , PerMessageDeflate = require('./PerMessageDeflate'); /** * HyBi Receiver implementation */ function ...
PypiClean
/resoto_plugin_vsphere-3.6.5-py3-none-any.whl/resoto_plugin_vsphere/__init__.py
from datetime import datetime from resotolib.logger import log from resotolib.config import Config from resotolib.baseplugin import BaseCollectorPlugin from resotolib.baseresources import InstanceStatus from .vsphere_client import get_vsphere_client from .resources import ( VSphereCluster, VSphereInstance, ...
PypiClean
/pensando_dss-1.62.2-py3-none-any.whl/pensando_dss/psm/model/auth_role_binding.py
import re # noqa: F401 import sys # noqa: F401 import nulltype # noqa: F401 from pensando_dss.psm.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, ...
PypiClean
/trixie-0.1.2.tar.gz/trixie-0.1.2/homeassistant/components/climate/fritzbox.py
import logging import requests from homeassistant.components.fritzbox import DOMAIN as FRITZBOX_DOMAIN from homeassistant.components.fritzbox import ( ATTR_STATE_DEVICE_LOCKED, ATTR_STATE_BATTERY_LOW, ATTR_STATE_LOCKED) from homeassistant.components.climate import ( ATTR_OPERATION_MODE, ClimateDevice, STATE_E...
PypiClean
/pied_piper_sdwan_sdk-1.0.51-py3-none-any.whl/openapi_client/model/ip_sec_security.py
import re # noqa: F401 import sys # noqa: F401 from openapi_client.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
/scribes.edit.complete_like_eclipse-0.2.4.tar.gz/scribes.edit.complete_like_eclipse-0.2.4/scribes/edit/complete_like_eclipse/__init__.py
from gettext import gettext as _ from string import whitespace from scribes.helpers import TriggerManager, Trigger, connect_external, connect_all from signals import Signals from IndexerProcessManager import Manager as IndexerProcessManager from DictionaryManager import Manager as DictionaryManager from ProcessCo...
PypiClean
/html_section-0.3.0-py3-none-any.whl/html_section/__init__.py
# Based on https://github.com/sphinx-doc/sphinx/blob/3.x/sphinx/writers/latex.py # # Copyright (c) 2007-2021 by the Sphinx team. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistribut...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_9/models/software_installation_steps_response.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_9 import models class SoftwareInstallationStepsResponse(object): """ Attributes: swagger_types (dict): The key is attribute name ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_8/models/link_aggregation_group_response.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 LinkAggregationGroupResponse(object): """ Attributes: swagger_types (dict): The key is attribute name and...
PypiClean
/eventstore_grpc-0.1.1.tar.gz/eventstore_grpc-0.1.1/src/eventstore_grpc/proto/persistent_pb2_grpc.py
"""Client and server classes corresponding to protobuf-defined services.""" import grpc from eventstore_grpc.proto import persistent_pb2 as persistent__pb2 from eventstore_grpc.proto import shared_pb2 as shared__pb2 class PersistentSubscriptionsStub(object): """Missing associated documentation comment in .proto ...
PypiClean
/python_microscopy-20.12.8-cp36-cp36m-win_amd64.whl/PYME/Acquire/Protocols/prebleach642.py
################## # prebleach671.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 y...
PypiClean
/openapi_python_embyapi-4.8.0.36.tar.gz/openapi_python_embyapi-4.8.0.36/openapi_python_embyapi/models/transcoding_vp_step_info.py
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.transcoding_vp_step_types import TranscodingVpStepTypes from ..types import UNSET, Unset T = TypeVar("T", bound="TranscodingVpStepInfo") @attr.s(auto_attribs=True) class TranscodingVpStepInfo: """ Attributes: step_ty...
PypiClean
/plonetheme.cultureCab-0.4.tar.gz/plonetheme.cultureCab-0.4/Paste-1.7.4-py2.4.egg/paste/registry.py
import sys import paste.util.threadinglocal as threadinglocal __all__ = ['StackedObjectProxy', 'RegistryManager', 'StackedObjectRestorer', 'restorer'] class NoDefault(object): pass class StackedObjectProxy(object): """Track an object instance internally using a stack The StackedObjectProxy pr...
PypiClean
/cognite_wells_sdk-0.18.0-py3-none-any.whl/cognite/well_model/client/models/trajectory_rows.py
import math from pandas import DataFrame from cognite.well_model.client.utils._auxiliary import to_camel_case from cognite.well_model.models import TrajectoryData class TrajectoryRows: """Custom data class for displaying trajectory data as data frames.""" def __init__(self, data: TrajectoryData): s...
PypiClean
/django-utf8field-1.0.0.tar.gz/django-utf8field-1.0.0/README.rst
================== Django UTF-8 Field ================== .. image:: https://travis-ci.org/megasnort/django-utf8field.svg :target: https://travis-ci.org/megasnort/django-utf8field/ :alt: Build status This package was created because at my work, `Language and Translation Technology Team`_ at the University of G...
PypiClean
/variable_generators-0.1.tar.gz/variable_generators-0.1/variable_generators/generators.py
from __future__ import print_function import numpy as np import pandas as pd import orca from urbansim.utils import misc from urbansim.models import util try: import pandana except ImportError: pass def make_agg_var(agent, geog, geog_id, var_to_aggregate, agg_function, how_fillna=None): """ Genera...
PypiClean
/pypifuhd-2.0.0.tar.gz/pypifuhd-2.0.0/py_pifuhd/lib/model/ConvFilters.py
import torch import torch.nn as nn import torch.nn.functional as F import torchvision.models.resnet as resnet import torchvision.models.vgg as vgg class MultiConv(nn.Module): def __init__(self, filter_channels): super(MultiConv, self).__init__() self.filters = [] for l in range(0, len(fil...
PypiClean
/Flask-Statics-Helper-1.0.0.tar.gz/Flask-Statics-Helper-1.0.0/flask_statics/static/angular/i18n/angular-locale_tzm-latn.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
/expertai_extract-0.1.2-py3-none-any.whl/expertai/extract/openapi/client/api/default_api.py
import re # noqa: F401 import sys # noqa: F401 from expertai.extract.openapi.client.api_client import ApiClient, Endpoint as _Endpoint from expertai.extract.openapi.client.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, datetime, file_type, none_type, val...
PypiClean
/beaker-common-28.3.tar.gz/beaker-common-28.3/bkr/common/pyconfig.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 2 of the License, or # (at your option) any later version. # Copy and pasted from kobo.conf, from kobo 0.4.2-1 """ Python-like s...
PypiClean
/django_template_forms-0.3.1-py3-none-any.whl/template_forms/base.py
from django.forms.forms import BaseForm from django.utils.encoding import force_text from django.utils.html import conditional_escape from django.utils.safestring import mark_safe from django.utils.translation import ugettext as _ from .utils import add_css_classes, try_classmro class TemplateForm(BaseForm): """...
PypiClean
/giji-rtwo-0.1.1.tar.gz/giji-rtwo-0.1.1/giji_rtwo/drivers/openstack_network.py
import os import netaddr from threepio import logger from giji_rtwo.drivers.common import _connect_to_heat, _connect_to_sahara, _connect_to_neutron, _connect_to_keystone_v3 from neutronclient.common.exceptions import NeutronClientException, NotFound ROUTER_INTERFACE_NAMESPACE = ( 'network:router_interface', ...
PypiClean
/django-outlook-0.1.1.tar.gz/django-outlook-0.1.1/django_outlook/views.py
from django.views.generic import TemplateView, RedirectView from django_outlook.o365_utils.adv_connection import OutlookConnection from django_outlook.o365_utils.login_token_storage import LoginTokenStorage from django_outlook.o365_utils.token_storage import TokenStorage from djangoautoconf.django_utils import retrieve...
PypiClean
/zippyshare-0.0.7.tar.gz/zippyshare-0.0.7/README.md
# zippyshare <badges>[![version](https://img.shields.io/pypi/v/zippyshare.svg)](https://pypi.org/project/zippyshare/) [![license](https://img.shields.io/pypi/l/zippyshare.svg)](https://pypi.org/project/zippyshare/) [![pyversions](https://img.shields.io/pypi/pyversions/zippyshare.svg)](https://pypi.org/project/zippysha...
PypiClean
/sync_music-0.5.0.tar.gz/sync_music-0.5.0/README.rst
.. image:: https://travis-ci.com/fetzerch/sync_music.svg?branch=master :target: https://travis-ci.com/fetzerch/sync_music :alt: Travis CI Status .. image:: https://coveralls.io/repos/github/fetzerch/sync_music/badge.svg?branch=master :target: https://coveralls.io/github/fetzerch/sync_music?branch=master ...
PypiClean
/esdrt.content-1.74.3.zip/esdrt.content-1.74.3/esdrt/content/vocabularies.py
import itertools from plone import api from zope.interface import implementer from zope.schema.interfaces import IVocabularyFactory from zope.schema.vocabulary import SimpleVocabulary import esdrt.content.constants as C from esdrt.content.utils import request_context def mk_term(key, value): return SimpleVocab...
PypiClean
/procustodibus_agent-1.3.3-py3-none-any.whl/procustodibus_agent/mfa/cli.py
from docopt import docopt from procustodibus_agent import __version__ as version from procustodibus_agent.cnf import Cnf from procustodibus_agent.mfa import check_mfa, do_mfa, list_mfa, read_password def main(): """Tool entry point.""" args = docopt(__doc__) if args["--version"]: # print version ...
PypiClean
/MindsDB-23.8.3.0.tar.gz/MindsDB-23.8.3.0/mindsdb/integrations/handlers/ludwig_handler/ludwig_handler.py
from typing import Optional import dill import dask import pandas as pd from ludwig.automl import auto_train from mindsdb.integrations.libs.base import BaseMLEngine from .utils import RayConnection class LudwigHandler(BaseMLEngine): """ Integration with the Ludwig declarative ML library. """ # noqa ...
PypiClean
/skeem-0.1.0.tar.gz/skeem-0.1.0/doc/development.rst
########### Development ########### ******* Sandbox ******* Acquire sources, create Python virtualenv, install package and dependencies, and run software tests:: git clone https://github.com/daq-tools/skeem cd skeem python3 -m venv .venv source .venv/bin/activate pip install --use-pep517 --prefe...
PypiClean
/test-imufusion-0.0.77.tar.gz/test-imufusion-0.0.77/LICENSE.md
The MIT License (MIT) Copyright (c) 2021 x-io Technologies 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, merg...
PypiClean
/align-0.0.11.tar.gz/align-0.0.11/README.md
# ALIGN, a computational tool for multi-level language analysis (optimized for Python 3) `align` is a Python library for extracting quantitative, reproducible metrics of multi-level alignment between two speakers in naturalistic language corpora. The method was introduced in "ALIGN: Analyzing Linguistic Interactions w...
PypiClean
/covmatic_robotmanager-0.0.6-py3-none-any.whl/covmatic_robotmanager/positions.py
import json import os import logging class Positions: def __init__(self, positions_file_path: str, create_file: bool = False, logger=logging.getLogger("robotmanager.positions")): self._logger = logger self._abs_path = os.path.abspath(positions_fil...
PypiClean
/google-cloud-aiplatform-1.31.1.tar.gz/google-cloud-aiplatform-1.31.1/google/cloud/aiplatform_v1/types/context.py
from __future__ import annotations from typing import MutableMapping, MutableSequence import proto # type: ignore from google.protobuf import struct_pb2 # type: ignore from google.protobuf import timestamp_pb2 # type: ignore __protobuf__ = proto.module( package="google.cloud.aiplatform.v1", manifest={ ...
PypiClean
/rios.core-0.9.0.tar.gz/rios.core-0.9.0/src/rios/core/validation/interaction.py
import colander from .common import ValidationError, sub_schema, LanguageTag, \ IdentifierString, Options, LocalizedString, DescriptorList, \ LocalizationChecker, validate_instrument_version, guard, guard_sequence, \ MetadataCollection, RE_PRODUCT_TOKENS from .instrument import InstrumentReference, TYPES...
PypiClean
/rawdatx-0.1.zip/rawdatx-0.1/docs/index.rst
.. rawdatx documentation master file rawdatx ======= rawdatx is a Python 2.7, 3.4, 3.5 converter that generates Excel xlsx files from TOA5 comma-separated text files produced by Campbell Scientific LoggerNet. Sensor input, processing instructions, and output structure are specified in a single XML Definition File th...
PypiClean
/django-allauth-james-0.20.0.tar.gz/django-allauth-james-0.20.0/allauth/account/auth_backends.py
from django.contrib.auth.backends import ModelBackend from django.db.models import Q from ..utils import get_user_model from .app_settings import AuthenticationMethod from . import app_settings class AuthenticationBackend(ModelBackend): def authenticate(self, **credentials): ret = None if app_s...
PypiClean
/python-sources-3.10.5.tar.gz/python-sources-3.10.5/Python-3.10.5/Doc/library/numbers.rst
:mod:`numbers` --- Numeric abstract base classes ================================================ .. module:: numbers :synopsis: Numeric abstract base classes (Complex, Real, Integral, etc.). **Source code:** :source:`Lib/numbers.py` -------------- The :mod:`numbers` module (:pep:`3141`) defines a hierarchy of n...
PypiClean
/apache-superset-red-0.34.1.tar.gz/apache-superset-red-0.34.1/superset/views/annotations.py
from flask_appbuilder.models.sqla.interface import SQLAInterface from flask_babel import gettext as __ from flask_babel import lazy_gettext as _ from wtforms.validators import StopValidation from superset import appbuilder from superset.models.annotations import Annotation, AnnotationLayer from .base import DeleteMixi...
PypiClean
/pyqtool-0.0.6.tar.gz/pyqtool-0.0.6/sizzle/selector.py
import regex from collections import namedtuple Attr = namedtuple('Attr', 'lft op rgt') Pseudo = namedtuple('Pseudo', 'name value') class Selector(object): DESCENDANT = ' ' CHILD = '>' SIBLING = '~' ADJACENT = '+' NOT_SET = None class RE(object): id = r'_?[A-Za-z0-9_]+|_' w...
PypiClean
/robologs_ros_utils-0.1.1a26-py3-none-any.whl/robologs_ros_utils/utils/file_utils/file_utils.py
import glob import json import os import shutil import tarfile import uuid from typing import Union from zipfile import ZipFile def split_folder_path_to_list(path: str) -> list: """ This function splits a path into a list. Args: path (str): file path Returns: A list with path components "...
PypiClean
/discord.py_self-2.0.0-py3-none-any.whl/discord/file.py
from __future__ import annotations from base64 import b64encode from hashlib import md5 import io import os from typing import Any, Dict, Optional, Tuple, Union from .utils import MISSING, cached_slot_property # fmt: off __all__ = ( 'File', ) # fmt: on def _strip_spoiler(filename: str) -> Tuple[str, bool]: ...
PypiClean
/nanodeep-0.0.3.tar.gz/nanodeep-0.0.3/bream4/toolkit/procedure_components/sequencing_features/saturation_watcher.py
from __future__ import annotations from collections import defaultdict from typing import Optional import pandas as pd from bream4.toolkit.procedure_components.feature_manager import ChannelNotifierState class SaturationWatcher: """Used to watch and record when channels become saturated. Example: * Instan...
PypiClean
/nnisgf-0.4-py3-none-manylinux1_x86_64.whl/nnisgf-0.4.data/data/nni/node_modules/moment/locale/de.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
/parasail-1.3.4.tar.gz/parasail-1.3.4/README.rst
parasail-python =============== Python Bindings for the Parasail C Library Travis Build Status: .. image:: https://travis-ci.org/jeffdaily/parasail-python.svg?branch=master :alt: Build Status PyPI Package: .. image:: https://badge.fury.io/py/parasail.svg :target: https://badge.fury.io/py/parasail Author: ...
PypiClean
/odoo12_addon_l10n_nl_tax_statement-12.0.2.0.3-py3-none-any.whl/odoo/addons/l10n_nl_tax_statement/wizard/l10n_nl_vat_statement_config_wizard.py
from odoo import api, fields, models class VatStatementConfigWizard(models.TransientModel): _name = 'l10n.nl.vat.statement.config.wizard' _description = 'Netherlands Vat Statement Configuration Wizard' tag_1a_omzet = fields.Many2one('account.account.tag') tag_1a_btw = fields.Many2one('account.accoun...
PypiClean
/monk_gluon_cuda90-0.0.1.tar.gz/monk_gluon_cuda90-0.0.1/monk/gluon/finetune/level_13_updates_main.py
from monk.gluon.finetune.imports import * from monk.system.imports import * from monk.gluon.finetune.level_12_losses_main import prototype_losses class prototype_updates(prototype_losses): ''' Main class for all parametric update functions Args: verbose (int): Set verbosity levels ...
PypiClean
/bta-0.6.tar.gz/bta-0.6/libesedb/libesedb.py
# This file is part of the BTA toolset # (c) Airbus Group CERT, Airbus Group Innovations and Airbus DS CyberSecurity from ctypes import cdll, c_void_p, c_int, pointer, byref, create_string_buffer, string_at from esetypes import ColumnType,ValueFlags,native_type,multi_native_type from sys import platform import logg...
PypiClean
/bqplot_gl-0.1.0a0.tar.gz/bqplot_gl-0.1.0a0/src/LinesGLView.ts
import { isLinearScale } from 'bqscales'; import { Lines } from 'bqplot'; import * as THREE from 'three'; // @ts-ignore This should not be needed if we upgrade to newer versions of ThreeJS window.THREE = THREE; import 'three/examples/js/lines/LineSegments2'; import 'three/examples/js/lines/Line2'; import 'three/exa...
PypiClean
/ripiu.cmsplugin_articles-0.4.2-py3-none-any.whl/ripiu/cmsplugin_articles/models.py
from cms.models import CMSPlugin from cms.models.fields import PageField from django.conf import settings from django.db import models from django.utils.translation import ugettext_lazy as _ from djangocms_attributes_field.fields import AttributesField from modelmixins import ModelMixin from .conf import settings as c...
PypiClean
/django-audiotracks-0.2.4.tar.gz/django-audiotracks-0.2.4/audiotracks/views.py
import os from django.utils.translation import ugettext from django.contrib.auth.decorators import login_required from django.contrib.sites.models import RequestSite from django.conf import settings from django.core.files.uploadhandler import TemporaryFileUploadHandler from django.core.paginator import Paginator, Empt...
PypiClean