id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/nonebot_plugin_gocqhttp-0.6.12-py3-none-any.whl/nonebot_plugin_gocqhttp/__init__.py
import asyncio from fastapi import FastAPI from nonebot import get_driver from nonebot.adapters.onebot.v11 import Adapter from nonebot.drivers import ReverseDriver from nonebot.log import default_filter, default_format import nonebot_plugin_gocqhttp.plugin # noqa: F401 from nonebot_plugin_gocqhttp import web from no...
PypiClean
/test_version_powerhouse_helper_7.4-1.1.1-py3-none-any.whl/test_version_powerhouse_helper/Sort_Files.py
import os import shutil from prettytable import PrettyTable #Dict for normalize() transliterate_dict = {'а':'a','б':'b','в':'v','г':'g','д':'d','е':'e','ё':'e', 'ж':'zh','з':'z','и':'i','й':'i','к':'k','л':'l','м':'m','н':'n', 'о':'o','п':'p','р':'r','с':'s','т':'t','у':'u','ф':'f','х':'h', 'ц':'c','...
PypiClean
/django-comments-ink-0.3.0.tar.gz/django-comments-ink-0.3.0/django_comments_ink/static/django_comments_ink/js/comment_form.js
export default class CommentForm { constructor(formWrapper) { this.formWrapper = formWrapper; this.init(); } click_on_post(_) { return this.post("post"); } click_on_preview(_) { return this.post("preview"); } init() { this.formWrapperEl = document.querySelector(this.formWr...
PypiClean
/django_books-0.0.3-py3-none-any.whl/django_books/objects/objects.py
from datetime import datetime from lxml import etree def add_customer(name='bill'): if name is None: raise ValueError('Name is a required field') name = name + datetime.now().strftime('%H%s') reqXML = """ <?qbxml version="15.0"?> <QBXML> <QBXMLMsgsRq onError="stopOnErro...
PypiClean
/v1/model/delete_security_group_rule_request.py
import pprint import re import six class DeleteSecurityGroupRuleRequest: """ 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 ...
PypiClean
/mime_parser-1.2.0-py3-none-any.whl/mime_parser/arguments.py
from argparse import ArgumentParser, Namespace, RawDescriptionHelpFormatter from functools import lru_cache from typing import Final, List, Optional from mime_parser.iana.registered_mime_types import REGISTERED_TYPES from mime_parser.logging.logging import SEVERITIES, SEVERITY_NAME_INFO PROG: Final[str] = "mime_pars...
PypiClean
/Hikka_TL-1.24.14-py3-none-any.whl/telethon/sessions/string.py
import base64 import ipaddress import struct from .abstract import Session from .memory import MemorySession from ..crypto import AuthKey _STRUCT_PREFORMAT = ">B{}sH256s" CURRENT_VERSION = "1" class StringSession(MemorySession): """ This session file can be easily saved and loaded as a string. According ...
PypiClean
/tensorflow_cpu_aws-2.14.0rc1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl/tensorflow/python/eager/wrap_function.py
"""Prototype decorator for defining legacy-graph-mode functions.""" import weakref from tensorflow.core.function.polymorphism import function_type as function_type_lib from tensorflow.core.protobuf import meta_graph_pb2 from tensorflow.core.protobuf import struct_pb2 from tensorflow.python.eager import context from t...
PypiClean
/stigg_api_client-0.554.0.tar.gz/stigg_api_client-0.554.0/stigg/generated/operations.py
import sgqlc.types import sgqlc.operation from . import schema _schema = schema _schema_root = _schema.schema __all__ = ('Operations',) def fragment_coupon_fragment(): _frag = sgqlc.operation.Fragment(_schema.Coupon, 'CouponFragment') _frag.id() _frag.discount_value() _frag.type() _frag.addition...
PypiClean
/nm_transformers-1.5.1.42301-py3-none-any.whl/transformers/models/mpnet/tokenization_mpnet_fast.py
"""Fast Tokenization classes for MPNet.""" import json from typing import List, Optional, Tuple from tokenizers import normalizers from ...tokenization_utils import AddedToken from ...tokenization_utils_fast import PreTrainedTokenizerFast from ...utils import logging from .tokenization_mpnet import MPNetTokenizer ...
PypiClean
/online_judge_api_client-10.10.1-py3-none-any.whl/onlinejudge/_implementation/utils.py
import datetime import http.client import http.cookiejar import posixpath import urllib.parse from logging import getLogger from typing import * import bs4 from onlinejudge.type import * from onlinejudge.utils import * # re-export logger = getLogger(__name__) HTML_PARSER = 'lxml' def previous_sibling_tag(tag: bs4...
PypiClean
/Nasdaq%20Data%20Link-1.0.4.tar.gz/Nasdaq Data Link-1.0.4/README.md
# Nasdaq Data Link Python Client This is the official documentation for Nasdaq Data Link's Python Package. The package can be used to interact with the latest version of the [Nasdaq Data Link's RESTful API](https://docs.data.nasdaq.com/docs). This package is compatible with python v3.7+. ## Installation The installa...
PypiClean
/cloudmesh-common-4.3.141.tar.gz/cloudmesh-common-4.3.141/cloudmesh/common/strdb.py
import os import os.path from builtins import bytes import oyaml as yaml # # TODO: this does not follow our conventions, should this not be done at __init__? # ############################################################### # make yaml understand unicode def yaml_construct_unicode(self, node): return self.cons...
PypiClean
/nniv04-0.4.1-py3-none-any.whl/nniv04-0.4.1.data/data/nni/node_modules/tail-stream/test/wait-create.js
var assert = require('assert'); var child = require('child_process'); var fs = require('fs'); var path = require('path'); var ts = require('../index.js'); var tmpDir = path.resolve('test','tmp'); var newLine = 'The rain in spain falls mainly on the plain\n'; var filePath = path.resolve(tmpDir,...
PypiClean
/python-parakeet-0.4.5.tar.gz/python-parakeet-0.4.5/pybind11/docs/benchmark.rst
Benchmark ========= The following is the result of a synthetic benchmark comparing both compilation time and module size of pybind11 against Boost.Python. A detailed report about a Boost.Python to pybind11 conversion of a real project is available here: [#f1]_. .. [#f1] http://graylab.jhu.edu/RosettaCon2016/PyRosetta...
PypiClean
/skailarestframework-3.14.0-py3-none-any.whl/rest_framework/negotiation.py
from skailar.http import Http404 from rest_framework import exceptions from rest_framework.settings import api_settings from rest_framework.utils.mediatypes import ( _MediaType, media_type_matches, order_by_precedence ) class BaseContentNegotiation: def select_parser(self, request, parsers): raise No...
PypiClean
/Fabhacks-0.1.6.tar.gz/Fabhacks-0.1.6/fabhacks/__init__.py
from uuid import uuid4 from time import sleep from fabric.api import run, sudo, put as fab_put from fabric.context_managers import cd # Restart something # with a check to ensure running def restart_confirm(check, command, backoff=0, use_sudo=False): func = sudo if use_sudo else run func(command, pty=False)...
PypiClean
/neural_compressor_full-2.1.1.tar.gz/neural_compressor_full-2.1.1/neural_compressor/adaptor/tf_utils/graph_rewriter/bf16/bf16_convert.py
"""Graph rewriter BF16 Converter Class.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import logging import copy from tensorflow.core.framework import attr_value_pb2 from tensorflow.python.framework import dtypes from tensorflow.python.framework import...
PypiClean
/latexipy-1.0.1.tar.gz/latexipy-1.0.1/docs/usage.rst
===== Usage ===== To use LaTeXiPy in a project:: import latexipy as lp Set up for LaTeX with:: lp.latexify() And make your figures with:: with lp.figure('filename'): draw_the_plot() Import from LaTeX with: .. code-block:: latex \usepackage{pgf} \input{filename.pgf} Example files ==...
PypiClean
/simple-data-flow-0.0.1.tar.gz/simple-data-flow-0.0.1/src/simflow/base.py
import logging import re import traceback import uuid from confobj import Configurable, has_dict_handler, register_dict_handler, get_dict_handler, get_class class Stoppable(object): """ Classes that can be stopped. """ def is_stopped(self): """ Returns whether the object has been sto...
PypiClean
/invenio_app_ils-1.0.0a60.tar.gz/invenio_app_ils-1.0.0a60/invenio_app_ils/items/serializers/item.py
from invenio_records_rest.serializers.csv import CSVSerializer from invenio_records_rest.serializers.json import JSONSerializer from invenio_app_ils.permissions import patron_permission FILTER_KEYS = [ "loan_pid", "patron_pid", "start_date", "end_date", "extension_count", ] def filter_circulatio...
PypiClean
/bigdl_orca-2.3.0b20230218-py3-none-manylinux1_x86_64.whl/bigdl/orca/learn/pytorch/callbacks/tensorboard.py
import os import shutil import tempfile from torch.utils.tensorboard import SummaryWriter from bigdl.orca.data.file import put_local_dir_tree_to_remote from bigdl.orca.learn.pytorch.callbacks import Callback from bigdl.dllib.utils.log4Error import invalidInputError class TensorBoardCallback(Callback): def __in...
PypiClean
/alx_test-1.tar.gz/alx_test-1/LICENSE.rst
MIT License Copyright (c) 2020 Intercontinental Exchange 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
/alpha_cord-2.0.0a1-py3-none-any.whl/discord/interactions.py
from __future__ import annotations from typing import Any, Dict, List, Optional, TYPE_CHECKING, Tuple, Union import asyncio from . import utils from .enums import try_enum, InteractionType, InteractionResponseType from .errors import InteractionResponded, HTTPException, ClientException, InvalidArgument from .channel i...
PypiClean
/fern_merge-0.2.9-py3-none-any.whl/merge/resources/accounting/resources/expenses/client.py
import datetime as dt import typing import urllib.parse from json.decoder import JSONDecodeError import pydantic from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.datetime_utils import serialize_datetime from .....core.jsonable_encoder ...
PypiClean
/Flask-MDEditor-0.1.4.tar.gz/Flask-MDEditor-0.1.4/flask_mdeditor/static/mdeditor/js/lib/prettify.min.js
var IN_GLOBAL_SCOPE=true;window["PR_SHOULD_USE_CONTINUATION"]=true;var prettyPrintOne;var prettyPrint;(function(){var P=window;var i=["break,continue,do,else,for,if,return,while"];var u=[i,"auto,case,char,const,default,"+"double,enum,extern,float,goto,inline,int,long,register,short,signed,"+"sizeof,static,struct,switc...
PypiClean
/backend.ai-webserver-23.3.11.tar.gz/backend.ai-webserver-23.3.11/ai/backend/web/static/static/js/546.91eb8c03.chunk.js
"use strict";(self.webpackChunkbackend_ai_webui_react=self.webpackChunkbackend_ai_webui_react||[]).push([[546],{9277:function(e,n,t){var o=t(1413),r=t(4925),i=t(4036),a=(t(4519),t(2556)),c=["direction","wrap","justify","align","gap","style","children"];n.Z=function(e){var n=e.direction,t=void 0===n?"row":n,l=e.wrap,s=v...
PypiClean
/AI4Water-1.6.tar.gz/AI4Water-1.6/ai4water/preprocessing/dataset/_main.py
import json import inspect import warnings from typing import Union from copy import copy, deepcopy import ai4water.datasets as datasets from ai4water.datasets import all_datasets from ai4water.utils.utils import TrainTestSplit from ai4water.utils.plotting_tools import Plots from ai4water.preprocessing.imputation impo...
PypiClean
/reqmgr2ms-unmerged-2.2.4rc2.tar.gz/reqmgr2ms-unmerged-2.2.4rc2/src/python/Utils/Utilities.py
from builtins import str, bytes import subprocess import os import re import zlib import base64 import sys from types import ModuleType, FunctionType from gc import get_referents def lowerCmsHeaders(headers): """ Lower CMS headers in provided header's dict. The WMCore Authentication code check only cms h...
PypiClean
/ckanext-query-dois-4.0.0.tar.gz/ckanext-query-dois-4.0.0/ckanext/query_dois/lib/query.py
import copy import hashlib import json import time from collections import defaultdict from ckan.plugins import toolkit class DatastoreQuery(object): """ This models datastore queries passed to datastore_search, not the DOIs created from them. """ @staticmethod def _parse_from_query_dict(qu...
PypiClean
/discordia-0.2.tar.gz/discordia-0.2/discord/embeds.py
from __future__ import annotations import datetime from typing import TYPE_CHECKING, Any, Final, Mapping, Protocol, TypeVar, Union from . import utils from .colour import Colour __all__ = ( "Embed", "EmbedField", "EmbedAuthor", "EmbedFooter", ) class _EmptyEmbed: def __bool__(self) -> bool: ...
PypiClean
/nflgame3-0.1-py3-none-any.whl/nflgame/statmap.py
def values(category_id, yards): """ Returns a dictionary of field names to statistical values for a particular category id defined in idmap. """ assert category_id in idmap, \ 'Category identifier %d is not known.' % category_id info = idmap[category_id] try: yards = int(yard...
PypiClean
/django-oauth-plus-2.2.9.tar.gz/django-oauth-plus-2.2.9/oauth_provider/models.py
import uuid import urllib import urlparse from time import time import warnings import oauth2 as oauth from django.db import models from oauth_provider.compat import AUTH_USER_MODEL, get_random_string from oauth_provider.managers import TokenManager from oauth_provider.consts import KEY_SIZE, SECRET_SIZE, CONSUMER_KEY...
PypiClean
/Ximpia-0.2.1.tar.gz/Ximpia-0.2.1/ximpia/xpsite/choices.py
import constants as K from django.utils.translation import ugettext as _ class Choices(object): # MSG_MEDIA MSG_MEDIA = ( (K.XIMPIA,'Ximpia'), (K.TWITTER,'Twitter'), (K.FACEBOOK,'Facebook'), (K.LINKEDIN,'LinkedIn'), (K.EMAIL,'Email'), (K.SMS,'SMS'), ) # MSG_PREFERRED MSG_PREFERRED = ( (K.X...
PypiClean
/FAST_OAD_CS23-1.2.0-py3-none-any.whl/fastga/models/geometry/geom_components/wing/compute_wing.py
# This file is part of FAST-OAD_CS23 : A framework for rapid Overall Aircraft Design # Copyright (C) 2022 ONERA & ISAE-SUPAERO # FAST 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 t...
PypiClean
/fast_oad_cs25-0.3.0.tar.gz/fast_oad_cs25-0.3.0/src/fastoad_cs25/models/loops/wing_area_component/update_wing_area_geom.py
import numpy as np import openmdao.api as om from fastoad.module_management.service_registry import RegisterSubmodel from fastoad_cs25.models.loops.constants import ( SERVICE_WING_AREA_CONSTRAINT_GEOM, SERVICE_WING_AREA_LOOP_GEOM, ) @RegisterSubmodel( SERVICE_WING_AREA_LOOP_GEOM, "fastoad.submodel.loops...
PypiClean
/python_modulr_client-0.0.11-py3-none-any.whl/modulr_client/api/payments/send_payment.py
from http import HTTPStatus from typing import Any, Dict, Optional import httpx from ... import errors from ...client import Client from ...models.payment_payment_out_request import PaymentPaymentOutRequest from ...models.payment_payment_response import PaymentPaymentResponse from ...types import Response def _get_...
PypiClean
/globus_nexus_client-0.4.1-py3-none-any.whl/globus_nexus_client/__init__.py
import logging import typing as t from globus_sdk import BaseClient, GlobusHTTPResponse, exc from globus_sdk.authorizers import ( BasicAuthorizer, GlobusAuthorizer, StaticGlobusAuthorizer, ) log = logging.getLogger(__name__) ACTIVE_IDENTITY_HEADER = "X-Globus-Active-Identity" class NexusArrayResponse(G...
PypiClean
/google-cloud-network-security-0.9.3.tar.gz/google-cloud-network-security-0.9.3/google/cloud/network_security_v1/services/network_security/transports/rest.py
import dataclasses import json # type: ignore import re from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union import warnings from google.api_core import ( gapic_v1, operations_v1, path_template, rest_helpers, rest_streaming, ) from google.api_core import exceptions as co...
PypiClean
/casai-home-frontend-20220503.0.tar.gz/casai-home-frontend-20220503.0/hass_frontend/frontend_es5/b8e9916a.js
"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[23466],{92685:function(e,t,r){r.d(t,{a:function(){return P}});var n,i=r(87480),o=r(72774),a={ROOT:"mdc-form-field"},s={LABEL_SELECTOR:".mdc-form-field > label"},c=function(e){function t(r){var n=e.call(this,(0,i....
PypiClean
/django-sequence-0.0.0.tar.gz/django-sequence-0.0.0/src/django_sequence/models.py
import django from django.db import models from django.db import IntegrityError def get_default_stage_state(): """ get a default value for confirmation status; create new state if not available """ return StageState.objects.get_or_create(name='pending')[0].id def get_default_stage_result(): """ get a de...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/apimanagement/v20191201/policy.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from ._enums import * __all__ = ['Policy'] class Policy(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Op...
PypiClean
/aws-cdk.aws-appsync-1.204.0.tar.gz/aws-cdk.aws-appsync-1.204.0/README.md
# AWS AppSync Construct Library <!--BEGIN STABILITY BANNER-->--- ![End-of-Support](https://img.shields.io/badge/End--of--Support-critical.svg?style=for-the-badge) > AWS CDK v1 has reached End-of-Support on 2023-06-01. > This package is no longer being updated, and users should migrate to AWS CDK v2. > > For more in...
PypiClean
/maproxy-0.0.12.zip/maproxy-0.0.12/demos/all.py
import os import sys from maproxy.iomanager import IOManager from maproxy.proxyserver import ProxyServer import signal g_IOManager=IOManager() if __name__ == '__main__': # Add standard signal handlers - # call the "sto()" method when the user hits Ctrl-C signal.signal(signal.SIGINT, lambda sig,frame: ...
PypiClean
/esi_client-0.1.0a1.tar.gz/esi_client-0.1.0a1/esi_client/docs/GetFleetsFleetIdMembers200Ok.md
# GetFleetsFleetIdMembers200Ok 200 ok object ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **character_id** | **int** | character_id integer | **join_time** | **datetime** | join_time string | **role** | **str** | Member’s role in fleet | **role_name**...
PypiClean
/smartai-1.0.tar.gz/smartai-1.0/smartui/static/admin/simpleui-x/elementui/locale/lang/hu.js
'use strict'; exports.__esModule = true; exports.default = { el: { colorpicker: { confirm: 'OK', clear: 'Törlés' }, datepicker: { now: 'Most', today: 'Ma', cancel: 'Mégse', clear: 'Törlés', confirm: 'OK', selectDate: 'Dátum', selectTime: 'Időpont', ...
PypiClean
/p_cmd_runr-0.1.2-py3-none-any.whl/gp_cmd_runr/__main__.py
import re import sys import os import argparse from p_cmd_runr import p_cmd_runr as pcr from p_cmd_runr import file_manip as fm def main(): """ Description: Implements the functionality of the general purpose command runner (gp_cmd_runr.py) executable script/module. If you create a tmp folder...
PypiClean
/mxnet_cu113-1.9.1-py3-none-manylinux2014_x86_64.whl/mxnet/numpy_extension/utils.py
import ctypes from .. util import is_np_array, is_np_shape from .. base import _LIB, check_call, string_types, c_str_array from .. base import c_handle_array, c_str, mx_uint, NDArrayHandle, py_str from ..numpy import ndarray __all__ = ['save', 'load'] def save(file, arr): """Saves a list of `ndarray`s or a dict ...
PypiClean
/remark-1.7.9.tar.gz/remark-1.7.9/Remark/DocumentType_Registry.py
# Description: Document type registry # Documentation: data_structures.txt from Remark.FileSystem import fileExtension, unixDirectoryName import six _associationSet = dict() _defaultDocumentType = None _documentTypeSet = dict() def setDefaultDocumentType(documentType): ''' Sets the default document-type. ...
PypiClean
/waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl/waymo_open_dataset/protos/box_pb2.py
import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 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_in...
PypiClean
/advanced-pid-0.0.8.tar.gz/advanced-pid-0.0.8/advanced_pid/pid.py
from warnings import warn from math import exp class PID: """An advanced PID controller with first-order filter on derivative term. Parameters ---------- Kp : float Proportional gain. Ki: float Integral gain. Kd : float Derivative gain. Tf : float Time cons...
PypiClean
/custom-awscli-1.27.51.tar.gz/custom-awscli-1.27.51/awscli/examples/workmail/delete-mailbox-permissions.rst
**To delete mailbox permissions** The following ``delete-mailbox-permissions`` command deletes mailbox permissions that were previously granted to a user or group. The entity represents the user that owns the mailbox, and the grantee represents the user or group for whom to delete permissions. :: aws workmail del...
PypiClean
/panopticon-single-cell-0.3.tar.gz/panopticon-single-cell-0.3/panopticon/commands/bookem.py
import click import os import numpy as np import pandas as pd from scipy import sparse from panopticon.dna import segmentation_to_copy_ratio_dict from panopticon.utilities import get_valid_gene_info # import loompy after the main packages, because sometimes it breaks packages that are imported further: import loompy ...
PypiClean
/qiime-1.9.1.tar.gz/qiime-1.9.1/doc/tutorials/source_tracking.rst
.. _source_tracking: ================================================== Tracking the source of microbes with SourceTracker ================================================== Introduction ------------ This tutorial illustrations how to use the `SourceTracker <http://sourceforge.net/projects/sourcetracker/>`_ 0.9.5 sof...
PypiClean
/django-amazon-price-monitor-0.7.tar.gz/django-amazon-price-monitor-0.7/price_monitor/utils.py
import logging from django.core.mail import send_mail as django_send_mail from django.utils.translation import ugettext as _ from price_monitor import app_settings logger = logging.getLogger('price_monitor.utils') def get_offer_url(asin): """ Returns the offer url for an ASIN. :param asin: the asin ...
PypiClean
/cs18-api-client-999.0.2.4.tar.gz/cs18-api-client-999.0.2.4/gateways/common/cs18_api_classes.py
import abc import dateutil.parser class AccessLink: def __init__(self, protocol: str, link: str): self.link = link self.protocol = protocol class Commit: def __init__(self, data: dict): self.sha = data["sha"] self.author = data["commit"]["author"]["name"] self.date =...
PypiClean
/ironic-python-agent-builder-5.2.0.tar.gz/ironic-python-agent-builder-5.2.0/README.rst
=========================== Ironic Python Agent Builder =========================== Tools and scripts to build a deployment, cleaning or inspection ramdisk based on `Ironic Python Agent`_. * Free software: Apache license * Documentation: https://docs.openstack.org/ironic-python-agent-builder * Source: https://opendev...
PypiClean
/liwc_text_analysis-1.0.2-py3-none-any.whl/liwc/liwc.py
import collections class Liwc(): """ Class for the Linguistic Inquiry and Word Count (LIWC) dictionairy. The dictionary files are proprietary and can be obtained by liwc.net """ def __init__(self, filepath): """ :param filepath: path to the LIWC .dic file. """ self...
PypiClean
/Flask-CKEditor-0.4.6.tar.gz/Flask-CKEditor-0.4.6/flask_ckeditor/static/standard/lang/de-ch.js
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ CKEDITOR.lang['de-ch']={"editor":"WYSIWYG-Editor","editorPanel":"WYSIWYG-Editor-Leiste","common":{"editorHelp":"Drücken Sie ALT 0 für Hilfe","browseServer":"Server durchsuchen...
PypiClean
/dsr_shelx-241-py3-none-any.whl/dsr_shelx/networkx/generators/degree_seq.py
import heapq import math from itertools import chain, combinations, zip_longest from operator import itemgetter import networkx as nx from networkx.utils import py_random_state, random_weighted_sample __all__ = [ "configuration_model", "directed_configuration_model", "expected_degree_graph", "havel_ha...
PypiClean
/edc_adverse_event-0.3.60-py3-none-any.whl/edc_adverse_event/auth_objects.py
from .utils import get_adverse_event_app_label, get_hospitalization_model_app_label AE = "AE" AE_REVIEW = "AE_REVIEW" AE_ROLE = "ae_role" AE_SUPER = "AE_SUPER" TMG = "TMG" TMG_REVIEW = "TMG_REVIEW" TMG_ROLE = "tmg" ae_codenames = [ "edc_adverse_event.nav_ae_section", "edc_adverse_event.view_ae_listboard", ...
PypiClean
/Fortpy-1.7.7.tar.gz/Fortpy-1.7.7/fortpy/parsers/module.py
import re from ..elements import Module from .docstring import DocStringParser from .variable import VariableParser from .types import TypeParser from .executable import ExecutableParser from .interface import InterfaceParser class ModuleParser(object): """Extracts modules from fortran code files.""" def __ini...
PypiClean
/ipydrawio-1.3.0.tar.gz/ipydrawio-1.3.0/_/ipydrawio-webpack/static/dio/plugins/replay.js
Draw.loadPlugin(function(ui) { var graph = ui.editor.graph; var model = graph.model; function decodeChanges(delta, direct) { var codec2 = new mxCodec(delta.ownerDocument); codec2.lookup = function(id) { return model.getCell(id); }; var changeNode = (direct) ? delta.firstChild : delta.firstChild.f...
PypiClean
/aifs_nni-1.9.5-py3-none-manylinux1_x86_64.whl/aifs_nni-1.9.5.data/data/nni/node_modules/openid-client/LICENSE.md
The MIT License (MIT) Copyright (c) 2016 Filip Skokan 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, pub...
PypiClean
/modello-0.1.0.post1.tar.gz/modello-0.1.0.post1/modello.py
"""Module for symbolic modeling of systems.""" import typing from sympy import Basic, Dummy, Eq, simplify, solve class ModelloSentinelClass: """This class is used for quick type.mro() checks.""" class InstanceDummy(Dummy): """Dummy which will create a bound bummy on Modello instantiation.""" def bound...
PypiClean
/pymars-0.10.0a1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl/mars/learn/metrics/_base.py
from itertools import combinations from ... import tensor as mt from ..utils import check_array, check_consistent_length from ..utils.multiclass import type_of_target def _average_binary_score( binary_metric, y_true, y_score, average, sample_weight=None, session=None, run_kwargs=None, ):...
PypiClean
/SpiNNMan-2016.001.zip/SpiNNMan-2016.001/spinnman/constants.py
from enum import Enum # The default port of the connection SCP_SCAMP_PORT = 17893 # The default port of the connection UDP_BOOT_CONNECTION_DEFAULT_PORT = 54321 # The base address of the system variable structure in System ram SYSTEM_VARIABLE_BASE_ADDRESS = 0xf5007f00 # The base address of a routers diagnostic filte...
PypiClean
/pyinstaller-hooks-contrib-2023.8.tar.gz/pyinstaller-hooks-contrib-2023.8/src/_pyinstaller_hooks_contrib/hooks/stdhooks/hook-clr.py
# There is a name clash between pythonnet's clr module/extension (which this hooks is for) and clr package that provides # the terminal styling library (https://pypi.org/project/clr/). Therefore, we must first check if pythonnet is actually # available... from PyInstaller.utils.hooks import is_module_satisfies from Py...
PypiClean
/object_detection_tf-0.1.2-py3-none-any.whl/object_detection/protos/string_int_label_map_pb2.py
from google.protobuf.internal import enum_type_wrapper 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...
PypiClean
/scikit_multiflow-0.5.3-cp37-cp37m-macosx_10_9_x86_64.whl/skmultiflow/data/led_generator_drift.py
import numpy as np from skmultiflow.data.led_generator import LEDGenerator class LEDGeneratorDrift(LEDGenerator): """ LED stream generator with concept drift. This class is an extension from the LEDGenerator. The purpose of this generator is to add concept drift to the stream. Parameters -------...
PypiClean
/lizard-ui-5.3.tar.gz/lizard-ui-5.3/lizard_ui/static/openlayers/1.12-r7/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js
* @requires OpenLayers/Format/WMSDescribeLayer.js */ /** * Class: OpenLayers.Format.WMSDescribeLayer.v1_1 * Read SLD WMS DescribeLayer response for WMS 1.1.X * WMS 1.1.X is tightly coupled to SLD 1.0.0 * * Example DescribeLayer request: * http://demo.opengeo.org/geoserver/wms?request=DescribeLayer&version=1.1...
PypiClean
/SciANN-0.7.0.1.tar.gz/SciANN-0.7.0.1/docs/templates/functionals.md
# Intro A combination of neural network layers form a `Functional`. Mathematically, a `functional` is a general mapping from input set \\(X\\) onto some output set \\(Y\\). Once the parameters of this transformation are found, this mapping is called a `function`. `Functional`s are needed to form `SciModels`. A `...
PypiClean
/channels_hellwebprice_events-1.0.0.tar.gz/channels_hellwebprice_events-1.0.0/wheel/wheelfile.py
from __future__ import print_function import csv import hashlib import os.path import re import stat import time from collections import OrderedDict from distutils import log as logger from zipfile import ZIP_DEFLATED, ZipInfo, ZipFile from wheel.cli import WheelError from wheel.util import urlsafe_b64decode, as_unic...
PypiClean
/d8s_networking-0.4.2.tar.gz/d8s_networking-0.4.2/d8s_networking/networking.py
import json import os import sys from typing import Any, Dict import requests def requests_basic_auth(user, password): """Return an instance of request's basic auth.""" from requests.auth import HTTPBasicAuth return HTTPBasicAuth(user, password) def _process_response( response, url, *, ...
PypiClean
/dysgu-1.6.0-cp37-cp37m-macosx_10_9_x86_64.whl/dysgu-1.6.0.dist-info/LICENSE.md
MIT License Copyright (c) [2019] [Kez Cleal] 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, dis...
PypiClean
/python-aqbanking-0.0.8.tar.gz/python-aqbanking-0.0.8/README.md
AqBanking API for Python ======================== [![Build Status](https://travis-ci.org/monofox/python-aqbanking.svg?branch=master)](https://travis-ci.org/monofox/python-aqbanking) [![CodeFactor](https://www.codefactor.io/repository/github/monofox/python-aqbanking/badge)](https://www.codefactor.io/repository/github/m...
PypiClean
/django-ok-seo-0.9.4.tar.gz/django-ok-seo-0.9.4/seo/mixins/models.py
import mimetypes from typing import Dict from django.contrib.sites.shortcuts import get_current_site from django.db.models import Model from django.utils.translation import to_locale, get_language from ..const import DEFAULT_OBJECT_TYPES, DEFAULT_TWITTER_TYPES from ..settings import ( SEO_DEFAULT_IMAGE, SEO_I...
PypiClean
/gd-vae-pytorch-1.0.4.tar.gz/gd-vae-pytorch-1.0.4/gd_vae_pytorch/geo_map.py
r""" .. image:: geo_map_py.png Geometric maps for manifolds and related methods for computing gradients for training. Provides the *g-projection* maps discussed in the GD-VAE paper for training with manifold latent spaces within machine learning methods. If you find these codes or methods helpful for your p...
PypiClean
/spgrep_modulation-0.2.5.tar.gz/spgrep_modulation-0.2.5/docs/phonon.md
# Lattice vibration ## Harmonic phonon Hamiltonian and commutation relations: ```{math} H = \sum_{ l \kappa \mu } \frac{ p_{\mu}(l\kappa)^{2} }{ 2 M_{\kappa} } + \frac{1}{2} \sum_{ l \kappa \mu } \sum_{ l' \kappa' \mu' } \Phi_{ \mu \mu' }(l\kappa, l'\kappa') u_{\mu}(l\kappa) u_{\mu'}(l'\kappa') ``` Dynamical m...
PypiClean
/safegate-pro-frontend-20210805.0.tar.gz/safegate-pro-frontend-20210805.0/hass_frontend/frontend_latest/chunk.dcca18d66e88fc405587.js
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[5205],{21157:(e,t,n)=>{"use strict";n(65233);const l=n(50856).d` /* Most common used flex styles*/ <dom-module id="iron-flex"> <template> <style> .layout.horizontal, .layout.vertical { display: -ms-f...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/models/identity_governance/workflow.py
from __future__ import annotations from datetime import datetime from kiota_abstractions.serialization import Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union if TYPE_CHECKING: from . import run, task_report, user_processing_result, workflow_base...
PypiClean
/rlpy3-2.0.0a0-cp36-cp36m-win_amd64.whl/rlpy/Policies/Policy.py
from rlpy.Tools import className, discrete_sample import numpy as np import logging from abc import ABC, abstractmethod __copyright__ = "Copyright 2013, RLPy http://acl.mit.edu/RLPy" __credits__ = [ "Alborz Geramifard", "Robert H. Klein", "Christoph Dann", "William Dabney", "Jonathan P. How", ] __l...
PypiClean
/BlueWhale3-3.31.3.tar.gz/BlueWhale3-3.31.3/Orange/classification/majority.py
from hashlib import sha1 import numpy as np from Orange.classification import Learner, Model from Orange.statistics import distribution from Orange.i18n_config import * def __(key): return i18n.t("orange." + key) __all__ = ["MajorityLearner"] class MajorityLearner(Learner): """ A majority classifie...
PypiClean
/mysql-utilities-1.4.3.tar.gz/mysql-utilities-1.4.3/mysql/utilities/common/options.py
import copy import optparse import os.path import re from optparse import Option as CustomOption, OptionValueError from mysql.utilities import LICENSE_FRM, VERSION_FRM from mysql.utilities.exception import UtilError, FormatError from mysql.connector.conversion import MySQLConverter from mysql.utilities.common.message...
PypiClean
/who_added_this_tag-0.0.1.tar.gz/who_added_this_tag-0.0.1/who_added_this_tag/statistics.py
import thin_osm_api_wrapper import csv import collections from osm_bot_abstraction_layer.overpass_downloader import download_overpass_query from osm_iterator import osm_iterator import time import datetime def download_object_list(config, filepath): area_query = "" area_filter = "" if config['area_identifi...
PypiClean
/ressources/lib/node_modules/highcharts/modules/exporting.src.js
'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else if (typeof define === 'function' && define.amd) { define(function () { return factory; }); } else { factory(Highcharts); } }(function (Highcharts) { (function (H) { /** * Exporti...
PypiClean
/os-net-config-16.0.0.tar.gz/os-net-config-16.0.0/os_net_config/sriov_config.py
# Copyright 2014 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/securityinsights/get_watchlist_item.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__ = [ 'GetWatchlistItemResult', 'AwaitableGetWatchlistItemResult', 'get_watchlist_item', 'get_watchlist_item_output...
PypiClean
/fhi-vibes-1.0.5.tar.gz/fhi-vibes-1.0.5/vibes/helpers/stresses.py
import numpy as np from ase.constraints import full_3x3_to_voigt_6_stress, voigt_6_to_full_3x3_stress from vibes.helpers import talk, warn from .stress import has_stress def get_stresses(atoms): """Obtain intensive Nx3x3 stresses""" stress = atoms.get_stress(voigt=False) stresses = enforce_3x3(atoms.g...
PypiClean
/ka-lite-static-0.17.6b2.tar.gz/ka-lite-static-0.17.6b2/kalite/distributed/static/js/distributed/perseus/ke/local-only/localeplanet/icu.ar.js
(function() { var dfs = {"am_pm":["ص","م"],"day_name":["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],"day_short":["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],"era":["ق.م","م"],"era_name":["قبل الميلاد","ميلادي"],"month_name":["يناير","فبراير","مارس","أبريل","مايو","يونيو","...
PypiClean
/funkiio-1.0.1-py3-none-any.whl/homeassistant/components/enigma2/media_player.py
import logging import voluptuous as vol from homeassistant.components.media_player import MediaPlayerDevice from homeassistant.helpers.config_validation import (PLATFORM_SCHEMA) from homeassistant.components.media_player.const import ( SUPPORT_NEXT_TRACK, SUPPORT_PAUSE, SUPPORT_PREVIOUS_TRACK, SUPPORT_TURN_ON, ...
PypiClean
/scikit-rf-0.28.0.tar.gz/scikit-rf-0.28.0/doc/source/examples/metrology/TwoPortOnePath, EnhancedResponse, and FakeFlip.ipynb
# TwoPortOnePath, EnhancedResponse, and FakeFlip ## Intro This example demonstrates a macgyver-ish shortcut you can take if you are measuring a device that is ** reciprocal** and **symmetric** on a switch-less three-receiver system. For more information about error correction this type of architecture, see [Ca...
PypiClean
/adversarial_robustness_toolbox-1.15.1-py3-none-any.whl/art/defences/postprocessor/reverse_sigmoid.py
import logging import numpy as np from art.defences.postprocessor.postprocessor import Postprocessor logger = logging.getLogger(__name__) class ReverseSigmoid(Postprocessor): """ Implementation of a postprocessor based on adding the Reverse Sigmoid perturbation to classifier output. """ params = [...
PypiClean
/starlink-pywrapper-0.3.tar.gz/starlink-pywrapper-0.3/starlink/kappa_help/hislist.rst
HISLIST ======= Purpose ~~~~~~~ Lists NDF history records Description ~~~~~~~~~~~ This lists all the history records in an NDF. The reported information comprises the date, time, and application name, and optionally the history text. Usage ~~~~~ :: hislist ndf ADAM parameters ~~~~~~~~~...
PypiClean
/KnowledgeCore-2.8.10.tar.gz/KnowledgeCore-2.8.10/README-pypi.rst
KnowledgeCore ============== KnowledgeCore is a RDFlib-backed minimalistic knowledge base, initially designed for robots (in particular human-robot interaction or multi-robot interaction). It features full `ROS <https://www.ros.org>`__ support. It stores triples (like RDF/OWL triples), and provides an API accessible ...
PypiClean
/saltext.sap_pse-1.0.0.tar.gz/saltext.sap_pse-1.0.0/src/saltext/sap_pse/_modules/sap_pse.py
import logging import re import salt.utils.http import salt.utils.platform import yaml # Third Party libs # Globals # the following control characters are not allowed in YAML INVALID_CHARACTERS = [chr(i) for i in range(0x80, 0x9F)] # default path to sapgenpse DEFAULT_SAPGENPSE = "/usr/sap/hostctrl/exe/sapgenpse" lo...
PypiClean
/cooltools-0.5.4.tar.gz/cooltools-0.5.4/docs/cooltools.lib.rst
cooltools.lib package ===================== common -------- .. automodule:: cooltools.lib.common :members: :undoc-members: :show-inheritance: numutils -------- .. automodule:: cooltools.lib.numutils :members: :undoc-members: :show-inheritance: peaks ----- .. automodule:: cooltools.lib.peaks :...
PypiClean
/mailtoplone.scrawl-0.2.zip/mailtoplone.scrawl-0.2/mailtoplone/scrawl/README.txt
Introduction ============ We need manager role for this test:: >>> self.setRoles(('Manager',)) Configure Folder for Blog Entries --------------------------------- We use a standard Folder for dropping the emails in:: >>> self.portal.invokeFactory('Folder', 'blog_entries') 'blog_entries' >>> blog_e...
PypiClean
/pyixexplorer-3.1.3-py3-none-any.whl/ixexplorer/ixe_port.py
import re from enum import Enum from pathlib import Path from trafficgenerator import TgnError from ixexplorer.api.ixapi import FLAG_IGERR, FLAG_RDONLY, MacStr, TclMember, ixe_obj_meta from ixexplorer.ixe_object import IxeObject, IxeObjectObj from ixexplorer.ixe_statistics_view import IxeCapFileFormat, IxePortsStats,...
PypiClean
/google-datacatalog-teradata-connector-0.9.0.tar.gz/google-datacatalog-teradata-connector-0.9.0/README.md
# google-datacatalog-teradata-connector Library for ingesting Teradata metadata into Google Cloud Data Catalog. [![Python package][2]][2] [![PyPi][3]][4] [![License][5]][5] [![Issues][6]][7] **Disclaimer: This is not an officially supported Google product.** <!-- ⚠️ DO NOT UPDATE THE TABLE OF CONTENTS MANUALLY ️️...
PypiClean