id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/backend.ai-webserver-23.3.11.tar.gz/backend.ai-webserver-23.3.11/ai/backend/web/static/static/js/936.34b45298.chunk.js
"use strict";(self.webpackChunkbackend_ai_webui_react=self.webpackChunkbackend_ai_webui_react||[]).push([[936,502],{1502:function(e,n,a){a.r(n),a.d(n,{default:function(){return C},useShadowRoot:function(){return K},useWebComponentInfo:function(){return Q}});var t=a(9439),i=a(4519),l=a(6980),o=a(6114),r=a(9002),s=a(7112...
PypiClean
/nflx-genie-client-3.6.17.tar.gz/nflx-genie-client-3.6.17/pygenie/adapter/genie_3.py
from __future__ import absolute_import, division, print_function, unicode_literals import json import logging import os import time from functools import wraps from multipledispatch import dispatch try: from urlparse import urlparse except ImportError: from urllib.parse import urlparse from ..auth import Aut...
PypiClean
/azure-mgmt-resource-23.1.0b1.zip/azure-mgmt-resource-23.1.0b1/azure/mgmt/resource/managedapplications/v2019_07_01/operations/_operations.py
from io import IOBase from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, cast, overload import urllib.parse from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ResourceNotModifiedError, map_er...
PypiClean
/quick-topic-1.0.2.tar.gz/quick-topic-1.0.2/src/quick_topic/gui_functions/gui_topic_interaction.py
from quick_topic.topic_interaction.main import * from quickcsv.file import * def get_categories(csv_file,category_field): list_item=read_csv(csv_file) list_ca=[] for item in list_item: if item[category_field] not in list_ca: list_ca.append(item[category_field]) return list_ca def g...
PypiClean
/parsec_cloud-2.16.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/parsec/core/pki/accepter.py
from __future__ import annotations from hashlib import sha1 from pathlib import Path from typing import Iterable, cast import attr from parsec._parsec import AuthenticatedCmds as RsBackendAuthenticatedCmds from parsec._parsec import ( DateTime, EnrollmentID, PkiEnrollmentAcceptRepActiveUsersLimitReached,...
PypiClean
/andi-0.4.1.tar.gz/andi-0.4.1/README.rst
==== andi ==== .. image:: https://img.shields.io/pypi/v/andi.svg :target: https://pypi.python.org/pypi/andi :alt: PyPI Version .. image:: https://img.shields.io/pypi/pyversions/andi.svg :target: https://pypi.python.org/pypi/andi :alt: Supported Python Versions .. image:: https://travis-ci.com/scrapinghub...
PypiClean
/eric-ide-22.7.1.tar.gz/eric-ide-22.7.1/eric7/DebugClients/Python/coverage/files.py
import hashlib import fnmatch import ntpath import os import os.path import posixpath import re import sys from coverage import env from coverage.exceptions import ConfigError from coverage.misc import contract, human_sorted, isolate_module, join_regex os = isolate_module(os) def set_relative_directory(): """S...
PypiClean
/holos-0.1.tar.gz/holos-0.1/README.md
# holos-os HOLOS OS: A quantum-based blockchain OS managing global resources, fostering planetary consciousness, and driving sustainable development [https://www.rigene.eu/holosos]. Repository for implementing TFTpsp logic in Digital Organism TFTpsp. Technological Fields Theory (TFT). Python source code. HOLOS & ...
PypiClean
/thundra-4.0.0rc20230615143333.tar.gz/thundra-4.0.0rc20230615143333/catchpoint/__init__.py
from __future__ import absolute_import from importlib import import_module as _import_module import catchpoint.integrations.modules as integrations from catchpoint.config import config_names from catchpoint.config.config_provider import ConfigProvider from catchpoint.opentracing.tracer import CatchpointTracer from ca...
PypiClean
/ckanext_ldap-3.2.10-py3-none-any.whl/ckanext/ldap/plugin.py
import logging from ckan.common import session from ckan.plugins import SingletonPlugin, implements, interfaces, toolkit from ckanext.ldap import routes, cli from ckanext.ldap.lib.helpers import get_login_action, is_ldap_user from ckanext.ldap.logic.auth import user_create, user_update, user_reset from ckanext.ldap.m...
PypiClean
/pdffit-0.1.tar.gz/pdffit-0.1/src/pdf_fitter.py
from LNPLPL_functions import * from LNPL_functions import * import warnings class Params(): def __init__(self, root_finding_lower_lim= -15, root_finding_upper_lim=1, root_finding_step_size=0.2, \ root_finding_max_tries=40, s_cut_off = 10, y_min_cut_off=0, bounds = [(0,1.01,0.3,3),(5,5,5,10)],\ ...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_22/models/host_response.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_22 import models class HostResponse(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is a...
PypiClean
/Pytglib-0.4-py3-none-any.whl/pytglib/api/types/message.py
from ..utils import Object class Message(Object): """ Describes a message Attributes: ID (:obj:`str`): ``Message`` Args: id (:obj:`int`): Message identifier, unique for the chat to which the message belongs sender_user_id (:obj:`int`): Identifier of th...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_6/models/support_remote_assist_paths.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flashblade.FB_2_6 import models class SupportRemoteAssistPaths(object): """ Attributes: swagger_types (dict): The key is attribute name and the...
PypiClean
/autogluon.multimodal-0.7.0b20230216-py3-none-any.whl/autogluon/multimodal/utils/model.py
import functools import json import logging from typing import Dict, List, Optional, Tuple, Union import timm from omegaconf import DictConfig, OmegaConf from torch import nn from ..constants import ( ALL_MODALITIES, AUTOMM, CATEGORICAL, CATEGORICAL_MLP, CATEGORICAL_TRANSFORMER, CLIP, DOCU...
PypiClean
/MFAProblem-1.0.1b0.tar.gz/MFAProblem-1.0.1b0/bin/run_mfa_problem_main_with_excel.py
import sys import os import argparse import time import tempfile from shutil import copyfile from collections import OrderedDict import pandas as pd try: from ..mfa_problem import su_trace from ..mfa_problem import io_excel from ..mfa_problem import mfa_problem_main except ImportError: import mfa_prob...
PypiClean
/sited_py-1.4.1.zip/sited_py-1.4.1/sited_py/lib/org_noear_siteder_viewModels_site_BookViewModel.py
from .org_noear_siteder_dao_engine_sdVewModel_BookSdViewModel import BookSdViewModel from .mytool import TextUtils SettingBookisSortUp = 1 class BookViewModel(BookSdViewModel): def __init__(self, s, n): super().__init__(n.url) self._lastLookOrgIndex = -1 self._lastLook = 0 # 根据url 生成 has...
PypiClean
/click-odoo-contrib-1.16.1.tar.gz/click-odoo-contrib-1.16.1/README.rst
click-odoo-contrib ================== .. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 .. image:: https://badge.fury.io/py/click-odoo-contrib.svg :target: http://badge.fury.io/py/click-odoo-contrib ``click-od...
PypiClean
/pyparted-3.12.0.tar.gz/pyparted-3.12.0/src/parted/constraint.py
import parted import _ped from parted.decorators import localeC class Constraint(object): """Constraint() A Constraint object describes a set of restrictions on other pyparted operations. Constraints can restrict the location and alignment of the start and end of a partition, and its minim...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_7/models/api_token.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_7 import models class ApiToken(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is attrib...
PypiClean
/google-cloud-contentwarehouse-0.7.0.tar.gz/google-cloud-contentwarehouse-0.7.0/google/cloud/contentwarehouse_v1/services/pipeline_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
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/saccharibacterspam169.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def SaccharibacterSpAm169( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs: ...
PypiClean
/collective.js.angular-1.5.5.0.tar.gz/collective.js.angular-1.5.5.0/src/collective/js/angular/resources/i18n/angular-locale_rm.js
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
PypiClean
/nlu_bf-4.8.tar.gz/nlu_bf-4.8/nlu_bf/core/lock_store.py
import asyncio import json import logging import os from async_generator import asynccontextmanager from typing import Text, Union, Optional, AsyncGenerator from nlu_bf.core.constants import DEFAULT_LOCK_LIFETIME from nlu_bf.utils import common from nlu_bf.core.lock import TicketLock from nlu_bf.utils.endpoints impor...
PypiClean
/jupyterlab_remote_contents-0.1.1.tar.gz/jupyterlab_remote_contents-0.1.1/node_modules/caniuse-lite/data/regions/PS.js
module.exports={C:{"52":0.02036,"78":0.00291,"79":0.01163,"87":0.00582,"88":0.00291,"91":0.02036,"94":0.00291,"95":0.01745,"96":0.47691,"97":0.60777,"98":0.00872,_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 53 54 55 56 5...
PypiClean
/Aston-0.7.1.tar.gz/Aston-0.7.1/TODO.rst
Ideas For Things To Do ********************** * plot all 1d traces in same axes, each 2d gets its own axes (but x-axis is linked?) * allow scaling/stacking of 1d traces * remove "extras", "graph style" options from graph menu * axes labels? (e.g. R.T. (min), etc) * make all columns display in tables properly * save AIA...
PypiClean
/picsellia_tf1-0.6-py3-none-any.whl/picsellia_tf1/object_detection/models/keras_models/convert_keras_models.py
from __future__ import print_function import os from absl import app import numpy as np import tensorflow.compat.v1 as tf FLAGS = tf.flags.FLAGS tf.flags.DEFINE_string('model', 'resnet_v2_101', 'The model to load. The following are supported: ' '"resnet_v1_50", "resnet...
PypiClean
/grapetree-2.1.tar.gz/grapetree-2.1/static/js/SlickGrid/controls/slick.pager.js
(function ($) { function SlickGridPager(dataView, grid, $container) { var $status; function init() { dataView.onPagingInfoChanged.subscribe(function (e, pagingInfo) { updatePager(pagingInfo); }); constructPagerUI(); updatePager(dataView.getPagingInfo()); } function g...
PypiClean
/GDM-0.8.2.tar.gz/GDM-0.8.2/docs/index.md
# Git Dependency Manager Git Dependency Manager (`gdm`) is a language-agnostic "dependency manager" using Git. It aims to serve as a submodules replacement and provides advanced options for managing versions of nested Git repositories. ## Requirements * Python 3.4+ * Latest version of Git (with [stored credentials](...
PypiClean
/morphenepython-0.1.8.tar.gz/morphenepython-0.1.8/morphenepythonapi/websocket.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from builtins import next from builtins import str import traceback import threading import ssl import time import json import logging import websocket from itertools impo...
PypiClean
/edc-he-0.1.28.tar.gz/edc-he-0.1.28/edc_he/migrations/0008_healtheconomicshouseholdhead_crf_status_and_more.py
from django.db import migrations, models import edc_crf.model_mixins.crf_status_model_mixin class Migration(migrations.Migration): dependencies = [ ("edc_he", "0007_alter_healtheconomicshouseholdhead_hoh_age_and_more"), ] operations = [ migrations.AddField( model_name="health...
PypiClean
/vdirsyncer-0.19.2.tar.gz/vdirsyncer-0.19.2/docs/partial-sync.rst
.. _partial_sync_tutorial: =============================== Syncing with read-only storages =============================== If you want to subscribe to a public, read-only `WebCAL <https://en.wikipedia.org/wiki/Webcal>`_-calendar but neither your server nor your calendar apps support that (or support it insufficiently...
PypiClean
/gbptesthorizonui-0.9.0.tar.gz/horizon-2014.2.0.dev282.g7faf497/openstack_dashboard/api/ceilometer.py
import logging import threading from ceilometerclient import client as ceilometer_client from django.conf import settings from django.utils import datastructures from django.utils.translation import ugettext_lazy as _ from horizon import exceptions from horizon.utils.memoized import memoized # noqa from openstack_...
PypiClean
/floraconcierge-client-0.7.52.tar.gz/floraconcierge-client-0.7.52/floraconcierge/mapping/mixins/model/shop/__init__.py
import math from os.path import basename import re from floraconcierge.client.types import Object DEFAULT_PRODUCT_IMAGES_LIST = { 'default': 'https://www.florastatic.net/img/products/%s_250.jpg', 'small': 'https://www.florastatic.net/img/products/%s_100.jpg', 'middle': 'https://www.florastatic.net/img/pr...
PypiClean
/sagemath-categories-10.0b1.tar.gz/sagemath-categories-10.0b1/sage/categories/simplicial_sets.py
from sage.misc.cachefunc import cached_method from sage.categories.category_singleton import Category_singleton from sage.categories.category_with_axiom import CategoryWithAxiom from sage.categories.sets_cat import Sets from sage.categories.homsets import HomsetsCategory from sage.rings.infinity import Infinity from s...
PypiClean
/uwa-pocoui-1.6.1085.tar.gz/uwa-pocoui-1.6.1085/poco/utils/simplerpc/rpcclient.py
from .simplerpc import RpcAgent, RpcConnectionError from . import simplerpc import warnings import time class RpcClient(RpcAgent): INIT, CONNECTING, CONNECTED, CLOSED = 0, 1, 2, 3 """docstring for RpcClient""" def __init__(self, conn): super(RpcClient, self).__init__() self._status = sel...
PypiClean
/EMPOL_GUI-2.2.8.tar.gz/EMPOL_GUI-2.2.8/EMPOL_GUI/empol_pol_single_obj.py
import numpy as np import math import matplotlib.pyplot as plt from astropy.io import fits import os import fnmatch from astropy.io.fits import getheader from astropy.stats import sigma_clipped_stats from astropy.modeling import models, fitting from scipy.optimize import curve_fit from scipy import interpolate import...
PypiClean
/django-dynamic-mailer-0.1.tar.gz/django-dynamic-mailer-0.1/emails/serializers.py
from rest_framework import serializers from rest_framework.exceptions import ValidationError from .models import * from rest_framework.validators import UniqueTogetherValidator class EmailSerializers(serializers.ModelSerializer): """ serializer of EmailModel Table with regex """ creator_name = serializers....
PypiClean
/formulaparser-0.0.1.tar.gz/formulaparser-0.0.1/README.rst
formulaparser ------------- A formula parser for python. Copyright (C) 2017 Lars van de Kerkhof 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 3 of the License, or (at your option)...
PypiClean
/xotl.tools-2.2.5.tar.gz/xotl.tools-2.2.5/xotl/tools/dim/meta.py
r"""Facilities to work with `concrete numbers`_. A concrete number is a number associated with the things being counted, in contrast to an abstract number which is a number as a single entity. -- Wikipedia__ __ `concrete numbers`_ .. _concrete numbers: https://en.wikipedia.org/wiki/Concrete_number This ...
PypiClean
/dl_test-0.1.10.tar.gz/dl_test-0.1.10/dl_test/async-locateControl.js
(self.webpackChunkdl_test=self.webpackChunkdl_test||[]).push([[176],{9852:function(t,i,o){"use strict";o.r(i);var e=o(9196),s=o(687),n=o.n(s),a=o(5375),r=o(618);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol...
PypiClean
/cody-adapter-transformers-3.0.1.tar.gz/cody-adapter-transformers-3.0.1/src/adapter_transformers/models/barthez/tokenization_barthez.py
import os from shutil import copyfile from typing import Any, Dict, List, Optional, Tuple import sentencepiece as spm from ...tokenization_utils import AddedToken, PreTrainedTokenizer from ...utils import logging logger = logging.get_logger(__name__) VOCAB_FILES_NAMES = {"vocab_file": "sentencepiece.bpe.model"} P...
PypiClean
/bpy_optix-2.82-cp37-cp37m-win_amd64.whl/bpy_optix-2.82.data/scripts/2.82/scripts/addons/mesh_tissue/tessellate_numpy.py
# ---------------------------- ADAPTIVE DUPLIFACES --------------------------- # # ------------------------------- version 0.84 ------------------------------- # # # # Creates duplicates of selected mesh to active morphing the shape according...
PypiClean
/cbc_syslog-1.3.1.tar.gz/cbc_syslog-1.3.1/src/cbc_syslog/util/resource_fetcher.py
from .six import PY2 from .audit_log import (audit_log_server_request, parse_audit_log_json, parse_audit_log_cef, parse_audit_log_leef) from .notifications import (notification_server_request, parse_noti...
PypiClean
/Firefly_III_API_Client-2.0.5.0-py3-none-any.whl/firefly_iii_client/paths/v1_bills_id/get.py
from dataclasses import dataclass import typing_extensions import urllib3 from urllib3._collections import HTTPHeaderDict from firefly_iii_client import api_client, exceptions from datetime import date, datetime # noqa: F401 import decimal # noqa: F401 import functools # noqa: F401 import io # noqa: F401 import re...
PypiClean
/agent_torch-0.1.0.tar.gz/agent_torch-0.1.0/AgentTorch/helpers/general.py
import re from functools import reduce import operator import torch import copy from omegaconf import OmegaConf import pandas as pd def get_by_path(root, items): r""" Access a nested object in root by item sequence """ return reduce(operator.getitem, items, root) def set_by_path(root, items, value...
PypiClean
/rpi_torch-1.5.0-cp37-cp37m-linux_armv7l.whl/torch/onnx/symbolic_opset10.py
from __future__ import absolute_import, division, print_function, unicode_literals import torch from torch.nn.modules.utils import _single, _pair, _triple import torch.onnx # This import monkey-patches graph manipulation methods on Graph, used for the # ONNX symbolics import torch.onnx.utils import torch.onnx.symboli...
PypiClean
/secretflow_ray-2.2.0-cp38-cp38-macosx_10_16_x86_64.whl/secretflow_ray-2.2.0.data/purelib/ray/rllib/utils/metrics/window_stat.py
import numpy as np class WindowStat: """Handles/stores incoming datastream and provides window-based statistics. Examples: >>> win_stats = WindowStat("level", 3) >>> win_stats.push(5.0) >>> win_stats.push(7.0) >>> win_stats.push(7.0) >>> win_stats.push(10.0) >>...
PypiClean
/outlyer.plugin-helper-0.0.12.tar.gz/outlyer.plugin-helper-0.0.12/CODE_OF_CONDUCT.rst
Contributor Covenant Code of Conduct ==================================== Our Pledge ---------- In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age,...
PypiClean
/django-ug-4.2.41.tar.gz/django-ug-4.2.41/django/middleware/gzip.py
from django.utils.cache import patch_vary_headers from django.utils.deprecation import MiddlewareMixin from django.utils.regex_helper import _lazy_re_compile from django.utils.text import compress_sequence, compress_string re_accepts_gzip = _lazy_re_compile(r"\bgzip\b") class GZipMiddleware(MiddlewareMixin): """...
PypiClean
/chinois-0.2.2.tar.gz/chinois-0.2.2/README.md
<div align="center"> # Chinois 🍵 CSS selector implementation for Bisque and Campbells web scraping libraries. [Install](#installation) • [Examples](#examples) </div> Adapted from [soupsieve][ss]'s inner package, to remove the hard coupling to Beautiful Soup. [ss]: https://github.com/facelessuser/soupsieve/ ## I...
PypiClean
/django-smithy-0.3.0.tar.gz/django-smithy-0.3.0/smithy/admin.py
from typing import List, Union from django.contrib import admin, messages from django.db import models from django.db.models import QuerySet from django.forms.widgets import TextInput from django.conf import settings from smithy.models import RequestBlueprint, RequestRecord, Header, QueryParameter, Cookie, Variable, B...
PypiClean
/pytorch3d_mcg-0.2.5.tar.gz/pytorch3d_mcg-0.2.5/pytorch3d/renderer/materials.py
import torch from .utils import TensorProperties class Materials(TensorProperties): """ A class for storing a batch of material properties. Currently only one material per batch element is supported. """ def __init__( self, ambient_color=((1, 1, 1),), diffuse_color=((1,...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/drosophilapersimilis.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def DrosophilaPersimilis( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs: D...
PypiClean
/hass-home-assistant-frontend-20200427.3.tar.gz/hass-home-assistant-frontend-20200427.3/hass_frontend/frontend_latest/chunk.c71296fe2f0075b74b98.js
(self.webpackJsonp=self.webpackJsonp||[]).push([[86],{208:function(e,t,i){"use strict";var r=i(231);i.d(t,"a",function(){return o});const o=Object(r.a)({types:{"entity-id":function(e){return"string"!=typeof e?"entity id should be a string":!!e.includes(".")||"entity id should be in the format 'domain.entity'"},icon:fun...
PypiClean
/hamzaGlyph-1.1.0.tar.gz/hamzaGlyph-1.1.0/utils/augmentations.py
import math import random import cv2 import numpy as np import torch import torchvision.transforms as T import torchvision.transforms.functional as TF from utils.general import LOGGER, check_version, colorstr, resample_segments, segment2box, xywhn2xyxy from utils.metrics import bbox_ioa IMAGENET_MEAN = 0.485, 0.456,...
PypiClean
/tensorflow_fedora28-1.9.0rc01-cp27-cp27mu-manylinux1_x86_64.whl/tensorflow_fedora28-1.9.0rc0.data/purelib/tensorflow/python/ops/nn_impl.py
"""Implementation of Neural Net (NN) functions.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import math from tensorflow.python.framework import constant_op from tensorflow.python.framework import dtypes from tensorflow.python.framework import functi...
PypiClean
/askbot-tuanpa-0.7.48.zip/askbot-tuanpa-0.7.48/askbot/setup_templates/static/tiny_mce/langs/zh-cn.js
tinyMCE.addI18n({"zh-cn":{common:{"more_colors":"\u66f4\u591a\u989c\u8272","invalid_data":"\u9519\u8bef\uff1a\u6807\u8bb0\u4e3a\u7ea2\u8272\u7684\u90e8\u5206\u6709\u8bef\u3002","popup_blocked":"\u62b1\u6b49\uff0c\u60a8\u7981\u7528\u4e86\u5f39\u51fa\u7a97\u53e3\u529f\u80fd\u3002\u4e3a\u4e86\u4f7f\u7528\u8be5\u5de5\u5177...
PypiClean
/datajunction-0.0.1a4.tar.gz/datajunction-0.0.1a4/dj/api/tags.py
from typing import List, Optional from fastapi import APIRouter, Depends from sqlalchemy.orm import joinedload from sqlmodel import Session, select from dj.errors import DJException from dj.models.node import NodeType from dj.models.tag import CreateTag, Tag, TagOutput, UpdateTag from dj.utils import get_session rou...
PypiClean
/flair_82-0.8.2.tar.gz/flair_82-0.8.2/flair/training_utils.py
import random import logging from collections import defaultdict from enum import Enum from math import inf from pathlib import Path from typing import Union, List from torch.optim import Optimizer import flair from flair.data import Dictionary, Sentence from functools import reduce from sklearn.metrics import mean_s...
PypiClean
/asteriskrealtimedata-1.1.15-py3-none-any.whl/AsteriskRealtimeData/domain/call/call_vo.py
from datetime import datetime from dataclasses import dataclass @dataclass class CallVo: peer_name: str queue_member_name: str client_id: str dialnumber: str lastevent: datetime track_id: str call_linkedid: str call_actor_address: str call_linked: str call_transfered: str c...
PypiClean
/RCK-1.1.0.tar.gz/RCK-1.1.0/rck/utils/adj/rck_adj_process.py
import argparse import itertools import os import sys from collections import defaultdict current_file_level = 3 current_dir = os.path.dirname(os.path.realpath(__file__)) for _ in range(current_file_level): current_dir = os.path.dirname(current_dir) sys.path.append(current_dir) import rck from rck.core.io import ...
PypiClean
/sqlalchemy_lightening-0.6.0-py3-none-any.whl/sqlalchemy_lightening/association.py
import logging from sqlalchemy import event from sqlalchemy.ext.associationproxy import association_proxy from sqlalchemy.ext.declarative import declared_attr, DeclarativeMeta from sqlalchemy.orm import Mapper, RelationshipProperty, foreign from sqlalchemy.sql.schema import Column, Index from sqlalchemy.types import *...
PypiClean
/aries_cloudagent-1.0.0rc3.tar.gz/aries_cloudagent-1.0.0rc3/aries_cloudagent/wallet/default_verification_key_strategy.py
from abc import ABC, abstractmethod from typing import Optional, List from aries_cloudagent.core.profile import Profile from aries_cloudagent.wallet.key_type import KeyType from aries_cloudagent.did.did_key import DIDKey class BaseVerificationKeyStrategy(ABC): """Base class for defining which verification meth...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/desulfosporosinusorientis.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def DesulfosporosinusOrientis( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwar...
PypiClean
/vioneta-2023.7.3.tar.gz/vioneta-2023.7.3/homeassistant/components/onvif/device.py
from __future__ import annotations import asyncio from contextlib import suppress import datetime as dt import os import time from typing import Any from httpx import RequestError import onvif from onvif import ONVIFCamera from onvif.exceptions import ONVIFError from zeep.exceptions import Fault, TransportError, XMLP...
PypiClean
/blanc-basic-podcast-0.3.tar.gz/blanc-basic-podcast-0.3/blanc_basic_podcast/itunesfeed.py
from __future__ import unicode_literals from django.contrib.syndication.views import Feed from django.utils import six from django.utils.feedgenerator import Rss201rev2Feed class iTunesFeed(Rss201rev2Feed): def rss_attributes(self): attrs = super(iTunesFeed, self).rss_attributes() attrs['xmlns:it...
PypiClean
/tb-rest-client-3.5.tar.gz/tb-rest-client-3.5/tb_rest_client/models/models_pe/key_filter_predicate.py
# Copyright 2023. ThingsBoard # # 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
/vega_lite_linter-0.0.1-py3-none-any.whl/vega_lite_linter/linter/rules/intro.py
RuleIntro = { "enc_type_valid_1": "Verify the consistency of data field and type 'quantitative'.", "enc_type_valid_2": "Verify the consistency of data field and type 'temporal'.", "bin_q_o": "Only use bin on quantitative or ordinal data. ", "log_q": "Only use log scale with quantitative data.", "zer...
PypiClean
/sample-factory-2.1.1.tar.gz/sample-factory-2.1.1/sf_examples/envpool/atari/envpool_atari_utils.py
from typing import Optional from sample_factory.utils.utils import log try: import envpool except ImportError as e: print(e) print("Trying to import envpool when it is not installed. install with 'pip install envpool'") from sf_examples.atari.atari_utils import ATARI_ENVS, AtariSpec from sf_examples.envp...
PypiClean
/whooshy-2.8.13.tar.gz/whooshy-2.8.13/docs/source/ngrams.rst
============================== Indexing and searching N-grams ============================== Overview ======== N-gram indexing is a powerful method for getting fast, "search as you type" functionality like iTunes. It is also useful for quick and effective indexing of languages such as Chinese and Japanese without wor...
PypiClean
/marianoleonardo.dojot.module-0.1.5.tar.gz/marianoleonardo.dojot.module-0.1.5/dojot/module/config.py
import os class Config: ''' Main configuration class This class contains all needed configuration for this library ''' def __init__(self, config=None): ''' Config constructor :type config: dict or None :param config: A configuration dictionary. If set, all its attr...
PypiClean
/silverpeak_exporter-0.1.8-py3-none-any.whl/silverpeak_exporter/collectors.py
import inspect from pyedgeconnect import Orchestrator from time import sleep as wait from .logger import log,logToFile from .utls import confirmReturn,errorHandler,writeResult from .metrics import * import threading #--------------------------------------------------# # Application Metrics Collections #---------------...
PypiClean
/UW-RestClients-WhenIWork-1.0.3.tar.gz/UW-RestClients-WhenIWork-1.0.3/uw_wheniwork/models.py
from datetime import time from restclients_core import models class Account(models.Model): account_id = models.PositiveIntegerField(null=True) master_id = models.PositiveIntegerField(null=True) company = models.CharField(max_length=500) def __str__(self): return self.company class User(mod...
PypiClean
/iamend_ci-0.0.3.tar.gz/iamend_ci-0.0.3/src/iamend_ci/theo.py
import numpy import scipy.integrate import scipy.special import scipy from iamend_ci.ax import * ################################################################################################# ################################################################################################# ###########################...
PypiClean
/pyplwnxml-1.1.tar.gz/pyplwnxml-1.1/README.rst
pyplwnxml ============================= Parser for plwnxml (format of polish wordnet, słowosieć, http://nlp.pwr.wroc.pl/plwordnet/download/). ----- Usage example ---------------------------- :: from pyplwnxml import PlwnxmlParser WORDNET_LOCATION = "plwordnet-3.0.xml" if __name__ == "__main__": ...
PypiClean
/zope.html-2.4.2.zip/zope.html-2.4.2/src/zope/html/ckeditor/3.6.2/ckeditor/_source/core/dataprocessor.js
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the "virtual" {@link CKEDITOR.dataProcessor} class, which * defines the basic structure of data processor objects to be * set to {@link CKED...
PypiClean
/FunID-0.3.16.2.tar.gz/FunID-0.3.16.2/funid/src/tree_interpretation_pipe.py
from ete3 import Tree from funid.src import tree_interpretation from funid.src.tool import initialize_path, get_genus_species from funid.src.hasher import encode, decode from funid.src.reporter import Singlereport from copy import deepcopy import pandas as pd import re import sys, os import shutil import logging import...
PypiClean
/gmx_clusterByFeatures-0.1.17-cp36-cp36m-macosx_10_13_x86_64.whl/gmx_clusterByFeatures/featuresplotter.py
import csv import numpy as np import sys import re import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt from collections import OrderedDict class FeaturesPlotter: def __init__(self, inputfile, clidfile, featuresfile, nFeatures=None, clusterlogfile=None, begin=0, end=-1): self.inputfile...
PypiClean
/superset-2.0.0-custom-test-0.0.1.tar.gz/superset-2.0.0-custom-test-0.0.1/superset/connectors/base/models.py
from __future__ import annotations import json from datetime import datetime from enum import Enum from typing import Any, Dict, Hashable, List, Optional, Set, Type, TYPE_CHECKING, Union from flask_appbuilder.security.sqla.models import User from flask_babel import gettext as __ from sqlalchemy import and_, Boolean, ...
PypiClean
/satellite_constellation-0.2.2-py3-none-any.whl/satellite_constellation/Satellite.py
from math import pi from .utils import heavenly_body_radius import warnings class Satellite(object): def __init__(self, name, altitude, eccentricity, inclination, right_ascension, perigee, ta, beam, focus="earth", rads=True): self._name = name self._altitude = altitude se...
PypiClean
/torch_ecg-0.0.27.tar.gz/torch_ecg-0.0.27/torch_ecg/preprocessors/preproc_manager.py
import warnings from random import sample from typing import List, Optional, Tuple import torch import torch.nn as nn from ..utils.misc import ReprMixin from .bandpass import BandPass from .baseline_remove import BaselineRemove from .normalize import Normalize from .resample import Resample __all__ = [ "Preproc...
PypiClean
/stoq-4.7.0.tar.gz/stoq-4.7.0/stoqlib/lib/barcode.py
## ## Copyright (C) 2010 Async Open Source ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU Lesser General Public License ## as published by the Free Software Foundation; either version 2 ## of the License, or (at your option) any later version. ## ## This pro...
PypiClean
/RsCMPX_LteMeas-4.0.185.tar.gz/RsCMPX_LteMeas-4.0.185/RsCMPX_LteMeas/Implementations/Configure/LteMeas/Prach/Result.py
from .....Internal.Core import Core from .....Internal.CommandsGroup import CommandsGroup from .....Internal import Conversions from .....Internal.StructBase import StructBase from .....Internal.ArgStruct import ArgStruct # noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection class ResultCls: """...
PypiClean
/azure-cli-2.51.0.tar.gz/azure-cli-2.51.0/azure/cli/command_modules/network/aaz/latest/network/application_gateway/auth_cert/_show.py
# pylint: skip-file # flake8: noqa from azure.cli.core.aaz import * @register_command( "network application-gateway auth-cert show", ) class Show(AAZCommand): """Show an authorization certificate. :example: Show an authorization certificate. az network application-gateway auth-cert show -g MyRe...
PypiClean
/fhirclientr4e-4.0.8.tar.gz/fhirclientr4e-4.0.8/fhirclient/models/media.py
from . import domainresource class Media(domainresource.DomainResource): """ A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference. """ resource_type = "Media" _attribute_docstrings = {} """ Dictionary of attr...
PypiClean
/django_FBO-4.1.0-py3-none-any.whl/django_FBO/file_objects.py
from django.core.exceptions import ( ObjectDoesNotExist, MultipleObjectsReturned, ) from django.db.models.fields import TextField import json import yaml class Options: verbose_name = None verbose_name_plural = None app_label = None model_name = None def __init__(self, **kwargs): ...
PypiClean
/nnisgf-0.4-py3-none-manylinux1_x86_64.whl/nnisgf-0.4.data/data/nni/node_modules/from2/README.md
# from2 [![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=hughskennedy&url=http://github.com/hughsk/from2&title=from2&description=hughsk/from2%20on%20GitHub&language=en_GB&tags=flattr,github,javascript&category=software)[![experimental](http://hughsk.github.i...
PypiClean
/psycopg2da-2.0.9.tar.gz/psycopg2da-2.0.9/examples/copy_to.py
## put in DSN your DSN string DSN = 'dbname=test' ## don't modify anything below tis line (except for experimenting) import sys import os import StringIO import psycopg2 if len(sys.argv) > 1: DSN = sys.argv[1] print "Opening connection using dns:", DSN conn = psycopg2.connect(DSN) print "Encoding for this con...
PypiClean
/comt-2.6.4.tar.gz/comt-2.6.4/src/cm/media/js/lib/yui/yui3-3.15.0/build/selector-native/selector-native-debug.js
YUI.add('selector-native', function (Y, NAME) { (function(Y) { /** * The selector-native module provides support for native querySelector * @module dom * @submodule selector-native * @for Selector */ /** * Provides support for using CSS selectors to query the DOM * @class Selector * @static * @for Selector ...
PypiClean
/file-or-name-1.1.6.tar.gz/file-or-name-1.1.6/README.rst
------------ File Or Name ------------ .. image:: https://img.shields.io/pypi/v/file-or-name :target: https://pypi.org/project/file-or-name/ :alt: PyPI Version .. image:: https://github.com/blester125/file-or-name/workflows/Unit%20Test/badge.svg :target: https://github.com/blester125/file-or-name/acti...
PypiClean
/arzuhal-0.0.21.tar.gz/arzuhal-0.0.21/balcony/reader.py
import jmespath from rich.progress import Progress, track, BarColumn, TextColumn, TaskProgressColumn, TimeRemainingColumn from rich.table import Column from balcony.utils import compare_two_camel_case_words, str_relations, ifind_similar_names_in_list from balcony.botocore_utils import READ_ONLY_VERBS from balcony.relat...
PypiClean
/mayan-edms-4.4.8.tar.gz/mayan-edms-4.4.8/mayan/apps/document_states/views/workflow_template_views.py
from django.contrib import messages from django.template import RequestContext from django.urls import reverse_lazy from django.utils.translation import ugettext_lazy as _ from mayan.apps.acls.models import AccessControlList from mayan.apps.documents.models.document_models import Document from mayan.apps.documents.mod...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/applications/item/logo/logo_request_builder.py
from __future__ import annotations from dataclasses import dataclass from kiota_abstractions.get_path_parameters import get_path_parameters from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAdapter from kiota_abstractions.request_information import RequestInformation fro...
PypiClean
/aukpy-1.0.0.tar.gz/aukpy-1.0.0/README.md
# aukpy [![CircleCI](https://circleci.com/gh/vluzko/aukpy.svg?style=shield)](https://circleci.com/gh/vluzko/aukpy) [![Documentation Status](https://readthedocs.org/projects/aukpy/badge/?version=latest)](https://aukpy.readthedocs.io/en/latest/?badge=latest) A reimplementation of [auk](https://github.com/CornellLabofOrn...
PypiClean
/djbs-0.1.4.tar.gz/djbs-0.1.4/django/template/loader_tags.py
import posixpath from collections import defaultdict from django.utils.safestring import mark_safe from .base import Node, Template, TemplateSyntaxError, TextNode, Variable, token_kwargs from .library import Library register = Library() BLOCK_CONTEXT_KEY = "block_context" class BlockContext: def __init__(self...
PypiClean
/taskcc-alipay-sdk-python-3.3.398.tar.gz/taskcc-alipay-sdk-python-3.3.398/alipay/aop/api/domain/InboundOrder.py
import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.SenderInfoVO import SenderInfoVO class InboundOrder(object): def __init__(self): self._ext_info = None self._inbound_type = None self._out_biz_no = None self._remark = None self._s...
PypiClean
/django-arquea-2.4.17.tar.gz/django-arquea-2.4.17/configuracao/migrations/0001_initial.py
from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0001_initial'), ] operations = [ migrations.CreateModel( name='Cheque', fields=[ ('id', mod...
PypiClean
/md_translate-3.0.4-py3-none-any.whl/md_translate/application.py
import logging import multiprocessing from pathlib import Path from typing import TYPE_CHECKING import click from md_translate.document import MarkdownDocument from md_translate.exceptions import NoMdFilesFound, NoTargetFileFound if TYPE_CHECKING: from md_translate.settings import Settings class Application: ...
PypiClean
/vivid3d-1.0.0.tar.gz/vivid3d-1.0.0/lib/ImportExport/assimp/contrib/openddlparser/README.md
The OpenDDL-Parser ================== The OpenDDL-Parser is a small and easy to use library for OpenDDL-file-format-parsing. OpenDDL is the shortcut for Open Data Description Language, a data-declaration language introduced by Eric Lengyel. Please check http://openddl.org/ if you want to learn more about it. Build st...
PypiClean