id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/OctoPrint-1.9.2.tar.gz/OctoPrint-1.9.2/src/octoprint/schema/config/devel.py
__license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html" __copyright__ = "Copyright (C) 2022 The OctoPrint Project - Released under terms of the AGPLv3 License" from enum import Enum from octoprint.schema import BaseModel from octoprint.vendor.with_attrs_docs import with_attrs_docs cl...
PypiClean
/yt-dlp-2023.7.6.tar.gz/yt-dlp-2023.7.6/yt_dlp/extractor/audioboom.py
from .common import InfoExtractor from ..utils import clean_html, float_or_none, traverse_obj, unescapeHTML class AudioBoomIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?audioboom\.com/(?:boos|posts)/(?P<id>[0-9]+)' _TESTS = [{ 'url': 'https://audioboom.com/posts/7398103-asim-chaudhry', ...
PypiClean
/epicserver-0.2.8.tar.gz/epicserver-0.2.8/docs/dns.md
## DNSCache This points to (LocalDNSCache)[#LocalDNSCache] by Default, see below for more details. ## LocalDNSCache LocalDNSCache and ClusterDNSCache are identical in all aspects except that LocalDNSCache exposes a hint to the scheduelr to ensure that all isntances are run locally. This has the effect of making ...
PypiClean
/aider_chat-0.13.0-py3-none-any.whl/aider/coders/base_coder.py
import hashlib import json import os import sys import threading import time import traceback from json.decoder import JSONDecodeError from pathlib import Path import openai from jsonschema import Draft7Validator from rich.console import Console, Text from rich.live import Live from rich.markdown import Markdown fro...
PypiClean
/django-extensions-3.2.3.tar.gz/django-extensions-3.2.3/CHANGELOG.md
Changelog ========= See https://github.com/django-extensions/django-extensions/releases 3.2.2 ----- Changes: - Improvement: Add support for psycopg3 (#1814) - Improvement: runserver_plus, autoreload on template change (#1796) - Improvement: highlighting, test_should_highlight_bash_syntax_without_name to include whi...
PypiClean
/pytorch-sconce-1.4.0.tar.gz/pytorch-sconce-1.4.0/sconce/trainers/single_class_image_classifier_trainer.py
from abc import ABC from matplotlib import pyplot as plt from scipy import sparse from sconce.trainer import Trainer import seaborn as sn import numpy as np __all__ = ['SingleClassImageClassifierMixin', 'SingleClassImageClassifierTrainer'] class SingleClassImageClassifierMixin(ABC): def get_confusion_matrix(se...
PypiClean
/KratosSwimmingDEMApplication-9.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/KratosMultiphysics/SwimmingDEMApplication/swimming_dem_default_input_parameters.py
import KratosMultiphysics def GetDefaultInputParameters(): default_settings = KratosMultiphysics.Parameters( """{ "echo_level" : 1, "gravity_parameters" : { "modulus" : 9.81, "direction" : [0.0, 0.0, -1.0] }, "time_stepping" : { "automatic_...
PypiClean
/django_handyhelpers-0.3.9-py3-none-any.whl/handyhelpers/static/node_modules/bootstrap-table/dist/locale/bootstrap-table-es-CR.js
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function (...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/domain/AlipayOpenMiniItemPageQueryModel.py
import json from alipay.aop.api.constant.ParamConstants import * class AlipayOpenMiniItemPageQueryModel(object): def __init__(self): self._item_id_list = None self._operation = None self._page_num = None self._page_size = None @property def item_id_list(self): re...
PypiClean
/diffcalc-core-0.4.0.tar.gz/diffcalc-core-0.4.0/src/diffcalc/hkl/geometry.py
from math import degrees, radians from typing import Dict, Tuple, Union import numpy as np from diffcalc.util import I, x_rotation, y_rotation, z_rotation from numpy.linalg import inv class Position: """Class representing diffractometer orientation. Diffractometer orientation corresponding to (4+2) geometry...
PypiClean
/NESTML-5.3.0-py3-none-any.whl/pynestml/codegeneration/printers/cpp_expression_printer.py
from pynestml.codegeneration.printers.expression_printer import ExpressionPrinter from pynestml.meta_model.ast_arithmetic_operator import ASTArithmeticOperator from pynestml.meta_model.ast_bit_operator import ASTBitOperator from pynestml.meta_model.ast_expression import ASTExpression from pynestml.meta_model.ast_expre...
PypiClean
/XStatic_svgedit-7.2.0.2-py3-none-any.whl/xstatic/pkg/svgedit/data/src/editor/locale/lang.sv.js
export default { lang: 'sv', dir: 'ltr', common: { ok: 'Spara', cancel: 'Avbryt', key_backspace: 'backspace', key_del: 'delete', key_down: 'down', key_up: 'up', more_opts: 'More Options', url: 'URL', width: 'Width', height: 'Height' }, misc: { powered_by: 'Powered b...
PypiClean
/sandstone-slurm-assist-0.12.0.tar.gz/sandstone-slurm-assist-0.12.0/sandstone_slurm/node_modules/bower/lib/node_modules/handlebars/dist/amd/handlebars/exception.js
define(['exports', 'module'], function (exports, module) { 'use strict'; var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack']; function Exception(message, node) { var loc = node && node.loc, line = undefined, column = undefined; if (loc) { ...
PypiClean
/types-aiobotocore-qldb-session-2.3.4.tar.gz/types-aiobotocore-qldb-session-2.3.4/types_aiobotocore_qldb_session/literals.py
import sys if sys.version_info >= (3, 9): from typing import Literal else: from typing_extensions import Literal __all__ = ("QLDBSessionServiceName", "ServiceName", "ResourceServiceName", "RegionName") QLDBSessionServiceName = Literal["qldb-session"] ServiceName = Literal[ "accessanalyzer", "accoun...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/kusto/list_database_principals.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__ = [ 'ListDatabasePrincipalsResult', 'AwaitableListDatabasePrincipalsResult', 'list_database_principals', 'list_da...
PypiClean
/pulumi_ovh-0.33.0.tar.gz/pulumi_ovh-0.33.0/pulumi_ovh/cloudproject/get_users.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__ = [ 'GetUsersResult', 'AwaitableGetUsersResult', 'get_users', 'get_users_output', ] @pulumi.output_type class Ge...
PypiClean
/noise-1.2.2.tar.gz/noise-1.2.2/README.txt
Native-code and shader implementations of Perlin noise for Python By Casey Duncan <casey dot duncan at gmail dot com> This package is designed to give you simple to use, fast functions for generating Perlin noise in your Python programs. Perlin noise is famously called the "salt" of procedural generation, as it adds ...
PypiClean
/tensorflow_tflex-1.13.1rc1-cp27-cp27mu-manylinux1_x86_64.whl/tensorflow_tflex-1.13.1rc1.data/purelib/tensorflow/contrib/gan/python/estimator/python/head_impl.py
"""A TFGAN-backed GAN Estimator.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import functools from tensorflow.contrib.gan.python import namedtuples as tfgan_tuples from tensorflow.contrib.gan.python import train as tfgan_train from tensorflow.python...
PypiClean
/vaex-ui-0.3.0.tar.gz/vaex-ui-0.3.0/vaex/ui/main.py
from __future__ import print_function __author__ = 'breddels' # import astropy.vo.samp as sampy import platform import vaex.utils import sys import threading import vaex.export import vaex.utils import vaex.promise import vaex.settings import vaex.remote import psutil from vaex.parallelize import parallelize from vae...
PypiClean
/baiduads-sdk-auto-snapshot-2022.2.1.5.tar.gz/baiduads-sdk-auto-snapshot-2022.2.1.5/baiduads/marketapi/model/open_order_cancel_request.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
/ansible-8.3.0-py3-none-any.whl/ansible_collections/google/cloud/plugins/modules/gcp_storage_object.py
from __future__ import absolute_import, division, print_function __metaclass__ = type ################################################################################ # Documentation ################################################################################ ANSIBLE_METADATA = { "metadata_version": "1.1", ...
PypiClean
/trio-0.15.0.tar.gz/trio-0.15.0/docs/source/reference-lowlevel.rst
========================================================= Introspecting and extending Trio with ``trio.lowlevel`` ========================================================= .. module:: trio.lowlevel :mod:`trio.lowlevel` contains low-level APIs for introspecting and extending Trio. If you're writing ordinary, everyday...
PypiClean
/gocardless_pro-1.46.0.tar.gz/gocardless_pro-1.46.0/gocardless_pro/services/subscriptions_service.py
from . import base_service from .. import resources from ..paginator import Paginator from .. import errors class SubscriptionsService(base_service.BaseService): """Service class that provides access to the subscriptions endpoints of the GoCardless Pro API. """ RESOURCE_CLASS = resources.Subscription...
PypiClean
/securicad_model-1.2.0-py3-none-any.whl/securicad/model/model.py
from __future__ import annotations import collections import typing from typing import TYPE_CHECKING, Any, DefaultDict, Optional from securicad.langspec import Lang from . import utility from .association import Association, FieldTarget from .attacker import Attacker from .base import Base from .exceptions import ...
PypiClean
/gamification-engine-0.4.0.tar.gz/gamification-engine-0.4.0/gengine/app/jsscripts/node_modules/jest-cli/build/cli/runCLI.js
'use strict';function _asyncToGenerator(fn) {return function () {var gen = fn.apply(this, arguments);return new Promise(function (resolve, reject) {function step(key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {return Promise.r...
PypiClean
/checkov3-0.1.13.tar.gz/checkov3-0.1.13/checkov/terraform/graph_manager.py
from __future__ import annotations import logging import os from typing import Type, Any, TYPE_CHECKING from checkov.common.runners.base_runner import strtobool from checkov.common.util.consts import DEFAULT_EXTERNAL_MODULES_DIR from checkov.terraform.graph_builder.local_graph import TerraformLocalGraph from checkov....
PypiClean
/hyo.soundspeed-2018.1.1-py3-none-any.whl/hyo/soundspeedmanager/dialogs/export_profile_metadata_dialog.py
from PySide import QtGui from PySide import QtCore import traceback import logging logger = logging.getLogger(__name__) from hyo.soundspeedmanager.dialogs.dialog import AbstractDialog from hyo.soundspeed.base.gdal_aux import GdalAux class ExportProfileMetadataDialog(AbstractDialog): def __init__(self, main_win...
PypiClean
/mera_tvm_host_only-1.3.1-cp36-cp36m-manylinux_2_27_x86_64.whl/tvm/topi/bifrost/conv2d.py
# pylint: disable=invalid-name,unused-variable,unused-argument,no-else-return """conv2d schedule on ARM Mali (Bifrost) GPU""" import tvm from tvm import te from tvm import relay from tvm import autotvm from .gemm import decl_winograd_gemm, schedule_gemm from .transforms import tile_and_bind, tile_and_bind3d from ..u...
PypiClean
/Mesa_Adapted-0.8.7.3-py3-none-any.whl/mesa/visualization/modules/CanvasGridVisualization.py
from collections import defaultdict from mesa.visualization.ModularVisualization import VisualizationElement class CanvasGrid(VisualizationElement): """ A CanvasGrid object uses a user-provided portrayal method to generate a portrayal for each object. A portrayal is a JSON-ready dictionary which tells the...
PypiClean
/pynvm-0.3.1.tar.gz/pynvm-0.3.1/nvm/pmemobj/tuple.py
import collections import sys from .compat import recursive_repr, abc from .list import PersistentList from _pmem import ffi TUPLE_POBJPTR_ARRAY_TYPE_NUM = 50 class PersistentTuple(PersistentList): """Persistent version of the 'tuple' type.""" def __init__(self, *args, **kw): if not args: ...
PypiClean
/PySpicePro-40.2.tar.gz/PySpicePro-40.2/PySpice/Spice/Expression/Parser.py
#################################################################################################### import logging #################################################################################################### import ply.lex as lex import ply.yacc as yacc #####################################################...
PypiClean
/snakesist-0.3.0.tar.gz/snakesist-0.3.0/README.rst
.. image:: https://i.ibb.co/JsZqM7z/snakesist-logo.png :target: https://snakesist.readthedocs.io snakesist ========= .. image:: https://badge.fury.io/py/snakesist.svg :target: https://badge.fury.io/py/snakesist .. image:: https://readthedocs.org/projects/snakesist/badge/?version=latest :target: https://s...
PypiClean
/askbot-tuanpa-0.7.48.zip/askbot-tuanpa-0.7.48/askbot/setup_templates/static/default/media/js/tinymce/plugins/save/editor_plugin_src.js
(function() { tinymce.create('tinymce.plugins.Save', { init : function(ed, url) { var t = this; t.editor = ed; // Register commands ed.addCommand('mceSave', t._save, t); ed.addCommand('mceCancel', t._cancel, t); // Register buttons ed.addButton('save', {title : 'save.save_desc', cmd : 'mceSav...
PypiClean
/rom_operator_inference-1.4.1-py3-none-any.whl/rom_operator_inference/pre/basis/_pod.py
"""Tools for basis computation and reduced-dimension selection.""" __all__ = [ "PODBasis", "PODBasisMulti", "pod_basis", "svdval_decay", "cumulative_energy", "residual_energy", "projection_error", ] import h5py import numpy as np import scipy.linalg as la import scipy.sparse.linalg as spla...
PypiClean
/baserow_open_api_client-0.0.6.tar.gz/baserow_open_api_client-0.0.6/baserow_open_api_client/models/patched_update_view_sort.py
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.order_enum import OrderEnum from ..types import UNSET, Unset T = TypeVar("T", bound="PatchedUpdateViewSort") @attr.s(auto_attribs=True) class PatchedUpdateViewSort: """ Attributes: field (Union[Unset, int]): The fiel...
PypiClean
/aim-stack-2.0.0.tar.gz/aim-stack-2.0.0/aim/engine/utils.py
import os from copy import deepcopy from functools import reduce from random import choice from string import ascii_letters from importlib import import_module def deep_merge(*dicts, update=False): """ Merges dicts deeply """ def merge_into(d1, d2): for key in d2: if key not in d1 ...
PypiClean
/prettyetc_qt-0.4.0-py3-none-any.whl/prettyetc_qt/themes/__init__.py
"""Built-in qt stylesheets manager.""" import inspect import os from PySide2.QtCore import Qt from PySide2.QtGui import QColor, QPalette from prettyetc.etccore.logger import ChildLoggerHelper __all__ = ("QtTheme", "load_all", "load_palettes") class QtTheme(ChildLoggerHelper): """ Representation of a theme...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/users/item/calendars/item/events/item/decline/decline_post_request_body.py
from __future__ import annotations from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from ........models import time_slot class DeclinePostRequestBody(Additional...
PypiClean
/google-events-0.10.0.tar.gz/google-events-0.10.0/src/google/events/cloud/vmmigration_v1/__init__.py
from google.events.cloud.vmmigration_v1 import gapic_version as package_version __version__ = package_version.__version__ from .types.data import AdaptingOSStep from .types.data import ApplianceVersion from .types.data import AppliedLicense from .types.data import AvailableUpdates from .types.data import AwsSourceD...
PypiClean
/anuga-3.1.9.tar.gz/anuga-3.1.9/examples/simple_examples/channel3_parallel.py
import anuga #------------------------------------------------------------------------------ # Setup some initial info #------------------------------------------------------------------------------ def topography(x,y): """Complex topography defined by a function of vectors x and y.""" z = -x/10 N = len(...
PypiClean
/sobolev_alignment-1.0.0.tar.gz/sobolev_alignment-1.0.0/docs/build/_static/language_data.js
var stopwords = [ "a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "the...
PypiClean
/graphene_framework-0.0.4-py3-none-any.whl/graphene_framework/generics.py
import graphene from .types import MutationPayload, MutationRoot from .generics_utils import ( AUTHENTICATION_REQUIRED_CHECK, decorate_mutate_func, get_mutation_errors, perform_checks, define_mutation_errors, create_default_create_function, default_update_function, default_delete_funct...
PypiClean
/bitmovin_api_sdk-1.171.0-py3-none-any.whl/bitmovin_api_sdk/models/speke_drm_provider.py
from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model from bitmovin_api_sdk.models.external_id_mode import ExternalIdMode import pprint import six class SpekeDrmProvider(object): @poscheck_model def __init__(self, url=None, ...
PypiClean
/seed-stage-based-messaging-0.13.1.tar.gz/seed-stage-based-messaging-0.13.1/contentstore/migrations/0001_initial.py
from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models import contentstore.models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="BinaryContent", ...
PypiClean
/plcd-0.0.2.tar.gz/plcd-0.0.2/README.md
# plcd - A lightweight PLC uptime monitor ![logo](assets/logo_ascii.png) # `$ pip install plcd` ![Build Test](https://github.com/LibreCS/plcd/actions/workflows/test.yml/badge.svg) ![Release](https://github.com/LibreCS/plcd/actions/workflows/release.yml/badge.svg) ## Features - Uptime detection, monitoring, and logg...
PypiClean
/swh.web-0.2.37.tar.gz/swh.web-0.2.37/static/jssources/dompurify/dist/purify.js
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.DOMPurify = factory()); })(this, (function () ...
PypiClean
/multiego-0.0.15.tar.gz/multiego-0.0.15/README.md
# Multiply EGO EGO (Efficient global optimization) and multiply target EGO method. References: Jones, D. R., Schonlau, M. & Welch, W. J. Efficient global optimization of expensive black-box functions. J. Global Optim. 13, 455–492 (1998) [![Python Versions](https://img.shields.io/pypi/pyversions/multiego.svg)](https:...
PypiClean
/tbds-hdfs-2.8.0.tar.gz/tbds-hdfs-2.8.0/hdfs/__main__.py
from . import __version__ from .config import Config, NullHandler, catch from .util import HdfsError from docopt import docopt from threading import Lock import logging as lg import os import os.path as osp import sys def parse_arg(args, name, parser, separator=None): """Parse command line argument, raising an ap...
PypiClean
/hal-cli-0.1.1.tar.gz/hal-cli-0.1.1/CODE_OF_CONDUCT.md
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex ch...
PypiClean
/segraph-0.5.tar.gz/segraph-0.5/docs/_build/html/_static/doctools.js
* select a different prefix for underscore */ $u = _.noConflict(); /** * make the code below compatible with browsers without * an installed firebug like debugger if (!window.console || !console.firebug) { var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "...
PypiClean
/django-monaco-editor-1.0.9.tar.gz/django-monaco-editor-1.0.9/django_monaco_editor/static/external/monaco-editor/esm/vs/editor/browser/widget/diffReview.js
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =...
PypiClean
/fnx-wac-0.33.tar.gz/fnx-wac-0.33/wac.py
import abc import logging import math import pprint import re import threading from six import with_metaclass import future from past.builtins import basestring from future.standard_library import install_aliases install_aliases() import http.client import urllib.request, urllib.parse, urllib.error import urllib.parse ...
PypiClean
/zeno_etl_libs-1.0.126.tar.gz/zeno_etl_libs-1.0.126/glue-jobs/src/scripts/system_inventory/system-inventory.py
#@owner: akshay.bhutada@zeno.health #@Purpose: To find the system inventory import sys import argparse import os from datetime import datetime import pandas as pd import numpy as np sys.path.append('../../../..') from dateutil.tz import gettz from zeno_etl_libs.helper.aws.s3 import S3 from zeno_etl_libs.helper.em...
PypiClean
/pulumi_google_native-0.31.2a1689827148.tar.gz/pulumi_google_native-0.31.2a1689827148/pulumi_google_native/cloudbuild/v1/worker_pool.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__ = ['WorkerPoolArgs', 'WorkerPool'] @pulumi.input_type class WorkerPoolArgs: de...
PypiClean
/ipyanchorviz-0.2.2.tar.gz/ipyanchorviz-0.2.2/js/lib/anchorviz.js
import * as d3 from "d3"; import * as d3Lasso from "d3-lasso"; import * as _ from "lodash"; import * as math from "./math.js"; import * as utils from "./utils.js"; require('./style.css') /** * Makes a clone of the anchors, this is done because the model won't * register changes if the set modified is the set contai...
PypiClean
/drymail-0.0.6.tar.gz/drymail-0.0.6/README.md
# drymail Makes sending emails easy and [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) — For Python 3. [![PyPI version](https://badge.fury.io/py/drymail.svg)](https://badge.fury.io/py/drymail) __Drymail__ is a minimalist wrapper over Python’s existing [smtplib](https://docs.python.org/3/library/smtpli...
PypiClean
/skytime-0.16.1-py3-none-any.whl/build/lib/build/lib/build/lib/build/lib/build/lib/sktime/utils/_testing/scenarios_classification.py
__author__ = ["fkiraly"] __all__ = [ "scenarios_classification", "scenarios_early_classification", "scenarios_regression", ] from inspect import isclass from sktime.base import BaseObject from sktime.classification.base import BaseClassifier from sktime.classification.early_classification import BaseEarl...
PypiClean
/Transcrypt-3.7.16.tar.gz/Transcrypt-3.7.16/transcrypt/demos/parcel_demo/node_modules/regenerate-unicode-properties/Binary_Property/XID_Start.js
module.exports = require('regenerate')(0xAA, 0xB5, 0xBA, 0x2EC, 0x2EE, 0x37F, 0x386, 0x38C, 0x559, 0x6D5, 0x6FF, 0x710, 0x7B1, 0x7FA, 0x81A, 0x824, 0x828, 0x93D, 0x950, 0x9B2, 0x9BD, 0x9CE, 0x9FC, 0xA5E, 0xABD, 0xAD0, 0xAF9, 0xB3D, 0xB71, 0xB83, 0xB9C, 0xBD0, 0xC3D, 0xC80, 0xCBD, 0xCDE, 0xD3D, 0xD4E, 0xDBD, 0xE32, 0xE8...
PypiClean
/pulumi_oci-1.9.0a1693465256.tar.gz/pulumi_oci-1.9.0a1693465256/pulumi_oci/genericartifactscontent/get_generic_artifacts_content.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'GetGenericArtifactsContentResult', 'AwaitableGetGenericArtifactsContentResult', 'get_generic_artifacts_content', 'get_generic_arti...
PypiClean
/CBlog-0.1a.tar.bz2/CBlog-0.1a/cblog/controllers/feed.py
__all__ = ['CBlogFeedController'] import logging from os.path import splitext from urllib import urlencode from turbogears import config, expose, url from turbogears.feed import FeedController from sqlobject import SQLObjectNotFound from sqlobject.sqlbuilder import * from cblog import model from cblog.utils.misc i...
PypiClean
/cellseg_sribd-0.0.1-py3-none-any.whl/stardist_pkg/rays3d.py
from __future__ import print_function, unicode_literals, absolute_import, division import numpy as np from scipy.spatial import ConvexHull import copy import warnings class Rays_Base(object): def __init__(self, **kwargs): self.kwargs = kwargs self._vertices, self._faces = self.setup_vertices_faces(...
PypiClean
/pyodps-0.11.4.1-cp39-cp39-manylinux2014_aarch64.whl/odps/mars_extension/oscar/filesystem.py
import mmap import os import tempfile from collections import OrderedDict from urllib.parse import urlparse import numpy as np from mars.lib.filesystem import FileSystem from ...core import ODPS from ...compat import futures, BytesIO from ...errors import NoSuchObject from ...tunnel.volumetunnel import VolumeTunnel ...
PypiClean
/iot_services_sdk-2.0.2.tar.gz/iot_services_sdk-2.0.2/iot_services_sdk/gateway.py
import json from .tenant_iot_service import TenantIoTService from .utils import build_query from .response import Response class GatewayService(TenantIoTService): def __init__(self, instance, user, password, tenant_id): """Instantiate Ga...
PypiClean
/md_davis-0.4.1.tar.gz/md_davis-0.4.1/md_davis/landscape/landscape_animate.py
import click import plotly import numpy import plotly.graph_objects as go from md_davis.landscape.landscape import Landscape def get_animation_data(landscape): output = [] for i, row in enumerate(landscape.binned_data): for j, time in enumerate(row): for t in time: output....
PypiClean
/drypatrick-2021.7.5.tar.gz/drypatrick-2021.7.5/homeassistant/components/dlink/switch.py
from datetime import timedelta import logging import urllib from pyW215.pyW215 import SmartPlug import voluptuous as vol from homeassistant.components.switch import PLATFORM_SCHEMA, SwitchEntity from homeassistant.const import ( ATTR_TEMPERATURE, CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME,...
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/fb252f9c7212c329a6c6396a0a833fa9.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
/monk_cuda101_test-0.0.1.tar.gz/monk_cuda101_test-0.0.1/monk/gluon/losses/return_loss.py
from monk.gluon.losses.imports import * from monk.system.imports import * @accepts(dict, post_trace=False) #@TraceFunction(trace_args=False, trace_rv=False) def load_loss(system_dict): ''' Load loss function in native library Args: system_dict (dict): System dictionary storing experiment state and s...
PypiClean
/bolt-sdk-2.1.7.tar.gz/bolt-sdk-2.1.7/bolt/__init__.py
import json from collections import defaultdict from os import environ as _environ from random import choice from threading import Lock import urllib3 from boto3 import Session as _Session from botocore.auth import SigV4Auth as _SigV4Auth from botocore.awsrequest import AWSRequest as _AWSRequest from botocore.config ...
PypiClean
/sltoo-25.1.0b3.tar.gz/sltoo-25.1.0b3/docs/_posts/2010-12-09-AboutDigraphs.md
--- title: "How To: About Digraphs" date: 2010-12-09 author: Andreas Florath <rmtoo@florath.net> --- Status ------ (as of version 15) rmtoo uses digraph data structure for internal data handling. The most obviously used digraph data structures are the requirements dependencies and the topics. A set of requirements...
PypiClean
/discrete_optimization-0.2.2-py3-none-any.whl/discrete_optimization/rcpsp/fast_function_rcpsp.py
import logging import numba.typed import numba.types import numpy as np from numba import njit logger = logging.getLogger(__name__) int32_array = numba.types.Array(numba.types.int32, 1, "C") @njit def sgs_fast( permutation_task, modes_array, # permutation_task=array(task)->task index consumption_arra...
PypiClean
/nx.viper-1.2.4b1.tar.gz/nx.viper-1.2.4b1/nx/viper/service/mysql.py
from twisted.logger import Logger from twisted.internet import reactor, defer from twisted.enterprise import adbapi from twisted.python.failure import Failure from nx.viper.application import Application as ViperApplication import pymysql pymysql.install_as_MySQLdb() class Service: """ MySQL Database servic...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/inference_classification.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 entity, inference_classification_override from . import entity class InferenceClass...
PypiClean
/controlnet_k-0.1.4-py3-none-any.whl/controlnet_k/annotator/uniformer/mmcv/ops/voxelize.py
import torch from torch import nn from torch.autograd import Function from torch.nn.modules.utils import _pair from ..utils import ext_loader ext_module = ext_loader.load_ext( '_ext', ['dynamic_voxelize_forward', 'hard_voxelize_forward']) class _Voxelization(Function): @staticmethod def forward(ctx, ...
PypiClean
/django-summit-1.1.-.tar.gz/django-summit-1.1.-/summit/sponsor/admin.py
from django.contrib import admin from summit.sponsor.models import (Sponsorship, SponsorshipScore, NonLaunchpadSponsorship, NonLaunchpadSponsorshipScore, SponsorshipSuggestion, SponsorshipSuggestionScore) __all__ = ( ) class SponsorshipScoreInline(admin.TabularInline): model = SponsorshipScore class ...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/response/AlipayMerchantOrderSyncResponse.py
import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.OrderDataDistributeInfo import OrderDataDistributeInfo from alipay.aop.api.domain.OrderDataSyncSuggestion import OrderDataSyncSuggestion class AlipayMerchantOrderSyncResponse(AlipayResponse): def __init__(se...
PypiClean
/wagtail-easy-thumbnails-0.3.tar.gz/wagtail-easy-thumbnails-0.3/README.rst
======================= Wagtail Easy Thumbnails ======================= A simple django app that allows you to use `easy_thumbnails`__ with the images from `Wagtail`__, including the focal point that you can define on images in Wagtail. __ https://github.com/SmileyChris/easy-thumbnails __ https://wagtail.io/ This w...
PypiClean
/aapp_runner-0.10.0.tar.gz/aapp_runner-0.10.0/README.md
pytroll-aapp-runner =================== [![Build status](https://github.com/pytroll/pytroll-aapp-runner/workflows/CI/badge.svg?branch=main)](https://github.com/pytroll/pytroll-aapp-runner/workflows/CI/badge.svg?branch=main) [![Coverage Status](https://coveralls.io/repos/github/pytroll/pytroll-aapp-runner/badge.svg?bra...
PypiClean
/theape-2014.11.10.tar.gz/theape-2014.11.10/ape/plugins/apeplugin.py
from __future__ import print_function # python standard library import re import os from collections import OrderedDict # third party from configobj import ConfigObj #from validate import Validator # this package from ape import BaseClass import ape.infrastructure.arguments.arguments as basearguments from ape.infras...
PypiClean
/dist_prb_a-1.2-py3-none-any.whl/dist_prb_a/Gaussiandistribution.py
import math import matplotlib.pyplot as plt from .Generaldistribution import Distribution class Gaussian(Distribution): """ Gaussian distribution class for calculating and visualizing a Gaussian distribution. Attributes: mean (float) representing the mean value of the distribution stdev (float) representing ...
PypiClean
/alipay-sdk-python-pycryptodome-3.3.202.tar.gz/alipay-sdk-python-pycryptodome-3.3.202/alipay/aop/api/domain/AlipayUserDetail.py
import json from alipay.aop.api.constant.ParamConstants import * class AlipayUserDetail(object): def __init__(self): self._alipay_user_id = None self._certified = None self._logon_id = None self._real_name = None self._sex = None self._user_status = None s...
PypiClean
/xmldirector.plonecore-2.1.1.zip/xmldirector.plonecore-2.1.1/xmldirector/plonecore/browser/resources/ace-builds/src/ext-elastic_tabstops_lite.js
define("ace/ext/elastic_tabstops_lite",["require","exports","module","ace/editor","ace/config"], function(require, exports, module) { "use strict"; var ElasticTabstopsLite = function(editor) { this.$editor = editor; var self = this; var changedRows = []; var recordChanges = false; this.onAfterExec ...
PypiClean
/cybrid_api_organization_python-0.90.6-py3-none-any.whl/cybrid_api_organization/api/organizations_organization_api.py
import re # noqa: F401 import sys # noqa: F401 from cybrid_api_organization.api_client import ApiClient, Endpoint as _Endpoint from cybrid_api_organization.model_utils import ( # noqa: F401 check_allowed_values, check_validations, date, datetime, file_type, none_type, validate_and_conver...
PypiClean
/twexit-6.43.0b1.tar.gz/twexit-6.43.0b1/twilio/jwt/__init__.py
import hmac import sys from twilio.jwt import compat if sys.version_info[0] == 3 and sys.version_info[1] == 2: # PyJWT expects hmac.compare_digest to exist even under python 3.2 hmac.compare_digest = compat.compare_digest import jwt as jwt_lib try: import json except ImportError: import simplejson a...
PypiClean
/nano_qmflows-0.14.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/nano_qmflows-0.14.0.data/scripts/plot_average_energy.py
import numpy as np import os import matplotlib.pyplot as plt import argparse def plot_stuff(outs, pops): """ energies - a vector of energy values that can be plotted """ dim_x = np.arange(outs.shape[0]) plot = np.column_stack((outs, pops)) plt.xlabel('Time (fs)') plt.ylabel('Energy (eV)')...
PypiClean
/django_bpp-1.0.9-py3-none-any.whl/django_bpp/staticroot/async/README.md
# Async.js [![Build Status via Travis CI](https://travis-ci.org/caolan/async.svg?branch=master)](https://travis-ci.org/caolan/async) [![NPM version](http://img.shields.io/npm/v/async.svg)](https://www.npmjs.org/package/async) [![Coverage Status](https://coveralls.io/repos/caolan/async/badge.svg?branch=master)](https:/...
PypiClean
/pyiron_continuum-0.0.5-py3-none-any.whl/pyiron_continuum/fenics/job/elastic.py
from pyiron_continuum.fenics.job.generic import Fenics from pyiron_continuum.fenics.plot import Plot __author__ = "Liam Huber" __copyright__ = ( "Copyright 2020, Max-Planck-Institut für Eisenforschung GmbH - " "Computational Materials Design (CM) Department" ) __version__ = "0.1" __maintainer__ = "Liam Huber" ...
PypiClean
/hammer_vlsi-1.1.2.tar.gz/hammer_vlsi-1.1.2/hammer/tech/__init__.py
import json import shutil, os import tarfile import importlib import importlib.resources import subprocess from abc import abstractmethod from typing import Any, Callable, Iterable, List, Optional, Tuple, Dict, TYPE_CHECKING, Union from numbers import Number from decimal import Decimal import warnings from pydantic i...
PypiClean
/ymxadmin-1.0.9.tar.gz/ymxadmin-1.0.9/xadmin/js/xadmin.widget.select-transfer.js
;(function($){ var SelectBox = function(element, options) { var that = this; this.el = $(element); var el = this.el; this.filter_input = el.find('.selector-filter input'); this.from_box = el.find('.selector-available select'); this.to_box = el.find('.selector-chosen select'); var findF...
PypiClean
/openapi_python_embyapi-4.8.0.36.tar.gz/openapi_python_embyapi-4.8.0.36/openapi_python_embyapi/api/sync_service/post_sync_jobitems_by_id_delete.py
from http import HTTPStatus from typing import Any, Dict, Optional import httpx from ... import errors from ...client import AuthenticatedClient, Client from ...types import Response def _get_kwargs( id: str, *, client: AuthenticatedClient, ) -> Dict[str, Any]: url = "{}/Sync/JobItems/{Id}/Delete".f...
PypiClean
/alibabacloud_cams20200606-1.1.0.tar.gz/alibabacloud_cams20200606-1.1.0/ChangeLog.md
2023-05-08 Version: 1.0.21 - whatsapp 修改Authentication类型的模板 2023-04-14 Version: 1.0.20 - whatsapp 目录修改 - 回落短信允许指定回执超时回落时间 - 增加Whatsapp 模板中location消息类型 2023-03-06 Version: 1.0.19 - Add viber template create - Add viber template modify - Add isv terms upload 2023-03-06 Version: 1.0.18 - Add viber template create - Add...
PypiClean
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/webpack/lib/library/AssignLibraryPlugin.js
"use strict"; const { ConcatSource } = require("webpack-sources"); const { UsageState } = require("../ExportsInfo"); const Template = require("../Template"); const propertyAccess = require("../util/propertyAccess"); const { getEntryRuntime } = require("../util/runtime"); const AbstractLibraryPlugin = require("./Abstra...
PypiClean
/kp-0.8.1.tar.gz/kp-0.8.1/external/googletest/googletest/docs/samples.md
# Googletest Samples {#samples} If you're like us, you'd like to look at [googletest samples.](https://github.com/google/googletest/tree/master/googletest/samples) The sample directory has a number of well-commented samples showing how to use a variety of googletest features. * Sample #1 shows the basic steps of us...
PypiClean
/pyreadline3-3.4.1.tar.gz/pyreadline3-3.4.1/doc/do_sphinx.py
import fileinput import os import sys def oscmd(c): os.system(c) if os.path.isdir("build"): os.removedirs("build") os.makedirs("build/html") os.makedirs("build/latex") # html manual. oscmd('sphinx-build -d build/doctrees source build/html') if sys.platform != 'win32': # LaTeX format. oscmd('sphin...
PypiClean
/srgssr-publication-data-api-0.4.4.tar.gz/srgssr-publication-data-api-0.4.4/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
/pim-dm-1.4.1.tar.gz/pim-dm-1.4.1/pimdm/packet/PacketPimJoinPrune.py
import struct import socket from .PacketPimEncodedUnicastAddress import PacketPimEncodedUnicastAddress from .PacketPimJoinPruneMulticastGroup import PacketPimJoinPruneMulticastGroup ''' 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-...
PypiClean
/alifedata-phyloinformatics-convert-0.14.1.tar.gz/alifedata-phyloinformatics-convert-0.14.1/alifedata_phyloinformatics_convert/alife_dataframe_to_biopython_trees.py
from Bio import Phylo from iterpop import iterpop as ip from lyncs_utils import keydefaultdict from nanto import isanan, nantonone import pandas as pd import string import typing from ._impl import parse_ancestor_list as _parse_ancestor_list def alife_dataframe_to_biopython_trees( df: pd.DataFrame, setattrs:...
PypiClean
/alphamed_federated-0.4.9-py3-none-any.whl/alphafed/examples/auto_ml/breast_density_classification/res_fed_avg/auto.py
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the...
PypiClean
/EMFT_LABELS-0.0.2.tar.gz/EMFT_LABELS-0.0.2/README.md
User Guide Prepare the Etiketten A4 paper suitable for Laserprinter. Start the script. You should see the window like this: Preferences If this is the first time you start it, you have to set up the labels dimmensions and other layout features. select File->Preferences to open Preferences dialog box. The values belo...
PypiClean
/dash_loading_spinners-1.0.0-py3-none-any.whl/dash_loading_spinners/Moon.py
from dash.development.base_component import Component, _explicitize_args class Moon(Component): """A Moon component. Solid circle chasing around a faded outer ring. Keyword arguments: - children (a list of or a singular dash component, string or number; optional): The children of this component. - id (str...
PypiClean
/mesh_generator-1.1.9.tar.gz/mesh_generator-1.1.9/mesh_generator/ui/tkinter_mainapp.py
import tkinter as tk import numpy as np import matplotlib as mpl from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk from matplotlib.figure import Figure from matplotlib.widgets import RectangleSelector from matplotlib.patches import Rectangle from mesh_generator.bin.call_psi_mesh_tool...
PypiClean