id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/django-ckedit-1.0.zip/django-ckedit-1.0/ckeditor/static/javascript/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","sk",{title:"Inštrukcie prístupnosti",contents:"Pomocný obsah. Pre zatvorenie tohto okna, stlačte ESC.",legend:[{name:"Všeobecne",items:[{...
PypiClean
/wammu-0.44.tar.gz/wammu-0.44/Wammu/Error.py
import traceback try: from hashlib import md5 as md5 except ImportError: from md5 import new as md5 import Wammu.ErrorLog import Wammu.ErrorMessage from Wammu.Locales import StrConv from Wammu.Locales import ugettext as _ # set later in Wammu.App to have correct parent here HANDLER_PARENT = None ERROR_HISTORY...
PypiClean
/RsCMPX_LteMeas-4.0.185.tar.gz/RsCMPX_LteMeas-4.0.185/RsCMPX_LteMeas/Implementations/LteMeas/MultiEval/ListPy/Modulation/Perror/Rms/Low/Current.py
from typing import List from .........Internal.Core import Core from .........Internal.CommandsGroup import CommandsGroup from .........Internal import Conversions from .........Internal.ArgSingleSuppressed import ArgSingleSuppressed from .........Internal.Types import DataType # noinspection PyPep8Naming,PyAttribut...
PypiClean
/vinorm_mac-3.0.tar.gz/vinorm_mac-3.0/README.md
Install the International Components for Unicode ``` brew instalal icu4c ``` Install ViNorm package ``` pip install vinorm_mac ``` Using in python script ```python from vinorm import TTSnorm S=TTSnorm("Hàm này được phát triển từ 8/2019. Có phải tháng 12/2020 đã có vaccine phòng ngừa Covid-19 xmz ?") ``` Some option ```...
PypiClean
/loo-v2020-2020.2.tar.gz/loo-v2020-2020.2/loopy/kernel/instruction.py
from __future__ import division, absolute_import, print_function __copyright__ = "Copyright (C) 2016 Andreas Kloeckner" __license__ = """ 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 r...
PypiClean
/blickfeld_scanner-2.20.6.tar.gz/blickfeld_scanner-2.20.6/blickfeld_scanner/protocol/status/server_pb2.py
from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from .. import options_...
PypiClean
/equinor_libres-11.0.1-cp36-cp36m-macosx_10_9_x86_64.whl/job_runner/reporting/event.py
from cloudevents.http import CloudEvent, to_json from job_runner.reporting.message import ( Exited, Finish, Init, Running, Start, ) import queue import threading from pathlib import Path from job_runner.util.client import Client _FM_JOB_START = "com.equinor.ert.forward_model_job.start" _FM_JOB_RUNN...
PypiClean
/Flask_Toastr-0.5.8-py3-none-any.whl/flask_toastr.py
try: from jinja2 import Markup except ImportError: from markupsafe import Markup from jinja2 import Template from flask import current_app, render_template, get_flashed_messages class _toastr(object): @staticmethod def include_toastr_js(version=None, js_filename=None): if version is None: ...
PypiClean
/Luvdis-0.8.0.tar.gz/Luvdis-0.8.0/luvdis/assemble.py
import subprocess import os import sys from os.path import join as joinp from luvdis.charmap import convert_file AS = joinp('asm', 'arm-none-eabi-as') LD = joinp('asm', 'arm-none-eabi-ld') LINK_TEMPLATE = joinp('asm', 'linker.ld') def sremove(path): # Silently remove file try: os.remove(path) exce...
PypiClean
/kachery_p2p-0.8.31.tar.gz/kachery_p2p-0.8.31/kachery_p2p/main.py
from typing import Any, Dict, Iterable, List, Union import numpy as np from ._core2 import (_find_file, _get_channels, _get_node_id) from ._feeds import (_create_feed, _delete_feed, _get_feed_id, _load_feed, _load_subfeed, _watch_for_new_messages) from ._mutables import (_get, _set, _delete) fro...
PypiClean
/django-subcommand-0.3.2.tar.gz/django-subcommand-0.3.2/docs/build/html/_static/searchtools.js
* helper function to return a node containing the * search summary for a given text. keywords is a list * of stemmed words, hlwords is the list of normal, unstemmed * words. the first one is used to find the occurance, the * latter for highlighting it. */ jQuery.makeSearchSummary = function(text, keywords, hlwor...
PypiClean
/EESMHM-1.11.tar.gz/EESMHM-1.11/ReadME_pypi.md
### Energy Evaluation of Single Mutant Homology Models: ### Installation and Dependencies: 1. Install: ```sh pip install EESMHM ``` 2. Download Modeller: https://salilab.org/modeller/download_installation.html * for Conda enviroment: ```sh conda config --add channels salilab conda install model...
PypiClean
/azure-eventhub-checkpointstoreblob-aio-1.1.4.zip/azure-eventhub-checkpointstoreblob-aio-1.1.4/azure/eventhub/extensions/checkpointstoreblobaio/_vendor/storage/blob/_generated/aio/_azure_blob_storage.py
from typing import Any from azure.core import AsyncPipelineClient from msrest import Deserializer, Serializer from ._configuration import AzureBlobStorageConfiguration from .operations import ServiceOperations from .operations import ContainerOperations from .operations import DirectoryOperations from .operations im...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/managednetworkfabric/v20230615/get_network_fabric_controller.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities from . import outputs __all__ = [ 'GetNetworkFabricControllerResult', 'AwaitableGetNetworkFabricControllerResult', 'get_network_fabric_controller'...
PypiClean
/django-adminlte3-amigne-0.1.99.tar.gz/django-adminlte3-amigne-0.1.99/adminlte3/static/admin-lte/plugins/codemirror/addon/scroll/annotatescrollbar.js
(function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use...
PypiClean
/jupyros-0.7.0a0.tar.gz/jupyros-0.7.0a0/js/node_modules/caniuse-lite/data/regions/GQ.js
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00776,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"4...
PypiClean
/movici_simulation_core-2.10.5-py3-none-any.whl/movici_simulation_core/services/orchestrator/states.py
from __future__ import annotations from abc import ABC from movici_simulation_core.messages import QuitMessage from movici_simulation_core.services.orchestrator.context import Context from movici_simulation_core.services.orchestrator.fsm import ( Always, Condition, FSMDone, State, TransitionsT, ) ...
PypiClean
/apache-flink-1.17.1.tar.gz/apache-flink-1.17.1/pyflink/datastream/__init__.py
from pyflink.datastream.checkpoint_config import CheckpointConfig, ExternalizedCheckpointCleanup from pyflink.datastream.checkpointing_mode import CheckpointingMode from pyflink.datastream.data_stream import DataStream, KeyedStream, WindowedStream, \ ConnectedStreams, DataStreamSink, BroadcastStream, BroadcastConne...
PypiClean
/django-pikaday-0.4.tar.gz/django-pikaday-0.4/djpikaday/static/js/djpikaday.js
!function() { document.onreadystatechange = function() { var state = document.readyState; if (state == 'complete') { load_djpikaday(); } } if (typeof window['gettext'] == 'undefined') { window['gettext'] = function(s) { return...
PypiClean
/django-ddm-1.0.7.tar.gz/django-ddm-1.0.7/ddm/models/auth.py
import binascii import os from ddm.models.logs import EventLogEntry from django.db import models from django.utils import timezone from rest_framework import exceptions from rest_framework.authentication import TokenAuthentication, get_authorization_header class ProjectAccessToken(models.Model): """ Custom a...
PypiClean
/chik-blockchain-1.8.5.tar.gz/chik-blockchain-1.8.5/chik/server/introducer_peers.py
from __future__ import annotations import random import time from dataclasses import dataclass from typing import List, Optional, Set from chik.types.peer_info import PeerInfo from chik.util.ints import uint16, uint64 @dataclass(frozen=False) class VettedPeer: host: str port: uint16 # 0 means we have n...
PypiClean
/openbb-3.2.2-py3-none-any.whl/openbb_terminal/forecast/expo_view.py
__docformat__ = "numpy" import logging from datetime import datetime from typing import Optional, Union import pandas as pd from openbb_terminal import OpenBBFigure from openbb_terminal.decorators import log_start_end from openbb_terminal.forecast import expo_model, helpers from openbb_terminal.rich_config import co...
PypiClean
/ZODB-5.8.1.tar.gz/ZODB-5.8.1/docs/articles/old-guide/links.rst
.. % links.tex .. % Collection of relevant links Resources ========= Introduction to the Zope Object Database, by Jim Fulton: --- Goes into much greater detail, explaining advanced uses of the ZODB and how it's actually implemented. A definitive reference, and highly recommended. --- `<http://www.python.org/wor...
PypiClean
/aliyun-lite-log-python-sdk-0.1.3.tar.gz/aliyun-lite-log-python-sdk-0.1.3/README.md
# Aliyun Lite Log Python SDK Aliyun Lite Log Python SDK is a similar [Aliyun Log Python SDK](https://github.com/aliyun/aliyun-log-python-sdk), while it provides operation to the log system based on Kafka and ElasticSearch, instead of aliyun SLS. ## To start using this SDK ## To start developing this SDK ### install...
PypiClean
/tencentcloud-python-sdk-3.0.960.tar.gz/tencentcloud-python-sdk-3.0.960/tencentcloud/bma/v20210624/models.py
import warnings from tencentcloud.common.abstract_model import AbstractModel class BrandData(AbstractModel): """商标信息 """ def __init__(self): r""" :param _BrandName: 商标名称 :type BrandName: str :param _BrandCertificateName: 商标证明 :type BrandCertificateName: str ...
PypiClean
/qcg_pilotjob-0.14.0-py3-none-any.whl/qcg/pilotjob/fileinterface.py
import asyncio import json import logging from os.path import exists from qcg.pilotjob.errors import JobFileNotExist, IllegalJobDescription from qcg.pilotjob.config import Config _logger = logging.getLogger(__name__) class FileInterface: """Interface for reading requests from file. Attributes: cnt...
PypiClean
/cross_connection-0.2.3-py3-none-any.whl/cconn/network/detect/udp/udp_detector.py
import ipaddress from socket import ( socket, AF_INET, SOCK_DGRAM, SOL_SOCKET, SO_BROADCAST ) from typing import Callable, Dict, Final from threading import Thread from cconn.log.logger import DefaultLogger, Logger from cconn.network.detect.network_detector import NetworkDetector from cconn.definit...
PypiClean
/binarylane_cli-0.16.0.tar.gz/binarylane_cli-0.16.0/lib/binarylane/models/ssh_keys_response.py
from __future__ import annotations from typing import Any, Dict, List, Type, TypeVar, Union import attr from binarylane.models.links import Links from binarylane.models.meta import Meta from binarylane.models.ssh_key import SshKey from binarylane.types import UNSET, Unset T = TypeVar("T", bound="SshKeysResponse") ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_24/models/destroyed_patch_post.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 DestroyedPatchPost(object): """ Attributes: swagger_types (dict): The key is attribute name and the valu...
PypiClean
/pokemonPalette-0.0.2.3.tar.gz/pokemonPalette-0.0.2.3/README.md
# pokemonPalette ![license](https://img.shields.io/github/license/MilanCalegari/pokePalette) ![version](https://img.shields.io/pypi/v/pokemonPalette) ![stars](https://img.shields.io/github/stars/MilanCalegari/pokePalette?style=social) ![Twittwer](https://img.shields.io/twitter/follow/rmcalegari?style=social) The pokePa...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/device_management/assignment_filters/enable/enable_post_request_body.py
from __future__ import annotations from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union class EnablePostRequestBody(AdditionalDataHolder, Parsable): def __init__(self,) -> None: ...
PypiClean
/custom-awscli-1.27.51.tar.gz/custom-awscli-1.27.51/awscli/examples/fms/put-policy.rst
**To create a Firewall Manager policy** The following ``put-policy`` example creates a Firewall Manager security group policy. :: aws fms put-policy \ --cli-input-json file://policy.json Contents of ``policy.json``:: { "Policy": { "PolicyName": "test", "Secur...
PypiClean
/cdktf-cdktf-provider-azurerm-10.0.1.tar.gz/cdktf-cdktf-provider-azurerm-10.0.1/src/cdktf_cdktf_provider_azurerm/route_table/__init__.py
import abc import builtins import datetime import enum import typing import jsii import publication import typing_extensions from typeguard import check_type from .._jsii import * import cdktf as _cdktf_9a9027ec import constructs as _constructs_77d1e7e8 class RouteTable( _cdktf_9a9027ec.TerraformResource, ...
PypiClean
/swh.fuse-1.0.6-py3-none-any.whl/swh/fuse/fs/entry.py
from __future__ import annotations from dataclasses import dataclass, field from enum import IntEnum from pathlib import Path import re from stat import S_IFDIR, S_IFLNK, S_IFREG from typing import TYPE_CHECKING, Any, AsyncIterator, Dict, Optional, Pattern, Union if TYPE_CHECKING: # avoid cyclic import from swh...
PypiClean
/xideco-0.5.2.tar.gz/xideco-0.5.2/experiments/buzzer.py
import time # import the time library import pigpio # import the GPIO library class Buzzer(object): def __init__(self): # GPIO.setmode(GPIO.BCM) self.pi = pigpio.pi() self.buzzer_pin = 18 # set to GPIO pin 5 # GPIO.setup(self.buzzer_pin, GPIO.IN) # GPIO.setup(self.buzze...
PypiClean
/django-googlecalendar-3.0.0.tar.gz/django-googlecalendar-3.0.0/googlecalendar/migrations/0002_auto__add_field_event_user__add_field_event_add_date__add_field_event_.py
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Event.user' db.add_column('googlecalendar_event', 'user', self.gf('django.db.models.fields.related.ForeignKe...
PypiClean
/python_lsp_pyre-0.1.3.tar.gz/python_lsp_pyre-0.1.3/pylsp_pyre/plugin.py
import dataclasses as dc import json import logging import subprocess from pathlib import Path from typing import Any, Dict, List import lsprotocol.converters as lsp_con import lsprotocol.types as lsp_types import pylsp.config.config as pylsp_conf import pylsp.lsp as pylsp_lsp import pylsp.workspace as pylsp_ws import...
PypiClean
/lingua_franca-0.4.3-py3-none-any.whl/lingua_franca/lang/format_hu.py
from lingua_franca.lang.format_common import convert_to_mixed_fraction from lingua_franca.lang.common_data_hu import _NUM_POWERS_OF_TEN, \ _EXTRA_SPACE_HU, _FRACTION_STRING_HU, _MONTHS_HU, _NUM_STRING_HU from math import floor def _get_vocal_type_hu(word): # checks the vocal attributes of a word vowels_h...
PypiClean
/spuglib-0.16.tar.gz/spuglib-0.16/util/DateRange.py
# # Copyright (C) 1998 Michael A. Muller # # This program 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 2 of the License, or # (at your option) any later version. # # This program is dis...
PypiClean
/stanford-mais-0.50.1.tar.gz/stanford-mais-0.50.1/src/stanford/mais/account/validate.py
# © 2021 The Board of Trustees of the Leland Stanford Junior University. # # This program 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, version 3. # # This program is distributed in the hope that it will be...
PypiClean
/google-cloud-documentai-2.18.0.tar.gz/google-cloud-documentai-2.18.0/google/cloud/documentai_v1/services/document_processor_service/transports/grpc_asyncio.py
from typing import Awaitable, Callable, Dict, Optional, Sequence, Tuple, Union import warnings from google.api_core import gapic_v1, grpc_helpers_async, operations_v1 from google.auth import credentials as ga_credentials # type: ignore from google.auth.transport.grpc import SslCredentials # type: ignore from google....
PypiClean
/iredis_bin-1.9.4-cp310-cp310-manylinux2010_x86_64.whl/iredis_bin-1.9.4.data/scripts/lib/pygments/styles/rainbow_dash.py
from pygments.style import Style from pygments.token import (Comment, Error, Generic, Name, Number, Operator, String, Text, Whitespace, Keyword) BLUE_LIGHT = '#0080ff' BLUE = '#2c5dcd' GREEN = '#00cc66' GREEN_LIGHT = '#ccffcc' GREEN_NEON = '#00cc00' GREY = '#aaaaaa' GREY_LIGHT = '#cbcbcb' G...
PypiClean
/MVEn-1.1.7.tar.gz/MVEn-1.1.7/models/patchmatch.py
from typing import List, Optional, Tuple, Union import torch import torch.nn as nn import torch.nn.functional as F from .module import ConvBnReLU3D, differentiable_warping class DepthInitialization(nn.Module): """Initialization Stage Class""" def __init__(self, patchmatch_num_sample: int = 1) -> None: ...
PypiClean
/graphite-datasets-1.0.5.tar.gz/graphite-datasets-1.0.5/tensorflow_datasets/scripts/cli/new.py
import argparse import dataclasses import itertools import os import pathlib import subprocess import textwrap from tensorflow_datasets.core import naming @dataclasses.dataclass class DatasetInfo: """Structure for common string used for formatting. Attributes: name: Dataset name (`my_dataset`) cls_name:...
PypiClean
/vcenter-prometheus-exporter-0.0.1.tar.gz/vcenter-prometheus-exporter-0.0.1/vcenter_exporter/exporter.py
"""vcenter prometheus exporter""" # standard import re import sys import time import atexit import logging # third-party # pylint: disable=no-name-in-module from pyVmomi import vim, vmodl from pyVim.connect import SmartConnect, SmartConnectNoSSL, Disconnect from prometheus_client import core, start_http_server, REGIS...
PypiClean
/hodgeys_kjv_db-1.0.0.tar.gz/hodgeys_kjv_db-1.0.0/README.md
# Hodgeys KJV DB A SQLite database of the King James Bible, as compiled by me from [Project Gutenberg](https://www.gutenberg.org/files/10/10-h/10-h.htm); and an accompanying wrapper module. ### Installation ``` pip install hodgeys-kjv-db ``` ### Usage ```Python # Import... from hodgeys_kjv_db import KJV # ...instan...
PypiClean
/squarelet_auth-0.1.3.tar.gz/squarelet_auth-0.1.3/squarelet_auth/users/models.py
from django.contrib.auth.base_user import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.contrib.postgres.fields import CICharField, CIEmailField from django.db import models, transaction from django.urls import reverse from django.utils.translation import gettext_lazy as _ # Stan...
PypiClean
/odoo13_addon_sale_elaboration-13.0.1.1.1-py3-none-any.whl/odoo/addons/sale_elaboration/models/sale_order.py
from odoo import api, fields, models def _execute_onchanges(records, field_name): """Helper methods that executes all onchanges associated to a field.""" for onchange in records._onchange_methods.get(field_name, []): for record in records: onchange(record) class SaleOrder(models.Model): ...
PypiClean
/info.gianlucacosta.eos.core-1.0.0.tar.gz/info.gianlucacosta.eos.core-1.0.0/src/info/gianlucacosta/eos/core/io/files/temporary.py
from logging import getLogger from os import unlink from os.path import join from shutil import rmtree from tempfile import gettempdir from typing import Any, Type, TypeVar from uuid import uuid4 from ...functional import Producer class TemporaryPath(str): """ String containing the path to a temporary file o...
PypiClean
/labbox-ephys-widgets-jp-0.1.10.tar.gz/labbox-ephys-widgets-jp-0.1.10/labbox_ephys_widgets_jp/nbextension/356.index.js
(self.webpackChunklabbox_ephys_widgets_jp=self.webpackChunklabbox_ephys_widgets_jp||[]).push([[356],{45792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var l=n(60352),a=n.n(l)()((function(e){return e[1]}));a.push([e.id,".NiceTable .MuiTableCell-root {\n padding-top: 5px;\n padding-bottom: 5px;\n padding-left: 5px;\...
PypiClean
/oc-config-validate-1000.0.2.tar.gz/oc-config-validate-1000.0.2/oc_config_validate/models/ospf.py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.ya...
PypiClean
/zjkdemo2-0.91.tar.gz/zjkdemo2-0.91/d3rlpy/base.py
import copy import json from abc import ABCMeta, abstractmethod from collections import defaultdict from typing import ( Any, Callable, DefaultDict, Dict, Generator, List, Optional, Sequence, Tuple, Union, cast, ) import gym import numpy as np from tqdm.auto import tqdm fro...
PypiClean
/face-to-face-0.2.2.tar.gz/face-to-face-0.2.2/f2f/detection/scrfd/onnx.py
from typing import Dict, List, Optional, Tuple, Union import numpy as np from numpy import ndarray from PIL import Image from f2f.core.onnx import BaseONNX from f2f.detection.utils import ( cal_order_by_area, distance2bbox, distance2kps, nms, ) from f2f.utils.image import as_rgb_ndarray, square_resize...
PypiClean
/OpenTeacher-3.2.tar.gz/OpenTeacher-3.2/openteacher/modules/org/openteacher/lessonTracker/lessonTracker.py
# Copyright 2012-2013, Marten de Vries # # This file is part of OpenTeacher. # # OpenTeacher 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, or # (at your option) any later ve...
PypiClean
/smx-client-3.2.14.tar.gz/smx-client-3.2.14/xms_client/models/object_storage_bucket.py
import pprint import re # noqa: F401 import six # from xms_client.models.object_storage_lifecycle import ObjectStorageLifecycle # noqa: F401,E501 # from xms_client.models.object_storage_policy_nestview import ObjectStoragePolicyNestview # noqa: F401,E501 # from xms_client.models.object_storage_replication_policy_ne...
PypiClean
/swmm_api-0.4.26-py3-none-any.whl/swmm_api/input_file/macros/_snippets.py
import numpy as np def section_from_frame(df, section_class): """ create a inp-file section from an pandas DataFrame will only work for specific sections ie. JUNCTIONS where every row is the same and no special __init__ is needed! Args: df (pandas.DataFrame): data section_class (Base...
PypiClean
/wagtailleafletwidget-1.0.3.tar.gz/wagtailleafletwidget-1.0.3/README.md
# Wagtail-Leaflet-Widget This is a [Leaflet JS](https://leafletjs.com) based wagtail panel for picking geo location on a map, inspired by [wagtail-geo-widget](https://github.com/Frojd/wagtail-geo-widget). The map uses [Open Street Map](https://www.openstreetmap.org) which is open source, thus no API Key is required....
PypiClean
/fhir.resources-7.0.2.tar.gz/fhir.resources-7.0.2/fhir/resources/STU3/documentmanifest.py
import typing from pydantic import Field, root_validator from pydantic.error_wrappers import ErrorWrapper, ValidationError from pydantic.errors import MissingError, NoneIsNotAllowedError from . import backboneelement, domainresource, fhirtypes class DocumentManifest(domainresource.DomainResource): """Disclaimer...
PypiClean
/django_bpp-1.0.9-py3-none-any.whl/django_bpp/staticroot/true-case-path/node_modules/glob/README.md
# Glob Match files using the patterns the shell uses, like stars and stuff. [![Build Status](https://travis-ci.org/isaacs/node-glob.svg?branch=master)](https://travis-ci.org/isaacs/node-glob/) [![Build Status](https://ci.appveyor.com/api/projects/status/kd7f3yftf7unxlsx?svg=true)](https://ci.appveyor.com/project/isaa...
PypiClean
/stix_shifter_modules_elastic-3.0.3.tar.gz/stix_shifter_modules_elastic-3.0.3/LICENSE.md
This Open Project operates under the license below. OASIS invites anyone who knows of any IPR claims to disclose them if they may be essential to the implementation of any of the work of this project so that notice of them may be posted. For information on any statements regarding IPR claims related to the work of th...
PypiClean
/ansible-8.3.0-py3-none-any.whl/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_tacacs_server.py
from __future__ import (absolute_import, division, print_function) __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} DOCUMENTATION = """ --- module: cp_mgmt_tacacs_server short_description: Manages tacacs-s...
PypiClean
/sit_academy_django_jet-1.0.11-py3-none-any.whl/jet/dashboard/static/jet.dashboard/vendor/chart.js/LICENSE.md
Copyright (c) 2013-2015 Nick Downie 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, publish, distribute, s...
PypiClean
/pacifico-0.0.9.41-py3-none-any.whl/pacifico_devel/api/src/util/FTP.py
import pysftp import os import pandas def getConnection(host, user, password, port): try: cnopts = pysftp.CnOpts() except: cnopts = pysftp.CnOpts(knownhosts='known_hosts') cnopts.hostkeys = None try: sftp = pysftp.Connection(host, username=user, password=password, cnopts=cnopts,...
PypiClean
/wc-django-envoyer-0.2.6.tar.gz/wc-django-envoyer-0.2.6/wcd_envoyer/admin/templates.py
from django.contrib import admin from django.utils.html import mark_safe from django.utils.translation import pgettext_lazy, pgettext from pxd_lingua.admin import TranslationsInlineAdmin from wcd_envoyer import events from wcd_envoyer.channels.forms import BaseTemplateForm from wcd_envoyer.models import Template, Tem...
PypiClean
/scitacean-23.8.0.tar.gz/scitacean-23.8.0/README.md
[![PyPI badge](https://img.shields.io/pypi/v/scitacean.svg?style=flat-square&color=green)](https://pypi.python.org/pypi/scitacean) [![Anaconda-Server Badge](https://img.shields.io/conda/vn/conda-forge/scitacean?style=flat-square&color=green)](https://anaconda.org/conda-forge/scitacean) [![DOI](https://zenodo.org/badge/...
PypiClean
/django-adminlte3-amigne-0.1.99.tar.gz/django-adminlte3-amigne-0.1.99/adminlte3/static/admin-lte/plugins/pace-progress/pace.min.js
(function(){var t,e,n,r,s,o,i,u,a,c,l,p,h,f,d,g,y,m,v,w,b,L,k,S,q,x,P,T,R,j,E,O,M,A,_,F,C,U,W,X,D,H,I,z,G,N,B,J,K=[].slice,Q={}.hasOwnProperty,V=function(t,e){function n(){this.constructor=t}for(var r in e)Q.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},Y=[].indexOf...
PypiClean
/cybrid-api-bank-python-0.90.6.tar.gz/cybrid-api-bank-python-0.90.6/cybrid_api_bank/model/post_customer_address.py
import re # noqa: F401 import sys # noqa: F401 from cybrid_api_bank.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
/drypatrick-frontend-20210603.0.tar.gz/drypatrick-frontend-20210603.0/hass_frontend/frontend_es5/chunk.8807e3794c9fd10dc9f2.js
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[3245],{63207:function(e,t,n){"use strict";n(65660),n(15112);var r,i,o,a=n(9672),s=n(87156),c=n(50856),u=n(65233);(0,a.k)({_template:(0,c.d)(r||(i=["\n <style>\n :host {\n @apply --layout-inline;\n @apply...
PypiClean
/arclet_alconna-1.7.19.tar.gz/arclet_alconna-1.7.19/src/arclet/alconna/_internal/_handlers.py
from __future__ import annotations import re from typing import TYPE_CHECKING, Any, Iterable from nepattern import AllParam, AnyOne, AnyString, BasePattern from nepattern.util import TPattern from tarina import Empty, lang, split_once from ..action import Action from ..args import STRING, Arg, Args from ..base impor...
PypiClean
/ansible-lint-6.18.0.tar.gz/ansible-lint-6.18.0/docs/rules/no-jinja-when.md
# no-jinja-when This rule checks conditional statements for Jinja expressions in curly brackets `{{ }}`. Ansible processes conditionals statements that use the `when`, `failed_when`, and `changed_when` clauses as Jinja expressions. An Ansible rule is to always use `{{ }}` except with `when` keys. Using `{{ }}` in con...
PypiClean
/pytdx-async-1.62.tar.gz/pytdx-async-1.62/pytdx/parser/base.py
from pytdx.log import DEBUG, log import zlib import struct import sys import datetime try: import cython if cython.compiled: def buffer(x): return x except ImportError: pass class SocketClientNotReady(Exception): pass class SendPkgNotReady(Exception): pass class SendReques...
PypiClean
/tvmx-0.0.6-py3-none-any.whl/tvm/topi/cuda/deformable_conv2d.py
"""Schedule template of deformable conv2d with cuda backend""" import tvm from tvm import te from tvm import autotvm from .. import nn from ..utils import traverse_inline @autotvm.register_topi_compute("deformable_conv2d_nchw.cuda") def deformable_conv2d_nchw( cfg, data, offset, kernel, strides, padding, dilation...
PypiClean
/fine-tune-0.0.0.tar.gz/fine-tune-0.0.0/cli/api.py
if False: from argparse import Namespace def pod(args: 'Namespace'): """ Start a Pod :param args: arguments coming from the CLI. """ from jina.peapods.pods.factory import PodFactory try: with PodFactory.build_pod(args) as p: p.join() except KeyboardInterrupt: ...
PypiClean
/azure-mgmt-web-7.1.0.zip/azure-mgmt-web-7.1.0/azure/mgmt/web/v2018_11_01/aio/_web_site_management_client.py
from copy import deepcopy from typing import Any, Awaitable, TYPE_CHECKING from azure.core.rest import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from .. import models as _models from ..._serialization import Deserializer, Serializer from ._configuration import WebSiteManagemen...
PypiClean
/yt-dlp-2023.7.6.tar.gz/yt-dlp-2023.7.6/yt_dlp/extractor/likee.py
import json from .common import InfoExtractor from ..utils import ( int_or_none, js_to_json, parse_iso8601, str_or_none, traverse_obj, ) class LikeeIE(InfoExtractor): IE_NAME = 'likee' _VALID_URL = r'(?x)https?://(www\.)?likee\.video/(?:(?P<channel_name>[^/]+)/video/|v/)(?P<id>\w+)' _...
PypiClean
/InvokeAI-3.1.0-py3-none-any.whl/invokeai/app/util/controlnet_utils.py
from typing import Union import torch import numpy as np import cv2 from PIL import Image from diffusers.utils import PIL_INTERPOLATION from einops import rearrange from controlnet_aux.util import HWC3 ################################################################### # Copy of scripts/lvminthin.py from Mikubill/sd-...
PypiClean
/DataCatalogueSystem-1.0.1-py3-none-any.whl/discovery/metadata/catalogue_item.py
import uuid from typing import Iterable import pandas as pd from pandas.api.types import is_numeric_dtype from discovery.metadata.catalogue_metadata import CatalogueMetadata, ColMetadata, NumericColMetadata, \ CategoricalColMetadata from discovery.utils.data_handling.catalogue_data import CatalogueData class Ca...
PypiClean
/pano-2.1.0.tar.gz/pano-2.1.0/src/panoramic/cli/tel_grammar/TelParser.py
import sys from io import StringIO from antlr4 import * if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\37") buf.write("T\4\2\t\2\4\3\t\3\...
PypiClean
/python-xycloudsclient-1.0.0.tar.gz/python-xycloudsclient-1.0.0/xycloudsclient/actions/network.py
import weakref class NetworkManager(object): def __init__(self, client): self.conn = weakref.proxy(client) self.url = 'network' def describe_subnet_list(self, sort='name', order='asc', start=0, limit=20): params = { 'action': 'network__getsubne...
PypiClean
/PyWarm-0.4.1-py3-none-any.whl/warm/engine.py
import torch import torch.nn as nn import numpy as np from warm import util _DEFAULT_PARENT_MODULE = None def set_default_parent(parent): """ Set the default `parent` module. """ global _DEFAULT_PARENT_MODULE _DEFAULT_PARENT_MODULE = parent def get_default_parent(): """ Get the default `parent` mo...
PypiClean
/markdown_customblocks-1.4.1-py3-none-any.whl/customblocks/utils/hyperscript.py
from xml.etree import ElementTree as etree import markdown def E(tag, *children, **attribs): """ Functional builder of an etree. If the tag is empty, a div is considered. Tag can be appended with dot separated class names. Keywords and dict children are turned into attributes. Later children w...
PypiClean
/Draugr-1.0.9.tar.gz/Draugr-1.0.9/draugr/numpy_utilities/signal_utilities/signal_mixing.py
__author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 17-12-2020 """ from typing import Sequence import numpy from draugr.numpy_utilities.datasets.splitting import SplitEnum from draugr.numpy_utilities.signal_utilities.signal_statistics import root_mean_square from draugr.numpy_uti...
PypiClean
/bloxroute_cli-1.109.9-py3-none-any.whl/bxcommon/models/blockchain_network_model.py
from dataclasses import dataclass from typing import Any, Dict from bxcommon import constants from bxcommon.models.bdn_account_model_base import Tiers from bxcommon.models.blockchain_network_environment import BlockchainNetworkEnvironment from bxcommon.models.blockchain_network_type import BlockchainNetworkType @dat...
PypiClean
/dj_stripe-2.8.1.tar.gz/dj_stripe-2.8.1/djstripe/signals.py
from django.dispatch import Signal # providing_args=["instance", "api_key"] webhook_pre_validate = Signal() # providing_args=["instance", "api_key", "valid"] webhook_post_validate = Signal() # providing_args=["instance", "api_key"] webhook_pre_process = Signal() # providing_args=["instance", "api_key"] webhook_post...
PypiClean
/py_file_type-0.1.0.tar.gz/py_file_type-0.1.0/py_file_type/compat.py
import ctypes from collections import namedtuple from ctypes import * from ctypes.util import find_library from . import loader _libraries = {} _libraries['magic'] = loader.load_lib() # Flag constants for open and setflags MAGIC_NONE = NONE = 0 MAGIC_DEBUG = DEBUG = 1 MAGIC_SYMLINK = SYMLINK = 2 MAGIC_COMPRESS = ...
PypiClean
/openmodelicacompiler-0.3.0a0-py3-none-any.whl/omc4py/v_1_15/aio.py
__all__ = ( "Access__v_1_14", "DiffFormat__v_1_13", "ErrorKind__v_1_13", "ErrorLevel__v_1_15", "ExportKind__v_1_13", "StandardStream__v_1_13", "oms_causality__v_1_14", "oms_fault_type__v_1_15", "oms_signal_type__v_1_14", "oms_solver__v_1_14", "oms_system__v_1_14", "oms_tl...
PypiClean
/fds.sdk.FundsAPIforDigitalPortals-0.10.0-py3-none-any.whl/fds/sdk/FundsAPIforDigitalPortals/model/inline_response2004_fund_domicile.py
import re # noqa: F401 import sys # noqa: F401 from fds.sdk.FundsAPIforDigitalPortals.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,...
PypiClean
/vioneta-2023.7.3.tar.gz/vioneta-2023.7.3/homeassistant/components/overkiz/alarm_control_panel.py
from __future__ import annotations from collections.abc import Callable from dataclasses import dataclass from typing import Any, cast from pyoverkiz.enums import OverkizCommand, OverkizCommandParam, OverkizState from pyoverkiz.enums.ui import UIWidget from pyoverkiz.types import StateType as OverkizStateType from h...
PypiClean
/kimpy-2.1.0.tar.gz/kimpy-2.1.0/examples/example_simulator_model.py
from os.path import join import kimpy def example_main(): modelname = "Sim_LAMMPS_LJcut_AkersonElliott_Alchemy_PbAu" try: sm = kimpy.simulator_model.create(modelname) except RuntimeError: msg = 'Calling "kimpy.simulator_model.create" failed.' raise kimpy.KimPyError(msg) name...
PypiClean
/text-fabric-12.0.5.tar.gz/text-fabric-12.0.5/tf/advanced/render.py
import re from textwrap import dedent from .helpers import htmlSafe, NB, dh from .highlight import getEdgeHlAtt from .unravel import _unravel from ..core.helpers import NBSP, TO_SYM, FROM_SYM, htmlEsc, flattenToSet def render(app, isPretty, n, _inTuple, _asString, explain, **options): """Renders a node, in plain...
PypiClean
/SWX-API-Python-SDK-0.16.tar.gz/SWX-API-Python-SDK-0.16/swx_sdk/model/model_list_response.py
import re # noqa: F401 import sys # noqa: F401 from swx_sdk.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, valida...
PypiClean
/wbia-utool-4.0.4.tar.gz/wbia-utool-4.0.4/utool/util_set.py
from __future__ import absolute_import, division, print_function from six.moves import zip, map, range # NOQA try: from collections.abc import MutableSet # noqa except ImportError: from collections import MutableSet # noqa import weakref from utool import util_inject print, rrr, profile = util_inject.injec...
PypiClean
/pythia-0.8.1.11.tar.gz/pythia-0.8.1.11/opal/weaver/DocumentMill.py
from ContentMill import ContentMill class DocumentMill(ContentMill): def onForm(self, form): if form.legend: legendStart = '<fieldset><legend>%s</legend>' % form.legend legendEnd = '</fieldset>' else: legendStart = '' legendEnd = '' ...
PypiClean
/in-transformers-1.0.0.tar.gz/in-transformers-1.0.0/src/transformers/models/electra/tokenization_electra_fast.py
import json from typing import List, Optional, Tuple from tokenizers import normalizers from ...tokenization_utils_fast import PreTrainedTokenizerFast from .tokenization_electra import ElectraTokenizer VOCAB_FILES_NAMES = {"vocab_file": "vocab.txt", "tokenizer_file": "tokenizer.json"} PRETRAINED_VOCAB_FILES_MAP =...
PypiClean
/verity-sdk-0.6.1.tar.gz/verity-sdk-0.6.1/verity_sdk/protocols/v1_0/CommittedAnswer.py
from typing import List from verity_sdk.protocols.Protocol import Protocol from verity_sdk.utils import COMMUNITY_MSG_QUALIFIER class CommittedAnswer(Protocol): """ The CommittedAnswer protocol allows one self-sovereign party ask another self-sovereign a question and get a answer. The answer can be signe...
PypiClean
/swh.web-0.2.37.tar.gz/swh.web-0.2.37/docs/index.rst
.. _swh-web: Software Heritage - Web applications ==================================== Web application(s) to browse the archive, for both interactive (HTML UI) and mechanized (REST API) use .. toctree:: :maxdepth: 2 :caption: Contents: developers-info uri-scheme-api uri-scheme-browse uri-scheme-s...
PypiClean
/causalbench-1.0.1-py3-none-any.whl/causalscbench/third_party/notears/nonlinear.py
import math import numpy as np import torch import torch.nn as nn from causalscbench.third_party.notears.lbfgsb_scipy import LBFGSBScipy from causalscbench.third_party.notears.locally_connected import \ LocallyConnected from causalscbench.third_party.notears.trace_expm import trace_expm class NotearsMLP(nn.Modul...
PypiClean
/alphamed_federated-0.4.9-py3-none-any.whl/alphafed/examples/fed_prox/model/my_fed_prox_impl.py
from time import time import torch import torch.nn.functional as F import torchvision from net import ConvNet from scheduler import FedProxScheduler from torch import nn, optim from torch.utils.data import DataLoader from alphafed import logger class DemoFedProxScheduler(FedProxScheduler): def __init__(self, ...
PypiClean
/jupyterlab_classic-0.1.11-py3-none-any.whl/jupyterlab_classic/static/4953.bundle.js
(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4953],{49771:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActivityMonitor=void 0;const o=n(75277);t.ActivityMonitor=class{constructor(e){this._timer=-1,this._timeout=-1,this._isDisposed=!1,this._a...
PypiClean
/django-je-0.0.1.tar.gz/django-je-0.0.1/django/db/models/fields/json.py
import json from django import forms from django.core import checks, exceptions from django.db import NotSupportedError, connections, router from django.db.models import lookups from django.db.models.lookups import PostgresOperatorLookup, Transform from django.utils.translation import gettext_lazy as _ from . import ...
PypiClean