id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/python-docx-whtsky-0.8.10.3.tar.gz/python-docx-whtsky-0.8.10.3/docs/dev/analysis/features/styles/index.rst
Styles ====== .. toctree:: :titlesonly: styles style paragraph-style character-style latent-styles Word supports the definition of *styles* to allow a group of formatting properties to be easily and consistently applied to a paragraph, run, table, or numbering scheme, all at once. The mechanism is...
PypiClean
/backtradermsms-1.9.75.123-py3-none-any.whl/backtrader/indicators/aroon.py
from __future__ import (absolute_import, division, print_function, unicode_literals) from . import Indicator, FindFirstIndexHighest, FindFirstIndexLowest class _AroonBase(Indicator): ''' Base class which does the calculation of the AroonUp/AroonDown values and defines the common p...
PypiClean
/django-deno-0.1.2.tar.gz/django-deno-0.1.2/django_deno/deno/vendor/deno.land/x/cliffy@v0.19.6/command/completions/_zsh_completions_generator.ts
import type { Command } from "../command.ts"; import type { IArgument, IOption } from "../types.ts"; interface ICompletionAction { arg: IArgument; label: string; name: string; cmd: string; } /** Generates zsh completions script. */ export class ZshCompletionsGenerator { private actions: Map<string, IComplet...
PypiClean
/sacremoses_xt-0.0.44-py3-none-any.whl/sacremoses/cli.py
import os from copy import deepcopy from functools import partial from functools import update_wrapper from io import StringIO from itertools import chain from tqdm import tqdm import click from sacremoses.tokenize import MosesTokenizer, MosesDetokenizer from sacremoses.truecase import MosesTruecaser, MosesDetrueca...
PypiClean
/digi_xbee-1.4.1-py3-none-any.whl/digi/xbee/util/exportutils.py
import datetime from xml.etree.ElementTree import Element, SubElement, ElementTree from digi.xbee.devices import RemoteZigBeeDevice from digi.xbee.profile import FirmwareParity from digi.xbee.util import utils def generate_network_xml(xbee, date_now=None, name=None, desc=None): """ Generates the XML hierarc...
PypiClean
/etu_django_frame-1.2.0-py3-none-any.whl/etu_django_frame/django/2.2.2/data/static/admin/simpleui-x/elementui/tag.js
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId])...
PypiClean
/adafruit-circuitpython-ble-eddystone-1.10.15.tar.gz/adafruit-circuitpython-ble-eddystone-1.10.15/docs/index.rst
.. include:: ../README.rst Table of Contents ================= .. toctree:: :maxdepth: 4 :hidden: self .. toctree:: :caption: Examples examples .. toctree:: :caption: API Reference :maxdepth: 3 api .. toctree:: :caption: Tutorials .. toctree:: :caption: Related Products ...
PypiClean
/mindspore_ascend-1.10.0-cp39-none-any.whl/mindspore/ops/_op_impl/tbe/sparse_gather_v2_ds.py
"""SparseGatherV2 op""" from mindspore.ops.op_info_register import op_info_register, TBERegOp, DataType sparse_gather_v2_ds_op_info = TBERegOp("SparseGatherV2") \ .fusion_type("OPAQUE") \ .async_flag(False) \ .binfile_name("gather_v2.so") \ .compute_cost(10) \ .kernel_name("gather_v2") \ .part...
PypiClean
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/jest-environment-node/build/index.js
'use strict'; function _vm() { const data = _interopRequireDefault(require('vm')); _vm = function _vm() { return data; }; return data; } function _jestMock() { const data = require('jest-mock'); _jestMock = function _jestMock() { return data; }; return data; } function _jestUtil() { con...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/teams/item/channels/item/messages/count/count_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
/collective.localrolespanel-0.2.zip/collective.localrolespanel-0.2/Paste-1.7.5.1-py2.6.egg/paste/util/template.py
import re import sys import cgi import urllib from paste.util.looper import looper __all__ = ['TemplateError', 'Template', 'sub', 'HTMLTemplate', 'sub_html', 'html', 'bunch'] token_re = re.compile(r'\{\{|\}\}') in_re = re.compile(r'\s+in\s+') var_re = re.compile(r'^[a-z_][a-z0-9_]*$', re.I) class Template...
PypiClean
/azure_ai_ml-1.9.0-py3-none-any.whl/azure/ai/ml/entities/_job/automl/tabular/classification_job.py
# pylint: disable=protected-access,no-member from typing import Dict, Optional, Union from azure.ai.ml._restclient.v2023_04_01_preview.models import AutoMLJob as RestAutoMLJob from azure.ai.ml._restclient.v2023_04_01_preview.models import Classification as RestClassification from azure.ai.ml._restclient.v2023_04_01_...
PypiClean
/sdksio_verizon_apis_sdk-1.0.0-py3-none-any.whl/verizon/models/managed_accounts_get_all_response.py
from verizon.api_helper import APIHelper from verizon.models.managed_acc_added_list import ManagedAccAddedList from verizon.models.managed_acc_provisioned_list import ManagedAccProvisionedList class ManagedAccountsGetAllResponse(object): """Implementation of the 'ManagedAccountsGetAllResponse' model. TODO: ...
PypiClean
/pyBAR-3.1.2.tar.gz/pyBAR-3.1.2/pybar/run_manager.py
import logging import datetime import os import re from collections import namedtuple from threading import Lock, Thread, Event, current_thread, _MainThread import sys import functools import traceback import signal import abc from contextlib import contextmanager from importlib import import_module from inspect import...
PypiClean
/cellmaps_coembedding-0.1.0a6.tar.gz/cellmaps_coembedding-0.1.0a6/cellmaps_coembedding/muse_sc/architecture.py
import torch import numpy as np import torch.nn as nn from torch.utils.data import DataLoader, Dataset def cos_sim(A, B): cosine = np.dot(A,B)/(norm(A)*norm(B)) return cosine class ToTensor: # Convert ndarrays to Tensors def __call__(self, sample): return torch.from_numpy(sample).float...
PypiClean
/apache_superset_test-2.1.1.1-py3-none-any.whl/superset/static/assets/1f778a78c268c53edead.chunk.js
"use strict";(globalThis.webpackChunksuperset=globalThis.webpackChunksuperset||[]).push([[7936],{81788:(e,t,o)=>{o.d(t,{TZ:()=>s,u7:()=>i,B8:()=>l,mf:()=>d});var n=o(31069),r=o(68492);const a=(e,t,o)=>{let n=`api/v1/dashboard/${e}/filter_state`;return t&&(n=n.concat(`/${t}`)),o&&(n=n.concat(`?tab_id=${o}`)),n},s=(e,t,o...
PypiClean
/grooveshop_django_api-0.22.0.tar.gz/grooveshop_django_api-0.22.0/product/views/image.py
from __future__ import annotations from django_filters.rest_framework import DjangoFilterBackend from rest_framework import status from rest_framework.filters import SearchFilter from rest_framework.generics import get_object_or_404 from rest_framework.response import Response from rest_framework.viewsets import Model...
PypiClean
/mess_test_server-0.0.1.tar.gz/mess_test_server-0.0.1/server/common/decors.py
import socket import logging import sys sys.path.append('../') import log.config_server_log import log.config_client_log if sys.argv[0].find('client') == -1: LOGGER = logging.getLogger('server') else: LOGGER = logging.getLogger('client') def log(func_to_log): def log_saver(*args, **kwargs): LO...
PypiClean
/tensorflow-gpu-macosx-1.8.1.tar.gz/tensorflow/docs_src/api_guides/python/contrib.losses.md
# Losses (contrib) ## Deprecated This module is deprecated. Instructions for updating: Use @{tf.losses} instead. ## Loss operations for use in neural networks. Note: By default, all the losses are collected into the `GraphKeys.LOSSES` collection. All of the loss functions take a pair of predictions and ground trut...
PypiClean
/SentinelOne-1.2.1.tar.gz/SentinelOne-1.2.1/management/mgmtsdk_v2/services/agent_actions.py
import logging from management.common.query_filter import QueryFilter from management.mgmtsdk_v2.endpoints import * from management.mgmtsdk_v2.exceptions import raise_from_response logger = logging.getLogger('AgentActions') class AgentActionsFilter(QueryFilter): QUERY_ARGS = { 'accountIds': ['eq'], ...
PypiClean
/crmSaleBilling-1.0.1-py3-none-any.whl/crmNoticeShipment/EcsInterface.py
import json import requests import hashlib import pandas as pd def encryption(pageNum,pageSize,queryList,tableName): ''' ECS的token加密 :param pageNum: :param pageSize: :param queryList: :param tableName: :return: ''' m = hashlib.md5() token=f'accessId=skyx@prod&accessKey=skyx@0...
PypiClean
/nudge-0.6.5.tar.gz/nudge-0.6.5/README
# This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # This library is distributed in the hope that it will be use...
PypiClean
/p4a-django-1.9.1.tar.gz/p4a-django-1.9.1/django/contrib/gis/forms/widgets.py
from __future__ import unicode_literals import logging from django.conf import settings from django.contrib.gis import gdal from django.contrib.gis.geos import GEOSException, GEOSGeometry from django.forms.widgets import Widget from django.template import loader from django.utils import six, translation logger = log...
PypiClean
/gamification-engine-0.4.0.tar.gz/gamification-engine-0.4.0/gengine/app/jsscripts/node_modules/core-js/modules/library/_collection.js
'use strict'; var global = require('./_global'); var $export = require('./_export'); var meta = require('./_meta'); var fails = require('./_fails'); var hide = require('./_hide'); var redefineAll = require('./_redefine-all'); var forOf = require('./_for-of'); var anInstance = require('./_an-instance'); var isObject = r...
PypiClean
/BibReview-0.2.4.tar.bz2/BibReview-0.2.4/doc/yb_s4.py
# Paramètres généraux : # Année annee = "2012" # Dossier où seront stockés les bases biblio #dossier = "D:\\svoros\\taff\\YEARBOOK_2012\\base_pubmed" + annee dossier = "C:\\" + annee # Répertoire BibReview (celui contenant bibreview/bibreview) bibreview_path = "" # Paramètres dépendants de la section : # Requête...
PypiClean
/amp-atomistics-1.0.1.tar.gz/amp-atomistics-1.0.1/amp/nft/dft_jobs.py
import os import time import pickle from string import Template from ase.io import Trajectory from ase.parallel import paropen ### Template script for GPAW DFT jobs during nearsighted force training. script = """#!/usr/bin/env python3 import os import json import pickle import numpy as np from ase.io import read, Traj...
PypiClean
/torchagent-0.2.4.tar.gz/torchagent-0.2.4/README.rst
torchagent - A reinforcement learning library based on PyTorch ============================================================== Welcome to the torchagent repository. This repository contains the sources for the torchagent library. .. contents:: What is it? ----------- :code:`torchagent` is a library that implements var...
PypiClean
/djaodjin-multitier-0.1.26.tar.gz/djaodjin-multitier-0.1.26/multitier/middleware.py
import logging, re from django.conf import settings as django_settings from django.db.models import Q from django.http import Http404 from . import settings from .utils import get_site_model from .thread_locals import clear_cache, set_current_site from .compat import MiddlewareMixin LOGGER = logging.getLogger(__n...
PypiClean
/django-icetea-0.5.tar.gz/django-icetea-0.5/icetea/handlers.py
from django.db import models from authentication import DjangoAuthentication, NoAuthentication from django.core.exceptions import ValidationError, ObjectDoesNotExist from custom_filters import filter_to_method from exceptions import UnprocessableEntity, ValidationErrorList from emitters import Emitter # mappings of {H...
PypiClean
/hamzaGlyph-1.1.0.tar.gz/hamzaGlyph-1.1.0/utils/loggers/clearml/hpo.py
from clearml import Task # Connecting ClearML with the current process, # from here on everything is logged automatically from clearml.automation import HyperParameterOptimizer, UniformParameterRange from clearml.automation.optuna import OptimizerOptuna task = Task.init(project_name='Hyper-Parameter Optimization', ...
PypiClean
/yafpa-3.0.3.tar.gz/yafpa-3.0.3/YAFPA/common/admonition.py
import os import re from itertools import zip_longest from pathlib import Path import yaml from YAFPA.common import global_value as settings BASEDIR = Path(settings.BASEDIR) def code_blocks(start_list, end_list): start_bug = [] end_bug = [] bug = [(x, y) for x, y in zip_longest(start_list, end_list, fi...
PypiClean
/simapy-4.4.3.tar.gz/simapy-4.4.3/src/sima/workflow/blueprints/externalprogramnode.py
from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.post.blueprints.runnode import RunNodeBlueprint class ExternalProgramNodeBlueprint(RunNodeBlueprint):...
PypiClean
/micropy_cli-4.2.2-py3-none-any.whl/micropy/logger.py
import logging import re from contextlib import contextmanager from logging.handlers import RotatingFileHandler import click from micropy import data class Log: """Borg for easy access to any Log from anywhere in the package.""" __shared_state = {} def __init__(self): self.__dict__ = self.__sha...
PypiClean
/neptune-cli-2.8.23-1.tar.gz/neptune-cli-2.8.23/neptune/internal/client_library/job_development_api/channel.py
import enum import logging import math from future.builtins import object from neptune.internal.client_library.job_development_api.channel_params import ChannelParams from neptune.internal.client_library.job_development_api.channel_type import ChannelType from neptune.internal.client_library.job_development_api.image...
PypiClean
/sdwebui-0.0.7-py3-none-any.whl/repositories/stable-diffusion-stability-ai/ldm/modules/karlo/kakao/modules/nn.py
import math import torch as th import torch.nn as nn import torch.nn.functional as F class GroupNorm32(nn.GroupNorm): def __init__(self, num_groups, num_channels, swish, eps=1e-5): super().__init__(num_groups=num_groups, num_channels=num_channels, eps=eps) self.swish = swish def forward(sel...
PypiClean
/risc_generator-0.0.1.tar.gz/risc_generator-0.0.1/risc_generator/content/en/endorsements/faq33.py
from ..endorsements.endorsement_header import generate_endorsement_page_header_text from ...config import NEW_PAGE_TAG @staticmethod def generate_faq33_endorsement_text() -> str: endorsement_header_text = generate_endorsement_page_header_text() text = ( f"{endorsement_header_text}" "Quebec End...
PypiClean
/Products.Silva-3.0.4.tar.gz/Products.Silva-3.0.4/Products/Silva/GhostAsset/views.py
# Zope 3 from five import grok from zope.component import getMultiAdapter from zope.publisher.interfaces.browser import IBrowserRequest # Zope 2 from AccessControl import getSecurityManager from AccessControl import Unauthorized # Silva from silva.core.interfaces import IGhostAsset, IDownloableAsset from silva.core....
PypiClean
/Flox-lib-0.20.0.tar.gz/Flox-lib-0.20.0/flox/browser.py
import logging from subprocess import Popen, PIPE, CREATE_NO_WINDOW import webbrowser from winreg import OpenKey, QueryValueEx, HKEY_CURRENT_USER as HKCU, HKEY_LOCAL_MACHINE as HKLM log = logging.getLogger(__name__) DEFAULT_BROWSER_KEYWORD = "*" MICROSOFT_EDGE = 'msedge' CHROME = 'chrome' FIREFOX = 'firefox' NEW_WIND...
PypiClean
/canvas-lms-api-0.4.1.tar.gz/canvas-lms-api-0.4.1/canvas_lms_api/canvas.py
import os import sys import requests import csv import urllib import time ################################################################################ class Canvas: def __init__(self, base, token, course=None): self.base = base self.course_id = course self.token = token def GetCou...
PypiClean
/pystride-0.1.9.tar.gz/pystride-0.1.9/stride/stride.py
import json from time import time import requests BEARER_TOKEN_URL = 'https://api.atlassian.com/oauth/token' SITE_API_URL = 'https://api.atlassian.com/site' USER_API_URL = 'https://api.atlassian.com/scim/site' IDENTITY_USER_API_URL = 'https://api.atlassian.com/users' MODULE_API_URL = 'https://api.atlassian.com/app/mo...
PypiClean
/retryz-0.1.9.tar.gz/retryz-0.1.9/README.rst
Retry Decorator =============== .. image:: https://img.shields.io/travis/jealous/retryz.svg :target: https://travis-ci.org/jealous/retryz .. image:: https://img.shields.io/coveralls/jealous/retryz.svg :target: https://coveralls.io/github/jealous/retryz .. image:: https://img.shields.io/pypi/v/retryz.svg :t...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/network/v20230401/security_rule.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__ = ['SecurityRuleInitArgs', 'SecurityRule'] @pulumi.input_type class SecurityRuleIn...
PypiClean
/r3stapi-0.9.6.tar.gz/r3stapi-0.9.6/README.md
# r3stapi Author(s): Daan van den Bergh<br> Copyright: © 2020 Daan van den Bergh All Rights Reserved<br> <br> <br> <p align="center"> <img src="https://github.com/vandenberghinc/storage/blob/master/images/logo.png?raw=true" alt="Bergh-Encryption" width="50"/> </p> ## Description Easiliy create a subscription based...
PypiClean
/artellapipe-libs-pyblish-0.0.6.tar.gz/artellapipe-libs-pyblish-0.0.6/artellapipe/libs/pyblish/validators/modeling/transform/uncenteredpivots.py
from __future__ import print_function, division, absolute_import __author__ = "Tomas Poveda" __license__ = "MIT" __maintainer__ = "Tomas Poveda" __email__ = "tpovedatd@gmail.com" import tpDcc as tp import pyblish.api class SelectUncenteredTransforms(pyblish.api.Action): label = 'Select Uncentered Transforms' ...
PypiClean
/custom_workflow_solutions-2.2.5-py3-none-any.whl/airflow/sentry.py
"""Sentry Integration""" import logging from functools import wraps from airflow.configuration import conf from airflow.utils.session import find_session_idx, provide_session from airflow.utils.state import State log = logging.getLogger(__name__) class DummySentry: """Blank class for Sentry.""" @classmeth...
PypiClean
/keras-retinanet-1.0.0.tar.gz/keras-retinanet-1.0.0/keras_retinanet/bin/debug.py
import argparse import os import sys import cv2 # Set keycodes for changing images # 81, 83 are left and right arrows on linux in Ascii code (probably not needed) # 65361, 65363 are left and right arrows in linux # 2424832, 2555904 are left and right arrows on Windows # 110, 109 are 'n' and 'm' on mac, windows, linux ...
PypiClean
/ReFrame_HPC-4.3.2-py3-none-any.whl/reframe/core/decorators.py
# # Decorators used for the definition of tests # __all__ = ['simple_test'] import inspect import sys import traceback import reframe.utility.osext as osext from reframe.core.exceptions import ReframeSyntaxError, SkipTestError, what from reframe.core.fields import make_convertible from reframe.core.fixtures import...
PypiClean
/Products.Poi-4.0.3-py3-none-any.whl/Products/Poi/browser/log.py
from datetime import datetime from Acquisition import aq_inner from DateTime import DateTime from Products.CMFCore.utils import getToolByName from Products.Five.browser import BrowserView from Products.Poi.adapters import IResponseContainer def fixDate(date): if isinstance(date, basestring): # Should no...
PypiClean
/azure-mgmt-cosmosdb-10.0.0b1.zip/azure-mgmt-cosmosdb-10.0.0b1/azure/mgmt/cosmosdb/operations/_restorable_gremlin_resources_operations.py
from typing import Any, Callable, Dict, Iterable, Optional, TypeVar import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from azure.core.paging import ItemPaged fr...
PypiClean
/django_ocr_translate-0.1.4-py3-none-any.whl/ocr_translate/ocr_tsl/huggingface.py
"""Base utility functions to load models and project-wise environment variables.""" import logging import os from pathlib import Path from transformers import (AutoImageProcessor, AutoModel, AutoModelForSeq2SeqLM, AutoTokenizer, VisionEncoderDecoderModel) logger = logging.getLogger('ocr.gene...
PypiClean
/haibot_rosgymbullet-0.7.0.tar.gz/haibot_rosgymbullet-0.7.0/haibot_rosgymbullet/resources/plugins/odometry.py
import rospy, tf from nav_msgs.msg import Odometry class simpleOdometry: def __init__(self, pybullet, robot, **kargs): # get "import pybullet as pb" and store in self.pb self.pb = pybullet # get robot from parent class self.robot = robot # register this node as a /odom publi...
PypiClean
/pulumi_gcp_native-0.0.2a1617829075.tar.gz/pulumi_gcp_native-0.0.2a1617829075/pulumi_gcp_native/datastore/v1/index.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs from ._inputs import * __all__ = ['Index'] class Index(pulumi.CustomResource): def __init__(__self__, resource_name: str, ...
PypiClean
/Newcalls-0.0.1-cp37-cp37m-win_amd64.whl/newcalls/dist/binding.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MultiCoreBinding = exports.Binding = void 0; const events_1 = require("events"); const process = require("process"); const utils_1 = require("./utils"); class Binding extends events_1.EventEmitter { constructor() { super();...
PypiClean
/ws.rsspull-2.5.0.tar.gz/ws_rsspull-2.5.0/src/ws/rsspull/maildir.py
import os import errno import socket import time import random class Maildir(object): """See `zope.sendmail.interfaces.IMaildir`""" def __init__(self, path, create=False): "See `zope.sendmail.interfaces.IMaildirFactory`" self.path = path def access(path): return os.access...
PypiClean
/bitmovin_api_sdk-1.171.0-py3-none-any.whl/bitmovin_api_sdk/encoding/inputs/ftp/ftp_api.py
from __future__ import absolute_import from bitmovin_api_sdk.common import BaseApi, BitmovinApiLoggerBase from bitmovin_api_sdk.common.poscheck import poscheck_except from bitmovin_api_sdk.models.ftp_input import FtpInput from bitmovin_api_sdk.models.response_envelope import ResponseEnvelope from bitmovin_api_sdk.mod...
PypiClean
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/ai-shang-qing-gan/爱上情感《魅力男神全套》:18爱上情感《恋爱方法》:私密空间篇—约会刚失恋夜店小蜜蜂(下)-约会录像(第五集).md
# 爱上情感《魅力男神全套》:18 爱上情感《恋爱方法》:私密空间篇 — 约会刚失恋夜店小蜜蜂(下)- 约会录像(第五集) 这个时候我们吃完这个饭和完桌招我们直接带回到自秘工压力很顺利,回来时候我们把这个摄像机又安放好就接下来的部分就很快了就没有像之前的一些自秘工压力一样就是做的事非常多了就很快很快就直接完成了该完成了。 只是看着不大乃哥呗这么想回啊我就放开歌了啊四二哥老套路放歌,我这家做饭吗,我这家做饭吗,这家快以为我没做了,这家快以为我没做了,这家快以为我没做了,直接请他捧我,我这家做饭吗,你别接我,你别接我。 看这种手的我女生已经很棒的情况动手了,很很主动的,看这里面说我之前录刻的一些设备在这样的手,然后就终了眼睛看一下...
PypiClean
/z3c.formwidget.ckeditor-2.0.0a1.zip/z3c.formwidget.ckeditor-2.0.0a1/src/z3c/formwidget/ckeditor/ckeditor-js/_source/core/htmlparser/fragment.js
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * A lightweight representation of an HTML DOM structure. * @constructor * @example */ CKEDITOR.htmlParser.fragment = function() { /** * The nodes contained in the...
PypiClean
/dulwich_windows-0.9.8-cp27-none-win32.whl/dulwich/file.py
import errno import os import tempfile import io def ensure_dir_exists(dirname): """Ensure a directory exists, creating if necessary.""" try: os.makedirs(dirname) except OSError as e: if e.errno != errno.EEXIST: raise def fancy_rename(oldname, newname): """Rename file with...
PypiClean
/streamlit_extras-0.3.0-py3-none-any.whl/streamlit_extras/mention/__init__.py
import streamlit as st from htbuilder import a, img, span from validators import url as validate_url from .. import extra GITHUB_ICON = "https://cdn-icons-png.flaticon.com/512/25/25231.png" NOTION_ICON = "https://upload.wikimedia.org/wikipedia/commons/4/45/Notion_app_logo.png" TWITTER_ICON = "https://seeklogo.com/ima...
PypiClean
/ansys_dpf_core-0.9.0.tar.gz/ansys_dpf_core-0.9.0/src/ansys/dpf/core/operators/result/interface_contact_mass.py
from warnings import warn from ansys.dpf.core.dpf_operator import Operator from ansys.dpf.core.inputs import Input, _Inputs from ansys.dpf.core.outputs import Output, _Outputs from ansys.dpf.core.operators.specification import PinSpecification, Specification class interface_contact_mass(Operator): """Read Interfa...
PypiClean
/RsCMPX_WcdmaMeas-4.0.185.tar.gz/RsCMPX_WcdmaMeas-4.0.185/RsCMPX_WcdmaMeas/Implementations/WcdmaMeas/MultiEval/Carrier/Trace/UePower/Average.py
from typing import List from .......Internal.Core import Core from .......Internal.CommandsGroup import CommandsGroup from .......Internal.ArgSingleSuppressed import ArgSingleSuppressed from .......Internal.Types import DataType from ....... import repcap # noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheck...
PypiClean
/antares-0.3.23.1-py3-none-manylinux1_x86_64.whl/antares_core/3rdparty/tvm/python/tvm/topi/argwhere.py
"""Argwhere operator""" import tvm from tvm.te import hybrid @hybrid.script def hybrid_argwhere_1d(output_shape, condition): """Find the indices of elements of a 1-D tensor that are non-zero. Parameters ---------- condition : tvm.te.Tensor 1-D tensor with boolean values. Returns ----...
PypiClean
/pylablib-lightweight-1.4.1.tar.gz/pylablib-lightweight-1.4.1/pylablib/devices/PCO/PCO_err_defs.py
# pylint: disable=unused-import, unused-argument, wrong-spelling-in-comment import ctypes import enum from ...core.utils import ctypes_wrap def _int32(v): return (v+0x80000000)%0x100000000-0x80000000 ##### DEFINE GROUPS ##### class PCO_ERR(enum.IntEnum): PCO_NOERROR ...
PypiClean
/ehostess-0.0.4.tar.gz/ehostess-0.0.4/eHostess/PyConTextInterface/SentenceRepeatManager.py
import re class RepeatManagerSentence: def __init__(self, text): self.text = text self.endOfLastSearch = 0 class SentenceRepeatManager: """This class is initialized with the text of one document. It takes sentences whose span is to be determined as arguments to determineSpan(). This clas...
PypiClean
/housing-prediction-0.4.tar.gz/housing-prediction-0.4/src/housing/sklearn_utils.py
from housing.transformers import CombinedAttributesAdder def get_feature_names_from_column_transformer(col_trans): """Get feature names from a sklearn column transformer. The `ColumnTransformer` class in `scikit-learn` supports taking in a `pd.DataFrame` object and specifying `Transformer` operations on ...
PypiClean
/arxiv_miner-2.0.3.tar.gz/arxiv_miner-2.0.3/arxiv_miner/paper.py
import os import shutil import glob import arxiv import tarfile from typing import List,Tuple import datetime from .exception import * from .utils import \ dir_exists,\ save_json_to_file,\ load_json_from_file from .semantic_parsing import \ ArxivDocument,\ Section,\ ResearchPaper,\ Researc...
PypiClean
/er-calvin-1.1.1.tar.gz/er-calvin-1.1.1/calvin/runtime/north/calvin_token.py
# Copyright (c) 2015 Ericsson AB # # 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 writ...
PypiClean
/dsin100daysv29-6.0.1.tar.gz/dsin100daysv29-6.0.1/notebook/nbextensions.py
"""Utilities for installing Javascript extensions for the notebook""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from __future__ import print_function import os import shutil import sys import tarfile import zipfile from os.path import basename, join as pjoin...
PypiClean
/azure-mgmt-authorization-4.0.0.zip/azure-mgmt-authorization-4.0.0/azure/mgmt/authorization/v2020_10_01_preview/operations/_role_eligibility_schedules_operations.py
from typing import Any, Callable, Dict, Iterable, Optional, TypeVar import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from azure.core.paging import ItemPaged fr...
PypiClean
/ZeroSeg-Improved-0.3.tar.gz/ZeroSeg-Improved-0.3/README.md
# ZeroSeg ![ZeroSeg on a Raspberry Pi Zero](https://github.com/AverageMaker/Imagestore/blob/master/ZeroSeg-Main_zpsvzs47kds.JPG?raw=true) A ***improved*** version of code library for the ZeroSeg Raspberry Pi Zero add-on board from [ThePiHut.com](https://thepihut.com/zeroseg). **This version isn't fully compliant with...
PypiClean
/requests_ntlm2-6.5.3.tar.gz/requests_ntlm2-6.5.3/README.md
<h1 align="center">requests-ntlm2</h1> <div align="center">NTLM authentication plugin for Requests</div> <br /> [![Build Status](https://github.com/dopstar/requests-ntlm2/workflows/build/badge.svg?branch=master)](https://github.com/dopstar/requests-ntlm2/actions?query=workflow%3Abuild) [![codecov](https://codecov.io/g...
PypiClean
/citymaker_sdk-1.1.15.0.tar.gz/citymaker_sdk-1.1.15.0/citymaker_sdk/SDK/RenderControl/ITerrain.py
import os, sys,json sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) import Utils.classmake as CM import Utils.globalData as glodata import Utils.wsInit as wsObj from SDK.RenderControl.IRObject import IRObject Props={"demAvailable":{"t":"bool","v":True, "F":"gs"},"enableAt...
PypiClean
/sifflet_sdk-0.3.2-py3-none-any.whl/client/model/monitor_summary_dto.py
import re # noqa: F401 import sys # noqa: F401 from 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, validat...
PypiClean
/downscale-0.0.1.tar.gz/downscale-0.0.1/docs/installation.rst
.. highlight:: shell ============ Installation ============ Stable release -------------- To install Downscale, run this command in your terminal: .. code-block:: console $ pip install downscale This is the preferred method to install Downscale, as it will always install the most recent stable release. If ...
PypiClean
/collective.flattr-0.2.tar.gz/collective.flattr-0.2/collective/flattr/extender.py
from zope.component import adapts from zope.interface import implements from archetypes.schemaextender.interfaces import ISchemaExtender from archetypes.schemaextender.field import ExtensionField from Products.Archetypes.atapi import SelectionWidget from Products.Archetypes.atapi import BooleanWidget from Products.Arch...
PypiClean
/jupyter-openbis-server-0.4.2rc0.tar.gz/jupyter-openbis-server-0.4.2rc0/README.md
# Jupyter openBIS Server This server is an extension to the Jupyter notebook server and is part of the `jupyter-openbis-extension` and `jupyterlab-openbis` notebook extensions. It uses the `pyBIS` module internally to communicate with openBIS and ommunicates with the notebook extensions via the built-in tornado webser...
PypiClean
/requests_qwd-0.1.3.tar.gz/requests_qwd-0.1.3/requests_qwd/__init__.py
import warnings import urllib3 from .exceptions import RequestsDependencyWarning try: from charset_normalizer import __version__ as charset_normalizer_version except ImportError: charset_normalizer_version = None try: from chardet import __version__ as chardet_version except ImportError: chardet_ver...
PypiClean
/ifly_uiautotest-0.0.10-py3-none-any.whl/pytest/__init__.py
"""pytest: unit and functional testing with Python.""" from . import collect from _pytest import __version__ from _pytest import version_tuple from _pytest._code import ExceptionInfo from _pytest.assertion import register_assert_rewrite from _pytest.cacheprovider import Cache from _pytest.capture import CaptureFixture ...
PypiClean
/azure_mgmt_databox-2.0.0-py3-none-any.whl/azure/mgmt/databox/v2022_12_01/aio/operations/_data_box_management_client_operations.py
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_error, ) from azure.core.pipeline import PipelineResponse fr...
PypiClean
/jupyterhub_url_sharing-0.1.0.tar.gz/jupyterhub_url_sharing-0.1.0/node_modules/@types/node/v8.d.ts
declare module 'v8' { import { Readable } from 'node:stream'; interface HeapSpaceInfo { space_name: string; space_size: number; space_used_size: number; space_available_size: number; physical_space_size: number; } // ** Signifies if the --zap_code_space option is ...
PypiClean
/veracode_api_py-0.9.43-py3-none-any.whl/veracode_api_py/dynamic.py
import json from urllib import parse from typing import List from uuid import UUID from .apihelper import APIHelper ROOT_URL = 'was/configservice/v1' class Analyses(): base_url = ROOT_URL + '/analyses' #public methods def get_all(self): request_params = {} return self._get_analyses(request_par...
PypiClean
/too_simple_server-0.2.5-py3-none-any.whl/too_simple_server/database.py
from typing import List from uuid import uuid4 from peewee import DatabaseProxy, Model, PostgresqlDatabase, SqliteDatabase, TextField, UUIDField from psycopg2 import connect from psycopg2.errors import DuplicateDatabase from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT from .configuration import Configuratio...
PypiClean
/twilio-fatisar-5.4.1.tar.gz/twilio-fatisar-5.4.1/twilio/rest/task_router.py
from twilio.rest.base import TwilioClient from twilio.rest.resources import ( UNSET_TIMEOUT, Activities, Events, Reservations, TaskQueues, Tasks, Workers, Workflows, Workspaces, ) class TwilioTaskRouterClient(TwilioClient): """ A client for accessing the Twilio TaskRouter A...
PypiClean
/google_businessmessages-1.0.5-py3-none-any.whl/businessmessages/businessmessages_v1_messages.py
from __future__ import absolute_import from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding package = 'businessmessages' class BusinessMessagesAuthenticationRequest(_messages.Message): r"""Request to authenticate a conversation. Fields: oauth: Details for aut...
PypiClean
/genio_tools-1.4a2-py3-none-any.whl/aiot/ubootenv.py
import logging import random import zlib import struct class UBootEnv: def __init__(self, env_size, env_file): self.logger = logging.getLogger('aiot') self.env = []; self.env_size = env_size with open(env_file, "r") as env: self.env = env.readlines() def add(self, ...
PypiClean
/ID_distributions-0.1.tar.gz/ID_distributions-0.1/ID_distributions/Binomialdistribution.py
import math import matplotlib.pyplot as plt from .Generaldistribution import Distribution class Binomial(Distribution): """ Binomial distribution class for calculating and visualizing a Binomial distribution. Attributes: mean (float) representing the mean value of the distribution std...
PypiClean
/glue_core-1.13.1-py3-none-any.whl/glue/core/units.py
from astropy import units as u from glue.config import unit_converter, settings from glue.core import Subset __all__ = ['UnitConverter', 'find_unit_choices'] class UnitConverter: def __init__(self): self.converter_helper = unit_converter.members[settings.UNIT_CONVERTER]() def equivalent_units(self...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/machinelearningservices/v20230401preview/component_version.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__ = ['ComponentVersionInitArgs', 'ComponentVersion'] @pulumi.input_type class Compon...
PypiClean
/h2o_pysparkling_3.4-3.42.0.2.post1.tar.gz/h2o_pysparkling_3.4-3.42.0.2.post1/ai/h2o/sparkling/ml/models/H2OCoxPHMOJOModel.py
from ai.h2o.sparkling.ml.params.H2OMOJOModelParams import H2OSupervisedMOJOModelParams from pyspark.ml.util import _jvm from py4j.java_gateway import JavaObject from ai.h2o.sparkling.Initializer import Initializer from ai.h2o.sparkling.ml.models.H2OMOJOSettings import H2OMOJOSettings from ai.h2o.sparkling.ml.params.H2...
PypiClean
/djangorestframework-recaptcha-0.2.0.tar.gz/djangorestframework-recaptcha-0.2.0/README.rst
=============================== Django REST framework reCAPTCHA =============================== .. image:: https://badge.fury.io/py/djangorestframework-recaptcha.svg :target: https://badge.fury.io/py/djangorestframework-recaptcha .. image:: https://travis-ci.org/Maximilien-R/django-rest-framework-recaptcha.svg?br...
PypiClean
/tw.dojo-0.9.181.tar.gz/tw.dojo-0.9.181/tw/dojo/static/1.8.1/debug/dojox/mvc/ListController.js
define("dojox/mvc/ListController", [ "dojo/_base/array", "dojo/_base/lang", "dojo/_base/declare", "./ModelRefController" ], function(array, lang, declare, ModelRefController){ function unwatchHandles(/*dojox/mvc/ListController*/ c){ // summary: // Unwatch model watch handles. for(var s in {"_listModelWatch...
PypiClean
/PyamlQt-0.3.1-py3-none-any.whl/pyamlqt/label_configure.py
import sys import os import yaml import re import urllib.request DEBUG_FLAG = True class label_configure: def is_url(self, path: str) -> bool: pattern = "https?://[\w/:%#\$&\?\(\)~\.=\+\-]+" if re.match(pattern, path): return True else: return False def __init...
PypiClean
/aws_emr_launch-2.0.1-py3-none-any.whl/aws_emr_launch/constructs/iam_roles/emr_roles.py
import os from typing import Optional import aws_cdk from aws_cdk import aws_iam as iam from aws_cdk import aws_s3 as s3 import constructs from aws_emr_launch.constructs.base import BaseConstruct class EMRRoles(BaseConstruct): def __init__( self, scope: constructs.Construct, id: str, ...
PypiClean
/pyzolib-0.3.4.tar.gz/pyzolib-0.3.4/ssdf/classmanager.py
import sys from . import __version__ class _ClassManager: """ _ClassManager This static class enables registering classes, which can then be stored to ssdf and loaded from ssdf. On module loading, the sys module is given a reference to the ClassManager called '_ssdf_class_manager'. Othe...
PypiClean
/spotify_codegen-0.3.4-py3-none-any.whl/spotifycodegen/cli.py
from pathlib import Path from typing import List import click from click import Context from spotifycodegen.main import SpotifyCodeGen @click.group() @click.option( "-o", "--output_dir", type=click.Path( path_type=Path, exists=True, file_okay=False, dir_okay=True, ...
PypiClean
/bayketinymce_django-0.0.1-py3-none-any.whl/tinymce/static/tinymce/plugins/help/js/i18n/keynav/ro.js
tinymce.Resource.add('tinymce.html-i18n.help-keynav.ro', '<h1>Începeți navigarea de la tastatură</h1>\n' + '\n' + '<dl>\n' + ' <dt>Focalizare pe bara de meniu</dt>\n' + ' <dd>Windows sau Linux: Alt+F9</dd>\n' + ' <dd>macOS: &#x2325;F9</dd>\n' + ' <dt>Focalizare pe bara de instrumente</dt>\n' + ' <dd>...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/avs/latest/get_cluster.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs __all__ = [ 'GetClusterResult', 'AwaitableGetClusterResult', 'get_cluster', ] @pulumi.output_type class GetClusterResult: """ A ...
PypiClean
/smart-superset-3.2.tar.gz/smart-superset-3.2/superset/connectors/sqla/views.py
"""Views used by the SqlAlchemy connector""" import logging import re from typing import Any, cast from flask import current_app, flash, Markup, redirect from flask_appbuilder import CompactCRUDMixin, expose from flask_appbuilder.fieldwidgets import Select2Widget from flask_appbuilder.models.sqla.interface import SQLA...
PypiClean
/robinhood_aiokafka-1.1.6-cp37-cp37m-macosx_10_9_x86_64.whl/aiokafka/protocol/fetch.py
from __future__ import absolute_import from kafka.protocol.api import Request, Response from kafka.protocol.types import ( Array, Int8, Int16, Int32, Int64, Schema, String, Bytes ) class FetchResponse_v0(Response): API_KEY = 1 API_VERSION = 0 SCHEMA = Schema( ('topics', Array( ('t...
PypiClean
/lmcmlflow-1.17.1.2-py3-none-any.whl/mlflow/data.py
import os import re import urllib.parse from mlflow.utils import process from mlflow.utils.annotations import deprecated DBFS_PREFIX = "dbfs:/" S3_PREFIX = "s3://" GS_PREFIX = "gs://" DBFS_REGEX = re.compile("^%s" % re.escape(DBFS_PREFIX)) S3_REGEX = re.compile("^%s" % re.escape(S3_PREFIX)) GS_REGEX = re.compile("^%s...
PypiClean