id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/sorl-thumbnail-12.9.0.tar.gz/sorl-thumbnail-12.9.0/sorl/thumbnail/engines/wand_engine.py
from wand.image import Image from wand.version import MAGICK_VERSION_NUMBER from wand import exceptions from sorl.thumbnail.engines.base import EngineBase class Engine(EngineBase): def get_image(self, source): return Image(blob=source.read()) def get_image_size(self, image): return image.size...
PypiClean
/txt_to_html-0.0.1.tar.gz/txt_to_html-0.0.1/resources/MathJax-2.7.2/unpacked/jax/output/HTML-CSS/fonts/STIX-Web/Shapes/Regular/Main.js
MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXMathJax_Shapes'] = { directory: 'Shapes/Regular', family: 'STIXMathJax_Shapes', testString: '\u00A0\u2423\u2500\u2502\u2506\u2508\u250A\u251C\u2524\u252C\u2534\u253C\u2550\u2551\u2552', 0x20: [0,0,250,0,0], 0xA0: [0,0,250,0,0], 0x2423: [16,120,500,40,460], ...
PypiClean
/Deliverance-0.6.1.tar.gz/Deliverance-0.6.1/deliverance/editor/media/editarea/edit_area/edit_area_full.js
function EAL(){this.version="0.7.2.2";date=new Date();this.start_time=date.getTime();this.win="loading";this.error=false;this.baseURL="";this.template="";this.lang=new Object();this.load_syntax=new Object();this.syntax=new Object();this.loadedFiles=new Array();this.waiting_loading=new Object();this.scripts_to_load=new ...
PypiClean
/micropython-tziot-1.3.tar.gz/micropython-tziot-1.3/tziot/apply.py
import tziot.config as config import tziot.param as param import tziot.standardlayer as standardlayer import tziot.fpipe as fpipe import tziot.fdcom as fdcom import dcompy as dcom import lagan import utzpy as utz import knocky as knock import uasyncio as asyncio def init(): knock.register(utz.HEADER_CMP, utz.CMP...
PypiClean
/aiobotocore-botorange-0.2.3a0.tar.gz/aiobotocore-botorange-0.2.3a0/README.rst
aiobotocore =========== .. image:: https://travis-ci.org/aio-libs/aiobotocore.svg?branch=master :target: https://travis-ci.org/aio-libs/aiobotocore .. image:: https://codecov.io/gh/aio-libs/aiobotocore/branch/master/graph/badge.svg :target: https://codecov.io/gh/aio-libs/aiobotocore .. image:: https://img.shiel...
PypiClean
/ntsc_py-0.2.1.tar.gz/ntsc_py-0.2.1/ntsc_py/color.py
import numpy as np # the palette for rendering RGB colors on the Nintendo Entertainment System NES_PALETTE = np.array([ [102,102,102], [ 0, 42,136], [ 20, 18,168], [ 59, 0,164], [ 92, 0,126], [110, 0, 64], [108, 7, 0], [ 87, 29, 0], [ 52, 53, 0], [ 12, 73, 0], [ 0, 82, 0], [ 0, 79, 8], [ ...
PypiClean
/baiduads-sdk-auto-snapshot-2022.2.1.5.tar.gz/baiduads-sdk-auto-snapshot-2022.2.1.5/baiduads/videodata/model/get_second_level_data_response_wrapper.py
import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type, valid...
PypiClean
/caikit-0.16.0.tar.gz/caikit-0.16.0/docs/adrs/001-module.md
# ADR 001: Module ## Overview A module wraps implementation for a given AI model algorithm 'type' for the Caikit runtime. For instance, syntax (tokenization, parts of speech tagging, dependency parsing, lemmatization), entity extraction, keywords extraction, relations, sentiments and so on. Each 'type' is considered ...
PypiClean
/uniohomeassistant-0.1.3.tar.gz/uniohomeassistant-0.1.3/homeassistant/components/hitron_coda/device_tracker.py
from collections import namedtuple import logging import requests import voluptuous as vol from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner, ) from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_TYPE, CONF_USERNAME, HTTP_OK, ) im...
PypiClean
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/colord/LICENSE.md
MIT License Copyright (c) 2020 Vlad Shilov omgovich@ya.ru Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
PypiClean
/python_uds-1.0.2-py3-none-any.whl/uds/uds_config_tool/FunctionCreation/TransferExitMethodFactory.py
__author__ = "Richard Clubb" __copyrights__ = "Copyright 2018, the python-uds project" __credits__ = ["Richard Clubb"] __license__ = "MIT" __maintainer__ = "Richard Clubb" __email__ = "richard.clubb@embeduk.com" __status__ = "Development" from uds.uds_config_tool import DecodeFunctions import sys from uds.uds_confi...
PypiClean
/gnosis_neon_safe_eth_py-5.4.3-py3-none-any.whl/gnosis/eth/oracles/abis/balancer_abis.py
balancer_pool_abi = [ { "inputs": [], "payable": False, "stateMutability": "nonpayable", "type": "constructor", }, { "anonymous": False, "inputs": [ { "indexed": True, "internalType": "address", "name...
PypiClean
/dataone.gmn-3.5.2-py3-none-any.whl/d1_gmn/app/management/commands/diag-resource-map.py
import d1_common.const import d1_common.util import d1_common.utils.ulog import d1_gmn.app.did import d1_gmn.app.mgmt_base import d1_gmn.app.model_util import d1_gmn.app.models import d1_gmn.app.resource_map import d1_gmn.app.sciobj_store class Command(d1_gmn.app.mgmt_base.GMNCommandBase): def __init__(self, *ar...
PypiClean
/sdksio_verizon_apis_sdk-1.0.0-py3-none-any.whl/verizon/models/firmware_upgrade_request.py
from verizon.api_helper import APIHelper class FirmwareUpgradeRequest(object): """Implementation of the 'FirmwareUpgradeRequest' model. Details of the firmware upgrade request. Attributes: account_name (string): Account identifier in "##########-#####". firmware_name (string): The name ...
PypiClean
/winter-19.0.3.tar.gz/winter-19.0.3/winter_openapi/inspectors/path_parameters_inspector.py
from typing import List from openapi_schema_pydantic.v3.v3_0_3 import Parameter from winter.core import ComponentMethodArgument from winter.web.routing import Route from winter_openapi.inspection.inspection import InspectorNotFound from winter_openapi.inspection.inspection import inspect_type from winter_openapi.type...
PypiClean
/alpyvision-0.0.93.tar.gz/alpyvision-0.0.93/UnitTest/UnitTest.py
import unittest import numpy as np import cv2 as cv import AlPyVision.Vision as alpyvision class VisionUnitTest(unittest.TestCase): # Test Case 1: Find click positions def test_findClickPositions(self): # Unit test message message = 'Output 1 is not of instance list' # Instantiate n...
PypiClean
/git-gud-0.4.3.tar.gz/git-gud-0.4.3/gitgud/__main__.py
import webbrowser from pathlib import Path import sys import argparse from gitgud import __version__, InitializationError from gitgud.util.operations import Operator, get_operator from gitgud.skills import all_skills from gitgud.user_messages import force_initializing from gitgud.user_messages import cant_init_repo_...
PypiClean
/HydPy-5.0.1-cp38-cp38-win_amd64.whl/hydpy/models/lstream/lstream_control.py
# import... # ...from standard library import itertools from typing import * from typing_extensions import Literal # ...from HydPy from hydpy.core import objecttools from hydpy.core import parametertools from hydpy.core.typingtools import * from hydpy.auxs import anntools from hydpy.auxs import interptools class La...
PypiClean
/dsin100daysv33-6.0.1.tar.gz/dsin100daysv33-6.0.1/notebook/static/components/MathJax/jax/output/SVG/autoload/maction.js
MathJax.Hub.Register.StartupHook("SVG Jax Ready",function(){var f="2.7.7";var c=MathJax.ElementJax.mml,g=MathJax.OutputJax.SVG;var d,e,b;var a=g.config.tooltip=MathJax.Hub.Insert({delayPost:600,delayClear:600,offsetX:10,offsetY:5},g.config.tooltip||{});c.maction.Augment({SVGtooltip:MathJax.HTML.addElement(document.body...
PypiClean
/icesat2-toolkit-1.3.0.tar.gz/icesat2-toolkit-1.3.0/scripts/reduce_ICESat2_ATL07_raster.py
u""" reduce_ICESat2_ATL07_raster.py Written by Tyler Sutterley (12/2022) Create masks for reducing ICESat-2 ATL07 data using raster imagery COMMAND LINE OPTIONS: -R X, --raster X: Input raster file -F X, --format X: Input raster file format netCDF4 HDF5 geotiff -v X, --variables X:...
PypiClean
/azureml_core-1.53.0-py3-none-any.whl/azureml/_restclient/operations/model_operations.py
from msrest.pipeline import ClientRawResponse from .. import models class ModelOperations(object): """ModelOperations operations. :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An ob...
PypiClean
/itk_rtk_cuda116-2.4.1-cp37-cp37m-win_amd64.whl/itk/rtkImageToVectorImageFilterPython.py
import collections from sys import version_info as _version_info if _version_info < (3, 7, 0): raise RuntimeError("Python 3.7 or later required") from . import _ITKCommonPython from . import _RTKPython from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): r...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/request/KoubeiShopMallMemberIdentifyRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.KoubeiShopMallMemberIdentifyModel import KoubeiShopMallMemberIdentifyModel class KoubeiShopMallMemberIdentifyRequest(object): def __init__(self, biz_model=None): sel...
PypiClean
/bloxroute-gateway-1.109.9.tar.gz/bloxroute-gateway-1.109.9/bxcommon/src/bxcommon/messages/abstract_message_factory.py
from abc import ABCMeta, abstractmethod from typing import Optional, NamedTuple, Dict, Type from bxcommon.exceptions import ParseError, UnrecognizedCommandError from bxcommon.messages.abstract_message import AbstractMessage from bxcommon.utils import convert from bxcommon.utils.buffers.input_buffer import InputBuffer ...
PypiClean
/e3nn_jax-0.19.3.tar.gz/e3nn_jax-0.19.3/e3nn_jax/_src/J.py
from typing import List import numpy as np from numpy import sqrt J0 = np.array( [ [1], ] ) J1 = np.array( [ [0, -1, 0], [-1, 0, 0], [0, 0, 1], ] ) J2 = np.array( [ [0, 0, 0, -1, 0], [0, 1, 0, 0, 0], [0, 0, -1 / 2, 0, -sqrt(3) / 2], ...
PypiClean
/puresec-cli-1.2.1.tar.gz/puresec-cli-1.2.1/puresec_cli/resources/node_modules/core-js/modules/core.dict.js
'use strict'; var ctx = require('./_ctx'); var $export = require('./_export'); var createDesc = require('./_property-desc'); var assign = require('./_object-assign'); var create = require('./_object-create'); var getPrototypeOf = require('./_object-gpo'); var getKeys = require('./_object-keys'); var dP = require('./_ob...
PypiClean
/d3m-common-primitives-2022.5.26.tar.gz/d3m-common-primitives-2022.5.26/common_primitives/extract_columns_semantic_types.py
import os import typing from d3m import container, exceptions, utils as d3m_utils from d3m.base import utils as base_utils from d3m.metadata import base as metadata_base, hyperparams from d3m.primitive_interfaces import base, transformer import common_primitives __all__ = ('ExtractColumnsBySemanticTypesPrimitive',) ...
PypiClean
/icemac.addressbook-9.4.tar.gz/icemac.addressbook-9.4/src/icemac/addressbook/browser/resources/js/form.js
(function($) { "use strict"; function render_field_hint(index, widget) { /* Render the title attribute of a form field as hint. widget ... z3c.form widget rendered in browser. */ widget = $(widget); var text = widget.find('input, select').attr('title'); if (!tex...
PypiClean
/invz_package-0.0.9.tar.gz/invz_package-0.0.9/innerverz_package copy/face_color_transfer/nets.py
import sys sys.path.append('./MyModel') import math import torch import torch.nn as nn import torch.nn.functional as F from .sub_nets import VGG19_pytorch, Blend_Net, Warp_Net from .utils.utils import feature_normalize class MyGenerator(nn.Module): def __init__(self): super(MyGenerator, self).__init__() ...
PypiClean
/scphylo_tools-0.0.4-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl/scphylo/commands/utils/_search.py
import os import click import numpy as np from joblib import Parallel, delayed from tqdm import tqdm import scphylo as scp # from scphylo.pl._trees import _newick_info2_mutation_list def run_scistree(df_in, alpha, beta, outfile): type(outfile) # scp.settings.logfile = f"{outfile}/fn_{beta}-fp_{alpha}.log" ...
PypiClean
/cameras-dashboard-20221009112053.tar.gz/cameras-dashboard-20221009112053/cameras_dashboard/c.b0fa27f4.js
import{_ as i,c as e,d as t,t as o,$ as s,f as a,n}from"./main-d07cb663.js";import{aq as c}from"./c.fc0bbf07.js";import"./c.f2f631cd.js";import"./c.95ef015c.js";import{g as h}from"./c.972893d2.js";import{c as l}from"./c.70b58286.js";import"./c.dd4b7d4a.js";import"./c.ebfe053a.js";import"./c.b0065faf.js";const r=["senso...
PypiClean
/odoo13_addon_l10n_es_facturae-13.0.2.5.0-py3-none-any.whl/odoo/addons/l10n_es_facturae/models/account_move.py
import base64 import hashlib import logging import random from collections import defaultdict from datetime import datetime import pytz from lxml import etree from odoo import _, api, fields, models, tools from odoo.exceptions import ValidationError, Warning as UserError try: import xmlsig from OpenSSL impo...
PypiClean
/alipay_sdk_python-3.6.740-py3-none-any.whl/alipay/aop/api/request/DatadigitalAnttechActivityConvertCallbackRequest.py
import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.DatadigitalAnttechActivityConvertCallbackModel import DatadigitalAnttechActivityConvertCallbackModel class DatadigitalAnttechActivityConvertCallbackRequest(object): def __in...
PypiClean
/v3/model/scoped_token.py
import pprint import re import six class ScopedToken: """ 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 definit...
PypiClean
/pytest_mproc-5.2.0-py3-none-any.whl/pytest_mproc/remote/ssh.py
import asyncio import getpass import logging import os import shlex import subprocess import sys import time from contextlib import suppress, contextmanager from dataclasses import dataclass from pathlib import Path from typing import ( AsyncIterator, Callable, ContextManager, Dict, List, Option...
PypiClean
/surfacetopography-1.10.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/surfacetopography-1.10.1.data/purelib/SurfaceTopography/Uniform/VariableBandwidth.py
import numpy as np from ..Exceptions import NoReliableDataError, UndefinedDataError from ..HeightContainer import UniformTopographyInterface from ..Support import build_tuple def checkerboard_detrend_profile(self, subdivisions, order=1, return_plane=False): """ Perform tilt correction (and substract mean val...
PypiClean
/mediaserver-api-client-4.2.tar.gz/mediaserver-api-client-4.2/ms_client/lib/content.py
import logging import zipfile from pathlib import Path logger = logging.getLogger(__name__) def add_media(client, title=None, file_path=None, progress_callback=None, progress_data=None, timeout=3600, max_retry=None, **kwargs): if not title and not file_path: raise ValueError('You should giv...
PypiClean
/jupyterlab_atp_extension-1.0.3-py3-none-any.whl/jupyterlab_atp_extension-1.0.3.data/data/share/jupyter/labextensions/@jupyterlab-atp/extension/static/style_index_js.f67bef73d30c780105a3.js
"use strict"; (self["webpackChunk_jupyterlab_atp_extension"] = self["webpackChunk_jupyterlab_atp_extension"] || []).push([["style_index_js"],{ /***/ "./node_modules/css-loader/dist/cjs.js!./style/base.css": /*!**************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.j...
PypiClean
/UP-Manager-0.0.0.tar.gz/UP-Manager-0.0.0/django/contrib/gis/utils/srs.py
from django.contrib.gis.gdal import SpatialReference def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None, database=None): """ This function takes a GDAL SpatialReference system and adds its information to the `spatial_ref_sys` table of the spatial backend. Doing th...
PypiClean
/odoorpc-toolbox-0.0.6.tar.gz/odoorpc-toolbox-0.0.6/odoorpc_toolbox/base_helper.py
import os import base64 from . import odoo_connection class EqOdooConnection(odoo_connection.OdooConnection): def get_state_id(self,_country_id,_state_name): """ Return the state_id (Bundesland) :param _country_id: ID des Landes :param _state_name: Name des Bundeslandes/Kanton ...
PypiClean
/z3c.pt-4.0.tar.gz/z3c.pt-4.0/src/z3c/pt/namespaces.py
import zope.component from zope.traversing.interfaces import IPathAdapter class AdapterNamespaces: """Simulate tales function namespaces with adapter lookup. When we are asked for a namespace, we return an object that actually computes an adapter when called: To demonstrate this, we need to register...
PypiClean
/netapp.santricity-1.0.tar.gz/netapp.santricity-1.0/netapp/santricity/api/symbol/c_api.py
from __future__ import absolute_import import sys import os # python 2 and python 3 compatibility library from six import iteritems from ....santricity.configuration import Configuration from ....santricity.api_client import ApiClient class CApi(object): def __init__(self, api_client=None): config = C...
PypiClean
/egads-lineage-1.2.8.tar.gz/egads-lineage-1.2.8/doc/source/intro.rst
============= Introduction ============= The EGADS (EUFAR General Airborne Data-processing Software) core is a Python-based library of processing and file I/O routines designed to help analyze a wide range of airborne atmospheric science data. EGADS purpose is to provide a benchmark for airborne data-processing through...
PypiClean
/odoo_addon_l10n_th_bank_payment_export-15.0.1.1.0-py3-none-any.whl/odoo/addons/l10n_th_bank_payment_export/models/bank_payment_export.py
from odoo import _, api, fields, models from odoo.exceptions import UserError class BankPaymentExport(models.Model): _name = "bank.payment.export" _inherit = ["mail.thread", "mail.activity.mixin"] _description = "Bank Payment Export File" name = fields.Char( default="/", index=True, ...
PypiClean
/pulumi_oci-1.9.0a1693465256.tar.gz/pulumi_oci-1.9.0a1693465256/pulumi_oci/osmanagement/get_software_source_module_stream.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'GetSoftwareSourceModuleStreamResult', 'AwaitableGetSoftwareSourceModuleStreamResult', 'get_software_source_module_stream', 'get_so...
PypiClean
/zarenacord.py-2.0.0-py3-none-any.whl/discord/shard.py
from __future__ import annotations import asyncio import logging import aiohttp from .state import AutoShardedConnectionState from .client import Client from .backoff import ExponentialBackoff from .gateway import * from .errors import ( ClientException, HTTPException, GatewayNotFound, ConnectionClos...
PypiClean
/monk_pytorch_cuda100-0.0.1-py3-none-any.whl/monk/tf_keras_1/transforms/common.py
from monk.tf_keras_1.transforms.imports import * from monk.system.imports import * from monk.tf_keras_1.transforms.transforms import transform_color_jitter from monk.tf_keras_1.transforms.transforms import transform_random_affine from monk.tf_keras_1.transforms.transforms import transform_random_horizontal_flip from m...
PypiClean
/jupyter_jsmol-2022.1.0.tar.gz/jupyter_jsmol-2022.1.0/jsmol/j2s/J/shapespecial/DrawMesh.js
Clazz.declarePackage ("J.shapespecial"); Clazz.load (["J.shape.Mesh"], "J.shapespecial.DrawMesh", ["JU.AU", "$.BS", "$.P3", "$.V3", "J.shapespecial.Draw", "JU.BSUtil"], function () { c$ = Clazz.decorateAsClass (function () { this.bsMeshesVisible = null; this.modelFlags = null; this.drawType = null; this.drawTypes = nul...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/insights/v20150401/autoscale_setting.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs from ._enums import * from ._inputs import * __all__ = ['AutoscaleSetting'] class AutoscaleSetting(pulumi.CustomResource): def __init__(__self_...
PypiClean
/ecreall_pontus-1.1.0.tar.gz/ecreall_pontus-1.1.0/pontus/static/js/preventdelete/README.md
# tinymce-prevent-delete This is meant to work with tinymce's noneditable plugin and will prevent the deletion of non-editable elements I made it for my own purposes, but since it took a lot of time and messing with to get working I figured I'd share it. That being said it may not work for you if you're not using it ...
PypiClean
/ssdeep-3.4.tar.gz/ssdeep-3.4/docs/source/installation.rst
Installation ============ Requirements ------------ * Python * Python 2.6, 2.7 * Python >= 3.2 * PyPy >= 2.0 * ssdeep/libfuzzy >= 2.10 (Some features might not be available with older versions. See :py:class:`ssdeep.Hash`) * cffi * pip * six Install on CentOS 7 ------------------- Python 2 ~~~~~~~~ **Use i...
PypiClean
/bpy_cuda-2.82-cp37-cp37m-win_amd64.whl/bpy_cuda-2.82.data/scripts/2.82/scripts/addons/add_curve_extra_objects/add_curve_spirals.py
import bpy import time from bpy.props import ( EnumProperty, BoolProperty, FloatProperty, IntProperty, FloatVectorProperty ) from mathutils import ( Vector, Matrix, ) from math import ( sin, cos, pi ) from bpy_extras.object_utils im...
PypiClean
/aiohttp_json_api-0.37.0.tar.gz/aiohttp_json_api-0.37.0/aiohttp_json_api/controller.py
import copy from .abc.contoller import ControllerABC from .common import logger from .fields.decorators import Tag from .helpers import first, get_processors class DefaultController(ControllerABC): @staticmethod async def default_include(field, resources, **kwargs): if field.mapped_key: c...
PypiClean
/OctoPrint-1.9.2.tar.gz/OctoPrint-1.9.2/src/octoprint/static/js/login/login.js
$(function () { var OctoPrint = window.OctoPrint; OctoPrint.loginui = { startedUp: false }; var overlayElement = $("#login-overlay"); var errorCredentialsElement = $("#login-error-credentials"); var errorRateElement = $("#login-error-rate"); var offlineElement = $("#login-offline")...
PypiClean
/Caroline-presentation-0.2.4.tar.gz/Caroline-presentation-0.2.4/caroline/html_dist/js/mathjax/sre/mathmaps/es/symbols/latin-lower-single-accent.js
[{"locale":"es"},{"key":"00E0","mappings":{"default":{"default":"a grave"}},"category":"Ll"},{"key":"00E1","mappings":{"default":{"default":"a aguda"}},"category":"Ll"},{"key":"00E2","mappings":{"default":{"default":"a acento circunflejo"}},"category":"Ll"},{"key":"00E3","mappings":{"default":{"default":"a con tilde"}}...
PypiClean
/DNBC4-test-2.2.1.tar.gz/DNBC4-test-2.2.1/dnbc4tools/rna/src/saturation.py
import pysam import multiprocessing import time import os import shutil import argparse import matplotlib matplotlib.use('Agg') import pandas as pd import numpy as np import polars as pl import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator import matplotlib.ticker as ticker from scipy.interpolate ...
PypiClean
/nuvla-api-3.0.9.tar.gz/nuvla-api-3.0.9/src/nuvla/api/models.py
from threading import Lock def truncate_middle(max_len, message, truncate_message='...'): if message and max_len and len(message) > max_len: subsize = int((max_len - len(truncate_message)) / 2) message = message[0:subsize] + truncate_message + message[-subsize:] return message class CimiRes...
PypiClean
/contracting-1.0.5.2.tar.gz/contracting-1.0.5.2/docs/docs/concepts/submission.md
## How It Works When a smart contrat is submitted, it goes through a special `submission` smart contract that is seeded at the beginning of the software's lifecycle. The submission contract is something that bypasses the traditional linting and compilation processes and thus provides a gateway between deeper levels o...
PypiClean
/yowsup2-3.2.3-py3-none-any.whl/yowsup/layers/protocol_profiles/protocolentities/iq_picture_set.py
from .iq_picture import PictureIqProtocolEntity from yowsup.structs import ProtocolTreeNode import time class SetPictureIqProtocolEntity(PictureIqProtocolEntity): ''' <iq type="set" id="{{id}}" xmlns="w:profile:picture", to={{jid}}"> <picture type="image" id="{{another_id}}"> {{Binary bytes of t...
PypiClean
/giwaxs_gui-0.3.5.1.tar.gz/giwaxs_gui-0.3.5.1/giwaxs_gui/gui/basic_widgets/setup_widgets.py
import logging from copy import deepcopy from abc import abstractmethod from typing import NamedTuple from PyQt5.QtWidgets import (QWidget, QLineEdit, QHBoxLayout, QLabel, QFormLayout, QPushButton, QRadioButton) from PyQt5.QtGui import QIntValidator from PyQt5....
PypiClean
/love_course_2016_2019-2023.3.1.0-py3-none-any.whl/LoveCourse20162019/docs/wu-ya-jiu-shu/乌鸦自信聊天宝典:3.6女人讨厌男人的行为.md
# 乌鸦自信聊天宝典:3.6女人讨厌男人的行为 Hello,同学们大家好,我是乌鸦救赎私教作为的女性主导师初夏,那么今天带给大家的是什么?就是呃,学习过技巧之后呢,是否不懂得如何去实战?那么实战呢,指的是什么?就是你们在约会当中的事情,那么首先啊。 就是说要跟大家讲,就是啊,很多人呢,越来越不会聊天了,然后有的人也说啊,老师我都懂,但是实战的时候就会出现很多的问题,对不对?那么首先啊,要知道其实不是你有问题,是思想有问题。 准确的来说就是你对一件事情的一个看法,决定了你的一个成败。那么因为有些时候你太过的偏激,因为太过的纠结,因为无动于衷的产生一种害怕,导致你会错过你爱的那个人。那么有一句话叫做什么任何事情呢。 都要去勇敢一...
PypiClean
/mypy-boto3-elb-1.28.36.tar.gz/mypy-boto3-elb-1.28.36/mypy_boto3_elb/client.py
import sys from typing import Any, Dict, Mapping, Sequence, Type, overload from botocore.client import BaseClient, ClientMeta from .paginator import DescribeAccountLimitsPaginator, DescribeLoadBalancersPaginator from .type_defs import ( AddAvailabilityZonesOutputTypeDef, ApplySecurityGroupsToLoadBalancerOutpu...
PypiClean
/python_gc_benchmark-0.1.1.tar.gz/python_gc_benchmark-0.1.1/python_gc_benchmark/benchmarks/pickle_list.py
from __future__ import division import datetime import random import sys import six from six.moves import xrange if six.PY3: long = int __author__ = "collinwinter@google.com (Collin Winter)" DICT = { 'ads_flags': long(0), 'age': 18, 'birthday': datetime.date(1980, 5, 7), 'bulletin_count': long(...
PypiClean
/Transcrypt-3.7.16.tar.gz/Transcrypt-3.7.16/transcrypt/demos/parcel_demo/node_modules/@babel/parser/CHANGELOG.md
# Changelog > **Tags:** > - :boom: [Breaking Change] > - :eyeglasses: [Spec Compliancy] > - :rocket: [New Feature] > - :bug: [Bug Fix] > - :memo: [Documentation] > - :house: [Internal] > - :nail_care: [Polish] > Semver Policy: https://github.com/babel/babel/tree/master/packages/babel-pars...
PypiClean
/boot-synth-1.2.0.tar.gz/boot-synth-1.2.0/synth/projects_master/nginx_router/frontend/react/node_modules/jest-environment-jsdom-fourteen/node_modules/jsdom/lib/jsdom/living/generated/File.js
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const isBlob = require("./Blob.js").is; const convertFilePropertyBag = require("./FilePropertyBag.js").convert; const impl = utils.implSymbol; const Blob = require("./Blob.js"); class File extends Blob.interface { ...
PypiClean
/probability_distro-0.1.3-py3-none-any.whl/probability_distro/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
/aiearth-deeplearning-0.0.2.tar.gz/aiearth-deeplearning-0.0.2/aiearth/deeplearning/engine/mmseg/utils/util_distribution.py
import mmcv import torch from mmcv.parallel import MMDataParallel, MMDistributedDataParallel from aiearth.deeplearning.engine.mmseg import digit_version dp_factory = {'cuda': MMDataParallel, 'cpu': MMDataParallel} ddp_factory = {'cuda': MMDistributedDataParallel} def build_dp(model, device='cuda', dim=0, *args, **...
PypiClean
/vr.launch-2.0.0.tar.gz/vr.launch-2.0.0/vr/launch/config.py
import os import re import copy import platform import warnings import six import yaml import yamlenv import jaraco.collections class ConfigDict(jaraco.collections.ItemsAsAttributes, dict): """ A simple config dictionary implementation with YAML helpers """ @classmethod def from_yaml(cls, filena...
PypiClean
/dsin100days603v37-6.0.3.tar.gz/dsin100days603v37-6.0.3/notebook/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata-extra.js
(function(aj){var B="2.7.8";var t=aj.FONTDATA.DELIMITERS;var s="H",f="V";var ag=[8722,E,0,0,0,-0.26,-0.26];var u="STIXMathJax_Alphabets-bold-italic",G="STIXMathJax_Alphabets-bold",z="STIXMathJax_Alphabets-italic",e="STIXMathJax_Alphabets",R="STIXMathJax_Arrows-bold",x="STIXMathJax_Arrows",g="STIXMathJax_DoubleStruck-bo...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/solibacterusitatus.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def SolibacterUsitatus( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs: Dic...
PypiClean
/cancat-2.9.5.2-py3-none-any.whl/cancatlib/vstruct/bitfield.py
import cancatlib.envi.bits as e_bits from cancatlib.vstruct import VStruct from cancatlib.vstruct.primitives import * from binascii import unhexlify class v_bits(v_number): def __init__(self, width): v_number.__init__(self) self._vs_bitwidth = int(width) def vsSetValue(self, value): '...
PypiClean
/home_assistant_frontend-20230901.0-py3-none-any.whl/hass_frontend/frontend_es5/46732-Nq1UabhQAx4.js
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[46732],{82918:function(t,e,i){var n,a,o,r=i(3355).default;o=function(){"use strict";function t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){retur...
PypiClean
/ray_for_mars-1.12.1-cp38-cp38-manylinux2014_x86_64.whl/ray_for_mars-1.12.1.data/purelib/ray/thirdparty_files/psutil/_pssunos.py
import errno import functools import os import socket import subprocess import sys from collections import namedtuple from socket import AF_INET from . import _common from . import _psposix from . import _psutil_posix as cext_posix from . import _psutil_sunos as cext from ._common import AF_INET6 from ._common import ...
PypiClean
/pyflush-1.0.0.tar.gz/pyflush-1.0.0/README.md
# pyflush This repository contains python code to remove content of a directory, or file in a safer manner. After running pyflush, it became much safer to delete the file manually/programmatically. #### Developer: [Ravin Kumar](http://mr-ravin.github.io) ### Steps to use pyflush - Removing a file ```python import p...
PypiClean
/pykintone-0.3.10.tar.gz/pykintone-0.3.10/README.md
# pykintone Python library to access [kintone](https://kintone.cybozu.com). ```python import pykintone r = pykintone.app("kintone domain", "app id", "api token").select("updated_time > NOW()") if r.ok: records = r.records ``` ## Quick Start ``` pip install pykintone ``` ## Feature ### Record and model mappin...
PypiClean
/collect_bin_deps-0.0.2-py3-none-any.whl/collect-bin-deps.py
# Script to collect binary dependencies (eg shared libraries required by an executable) # # Copyright (c) 2020 Frank Richter # # This software is provided 'as-is', without any express or implied warranty. # In no event will the authors be held liable for any damages arising from # the use of this software. # # Permiss...
PypiClean
/KiwoomDE-0.5.1-py3-none-any.whl/kiwoomde/conf/_setup.py
import json import os import sys from platform import python_version_tuple from pathlib import PureWindowsPath, PurePosixPath import re import pprint pp = pprint.PrettyPrinter(indent=2) from kiwoomde.base import BaseClass, BaseDataClass class Configuration(BaseClass): def __init__(self): self._dataclsL...
PypiClean
/pied_piper_sdwan_sdk-1.0.51-py3-none-any.whl/openapi_client/model/equinix_partner_port.py
import re # noqa: F401 import sys # noqa: F401 from openapi_client.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type, ...
PypiClean
/tskit_book_theme-1.0.1.tar.gz/tskit_book_theme-1.0.1/docs/contributing/setup.md
# Set up your development workflow The following instructions will help you set up a basic development environment so that you can begin experimenting with changes. This covers the basics, and see the other sections of the Contributing Guide for more details. ## Set up your development environment First we'll instal...
PypiClean
/parsec_cloud-2.16.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/parsec/backend/postgresql/user_queries/get.py
from __future__ import annotations from typing import List, Tuple import triopg from parsec.api.protocol import ( DeviceID, DeviceLabel, HumanHandle, OrganizationID, UserID, UserProfile, ) from parsec.backend.postgresql.utils import ( Q, q_device, q_human, q_organization_inter...
PypiClean
/azure-cognitiveservices-language-spellcheck-2.0.0.zip/azure-cognitiveservices-language-spellcheck-2.0.0/azure/cognitiveservices/language/spellcheck/operations/_spell_check_client_operations.py
from msrest.pipeline import ClientRawResponse from .. import models class SpellCheckClientOperationsMixin(object): def spell_checker( self, text, accept_language=None, pragma=None, user_agent=None, client_id=None, client_ip=None, location=None, action_type=None, app_name=None, country_code=None, cli...
PypiClean
/firemon-api-0.3.1.tar.gz/firemon-api-0.3.1/firemon_api/apps/securitymanager/routes.py
import logging from typing import Optional # Local packages from firemon_api.core.app import App from firemon_api.core.api import FiremonAPI from firemon_api.core.endpoint import Endpoint from firemon_api.core.response import Record from firemon_api.core.query import Request log = logging.getLogger(__name__) class ...
PypiClean
/abjad-ext-cli-3.1.0.tar.gz/abjad-ext-cli-3.1.0/abjadext/cli/ManageScoreScript.py
import datetime import os import pathlib import sys import abjad from .ScorePackageScript import ScorePackageScript class ManageScoreScript(ScorePackageScript): """ Manages score package. .. shell:: ajv score --help """ ### CLASS VARIABLES ### alias = "score" config_name = ...
PypiClean
/msgraph-sdk-1.0.0a3.tar.gz/msgraph-sdk-1.0.0a3/msgraph/generated/models/android_custom_configuration.py
from __future__ import annotations from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, Union from . import device_configuration, oma_setting class AndroidCustomConfiguration(device_configuration.DeviceConfiguration): def __i...
PypiClean
/django_openkm-0.5.1-pre-alpha.tar.gz/django_openkm-0.5.1-pre-alpha/openkm/client.py
import sys, logging from functools import wraps from django.conf import settings from suds import WebFault from suds.client import Client import exceptions logging.getLogger('suds.client').setLevel(logging.INFO) PATH = settings.OPENKM['configuration']['Path'] OPENKM_WSDLS = { 'Auth': settings.OPENKM['configur...
PypiClean
/trytond_carrier_weight-6.8.0-py3-none-any.whl/trytond/modules/carrier_weight/stock.py
from functools import partial from itertools import groupby from trytond.model import fields from trytond.pool import PoolMeta from trytond.tools import sortable_values from .common import parcel_weight class ShipmentIn(metaclass=PoolMeta): __name__ = 'stock.shipment.in' def _group_parcel_key(self, lines, ...
PypiClean
/django3-viewflow-2.0.2.tar.gz/django3-viewflow-2.0.2/viewflow/models.py
from __future__ import unicode_literals from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.db import models from django.template import Template, Context from django.utils.encoding import force_text fr...
PypiClean
/glooey-0.3.6.tar.gz/glooey-0.3.6/docs/composing_widgets.rst
***************** Composing widgets ***************** This tutorial will describe how to make new widgets that combine several existing widgets. This is a good way to reuse common arrangements of widgets (i.e. a checkbox with a label next to it, a message with a picture of the character who sent it, a dialog box w...
PypiClean
/baldertest-0.1.0b0.tar.gz/baldertest-0.1.0b0/doc/source/tutorial_guide/03_double_setup.rst
Part 3: Expand Setup Code ************************* In this part we want to learn one of the key concepts of balder - reusing tests. This section shows how easy it is to use an existing scenario for different setups. A lot of projects do similar the same in a lot of different ways. Maybe your app is a user interface t...
PypiClean
/jb.recipe.supervisor-0.0.1.tar.gz/jb.recipe.supervisor-0.0.1/README.rst
Introduction ============ This recipe installs and configure `supervisor`_ according to a configuration file. How to use? =========== You can use by configuration your ``buildout.cfg`` configuration file like this:: [buildout] parts = supervisor [supervisor] recipe = jb.recipe.supervisor config...
PypiClean
/mkdocs-material-components-1.10.14.tar.gz/mkdocs-material-components-1.10.14/material/assets/javascripts/lunr/lunr.es.js
!function(e,s){"function"==typeof define&&define.amd?define(s):"object"==typeof exports?module.exports=s():s()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer su...
PypiClean
/config-sci-0.1.2.tar.gz/config-sci-0.1.2/README.md
=============================== config-sci =============================== Python script for autoconfig SublimeCodeIntel (http://sublimecodeintel.github.io/SublimeCodeIntel/) * Free software: BSD license How use -------- First: install from pip ```text pip install config-sci ``` Second: execute the command (In th...
PypiClean
/idealoom-0.1.0-py3-none-any.whl/assembl/models/generic.py
from future.utils import native_str_to_bytes, bytes_to_native_str from builtins import hex import logging from abc import abstractmethod import re import uuid from sqlalchemy import ( Column, Integer, SmallInteger, Boolean, UnicodeText, String, Unicode, DateTime, ForeignKey, ) from ...
PypiClean
/cupy_cuda115-10.6.0-cp37-cp37m-manylinux1_x86_64.whl/cupy/linalg/_solve.py
import warnings import numpy from numpy import linalg import cupy from cupy._core import internal from cupy.cuda import device from cupy.linalg import _decomposition from cupy.linalg import _util from cupy.cublas import batched_gesv, get_batched_gesv_limit import cupyx def solve(a, b): """Solves a linear matrix...
PypiClean
/noah_cli-0.2.0-py3-none-any.whl/noah_cli/core/config.py
from dataclasses import asdict from typing import Iterable from dacite import from_dict from ordered_set import OrderedSet from ruamel.yaml import YAML from typer import Exit from .console import Console from ..helpers.common import format_command, format_path, get_app_version, iter_data, nullify_dataclass_fields fro...
PypiClean
/bpy_2.79-1.0.0-py3-none-manylinux2014_x86_64.whl/bpy/2.79/scripts/addons/io_mesh_raw/export_raw.py
# <pep8-80 compliant> """ This script exports a Mesh to a RAW triangle format file. The raw triangle format is very simple; it has no verts or faces lists. It's just a simple ascii text file with the vertices of each triangle listed on each line. In addition, also quads can be exported as a line of 12 values (this w...
PypiClean
/flexflow-23.8.2.tar.gz/flexflow-23.8.2/deps/json/doc/mkdocs/docs/features/parsing/parse_exceptions.md
# Parsing and Exceptions When the input is not valid JSON, an exception of type [`parse_error`](../../home/exceptions.md#parse-errors) is thrown. This exception contains the position in the input where the error occurred, together with a diagnostic message and the last read input token. The exceptions page contains a ...
PypiClean
/FESTIM-0.11.1-py3-none-any.whl/festim/temperature/temperature_solver.py
import festim import fenics as f import sympy as sp class HeatTransferProblem(festim.Temperature): """ Args: transient (bool, optional): If True, a transient simulation will be run. Defaults to True. initial_value (sp.Add, float, optional): The initial value. Only neede...
PypiClean
/github2-0.6.2.tar.bz2/github2-0.6.2/doc/bugs.rst
.. Copyright (C) 2011-2012 James Rowe <jnrowe@gmail.com> This file is part of python-github2, and is licensed under the 3-clause BSD License. See the LICENSE file in the top distribution directory for the full license text. Reporting bugs ============== If you think you've found a bug, or inconsistency, in...
PypiClean
/letigre-moto-0.0.1.tar.gz/letigre-moto-0.0.1/moto/cloudformation/responses.py
from __future__ import unicode_literals import json import yaml from six.moves.urllib.parse import urlparse from moto.core.responses import BaseResponse from moto.core.utils import amzn_request_id from moto.s3 import s3_backend from .models import cloudformation_backends from .exceptions import ValidationError clas...
PypiClean