id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/gooddata_metadata_client-1.3.0-py3-none-any.whl/gooddata_metadata_client/model/declarative_color_palette.py
import re # noqa: F401 import sys # noqa: F401 from gooddata_metadata_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...
PypiClean
/eureka-opensource-1.0.3.tar.gz/eureka-opensource-1.0.3/static/yui-3.4.1/datasource-io/datasource-io-debug.js
YUI.add('datasource-io', function(Y) { /** * Provides a DataSource implementation which can be used to retrieve data via the IO Utility. * * @module datasource * @submodule datasource-io */ /** * IO subclass for the DataSource Utility. * @class DataSource.IO * @extends DataSource.Local * @constructor */ ...
PypiClean
/RegscorePy-1.1-py3-none-any.whl/RegscorePy-1.1.data/scripts/mallow.py
def mallow(y, y_pred, y_sub, k, p): """ Return an mallows Cp score for a model. Input: y: array-like of shape = (n_samples) including values of observed y y_pred: vector including values of predicted y k: int number of predictive variable(s) used in the model p: int number of predictive var...
PypiClean
/73e4d8e848405a88f444cff1c9dbc5b8-0.5-py3-none-any.whl/sstools/airbnb.py
import requests import json import pandas as pd import datetime from .common import * """# AirBnb""" airbnb_home_types = ['Entire home apt','Hotel room','Private room', 'Shared room'] airbnb_imp_amenities = [5,4,16,7,9,12] #AC, Wifi , Breakfast, Parking, Pool, Pets (Not in order) # Airbnb Search API def airbnb_sea...
PypiClean
/pytools-sshcli-0.1.1.tar.gz/pytools-sshcli-0.1.1/pytools_sshcli/core.py
import os import paramiko from pytools_cli import CLI def _strip(input): if hasattr(input, 'read'): try: stripped = input.read().decode('utf-8').rstrip() except Exception: return '' return stripped return '' def _normalize(path): return os.path.normpath...
PypiClean
/osprofiler-3.4.2.tar.gz/osprofiler-3.4.2/doc/specs/template.rst
.. This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode .. This template should be in ReSTructured text. The filename in the git repository should match the launchpad URL, for example a URL of https://blueprints.launchpad.net/heat/...
PypiClean
/cmip6-downscaling-0.1.11.tar.gz/cmip6-downscaling-0.1.11/cmip6_downscaling/methods/maca/utils.py
from __future__ import annotations import dask import numpy as np import pandas as pd import regionmask import xarray as xr from carbonplan_data.metadata import get_cf_global_attrs from upath import UPath from ... import __version__ as version def add_circular_temporal_pad(data: xr.Dataset, offset: int, timeunit: s...
PypiClean
/prisma_pynext-0.8.14-py3-none-any.whl/prisma/generator/utils.py
import os import shutil from textwrap import dedent from typing import Any, List, Dict, Iterator, TypeVar, Union, TYPE_CHECKING from pathlib import Path from ..utils import monkeypatch if TYPE_CHECKING: from .models import Model, Field T = TypeVar('T') # we have to use a mapping outside of the `Sampler` class ...
PypiClean
/reqmgr2-2.2.4rc1.tar.gz/reqmgr2-2.2.4rc1/src/python/WMCore/WMSpec/Steps/Diagnostics/DQMUpload.py
from builtins import range import os from WMCore.WMSpec.Steps.Diagnostic import Diagnostic, DiagnosticHandler class Exit70318(DiagnosticHandler): def __call__(self, errCode, executor, **args): msg = "Failed to upload a DQM file to the GUI server." executor.report.addError(executor.stepName, 70318...
PypiClean
/gamification-engine-0.4.0.tar.gz/gamification-engine-0.4.0/gengine/app/jsscripts/node_modules/autoprefixer/node_modules/browserslist/cli.js
var browserslist = require('./') var pkg = require('./package.json') var args = process.argv.slice(2) var USAGE = 'Usage:\n' + ' ' + pkg.name + '\n' + ' ' + pkg.name + ' "QUERIES"\n' + ' ' + pkg.name + ' --config="path/to/browserlist/file"\n' + ' ' + pkg.name + ' --...
PypiClean
/MLapp1-0.0.37.tar.gz/MLapp1-0.0.37/src/MLapp/scriptTemplate.py
# ============================================================================= # Import packages # ============================================================================= import pandas as pd import os from collections import Counter import pickle import numpy as np import warnings warnings.filterwarnings("error"...
PypiClean
/overpassify-1.2.2.tar.gz/overpassify-1.2.2/README.rst
overpassify =========== A Python to OverpassQL transpiler, now on both `GitHub <https://github.com/gappleto97/overpassify>`__ and `GitLab <https://gitlab.com/gappleto97/overpassify>`__ `OverpassQL <http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL>`__ is the language used to query features on OpenStreetMap....
PypiClean
/Rocksdb-python-0.1.2.tar.gz/Rocksdb-python-0.1.2/rocksdb/ext/pybind11/docs/advanced/cast/eigen.rst
Eigen ##### `Eigen <http://eigen.tuxfamily.org>`_ is C++ header-based library for dense and sparse linear algebra. Due to its popularity and widespread adoption, pybind11 provides transparent conversion and limited mapping support between Eigen and Scientific Python linear algebra data types. To enable the built-in E...
PypiClean
/energyplus_wrapper-1.0.0.tar.gz/energyplus_wrapper-1.0.0/energyplus_wrapper/runner.py
import re from typing import Callable, Dict, Mapping, Optional, Tuple, Union from warnings import warn from tempfile import gettempdir import attr import plumbum from coolname import generate_slug from eppy.modeleditor import IDF as eppy_IDF from joblib import Parallel, delayed from path import Path, TempDir from plu...
PypiClean
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/modules/opkg.py
import copy import errno import logging import os import pathlib import re import shlex import salt.utils.args import salt.utils.data import salt.utils.files import salt.utils.itertools import salt.utils.path import salt.utils.pkg import salt.utils.stringutils import salt.utils.versions from salt.exceptions import Com...
PypiClean
/aclib.images-1.0.0-py3-none-any.whl/aclib/images/__API__/dotsetlib.py
from __future__ import annotations from typing import TYPE_CHECKING if TYPE_CHECKING: from typing import Self, Literal from .color import HexColorRange import os from typing import overload from .dotset import Dotset class DotsetLib(object): @classmethod def __new(cls, libdata: tuple[Dotset, ...]) -...
PypiClean
/asf_search-6.6.3-py3-none-any.whl/asf_search/ASFSearchResults.py
from collections import UserList from multiprocessing import Pool import json from asf_search import ASFSession, ASFSearchOptions from asf_search.download.file_download_type import FileDownloadType from asf_search.exceptions import ASFSearchError from asf_search import ASF_LOGGER from asf_search.export.csv import resu...
PypiClean
/grapple-0.2.2.tar.gz/grapple-0.2.2/README.rst
Grapple ======= .. image:: https://travis-ci.org/tensorjack/grapple.svg?branch=master :target: https://travis-ci.org/tensorjack/grapple .. image:: https://coveralls.io/repos/tensorjack/grapple/badge.png :target: https://coveralls.io/r/tensorjack/grapple Grapple extracts the full Ripple ledger directly from rip...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/apimanagement/latest/authorization_server.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs from ._enums import * from ._inputs import * __all__ = ['AuthorizationServer'] warnings.warn("""The 'latest' version is deprecated. Please migrate t...
PypiClean
/gias3.musculoskeletal-3.0.0-py3-none-any.whl/gias3/musculoskeletal/model_alignment_multi.py
import copy import numpy from gias3.common import transform3D from gias3.musculoskeletal import fw_femur_measurements from gias3.musculoskeletal import fw_femur_model_data as fmd from gias3.musculoskeletal import fw_model_landmarks as fml from gias3.musculoskeletal import fw_pelvis_measurements from gias3.musculoskel...
PypiClean
/hippo_diabetes-1.0.0.tar.gz/hippo_diabetes-1.0.0/moose/MooseLineOfBusinessOneColumnTransformer.py
import pandas as pd import numpy as np import os from sklearn.base import BaseEstimator, TransformerMixin #custom functions from other modules #import from other modules cwd = os.getcwd() cwdHead = os.getcwd().split("/hippo/")[0] os.chdir(cwdHead+ '/hippo/src2/util') from util import UtilAPI os.chdir(cwd) class Moose...
PypiClean
/mutalyzer_retriever-0.3.2.tar.gz/mutalyzer_retriever-0.3.2/mutalyzer_retriever/sources/lrg.py
import socket from urllib.error import HTTPError, URLError from urllib.request import urlopen from ..configuration import settings from ..util import f_e class NoLrgSettings(Exception): """ Raised when there are no LRG settings. """ pass class NoLrgUrlSet(Exception): """ Raised when there ...
PypiClean
/labml-nn-0.4.135.tar.gz/labml-nn-0.4.135/labml_nn/transformers/knn/eval_knn.py
from typing import Optional, List import faiss import numpy as np import torch from labml import monit, lab from labml.logger import inspect from labml_nn.transformers.knn.train_model import Configs def knn(queries: torch.Tensor, index: faiss.IndexFlatL2, keys_store: np.ndarray, vals_store: np.ndarray, n_tokens: in...
PypiClean
/aliyun-python-sdk-alb-1.0.15.tar.gz/aliyun-python-sdk-alb-1.0.15/aliyunsdkalb/request/v20200616/CreateRuleRequest.py
from aliyunsdkcore.request import RpcRequest from aliyunsdkalb.endpoint import endpoint_data class CreateRuleRequest(RpcRequest): def __init__(self): RpcRequest.__init__(self, 'Alb', '2020-06-16', 'CreateRule','alb') self.set_method('POST') if hasattr(self, "endpoint_map"): setattr(self, "endpoint_map", e...
PypiClean
/bambooapi_client-1.18.7-py3-none-any.whl/bambooapi_client/openapi/model/activation.py
import re # noqa: F401 import sys # noqa: F401 from bambooapi_client.openapi.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...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/network/virtual_hub_ip_configuration.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * from ._inputs import * __all__ = ['VirtualHubIpConfigurationArgs', 'VirtualHubIpConfiguration'] @pulumi.input_type...
PypiClean
/cheermeup-1.0.1.tar.gz/cheermeup-1.0.1/src/cheermeup.py
import praw import random import os import appdirs import urllib import re import cv2 import time import argparse import multiprocessing import functools def is_not_old(filepath, period): return not (time.time() - os.path.getmtime(filepath) > period) def url_is_not_image(url): return (not (url.endswith('.jp...
PypiClean
/eclsdk-1.2.1.tar.gz/eclsdk-1.2.1/ecl/sss/v1/_proxy.py
from ecl.sss.v1 import user as _user from ecl.sss.v1 import tenant as _tenant from ecl.sss.v1 import role as _role from ecl.sss.v1 import api_key as _api_key from ecl.sss.v1 import channel as _channel from ecl.sss.v1 import contract as _contract from ecl.sss.v1 import iam_group as _iam_group from ecl.sss.v1 import iam...
PypiClean
/msg_serv_02-21-0.1.7.tar.gz/msg_serv_02-21-0.1.7/server/server/main_window.py
from PyQt5.Qt import QHeaderView from PyQt5.QtWidgets import QMainWindow, QAction, QLabel, qApp, QTableView from PyQt5.QtGui import QIcon, QStandardItem, QStandardItemModel from PyQt5.QtCore import QTimer from server.history_window import HistoryWindow from server.config_window import ConfigWindow from server.reg_use...
PypiClean
/syntaxnet_with_tensorflow-0.2-cp27-cp27mu-manylinux1_x86_64.whl/syntaxnet_with_tensorflow-0.2.data/purelib/tensorflow/contrib/linalg/python/ops/linear_operator.py
"""Base class for linear operators.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import contextlib from tensorflow.contrib import framework as contrib_framework from tensorflow.contrib.linalg.python.ops import linear_operator_util from tensorflow.pyt...
PypiClean
/quantrm_xd-0.9.2.tar.gz/quantrm_xd-0.9.2/src/quantrm_xd/simulation.py
import numpy as np import pandas as pd from . import cov_matrix from scipy.stats import t, norm from scipy.optimize import minimize # Multivariate Normal Simulation def multivariate_normal_simulation(covariance_matrix, n_samples, method='direct', mean = 0, explained_variance=1.0, seed=1234): """ A function to...
PypiClean
/azureml_train_automl_client-1.53.0-py3-none-any.whl/azureml/train/automl/_constants_azureml.py
"""Various constants used throughout AutoML that will not be migrating packages.""" from azureml.automl.core.shared.exceptions import ErrorTypes MODEL_PATH = "outputs/model.pkl" TRANSFORMERS_PATH = "outputs/featurization/pipeline" FORECASTTCN_MODEL_PATH = "outputs/model.pt" class Properties: """Property names.""...
PypiClean
/iLCDirac-34.0.0a7.tar.gz/iLCDirac-34.0.0a7/src/ILCDIRAC/Workflow/Modules/StdHepConverter.py
from __future__ import absolute_import import os from DIRAC.Core.Utilities.Subprocess import shellCall from DIRAC import S_ERROR, gLogger from ILCDIRAC.Workflow.Modules.ModuleBase import ModuleBase from ILCDIRAC.Core.Utilities.PrepareLibs import removeLibc __RCSID__ = '$Id$' LOG = gLogger.getSubLogger(__name__) cl...
PypiClean
/xnni-0.7.4-py3-none-manylinux1_x86_64.whl/xnni-0.7.4.data/data/nni/node_modules/moment/locale/is.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
/python-docx-1-0.0.2.tar.gz/python-docx-1-0.0.2/docx/oxml/numbering.py
from . import OxmlElement from .shared import CT_DecimalNumber from .simpletypes import ST_DecimalNumber from .xmlchemy import ( BaseOxmlElement, OneAndOnlyOne, RequiredAttribute, ZeroOrMore, ZeroOrOne ) class CT_Num(BaseOxmlElement): """ ``<w:num>`` element, which represents a concrete list definition ...
PypiClean
/neptune-cli-2.8.23-1.tar.gz/neptune-cli-2.8.23/neptune/internal/cli/storage/upload_storage_utils.py
from __future__ import print_function import os from pprint import pformat from neptune.internal.common.datastream import FileChunkStream, dummy, compress_to_tar_gz_in_memory class UploadEntry(object): def __init__(self, source_path, target_path): self.source_path = source_path self.target_path ...
PypiClean
/tensorflow_edwin-2.10.1-cp38-cp38-win_amd64.whl/tensorflow/python/ops/gen_clustering_ops.py
import collections from tensorflow.python import pywrap_tfe as pywrap_tfe from tensorflow.python.eager import context as _context from tensorflow.python.eager import core as _core from tensorflow.python.eager import execute as _execute from tensorflow.python.framework import dtypes as _dtypes from tensorflow.python.f...
PypiClean
/Camelot-13.04.13-gpl-pyqt.tar.gz/Camelot-13.04.13-gpl-pyqt/camelot/view/controls/editors/monthseditor.py
from PyQt4.QtCore import Qt from PyQt4 import QtCore, QtGui from PyQt4.QtGui import QHBoxLayout from PyQt4.QtGui import QAbstractSpinBox from camelot.core.utils import ugettext as _ from camelot.view.controls.editors import CustomEditor from camelot.view.controls.editors.customeditor import ValueLoading from camelot....
PypiClean
/bluegalaxyenergy-1.0.1.tar.gz/bluegalaxyenergy-1.0.1/README.md
# Blue Galaxy Energy *Hologram: Shut up! You do not know the power of the Blue Galaxy Energy! Also known as the "B.G.E"* *Mr. Whereabout: The Loss, Part III, Volume I* BlueGalaxyEnergy is a tool to perform the so-called BGE attack described in - *Cryptanalysis of a White Box AES Implementation*, Olivier Billet, Henr...
PypiClean
/treasury_prime_client-1.13.548.tar.gz/treasury_prime_client-1.13.548/treasury_prime_client/api/account_opening_api.py
import re # noqa: F401 import sys # noqa: F401 from treasury_prime_client.api_client import ApiClient, Endpoint as _Endpoint from treasury_prime_client.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, datetime, file_type, none_type, validate_and_convert_ty...
PypiClean
/v_quantum_cloud-0.0.3-py3-none-any.whl/vqcloud/device_specific/aws_device.py
from collections import Counter import json import typing from typing import Any, Dict, Optional from blueqat import Circuit from bqbraket import convert from bqbraket.backend import BASIS from braket.device_schema import GateModelParameters from braket.device_schema.ionq import IonqDeviceParameters from braket.devic...
PypiClean
/uliweb_ui-0.1.0-py3-none-any.whl/uliweb_ui/static/modules/ueditor/1.4.3.3/third-party/highcharts/themes/dark-blue.js
Highcharts.theme = { colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], chart: { backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, stops: [ [0, 'rgb(48, 48, 96)'], [1, 'rgb(0, 0, 0)'] ] }, borderC...
PypiClean
/catalystcoop.arelle_mirror-1.3.0-py3-none-any.whl/arelle/plugin/sphinx/SphinxMethods.py
from math import exp, fabs, isinf, isnan, log, log10, pow, sqrt import datetime from arelle.ModelDtsObject import ModelConcept, ModelRelationship from arelle.ModelDocument import Type from arelle.ModelInstanceObject import ModelFact from arelle.ModelRelationshipSet import ModelRelationshipSet from arelle.ModelValue imp...
PypiClean
/fhir.resources-7.0.2.tar.gz/fhir.resources-7.0.2/fhir/resources/DSTU2/flag.py
from typing import List as ListType from pydantic import Field from . import fhirtypes from .domainresource import DomainResource class Flag(DomainResource): """Key information to flag to healthcare providers. Prospective warnings of potential issues when providing care to the patient. """ res...
PypiClean
/types-aiobotocore-gamelift-2.3.4.post1.tar.gz/types-aiobotocore-gamelift-2.3.4.post1/types_aiobotocore_gamelift/client.py
import sys from datetime import datetime from typing import IO, Any, Dict, Mapping, Sequence, Type, Union, overload from aiobotocore.client import AioBaseClient from aiobotocore.response import StreamingBody from botocore.client import ClientMeta from .literals import ( AcceptanceTypeType, BackfillModeType, ...
PypiClean
/voltage-0.1.4a3.tar.gz/voltage-0.1.4a3/README.rst
------- Voltage ------- |Support Server| |PyPi| |Docs| |Checks| A Simple Pythonic Asynchronous API wrapper for Revolt. ===== Usage ===== .. code-block:: python3 import voltage client = voltage.Client() @client.listen('ready') async def on_ready(payload): print(f"Logged in as {client.user}...
PypiClean
/oneline-0.6.4-alpha.tar.gz/oneline-0.6.4-alpha/lib/database/mongodb/doc/api/pymongo/mongo_client.rst
:mod:`mongo_client` -- Tools for connecting to MongoDB ====================================================== .. automodule:: pymongo.mongo_client :synopsis: Tools for connecting to MongoDB .. autoclass:: pymongo.mongo_client.MongoClient([host='localhost'[, port=27017[, max_pool_size=100[, document_class=dict[,...
PypiClean
/baiduads-sdk-auto-snapshot-2022.2.1.5.tar.gz/baiduads-sdk-auto-snapshot-2022.2.1.5/baiduads/creativefeed/model/get_temp_creative_feed_preview_url_response_wrapper.py
import re # noqa: F401 import sys # noqa: F401 from baiduads.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, valid...
PypiClean
/pypairs-3.2.3.tar.gz/pypairs-3.2.3/versioneer.py
from __future__ import print_function try: import configparser except ImportError: import ConfigParser as configparser import errno import json import os import re import subprocess import sys class VersioneerConfig: """Container for Versioneer configuration parameters.""" def get_root(): """Get the...
PypiClean
/Cubane-1.0.11.tar.gz/Cubane-1.0.11/cubane/static/cubane/js/cubane.utils.js
(function(globals){ "use strict"; cubane.namespace('cubane.utils'); /* * Const */ const DIACRITICS = [ {'base':'A', 'letters':/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u...
PypiClean
/metadata_guardian-0.2.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/metadata_guardian/source/external/mysql_source.py
from enum import Enum from typing import Any, Dict, Iterator, List, Optional from loguru import logger from pydantic import Field from ..metadata_source import ColumnMetadata from .external_metadata_source import ( ExternalMetadataSource, ExternalMetadataSourceException, ) try: import pymysql MYSQL_...
PypiClean
/skyline_apiserver-2.0.0.0rc1-py3-none-any.whl/skyline_apiserver/policy/manager/keystone.py
# flake8: noqa # fmt: off from . import base list_rules = ( base.Rule( name="admin_required", check_str=("role:admin or is_admin:1"), description="No description", ), base.Rule( name="service_role", check_str=("role:service"), description="No description", ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_10/models/fixed_reference.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 FixedReference(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is...
PypiClean
/amulet-editor-1.0.0a10.tar.gz/amulet-editor-1.0.0a10/src/amulet_editor/plugins/amulet_team_main_window2/application/widgets/tab_engine/_tab_engine.py
from __future__ import annotations from typing import Optional, Union as Intersection, Union from enum import IntEnum from PySide6.QtWidgets import ( QWidget, QApplication, QStackedWidget, QVBoxLayout, QHBoxLayout, QPushButton, QScrollArea, QSizePolicy, QFrame, QLabel, QSpli...
PypiClean
/coop_html_editor-1.4.1.tar.gz/coop_html_editor-1.4.1/coop_html_editor/static/ckeditor.4.6.2/plugins/specialchar/dialogs/lang/oc.js
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("specialchar","oc",{euro:"Simbòl èuro",lsquo:"Vergueta simpla dobrenta",rsquo:"Vergueta simpla tampanta",ldquo:"Vergueta dobla dobrenta",rdquo:"Vergu...
PypiClean
/csv_metashape_generator_2-0.0.2-py3-none-any.whl/generate_log_raw_petak/generate_log_raw_petak.py
import os import csv class generate_log_raw_petak: """ This is a function to generate new report that consist by 9 photos per shape, please pass the params to execute the function """ def __init__(self,location,chunk_shape_dictionary): self.location = location self.chunk_shape_dictionar...
PypiClean
/djangocms_text_ckeditor-5.1.3-py3-none-any.whl/djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/plugins/wsc/dialogs/wsc.js
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function(){function A(a){return a&&a.domId&&a.getInputElement().$?a.getInputElement():a&&a.$?a:!1}function J(a){if(!a)throw"Languages-by-groups list are required for const...
PypiClean
/fiddle_config-0.2.2-py3-none-any.whl/fiddle/experimental/arg_factory.py
# TODO: Move this file out of Fiddle, into its own library. import dataclasses import functools import inspect from typing import Any, Callable, Dict, Generic, TypeVar T = TypeVar('T') def partial(func, /, *args, **kwargs): """A specialized version of `functools.partial` that binds args to factories. `arg_fact...
PypiClean
/tensorflow_cpu_aws-2.14.0rc1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/tensorflow/lite/python/tflite_keras_util.py
import copy from tensorflow.python.eager import def_function from tensorflow.python.util import keras_deps from tensorflow.python.util import nest from tensorflow.python.util.compat import collections_abc def _enforce_names_consistency(specs): """Enforces that either all specs have names or none do.""" def _has...
PypiClean
/pysubtypes-0.3.18-py3-none-any.whl/subtypes/str.py
from __future__ import annotations import copy import itertools from functools import reduce from operator import ior import re from typing import Any, Callable, Iterator, Iterable, Tuple, Mapping, Match, Union import warnings import regex as regexmod import case_conversion import inflect import clipboard from .lazy ...
PypiClean
/industrial_benchmark_python-2.0-py3-none-any.whl/industrial_benchmark_python/goldstone/nlgp.py
from __future__ import division import numpy as np from numpy import sqrt, sin, cos, arcsin, arccos, pi from scipy.special import cbrt ''' The MIT License (MIT) Copyright 2017 Siemens AG Author: Alexander Hentschel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and asso...
PypiClean
/ansys_dyna_core-0.4.0-py3-none-any.whl/ansys/dyna/core/pre/dynaicfd.py
import logging from .dynabase import * # noqa : F403 class DynaICFD(DynaBase): """Contains methods for create a keyword related to an ICFD analysis.""" def __init__(self): DynaBase.__init__(self) self.create_section_icfd(1) self.timestep = 0 self.termination = 1e28 def ...
PypiClean
/flask-2.3.3-py3-none-any.whl/flask/helpers.py
from __future__ import annotations import importlib.util import os import socket import sys import typing as t import warnings from datetime import datetime from functools import lru_cache from functools import update_wrapper from threading import RLock import werkzeug.utils from werkzeug.exceptions import abort as _...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/datalakestore/get_account.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs __all__ = [ 'GetAccountResult', 'AwaitableGetAccountResult', 'get_account', 'get_account_output', ] @pulumi.output_type ...
PypiClean
/farbox_bucket-0.2068.tar.gz/farbox_bucket-0.2068/farbox_bucket/bucket/template_related/load_theme_from_template_folder.py
import os from farbox_bucket.utils.functional import curry from farbox_bucket.utils import smart_unicode, get_md5 from farbox_bucket.bucket.utils import set_bucket_configs, has_bucket from farbox_bucket.bucket.record.get.path_related import get_paths_under, get_raw_content_by_path from farbox_bucket.client.dump_templat...
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/bower/lib/node_modules/request/lib/oauth.js
'use strict' var url = require('url') , qs = require('qs') , caseless = require('caseless') , uuid = require('node-uuid') , oauth = require('oauth-sign') , crypto = require('crypto') function OAuth (request) { this.request = request this.params = null } OAuth.prototype.buildParams = function (_oauth, ...
PypiClean
/odoo_rpc_client-1.2.0.tar.gz/odoo_rpc_client-1.2.0/README.rst
Odoo RPC Client =============== .. image:: https://gitlab.com/katyukha/odoo-rpc-client/badges/master/pipeline.svg :target: https://gitlab.com/katyukha/odoo-rpc-client/commits/master .. image:: https://gitlab.com/katyukha/odoo-rpc-client/badges/master/coverage.svg :target: https://gitlab.com/katyukha/odoo-rpc...
PypiClean
/PyConform-0.3.0.tar.gz/PyConform-0.3.0/pyconform/parsetab.py
_tabversion = "3.10" _lr_method = "LALR" _lr_signature = "leftEQleft<>LEQGEQleft+-left*/rightNEGPOSleftPOWEQ GEQ LEQ NAME POW STRING UFLOAT UINT\n array_like : UFLOAT\n array_like : UINT\n array_like : function\n array_like : variable\n \n array_like : '(' array_like ')'\n \n function : NAME '...
PypiClean
/aspose-email-cloud-21.9.0.tar.gz/aspose-email-cloud-21.9.0/AsposeEmailCloudSdk/models/email_config_discover_oauth_request.py
import pprint import re import six from typing import List, Set, Dict, Tuple, Optional from datetime import datetime from AsposeEmailCloudSdk.models.discover_email_config_request import DiscoverEmailConfigRequest class EmailConfigDiscoverOauthRequest(DiscoverEmailConfigRequest): """ """ """ Attribu...
PypiClean
/ensemble_boxes-1.0.9-py3-none-any.whl/ensemble_boxes/ensemble_boxes_wbf_experimental.py
__author__ = 'ZFTurbo: https://kaggle.com/zfturbo' import numpy as np def prefilter_boxes( boxes, scores, labels, weights, thr, skip_checks=False ): # Concat everything all_boxes = np.concatenate(boxes, axis=0) all_scores = np.expand_dims(np.concatenate(s...
PypiClean
/pulumi_gcp_native-0.0.2a1617829075.tar.gz/pulumi_gcp_native-0.0.2a1617829075/pulumi_gcp_native/iap/v1/brand_identity_aware_proxy_client.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __all__ = ['BrandIdentityAwareProxyClient'] class BrandIdentityAwareProxyClient(pulumi.CustomResource): def __init__(__self__, resource_name: str, ...
PypiClean
/pybw_comic-23.8.10.4.tar.gz/pybw_comic-23.8.10.4/pybw_comic/engines/mhkan.py
''' ''' import os import sys import warnings import time import shutil from glob import glob from pathlib import Path from tqdm import tqdm import re import random import zhconv from collections import OrderedDict import requests from bs4 import BeautifulSoup from seleniumwire import webdriver from selenium.webdriver.c...
PypiClean
/geocodertools-0.1.6.tar.gz/geocodertools-0.1.6/docs/build/html/_static/websupport.js
(function($) { $.fn.autogrow = function() { return this.each(function() { var textarea = this; $.fn.autogrow.resize(textarea); $(textarea) .focus(function() { textarea.interval = setInterval(function() { $.fn.autogrow.resize(textarea); }, 500); }) .blur(fu...
PypiClean
/grr-response-server-3.4.6.post0.zip/grr-response-server-3.4.6.post0/grr_response_server/gui/root/api_plugins/binary_management.py
"""Root-access-level API handlers for binary management.""" from grr_response_core import config from grr_response_core.lib.rdfvalues import crypto as rdf_crypto from grr_response_core.lib.rdfvalues import structs as rdf_structs from grr_response_proto.api.root import binary_management_pb2 from grr_response_server imp...
PypiClean
/tester-test-123asd-1.0.1.tar.gz/tester-test-123asd-1.0.1/verizon/models/device_prl_list_request.py
from verizon.api_helper import APIHelper from verizon.models.custom_fields import CustomFields from verizon.models.device_id import DeviceId class DevicePrlListRequest(object): """Implementation of the 'DevicePrlListRequest' model. Requests the current PRL (Preferred Roaming List) version for 2G or 3G d...
PypiClean
/django-jutil-3.12.5.tar.gz/django-jutil-3.12.5/jutil/management/commands/make_bank_const_fi.py
from django.core.exceptions import ValidationError from django.core.management.base import CommandParser from jutil.command import SafeCommand from jutil.dict import sorted_dict from jutil.bank_const_fi import FI_BIC_BY_ACCOUNT_NUMBER, FI_BANK_NAME_BY_BIC def fi_iban_load_map(filename: str) -> dict: """Loads Finn...
PypiClean
/openapipy-0.8.0.tar.gz/openapipy-0.8.0/examples/xiaoetong/main.py
from openapi.providers.xiaoetong import Client from examples.config import config # print(config) client = Client(**config['xiaoetong']) client.add_webhook(config['openapi_webhook']) data = { 'encrypt': 'jxDtr8HOsOi4JaF9XEFxeB6yj2SyepAOQ8aSTk/IFwgm9y3KG/aEVQZbEbmXncerf1aitm/pdOmRq7unu1otSnHU4oMnsh2Yowsze8UMCCVaX...
PypiClean
/wai.tfrecords-0.0.2.tar.gz/wai.tfrecords-0.0.2/src/wai/tfrecords/object_detection/dataset_tools/oid_hierarchical_labels_expansion.py
r"""An executable to expand image-level labels, boxes and segments. The expansion is performed using class hierarchy, provided in JSON file. The expected file formats are the following: - for box and segment files: CSV file is expected to have LabelName field - for image-level labels: CSV file is expected to have Lab...
PypiClean
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/request/AlipayOfflineProviderDishQueryRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayOfflineProviderDishQueryModel import AlipayOfflineProviderDishQueryModel class AlipayOfflineProviderDishQueryRequest(object): def __init__(self, biz_model=None): ...
PypiClean
/pyxurls-0.1.3-py3-none-any.whl/xurls/tlds.py
# Refer the tool unicodegen from mvdan.cc/xurls/v2 # TLDs is a sorted list of all public top-level domains. # # Sources: # * https://data.iana.org/TLD/tlds-alpha-by-domain.txt # * https://publicsuffix.org/list/effective_tld_names.dat ASCII_TLDS = [ 'aaa', 'aarp', 'abarth', 'abb', 'abbott', '...
PypiClean
/poseutil-0.1.7.tar.gz/poseutil-0.1.7/utils/version.py
from dataclasses import dataclass import numpy as np import struct import gzip, pickle from utils.pose_util import Coordinate from utils.const import * from utils.common_component import load_pickle_path from enum import Enum import pandas as pd from zipfile import ZipFile import sys def get_version(class_name): r...
PypiClean
/glowcord-2.0.0a3.tar.gz/glowcord-2.0.0a3/discord/ext/commands/core.py
from glowcord.ext.commands.core import Any, ArgumentParsingError, BadArgument, BadBoolArgument, BadColorArgument, BadColourArgument, BadFlagArgument, BadInviteArgument, BadLiteralArgument, BadUnionArgument, BotMissingAnyRole, BotMissingPermissions, BotMissingRole, BucketType, Callable, ChannelNotFound, ChannelNotReadab...
PypiClean
/jsontodpg-1.9-py3-none-any.whl/dpgkeywords.py
_2d_histogram_series = "_2d_histogram_series" _3d_slider = "_3d_slider" activated_handler = "activated_handler" active_handler = "active_handler" alias = "alias" area_series = "area_series" bar_series = "bar_series" bool_value = "bool_value" button = "button" candle_series = "candle_series" char_remap = "char_remap" c...
PypiClean
/ascend-io-sdk-0.3.0rc1.tar.gz/ascend-io-sdk-0.3.0rc1/ascend/sdk/render.py
import base64 import glog from google.protobuf import descriptor from google.protobuf.internal.containers import MessageMap, RepeatedCompositeFieldContainer from google.protobuf.message import Message as ProtoMessage import jinja2 import networkx as nx import os import pathlib from typing import Dict, List, Optional, ...
PypiClean
/gsretail_ts-7.0.1-py3-none-any.whl/ragex/community/interface/static/js/9.edd52385.chunk.js
(this["webpackJsonpucess-talk-admin"]=this["webpackJsonpucess-talk-admin"]||[]).push([[9],{1009:function(e,t,n){"use strict";var r=n(1),o=n(5),a=n(0),l=n.n(a),i=(n(2),n(3)),c=n(9),u=n(119),s=l.a.forwardRef(function(e,t){var n=e.action,a=e.avatar,c=e.classes,s=e.className,f=e.component,p=void 0===f?"div":f,d=e.disableTy...
PypiClean
/django-compositekey-1.5.0.tar.gz/django-compositekey-1.5.0/src/compositekey/db/models/fields/multiplekey.py
from django.db.models.query_utils import QueryWrapper __author__ = 'aldaran' from django.utils.translation import ugettext_lazy as _ from django.db.models.fields import Field, AutoField from compositekey.db.models.fields.wrap import * from compositekey.db.models.base import patched_model_init from compositekey.patch...
PypiClean
/azure_mgmt_frontdoor-1.1.0-py3-none-any.whl/azure/mgmt/frontdoor/aio/operations/_network_experiment_profiles_operations.py
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, cast, overload from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNot...
PypiClean
/bpy_cuda-2.82-cp37-cp37m-win_amd64.whl/bpy_cuda-2.82.data/scripts/2.82/scripts/addons/curve_tools/intersections.py
import bpy from . import mathematics from . import curves from . import util from mathutils import Vector algoPOV = None algoDIR = None class BezierSegmentIntersectionPoint: def __init__(self, segment, parameter, intersectionPoint): self.segment = segment self.parameter = parameter self....
PypiClean
/tencentcloud-sdk-python-aai-3.0.973.tar.gz/tencentcloud-sdk-python-aai-3.0.973/tencentcloud/aai/v20180522/models.py
import warnings from tencentcloud.common.abstract_model import AbstractModel class ChatRequest(AbstractModel): """Chat请求参数结构体 """ def __init__(self): r""" :param _Text: 聊天输入文本 :type Text: str :param _ProjectId: 腾讯云项目 ID,可填 0,总长度不超过 1024 字节。 :type ProjectId: int ...
PypiClean
/opengeode_maxime1008-3.3.0-py3-none-any.whl/opengeode/Connectors.py
import math import logging from PySide2.QtCore import * from PySide2.QtGui import * from PySide2.QtWidgets import * from . import ogParser from .TextInteraction import EditableText LOG = logging.getLogger(__name__) # pylint: disable=R0904 class Connection(QGraphicsPathItem): ''' Connection between two symbols (...
PypiClean
/limix-core-1.0.2.tar.gz/limix-core-1.0.2/limix_core/covar/cov2kronSumLR.py
import sys import numpy as np from .covar_base import Covariance from limix_core.covar import LowRankCov from limix_core.hcache import cached from limix_core.type.exception import TooExpensiveOperationError from limix_core.util import my_name from .util import msg_too_expensive_dim from limix_core.util.svd_utils import...
PypiClean
/keras-explain-0.0.1.tar.gz/keras-explain-0.0.1/keras_explain/graying_out.py
import numpy as np class GrayingOut: name = "Graying out" authors = "Zeiler et al." def __init__(self, model, kernel_size=10, jump=5): self.model = model self.k = kernel_size self.jump = jump def produce_images(self, image, k=10, jump=5): ims = \ np.zeros...
PypiClean
/webpub_manifest_parser-0.0.4.tar.gz/webpub_manifest_parser-0.0.4/src/webpub_manifest_parser/rwpm/semantic.py
import logging from multipledispatch import dispatch from webpub_manifest_parser.core.ast import ( Collection, CollectionList, CompactCollection, Link, LinkList, Manifestlike, Metadata, ) from webpub_manifest_parser.core.errors import BaseSemanticError from webpub_manifest_parser.core.sema...
PypiClean
/django-dynamic-link-0.5.7.tar.gz/django-dynamic-link-0.5.7/dynamicLink/README_COPY
=========== Description =========== Django file streaming application to provide download links without showing the real path to the served file. The links can be set to expire by date or by clicks. It is also possible to use it for counting clicks on a download link. **License** New BSD license **Notes** ...
PypiClean
/python_boilerplate-uwbobqpgbvbg-0.1.1.tar.gz/python_boilerplate-uwbobqpgbvbg-0.1.1/docs/installation.rst
.. highlight:: shell ============ Installation ============ Stable release -------------- To install Python Boilerplate, run this command in your terminal: .. code-block:: console $ pip install python_boilerplate This is the preferred method to install Python Boilerplate, as it will always install the most r...
PypiClean
/django_google_sheets-0.1.0-py3-none-any.whl/googlesheets/sheets.py
import gspread from django.conf import settings import json from django.core import serializers def addicionar(self): adr = [self.pk,str(serializers.serialize('json', [self]))] ad = str(serializers.serialize('json', [self])).split("[") ad = str(ad[1]).split("]") ad = json.loads(str(ad[0])) ad = st...
PypiClean
/message_server_by_mokrenko-0.1.3.tar.gz/message_server_by_mokrenko-0.1.3/server/client/temp_transport.py
import socket import sys import time import logging import json import threading from PyQt5.QtCore import pyqtSignal, QObject sys.path.append('../') from common.utils import * from common.variables import * from common.errors import ServerError # Логер и объект блокировки для работы с сокетом. logger = logging.getLog...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/batch/v20190401/get_pool.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs __all__ = [ 'GetPoolResult', 'AwaitableGetPoolResult', 'get_pool', ] @pulumi.output_type class GetPoolResult: """ Contains infor...
PypiClean
/safegate_pro-2021.7.6-py3-none-any.whl/homeassistant/components/logger/__init__.py
import logging import voluptuous as vol from homeassistant.core import callback import homeassistant.helpers.config_validation as cv DOMAIN = "logger" SERVICE_SET_DEFAULT_LEVEL = "set_default_level" SERVICE_SET_LEVEL = "set_level" LOGSEVERITY = { "CRITICAL": 50, "FATAL": 50, "ERROR": 40, "WARNING":...
PypiClean
/threedi_cmd-0.0.20.tar.gz/threedi_cmd-0.0.20/threedi_cmd/commands/api.py
import asyncio import sys from datetime import datetime from pathlib import Path import click from threedi_api_client.openapi.api.v3_api import V3Api import websockets from threedi_api_client.api import Configuration from threedi_api_client.openapi.exceptions import ApiException from rich.table import Table from rich ...
PypiClean