id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/django-m2m-fix-1.0.0.tar.gz/django-m2m-fix-1.0.0/django/contrib/gis/gdal/prototypes/raster.py
from ctypes import POINTER, c_bool, c_char_p, c_double, c_int, c_void_p from functools import partial from django.contrib.gis.gdal.libgdal import GDAL_VERSION, std_call from django.contrib.gis.gdal.prototypes.generation import ( chararray_output, const_string_output, double_output, int_output, void_output, voi...
PypiClean
/dsin100days603v38-6.0.3.tar.gz/dsin100days603v38-6.0.3/notebook/static/components/requirejs/require.js
var requirejs, require, define; (function (global) { var req, s, head, baseElement, dataMain, src, interactiveScript, currentlyAddingScript, mainScript, subPath, version = '2.2.0', commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg, cjsRequireRegExp = /[^.]\s*require\s*\(\s*...
PypiClean
/colour_science-0.4.3.tar.gz/colour_science-0.4.3/colour/models/rgb/datasets/itur_bt_2020.py
from __future__ import annotations import numpy as np from colour.colorimetry import CCS_ILLUMINANTS from colour.hints import NDArrayFloat from colour.models.rgb import ( RGB_Colourspace, normalised_primary_matrix, oetf_BT2020, oetf_inverse_BT2020, ) __author__ = "Colour Developers" __copyright__ = "...
PypiClean
/python-watcher-10.0.0.tar.gz/python-watcher-10.0.0/watcher/common/exception.py
import functools import sys from http import HTTPStatus from keystoneclient import exceptions as keystone_exceptions from oslo_config import cfg from oslo_log import log from watcher._i18n import _ LOG = log.getLogger(__name__) CONF = cfg.CONF def wrap_keystone_exception(func): """Wrap keystone exceptions and...
PypiClean
/windmill_api-1.165.0-py3-none-any.whl/windmill_api/api/group/list_groups.py
from typing import Any, Dict, List, Optional, Union import httpx from ...client import Client from ...models.list_groups_response_200_item import ListGroupsResponse200Item from ...types import UNSET, Response, Unset def _get_kwargs( workspace: str, *, client: Client, page: Union[Unset, None, int] = ...
PypiClean
/starlight_vision-0.1.1.tar.gz/starlight_vision-0.1.1/starlight_vision/trainer.py
import os import time import copy from pathlib import Path from math import ceil from contextlib import contextmanager, nullcontext from functools import partial, wraps from collections.abc import Iterable import torch from torch import nn import torch.nn.functional as F from torch.utils.data import random_split, Data...
PypiClean
/python-univer-1.5.0.tar.gz/python-univer-1.5.0/univer_db/models/sheets.py
from sqlalchemy import Column, Integer, String, Float, Boolean, ForeignKey, Date, DateTime, REAL, Unicode from sqlalchemy.orm import relationship from univer_db.orm import get_base Base = get_base() class Sheet(Base): """ Модель "Ведомость" """ __tablename__ = 'univer_sheet' # Идентификатор ...
PypiClean
/flask_adminlte_full-0.2.0-py3-none-any.whl/flask_adminlte_full/static/plugins/jquery-validation/localization/messages_de.js
(function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery", "../jquery.validate"], factory ); } else if (typeof module === "object" && module.exports) { module.exports = factory( require( "jquery" ) ); } else { factory( jQuery ); } }(function( $ ) { /* * Translated default ...
PypiClean
/gbptesthorizonui-0.9.0.tar.gz/horizon-2014.2.0.dev282.g7faf497/openstack_dashboard/test/test_data/heat_data.py
from heatclient.v1 import stacks from openstack_dashboard.test.test_data import utils # A slightly hacked up copy of a sample cloudformation template for testing. TEMPLATE = """ { "AWSTemplateFormatVersion": "2010-09-09", "Description": "AWS CloudFormation Sample Template.", "Parameters": { "KeyName": { "Descriptio...
PypiClean
/slack_async_alert-1.0.3-py3-none-any.whl/slack_async_alert/slack.py
from typing import List, Optional from slack_sdk import WebClient from slack_sdk.errors import SlackApiError from .configure import get_configure from .constant import CONFIGURE_PATH class SlackClient: def __init__( self, stack_thread: bool = False, noty_interval_steps: Optional[List[int]...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_24/models/member_no_id_group.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_24 import models class MemberNoIdGroup(object): """ Attributes: swagger_types (dict): The key is attribute name and the value i...
PypiClean
/id-mava-0.1.3.tar.gz/id-mava-0.1.3/mava/components/tf/modules/exploration/exploration_scheduling.py
import abc import numpy as np import tensorflow as tf class BaseExplorationScheduler: @abc.abstractmethod def __init__( self, epsilon_start: float = 1.0, epsilon_min: float = 0.05, epsilon_decay: float = 1e-4, ): """Base class for decaying epsilon by schedule. ...
PypiClean
/gnomeacquirer-1.4.6.tar.gz/gnomeacquirer-1.4.6/GNOMEAcquirerLibs/Dataset.py
from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * import serial from GNOMEAcquirerLibs.AttributeData import * import re import os import sys if hasattr(sys, 'frozen'): ScriptPath = os.path.join(os.path.dirname(sys.executable), "GNOMEAcquirerLibs") else: ScriptPath = os.path.d...
PypiClean
/jupyter-analysis-extension-1.1.5.tar.gz/jupyter-analysis-extension-1.1.5/src/jupyter_analysis_extension/widget_guide.py
# Copyright (c) kyoungjun. # Distributed under the terms of the Modified BSD License. # GUI import ipywidgets as widgets import qgrid from IPython import get_ipython from IPython.display import display from jupyter_analysis_extension.utils.logger import OutputWidgetHandler #from nbformat import v4 as nbf # from nbf...
PypiClean
/pyak-0.0.3-py3-none-any.whl/src/pyak.py
import re import os import sys import time import psutil import logging import argparse import platform import pyautogui import subprocess from datetime import datetime #todo windows logging support if platform.system() == "Windows": logging.basicConfig( format='%(asctime)s %(levelname)-8s %(message)s', le...
PypiClean
/basictracer-3.2.0.tar.gz/basictracer-3.2.0/CHANGELOG.rst
.. :changelog: History ------- 3.2.0 (2021-04-12) ------------------ - setup.py: Remove test dependency doubles (#44) <John Vandenberg> - Do not throw error when no tracing headers are sent (#43) <Logan Capaldo> - Stop testing with Python 3.5 <Yuri Shkuro> - Provide meaningful error messages when failed to extract h...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_6/models/certificate_certificate_group_response.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flashblade.FB_2_6 import models class CertificateCertificateGroupResponse(object): """ Attributes: swagger_types (dict): The key is attribute name ...
PypiClean
/SC2MM-0.1.0.tar.gz/SC2MM-0.1.0/scmm/agents/scripted/block_enemy.py
from scmm.utils.game_utils import fine_closest_position class BlockEnemy(): def __init__(self, n_agents): self.n_agents = n_agents def fit(self, env): assert env.map_name in {'6s1s_vs_10r'}, "a\BlockEnemy only works for 6s1s_vs_10r" self.env = env self.n_actions_no_at...
PypiClean
/trace_time_glaiel-0.0.3-py3-none-any.whl/trace_time/timer.py
from time import time from decorator import decorator import logging def timer_decorator(timer=None, tag=None, force_verbose=False): """ :param timer: :param tag: :param force_verbose: :return: """ if timer is None: timer = Timer() @decorator # trick in order to propagate to...
PypiClean
/pykaryote-1.1.1.tar.gz/pykaryote-1.1.1/docs/ref/conf.rst
.. _config: .. _config_files: Simulation Configuration Files ================================= This section describes the simulation configuration file options. Almost every aspect of a simulation can be modified by options in the simulation configuration file. The default configuration values are in ``master.cfg``,...
PypiClean
/Flask_AppBuilder-4.3.6-py3-none-any.whl/flask_appbuilder/api/convert.py
from typing import Any, Callable, Dict, List, Optional, Type from flask_appbuilder.models.sqla import Model from flask_appbuilder.models.sqla.interface import SQLAInterface from marshmallow import fields, Schema from marshmallow.fields import Field from marshmallow_sqlalchemy import field_for from marshmallow_sqlalche...
PypiClean
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/y-websocket/bin/callback.js
const http = require('http') const CALLBACK_URL = process.env.CALLBACK_URL ? new URL(process.env.CALLBACK_URL) : null const CALLBACK_TIMEOUT = process.env.CALLBACK_TIMEOUT || 5000 const CALLBACK_OBJECTS = process.env.CALLBACK_OBJECTS ? JSON.parse(process.env.CALLBACK_OBJECTS) : {} exports.isCallbackSet = !!CALLBACK_U...
PypiClean
/JoUtilCM-0.0.1-py3-none-any.whl/JoTools/txkjRes/deteObj.py
import copy class DeteObj(object): """检测结果的一个检测对象,就是一个矩形框对应的信息""" def __init__(self, x1=None, y1=None, x2=None, y2=None, tag="", conf=-1, assign_id=-1, describe:str=''): """(x1,y1), (x2,y2) 左下角右上角""" self.conf = conf self.tag = tag self.x1 = x1 self.x2 = x2 se...
PypiClean
/pyrhyme-0.1.tar.gz/pyrhyme-0.1/pyrhyme.py
__title__ = 'pyrhyme' __version__ = '0.1' __author__ = 'Jorge Sequeira' __license__ = 'MIT' __copyright__ = 'Copyright 2019 Jorge Sequeira' import warnings import requests from functools import partial RHYMEBRAIN_API_ENDPOINT = 'http://rhymebrain.com' DEFAULT_LANG = 'de' class RhymeBrainApiException(Exception):...
PypiClean
/levatas_alira-5.0.2-py3-none-any.whl/alira/modules/email.py
import os import logging import requests from alira.common.smtp import SMTP from alira.instance import Instance from alira.modules.module import InternalError, ConnectionError from alira.modules.notification import Notification PIPELINE_EMAIL_MODULE_NAME = "email" class Email(Notification): def __init__( ...
PypiClean
/twisted-23.8.0-py3-none-any.whl/twisted/application/twist/_options.py
import typing from sys import stderr, stdout from textwrap import dedent from typing import Callable, Iterable, Mapping, Optional, Sequence, Tuple, cast from twisted.copyright import version from twisted.internet.interfaces import IReactorCore from twisted.logger import ( InvalidLogLevelError, LogLevel, js...
PypiClean
/autoawq-0.0.1-cp38-cp38-manylinux2014_x86_64.whl/awq/utils/lm_eval_adaptor.py
import transformers import torch from lm_eval.base import BaseLM import fnmatch import logging class LMEvalAdaptor(BaseLM): def __init__(self, model_name, model, tokenizer, device, batch_size=1, max_length=-1): super().__init__() assert isinstance(batch_size, int) self.model_name = model...
PypiClean
/django-cml2-1.0.0.4.tar.gz/django-cml2-1.0.0.4/cml/views.py
from __future__ import absolute_import import typing import os import shutil import datetime from django.core.files.uploadedfile import SimpleUploadedFile from django.conf import settings from django.db import transaction from django.http import (HttpRequest, HttpResponse) from django.utils import timezone from django....
PypiClean
/benchling_api_client-2.0.207-py3-none-any.whl/benchling_api_client/v2/alpha/models/codon_usage_table.py
from typing import Any, cast, Dict, Type, TypeVar, Union import attr from ..extensions import NotPresentError from ..types import UNSET, Unset T = TypeVar("T", bound="CodonUsageTable") @attr.s(auto_attribs=True, repr=False) class CodonUsageTable: """ """ _id: Union[Unset, str] = UNSET _name: Union[Un...
PypiClean
/envy-project-2.0.0.tar.gz/envy-project-2.0.0/envy/lib/state/envy_state.py
import json import os import shutil class EnvyState: """ Manages ENVy's state through some files in the project's root directory Currently tracking: Environment hash: a hash of ENVy's environment config Container ID: the current ENVy environment container """ def __init__(...
PypiClean
/gooddata_metadata_client-1.3.0-py3-none-any.whl/gooddata_metadata_client/model/json_api_organization_setting_in_attributes.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
/domain-event-broker-3.0.2.tar.gz/domain-event-broker-3.0.2/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
/wmagent-2.2.4rc3.tar.gz/wmagent-2.2.4rc3/src/python/WMCore/Database/DBCore.py
from copy import copy from Utils.IteratorTools import grouper import WMCore.WMLogging from WMCore.DataStructs.WMObject import WMObject from WMCore.Database.ResultSet import ResultSet class DBInterface(WMObject): """ Base class for doing SQL operations using a SQLAlchemy engine, or pre-exisitng connection....
PypiClean
/transfluent-0.3.0.tar.gz/transfluent-0.3.0/README.rst
Transfluent API Client for Python ================================= |build status|_ .. |build status| image:: https://secure.travis-ci.org/jpvanhal/python-transfluent.png?branch=master :alt: Build Status .. _build status: http://travis-ci.org/jpvanhal/python-transfluent This is a Python wrapper for the `Transflue...
PypiClean
/fly-cli-0.1.1.tar.gz/fly-cli-0.1.1/LICENSE.md
# The MIT License (MIT) ## Copyright ©2023 Marlin Forbes <marlinf@datashaman.com> 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 u...
PypiClean
/natural_language_ui-7.1.1-py3-none-any.whl/jarvis/modules/conditions/keywords_base.py
from typing import Dict, List def keyword_mapping() -> Dict[str, List[str]]: """Returns a dictionary of base keywords mapping. Returns: Dict: Dictionary of keywords and in a mapping dictionary. """ return dict( current_date=["today's date", "current date", "what is the date", ...
PypiClean
/smalldocpy-0.0.1.tar.gz/smalldocpy-0.0.1/README.md
Smalldoc is a small lib which allow to extract your Python documentation in an easy way. The following documentation of Smalldoc had been generate executing script [doc.py](doc.py) --- # smalldoc Small module which allow you to extract your docstring documentation in the format of your choice. ## parse ```python...
PypiClean
/v1/model/billing.py
import pprint import re import six class Billing: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition....
PypiClean
/dotenv-settings-handler-0.0.3.tar.gz/dotenv-settings-handler-0.0.3/README.md
# Python-DotEnv-Settings-Handler A Settings Handler using [python-dotenv](https://github.com/theskumar/python-dotenv) and/or system environment variables, to read all the settings from a Settings class based on [pydantic](https://github.com/samuelcolvin/pydantic/). Instead of loading the environment variables (from n...
PypiClean
/kiwi-gtk-3.0.4.tar.gz/kiwi-gtk-3.0.4/kiwi/utils.py
import sys try: from gi.repository import GObject GObject # pyflakes except ImportError: raise SystemExit("python-gobject is required by kiwi.utils") # FIXME gtk3: Is this still necessary? # Monkey patch gobject to support enum properties gprop = GObject.Property parent_type_from_parent = gprop._type_fr...
PypiClean
/tensorflow_fork-1.15.2.0-py3-none-any.whl/tensorflow/contrib/timeseries/examples/predict.py
"""An example of training and predicting with a TFTS estimator.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import os import sys import numpy as np import tensorflow as tf try: import matplotlib # pylint: disable=g-import-not-at...
PypiClean
/nzshm_common-0.6.0.tar.gz/nzshm_common-0.6.0/nzshm_common/grids/wlg_0_05_nb_1_1.py
class WLG_0_05_nb_1_1: wlg = None def load(self): if self.wlg is None: lat = [ -41.4, -41.35, -41.3, -41.4, -41.35, -41.3, -41.25, -41.2, -41.4, ...
PypiClean
/hippo_diabetes-1.0.0.tar.gz/hippo_diabetes-1.0.0/otter/OtterCareGapMoniterPipeline.py
import pandas as pd import numpy as np from sklearn.base import BaseEstimator, TransformerMixin from sklearn.pipeline import Pipeline from OtterFeatureSelector import OtterFeatureSelector from OtterCareGapMoniterTransformer import OtterCareGapMoniterTransformer from OtterComMedTransformer import OtterComMedTransformer...
PypiClean
/alas-ce0-openpyxl-0.1.tar.gz/alas-ce0-openpyxl-0.1/openpyxl/chart/label.py
from openpyxl.descriptors.serialisable import Serialisable from openpyxl.descriptors import ( Typed, String, Integer, Bool, Set, Float, Sequence, Alias ) from openpyxl.descriptors.excel import ExtensionList from openpyxl.descriptors.nested import ( NestedNoneSet, NestedBool, ...
PypiClean
/ew_der_modbus_sim_py-0.1.0a4.tar.gz/ew_der_modbus_sim_py-0.1.0a4/README.md
<div align="center"> <a href="https://www.energyweb.org/"><img src="https://www.energyweb.org/wp-content/uploads/2019/04/logo-brand.png" alt="EnergyWeb" width="150"></a> <h1 style="padding:25px;"> DER Modbus Simulator </h1> </div> ## Prerequisites - ```pip>=20.3.4``` - ```pipenv>=2020.8.13``` ## Quick start...
PypiClean
/async_adbc-1.0.14.tar.gz/async_adbc-1.0.14/async_adbc/plugins/temp.py
import asyncio from dataclasses import dataclass from typing import Optional from dataclasses_json import dataclass_json from . import Plugin # 如果兼容性实在不行考虑去借鉴solopi # https://github.com/alipay/SoloPi/blob/ac684afdb1eb654dc27a2710e3c1e5ac25a9c43d/src/shared/src/main/java/com/alipay/hulu/shared/display/items/Temperat...
PypiClean
/cohesity_management_sdk-1.10.1.tar.gz/cohesity_management_sdk-1.10.1/samples/nas_data_migration/create_nas_from_backup.py
from cohesity_management_sdk.cohesity_client import CohesityClient from cohesity_management_sdk.exceptions.api_exception import APIException from cohesity_management_sdk.models.environment_enum import EnvironmentEnum from cohesity_management_sdk.models.protocol_access_enum import ProtocolAccessEnum from cohesity_manag...
PypiClean
/COMPAS-1.17.5.tar.gz/COMPAS-1.17.5/src/compas_blender/artists/torusartist.py
from typing import Optional from typing import Any from typing import List from typing import Union import bpy import compas_blender from compas.geometry import Torus from compas.artists import ShapeArtist from compas.colors import Color from .artist import BlenderArtist class TorusArtist(BlenderArtist, ShapeArtist...
PypiClean
/BIA_OBS-1.0.3.tar.gz/BIA_OBS-1.0.3/BIA/static/dist/node_modules/tailwindcss/src/cli/build/plugin.js
import path from 'path' import fs from 'fs' import postcssrc from 'postcss-load-config' import { lilconfig } from 'lilconfig' import loadPlugins from 'postcss-load-config/src/plugins' // Little bit scary, looking at private/internal API import loadOptions from 'postcss-load-config/src/options' // Little bit scary, loo...
PypiClean
/dummy-localstack-ext-0.16.8.tar.gz/dummy-localstack-ext-0.16.8/localstack_ext/services/cloudformation/models/applicationautoscaling.py
_J='delete' _I='create' _H='ScalingTargetId' _G='application-autoscaling' _F='parameters' _E='function' _D='PolicyName' _C='ScalableDimension' _B='ResourceId' _A='ServiceNamespace' from localstack.utils.aws import aws_stack from localstack.utils.common import select_attributes from localstack_ext.services.cloudformatio...
PypiClean
/nexuscloud-client-1.0.9.tar.gz/nexuscloud-client-1.0.9/nexuscloud_client/model/nexus_insights_api_v1_software_management_postvalidation_details_get200_response_entries_inner_devices_inner.py
import re # noqa: F401 import sys # noqa: F401 from nexuscloud_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
/nnisgf-0.4-py3-none-manylinux1_x86_64.whl/nnisgf-0.4.data/data/nni/node_modules/sax/README.md
# sax js A sax-style parser for XML and HTML. Designed with [node](http://nodejs.org/) in mind, but should work fine in the browser or other CommonJS implementations. ## What This Is * A very simple tool to parse through an XML string. * A stepping stone to a streaming HTML parser. * A handy way to deal with RSS an...
PypiClean
/odoo13_addon_mail_activity_team-13.0.1.3.2-py3-none-any.whl/odoo/addons/mail_activity_team/models/res_users.py
from odoo import api, fields, models, modules class ResUsers(models.Model): _inherit = "res.users" activity_team_ids = fields.Many2many( comodel_name="mail.activity.team", relation="mail_activity_team_users_rel", string="Activity Teams", ) @api.model def systray_get_activ...
PypiClean
/bee-django-crm-auth-1.4.64.tar.gz/bee-django-crm-auth-1.4.64/bee_django_crm/migrations/0001_initial.py
from __future__ import unicode_literals from django.conf import settings import django.core.files.storage from django.db import migrations, models import django.db.models.deletion import smart_selects.db_fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappa...
PypiClean
/byteplus-sdk-1.0.17.tar.gz/byteplus-sdk-1.0.17/byteplus_sdk/Policy.py
import json class ComplexEncoder(json.JSONEncoder): def default(self, o): if isinstance(o, Statement): return {'Effect': o.effect, 'Action': o.action, 'Resource': o.resource} if isinstance(o, InnerToken): return { 'LTA...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/me/managed_devices/execute_action/execute_action_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
/negotiator-common-0.12.2.tar.gz/negotiator-common-0.12.2/negotiator_common/__init__.py
# Standard library modules. import json import logging import os # External dependencies. from executor import execute from humanfriendly import Timer, compact # Modules included in our project. from negotiator_common.utils import format_call from negotiator_common.config import BUILTIN_COMMANDS_DIRECTORY, USER_COMMA...
PypiClean
/pyzwcad-0.3.2.tar.gz/pyzwcad-0.3.2/docs/index.rst
.. pyautocad documentation master file, created by sphinx-quickstart on Sun Mar 25 09:29:19 2012. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to pyautocad's documentation! ===================================== pyautocad_ - library ai...
PypiClean
/alipay-sdk-python-pycryptodome-3.3.202.tar.gz/alipay-sdk-python-pycryptodome-3.3.202/alipay/aop/api/request/AlipayMarketingCashlessitemvoucherTemplateCreateRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayMarketingCashlessitemvoucherTemplateCreateModel import AlipayMarketingCashlessitemvoucherTemplateCreateModel class AlipayMarketingCashlessitemvoucherTemplateCreateRequest(o...
PypiClean
/maxfuse-0.0.2.tar.gz/maxfuse-0.0.2/Archive/citeseq-pbmc/code/benchmark/step2.sh
# b1-5 for mf /usr/bin/Rscript calculate_metrics.R '//bench_test3/output/b1/mf/metrics.csv' '/bench_test3/input/b1/orig' '/bench_test3/output/b1/mf/full_embed' 0 & /usr/bin/Rscript calculate_metrics.R '/bench_test3/output/b2/mf/metrics.csv' '/bench_test3/input/b2/orig' '/bench_test3/output/b2/mf/full_embed' 0 & /usr/b...
PypiClean
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/postcss-custom-selectors/index.cjs.js
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var parser = _interopDefault(require('postcss-selector-parser')); var fs = _interopDefault(require('fs')); var path = _interopDefault(require('path')); var postcss = _interopDefault(require...
PypiClean
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/me/drives/item/items/item/list_item/fields/fields_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
/spice_agent-0.1.12-py3-none-any.whl/spice_agent/auth/commands.py
import os import webbrowser import click from spice_agent.auth.actions import Auth from spice_agent.client import Spice from ..utils.config import SPICE_HOSTS_FILEPATH from ..utils.printer import print_result @click.group() @click.pass_context def cli(context): """Authentication""" pass @cli.command("who...
PypiClean
/fenics-ffc-2019.1.0.tar.gz/fenics-ffc-2019.1.0/doc/sphinx/source/releases/v2017.2.0.rst
=========================== Changes in version 2017.2.0 =========================== FFC 2017.2.0 was released on 2017-12-05. Summary of changes ================== - Some fixes for ufc::eval for esoteric element combinations - Reimplement code generation for all ufc classes with new class ufc::coordinate_mapping wh...
PypiClean
/django-admin-star-1.0.4.tar.gz/django-admin-star-1.0.4/admin_star/static/vendors/ace-builds/src-min/mode-terraform.js
define("ace/mode/terraform_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:["storage.function.terraform"],regex:"\\b(output|resource|d...
PypiClean
/cxzoolwatchdog-0.0.5-py3-none-any.whl/watchdog/watchdog.py
import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import datetime from urllib import parse, request import idna import socket from OpenSSL import SSL import argparse import sys import re from abc import ABC, abstractmethod import threading # 本程序仅使用单个SMTP帐号发送邮件 # 该锁用来控制线...
PypiClean
/httpsuite-1.2.0.tar.gz/httpsuite-1.2.0/README.md
# 🧳 httpsuite <p align="center"> <a href="https://github.com/shades-st/httpsuite/actions/workflows/pytest-cover-run.yml"> <img src="https://github.com/shades-st/httpsuite/actions/workflows/pytest-cover-run.yml/badge.svg"> </a> <a href="https://shades-st.github.io/httpsuite/"> <img src="https://github.c...
PypiClean
/django_drip_campaigns-1.16.2-py3-none-any.whl/drip/helpers.py
import datetime import re from typing import Dict, Match, Union def process_regex(matches: Match[str]) -> Dict[str, Union[str, int]]: matches_dict = matches.groupdict(0) if matches_dict["sign"] == "-": for k in "hours", "minutes", "seconds": matches_dict[k] = "-" + str(matches_dict[k]) ...
PypiClean
/gts_engine-0.1.4.tar.gz/gts_engine-0.1.4/gts_engine/bagualu/dataloaders/summary/dataset.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
/compliance-trestle-2.2.1.tar.gz/compliance-trestle-2.2.1/trestle/core/commands/add.py
# Copyright (c) 2020 IBM Corp. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
PypiClean
/gears-react-0.2.2.tar.gz/gears-react-0.2.2/gears_react/node_modules/react-tools/node_modules/commoner/node_modules/graceful-fs/graceful-fs.js
var fs = module.exports = require('./fs.js') var assert = require('assert') // fix up some busted stuff, mostly on windows and old nodes require('./polyfills.js') var util = require('util') function noop () {} var debug = noop if (util.debuglog) debug = util.debuglog('gfs') else if (/\bgfs\b/i.test(process.env.N...
PypiClean
/fastly-3.0.0.tar.gz/fastly-3.0.0/docs/TlsCertificatesResponse.md
# TlsCertificatesResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**PaginationLinks**](PaginationLinks.md) | | [optional] **meta** | [**PaginationMeta**](PaginationMeta.md) | | [optional] **data** | [**[TlsCertificateResponseData]**...
PypiClean
/Firefly-vis-2.0.4.tar.gz/Firefly-vis-2.0.4/src/Firefly/ntbks/py_conversions/reader_tutorial.py
# `Firefly/ntbks/reader_tutorial.ipynb` # In[1]: get_ipython().run_line_magic('load_ext', 'autoreload') get_ipython().run_line_magic('autoreload', '2') from IPython.display import YouTubeVideo # A recording of this jupyter notebook in action is available at: # In[2]: YouTubeVideo("lYPGa6DibOk") # In[3]: im...
PypiClean
/Nuitka_fixed-1.1.2-cp310-cp310-win_amd64.whl/nuitka/build/inline_copy/yaml_27/yaml/representer.py
__all__ = ['BaseRepresenter', 'SafeRepresenter', 'Representer', 'RepresenterError'] from error import * from nodes import * import datetime import sys, copy_reg, types class RepresenterError(YAMLError): pass class BaseRepresenter(object): yaml_representers = {} yaml_multi_representers = {} de...
PypiClean
/machine_learning_ChrisPrein-10.0.0rc1-py3-none-any.whl/machine_learning/training/abstractions/batch_training_plugin.py
from abc import ABC, abstractmethod from dataclasses import dataclass from logging import Logger from typing import Dict, Generic, List, Tuple, Deque, Union from torch.utils.data import Dataset, random_split from ...evaluation.abstractions.evaluation_service import Score from ...modeling.abstractions.model import Mod...
PypiClean
/pyddp-0.4.0.tar.gz/pyddp-0.4.0/ddp/messages/server/result_message.py
# Copyright 2014 Foxdog Studios # # 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
/awemecommit-0.7.0.tar.gz/awemecommit-0.7.0/README.md
# `awemecommit` commit message 辅助工具 **Usage**: ```console $ awemecommit [OPTIONS] COMMAND [ARGS]... ``` **Options**: * `--install-completion`: Install completion for the current shell. * `--show-completion`: Show completion for the current shell, to copy it or customize the installation. * `--help`: Show this mess...
PypiClean
/tencentcloud-sdk-python-habo-3.0.973.tar.gz/tencentcloud-sdk-python-habo-3.0.973/tencentcloud/habo/v20181203/models.py
import warnings from tencentcloud.common.abstract_model import AbstractModel class DescribeStatusRequest(AbstractModel): """DescribeStatus请求参数结构体 """ def __init__(self): r""" :param _Pk: 购买服务后获得的授权帐号,用于保证请求有效性 :type Pk: str :param _Md5: 需要获取分析结果的样本md5 :type Md5:...
PypiClean
/polars_lts_cpu-0.19.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/polars/string_cache.py
from __future__ import annotations import contextlib from typing import TYPE_CHECKING with contextlib.suppress(ImportError): # Module not available when building docs from polars.polars import enable_string_cache as _enable_string_cache from polars.polars import using_string_cache as _using_string_cache if ...
PypiClean
/dataprep-0.4.5.tar.gz/dataprep-0.4.5/README.md
<div align="center"><img width="100%" src="https://github.com/sfu-db/dataprep/raw/develop/assets/logo.png"/></div> --- <p align="center"> <a href="LICENSE"><img src="https://img.shields.io/pypi/l/dataprep?style=flat-square"/></a> <a href="https://sfu-db.github.io/dataprep/"><img src="https://img.shields.io/badge/...
PypiClean
/fake_bpy_module_3.4-20230117-py3-none-any.whl/bl_ui/space_image.py
import sys import typing import bl_ui.properties_paint_common import bpy_types import bl_ui.properties_mask_common import bl_ui.space_toolsystem_common import bl_ui.properties_grease_pencil_common GenericType = typing.TypeVar("GenericType") class BrushButtonsPanel(bl_ui.properties_paint_common.UnifiedPaintPanel): ...
PypiClean
/infoblox-netmri-3.8.0.0.tar.gz/infoblox-netmri-3.8.0.0/infoblox_netmri/api/broker/v3_2_0/config_error_broker.py
from ..broker import Broker class ConfigErrorBroker(Broker): controller = "config_errors" def index(self, **kwargs): """Lists the available config errors. Any of the inputs listed may be be used to narrow the list; other inputs will be ignored. Of the various ways to query lists, using this method is...
PypiClean
/leancloud-sdk-ng-2.0.0.tar.gz/leancloud-sdk-ng-2.0.0/leancloud/user.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import threading from leancloud import client from leancloud._compat import string_types from leancloud.query import FriendshipQuery from leancloud.query import Object from leancloud.relation import Relation...
PypiClean
/zohocrmsdk2_1-2.0.0.tar.gz/zohocrmsdk2_1-2.0.0/zcrmsdk/src/com/zoho/crm/api/record/field.py
try: from zcrmsdk.src.com.zoho.crm.api.exception import SDKException from zcrmsdk.src.com.zoho.crm.api.util import Constants except Exception: from ..exception import SDKException from ..util import Constants class Field(object): def __init__(self, api_name): """ Creates an instance of Field with the given p...
PypiClean
/requests/sites/clients.py
class Wireless(): def __init__(self, session): self._sessionn = session def disconnect_client(self, site_id, client_mac): """ Disconnect a wireless client Parameters: site_id: String client_mac: String """ uri = "/api/v1/sites/{0}/clients...
PypiClean
/le-trebuchet-0.1.1.tar.gz/le-trebuchet-0.1.1/trebuchet/lib/controller.py
import itertools from .package import get_packages from .my_yaml import load_yaml_config, print_pretty, get_yaml_config from .callbacks import do_web_callback, jsonfy_pkg def _get_all_packages(project, architecture=None, options=None, version_options=None): """ Generator of packages to be built. """ ...
PypiClean
/dxlclient-3.1.0.586.tar.gz/opendxl-client-python-3.1.0.586/examples/basic/event_example.py
import logging import os import sys import time from threading import Condition from dxlclient.callbacks import EventCallback from dxlclient.client import DxlClient from dxlclient.client_config import DxlClientConfig from dxlclient.message import Event # Import common logging and configuration sys.path.append(os.pat...
PypiClean
/nodejs_bin-18.4.0a3-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl/nodejs/lib/node_modules/npm/node_modules/are-we-there-yet/LICENSE.md
ISC License Copyright npm, Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND NPM DISCLAIMS ALL WARRANTIES WITH REGA...
PypiClean
/seeta-det-0.1.0.tar.gz/seeta-det-0.1.0/seetadet/models/dense_heads/retinanet.py
"""RetinaNet head.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import functools import math from dragon.vm import torch from dragon.vm.torch import nn from seetadet.core.config import cfg from seetadet.data.targets.retinanet import AnchorTargets fr...
PypiClean
/django-dmcadmin-0.1.1.tar.gz/django-dmcadmin-0.1.1/dmcadmin/static/AdminLTE/plugins/moment/locale/it.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
/onlinepayments-sdk-python3-4.14.0.zip/onlinepayments-sdk-python3-4.14.0/onlinepayments/sdk/domain/created_token_response.py
from onlinepayments.sdk.data_object import DataObject from onlinepayments.sdk.domain.card_without_cvv import CardWithoutCvv from onlinepayments.sdk.domain.external_token_linked import ExternalTokenLinked class CreatedTokenResponse(DataObject): __card = None __external_token_linked = None __is_new_token = ...
PypiClean
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/@webassemblyjs/ast/lib/transform/ast-module-to-module-context/index.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.moduleContextFromModuleAST = moduleContextFromModuleAST; exports.ModuleContext = void 0; var _nodes = require("../../nodes.js"); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new...
PypiClean
/Dililatum-0.1.tar.gz/Dililatum-0.1/dililatum/tools/posmarker.py
# Dililatum: a quest system for simple RPGs # Copyright (C) 2010 Niels Serup # This file is part of Dililatum. # # Dililatum 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, ...
PypiClean
/dnv_bladed_models-0.3.44.tar.gz/dnv_bladed_models-0.3.44/src/dnv_bladed_models/point_on_span.py
from __future__ import annotations from datetime import date, datetime # noqa: F401 from enum import Enum, IntEnum import re # noqa: F401 from typing import Any, Dict, List, Optional, Type, Union, Callable # noqa: F401 from pathlib import Path from typing import TypeVar Model = TypeVar('Model', bound='BaseModel') ...
PypiClean
/swh.web-0.2.37.tar.gz/swh.web-0.2.37/swh/web/config.py
import os from typing import Any, Dict from swh.core import config from swh.counters import get_counters from swh.indexer.storage import get_indexer_storage from swh.scheduler import get_scheduler from swh.search import get_search from swh.storage import get_storage from swh.vault import get_vault from swh.web import...
PypiClean
/automount-log-collator-0.1.0.tar.gz/automount-log-collator-0.1.0/automount_log_collator/util.py
import os import pendulum import sys def bare_hostname(): """Hostname without domain.""" return os.uname()[1].split('.')[0] def append_and_set_timestamp(inpath, outpath): with open(inpath, 'r') as inf: with open(outpath, 'a') as outf: done = False bufsize = 104857600 # 10M...
PypiClean
/control_lab_ly-1.2.0-py3-none-any.whl/controllably/View/Classifiers/classifier_utils.py
# Standard library imports from abc import ABC, abstractmethod # Third party imports import cv2 # pip install opencv-python # Local application imports from .. import image as Image print(f"Import: OK <{__name__}>") class Classifier(ABC): """ Abstract Base Class (ABC) for Classifier objects (i.e. models that...
PypiClean
/mindspore_ascend-1.10.0-cp39-none-any.whl/mindspore/_akg/akg/tvm/relay/build_module.py
import warnings import numpy as np from tvm import expr as tvm_expr from .. import nd as _nd, target as _target, autotvm from ..contrib import graph_runtime as _graph_rt from . import _build_module from . import ty as _ty from . import expr as _expr from .module import Module as _Module from .backend import interprete...
PypiClean
/isedit-0.3.0.tar.gz/isedit-0.3.0/js/node_modules/moment/dist/locale/my.js
import moment from '../moment'; var symbolMap = { 1: '၁', 2: '၂', 3: '၃', 4: '၄', 5: '၅', 6: '၆', 7: '၇', 8: '၈', 9: '၉', 0: '၀', }, numberMap = { '၁': '1', '၂': '2', '၃': '3', '၄': '4', '၅'...
PypiClean
/atomic_py-1.0.0-py3-none-any.whl/atomic/quarks.py
from __future__ import annotations from atomic.particles import Context, Accelerator def quark(key): def decorator(f): QuarkManager.get_instance().add_quark(key, f) return f return decorator class QuarkManager: """ Controla los quarks de los mensajes """ _instance = None @classmethod ...
PypiClean