id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/lantern-sl-1.1.31.tar.gz/lantern-sl-1.1.31/lantern_sl/serverless/crud.py
from __future__ import absolute_import import inspect from marshmallow import Schema, fields from lantern_sl.utils.dynamo import unique_id from lantern_sl.utils.time import current_ts from lantern_sl.utils.json import json_decimal_to_float from lantern_sl.utils.request import http_response, http_error from lantern_sl....
PypiClean
/formification-1.2.0-py3-none-any.whl/formulaic/static/admin/formulaic/ember-formulaic/node_modules/ember-toastr/LICENSE.md
The MIT License (MIT) Copyright (c) 2015 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, distrib...
PypiClean
/pybats-detection-0.2.1.tar.gz/pybats-detection-0.2.1/src/pybats_detection/intervention.py
import copy import pybats import numpy as np import pandas as pd from scipy import stats from typing import List from pybats_detection.smooth import Smoothing from pybats_detection.utils import tidy_parameters class Intervention: """Bayesian Intervention analysis. Perform intervention analysis on Dynamic Lin...
PypiClean
/contrib-extension-0.0.1.1909230047rc0.tar.gz/contrib-extension-0.0.1.1909230047rc0/README.md
# contrib extension ## Introduction ์ž์‹ ์ด ์ง์ ‘ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๊ตฌํ˜„ํ• ๋•Œ contrib ํ˜•ํƒœ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ด€๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค๋ฉด contrib extension ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋Š” ์ž์‹ ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ root์—์„œ ํ•˜์œ„ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ ‘๊ทผํ•˜๋Š” ๋ฐ์— ๋„์›€์„ ์ค„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. If you use library management in the form of a content library when you implement your own library, the content extension library can help you access sub libra...
PypiClean
/django-admin-honeypot-advanced-1.0.1.tar.gz/django-admin-honeypot-advanced-1.0.1/admin_honeypot/admin.py
from django.contrib import admin from django.utils.html import format_html from django.utils.translation import gettext_lazy as _ from admin_honeypot.models import LoginAttempt, HashcashMetadata, Preferences, FakeUser class LoginAttemptAdmin(admin.ModelAdmin): list_display = ('username', 'get_ip_address', 'get_s...
PypiClean
/google-cloud-vmwareengine-1.1.1.tar.gz/google-cloud-vmwareengine-1.1.1/google/cloud/vmwareengine_v1/services/vmware_engine/async_client.py
from collections import OrderedDict import functools import re from typing import ( Dict, Mapping, MutableMapping, MutableSequence, Optional, Sequence, Tuple, Type, Union, ) from google.api_core import exceptions as core_exceptions from google.api_core import gapic_v1 from google.ap...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/admin/windows/updates/deployments/item/audience/exclusions/windows_updates_unenroll_assets_by_id/windows_updates_unenroll_assets_by_id_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
/opt_einsum-3.3.0-py3-none-any.whl/opt_einsum/sharing.py
import contextlib import functools import numbers import threading from collections import Counter, defaultdict from .parser import alpha_canonicalize, parse_einsum_input __all__ = [ "currently_sharing", "get_sharing_cache", "shared_intermediates", "count_cached_ops", "transpose_cache_wrap", "einsum_cache_wra...
PypiClean
/cairo-lang-0.12.2a0.zip/cairo-lang-0.12.2a0/starkware/cairo/lang/compiler/preprocessor/reg_tracking.py
import dataclasses from abc import ABC, abstractmethod from typing import Callable, Union from starkware.cairo.lang.compiler.ast.expr import ExprConst, Expression RegChangeLike = Union[Union[int, Expression, "RegChange"]] class RegChange(ABC): """ Represents a change in the value of a register. Can be e...
PypiClean
/llm_toys-0.1.1-py3-none-any.whl/llm_toys/hf/transformers/pipelines/token_classification.py
import types import warnings from typing import List, Optional, Tuple, Union import numpy as np from ..models.bert.tokenization_bert import BasicTokenizer from ..utils import ( ExplicitEnum, add_end_docstrings, is_tf_available, is_torch_available, ) from .base import PIPELINE_INIT_ARGS, ArgumentHandle...
PypiClean
/ifomagic-0.0.5-py3-none-any.whl/magic/utils/optics/optical_thickness.py
from copy import deepcopy import numpy as np def calculate(ifo): # Assign parameters params = deepcopy(ifo.parameters) # Assign parameters mirror = params['substrate_material'].properties n_s = mirror['r_index'] n_l = params['coating_lown_index'] n_h = params['coating_highn_index'] T...
PypiClean
/comt-2.6.4.tar.gz/comt-2.6.4/src/cm/media/js/lib/yui/yui3-3.15.0/build/datatable-scroll/datatable-scroll-debug.js
YUI.add('datatable-scroll', function (Y, NAME) { /** Adds the ability to make the table rows scrollable while preserving the header placement. @module datatable-scroll @for DataTable @since 3.5.0 **/ var YLang = Y.Lang, isString = YLang.isString, isNumber = YLang.isNumber, isArray = YLang.isArray, S...
PypiClean
/noumak_border_bot-0.0.38.tar.gz/noumak_border_bot-0.0.38/queue_bot/keyboard/base_keyboard/base.py
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton from queue_bot.middleware import _ __all__ = ( "ikb_menu", "ikb_main", "ikb_poland", "ikb_lithuania", "ikb_latvia", "ikb_tiket", "ikb_admin", "ikb_back_help", "ikb_lk", "ikb_lk_add_number", "ikb_lk_edit_num...
PypiClean
/tensorflow_constrained_optimization-0.2.tar.gz/tensorflow_constrained_optimization-0.2/tensorflow_constrained_optimization/python/rates/expression.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import abc import numbers import six from tensorflow_constrained_optimization.python.rates import basic_expression from tensorflow_constrained_optimization.python.rates import constraint from tensorflow_constr...
PypiClean
/nm_transformers_nightly-1.6.0.20230829-py3-none-any.whl/transformers/models/auto/configuration_auto.py
""" Auto Config class.""" import importlib import os import re import warnings from collections import OrderedDict from typing import List, Union from ...configuration_utils import PretrainedConfig from ...dynamic_module_utils import get_class_from_dynamic_module, resolve_trust_remote_code from ...utils import CONFIG_...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/hybridcompute/private_endpoint_connection.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilities, _tables from . import outputs from ._inputs import * __all__ = ['PrivateEndpointConnection'] class PrivateEndpointConnection(pulumi.CustomResource): def __init__(__self__, ...
PypiClean
/RealThreading-0.0.1.tar.gz/RealThreading-0.0.1/rt/thread.py
import os as _os import dill as _dill from ._launcher import Launcher as _la class IsoThread: threads = [] @classmethod def join(cls): """Equal to Thread.join""" from timeit import default_timer temp = default_timer() for i in cls.threads: i.wait() retu...
PypiClean
/azure-mgmt-monitor-6.0.2.tar.gz/azure-mgmt-monitor-6.0.2/azure/mgmt/monitor/v2022_06_01/aio/operations/_data_collection_rules_operations.py
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload import urllib.parse from azure.core.async_paging import AsyncItemPaged, AsyncList from azure.core.exceptions import ( ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, ...
PypiClean
/pandalchemize-0.1.1.tar.gz/pandalchemize-0.1.1/README.md
# pandalchemize: an intuitive combination of Pandas and sqlalchemy to manipulate sql databases with pandas ## What is it? **pandalchemize** is a Python package that lets Data Scientists create and manipulte sql databases with the Pandas package that they know and love without needing to learn the ins and outs of sq...
PypiClean
/toga-cocoa-0.3.1.tar.gz/toga-cocoa-0.3.1/src/toga_cocoa/fonts.py
from toga.fonts import ( BOLD, CURSIVE, FANTASY, ITALIC, MESSAGE, MONOSPACE, SANS_SERIF, SERIF, SMALL_CAPS, SYSTEM, SYSTEM_DEFAULT_FONT_SIZE, ) from toga_cocoa.libs import ( NSAttributedString, NSFont, NSFontAttributeName, NSFontManager, NSFontMask, NS...
PypiClean
/PySDM_examples-2.25-py3-none-any.whl/PySDM_examples/Abdul_Razzak_Ghan_2000/data_from_ARG2000_paper.py
Fig1_N2_obs = [ 0, 90.2394106813997, 399.6316758747698, 904.2357274401473, 1906.0773480662983, 4926.33517495396, ] Fig1_AF_obs = [ 0.7935943060498221, 0.7124555160142347, 0.594306049822064, 0.48185053380782916, 0.34946619217081853, 0.17580071174377226, ] Fig1_N2_param = [...
PypiClean
/gw-phenom-1.0.1.tar.gz/gw-phenom-1.0.1/phenom/utils/utils.py
from __future__ import division from numpy import sqrt, pi, absolute, ndarray, asarray, concatenate, zeros, max, dot, exp, arctan2, cos, sin, arange from numpy.linalg import norm class Constants: # >>> import lal # >>> print lal.MTSUN_SI # 4.92549102554e-06 MTSUN_SI = 4.92549102554e-06 MSUN_SI = 1....
PypiClean
/GENDIS-1.0.14.tar.gz/GENDIS-1.0.14/gendis/other/fast.py
import other_util from tqdm import trange class LRUCache(): def __init__(self, size=5): self.values = [] self.size = size def put(self, value): while len(self.values) >= self.size: self.values.remove(self.values[0]) self.values.append(value) class FastExtractor():...
PypiClean
/roof-mask-0.5.4.tar.gz/roof-mask-0.5.4/utils/segment/metrics.py
import numpy as np from ..metrics import ap_per_class def fitness(x): # Model fitness as a weighted combination of metrics w = [0.0, 0.0, 0.1, 0.9, 0.0, 0.0, 0.1, 0.9] return (x[:, :8] * w).sum(1) def ap_per_class_box_and_mask( tp_m, tp_b, conf, pred_cls, target_...
PypiClean
/pyDR-0.1.3.tar.gz/pyDR-0.1.3/README.md
# pyDR beta 0.1 - August 2016 Authors: Maximilian Balandat, Clay Campaigne, Lillian Ratliff Python package for simulating behavior and quantifying welfare effects of electricity consumers facing various dynamic pricing schemes. This package is the basis for the results reported in: *C. Campaigne, M. Balandat and L. R...
PypiClean
/tensorflow_rocm_enhanced-2.4.3-cp36-cp36m-manylinux1_x86_64.whl/tensorflow/python/ops/linalg/linear_operator_algebra.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import itertools from tensorflow.python.framework import ops from tensorflow.python.util import tf_inspect _ADJOINTS = {} _CHOLESKY_DECOMPS = {} _MATMUL = {} _SOLVE = {} _INVERSES = {} def _registered_func...
PypiClean
/evoclearn_plt-0.1.0-py3-none-any.whl/evoclearn/plt/_plt.py
from xml.etree import ElementTree from tempfile import NamedTemporaryFile import cairosvg from svgpathtools import svg2paths, Path import matplotlib.pyplot as plt import matplotlib.image as pli import matplotlib.animation as animation import numpy as np from evoclearn.core import VOCALTRACT_PARAMS from evoclearn.cor...
PypiClean
/obob_mne-0.0.19.tar.gz/obob_mne-0.0.19/obob_mne/decoding/temporal.py
import mne import copy import numpy import logging from .helpers import _get_Y_from_metadata class TemporalArray(mne.EvokedArray): """Base class for temporal decoding. Parameters ---------- raw_scores : :class:`numpy.ndarray` shape (n_times) or (n_folds, n_times) The scores of the classific...
PypiClean
/vtk-9.3.20230807rc0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/vtkmodules/gtk/GtkVTKRenderWindow.py
import gtk, GDK, gtkgl from vtkmodules.vtkRenderingCore import vtkCellPicker, vtkProperty, vtkRenderWindow import math class GtkVTKRenderWindowBase(gtkgl.GtkGLArea): """ A base class that enables one to embed a vtkRenderWindow into a pyGTK widget. This class embeds the RenderWindow correctly. Provided a...
PypiClean
/crams_member-1.0.0.tar.gz/crams_member-1.0.0/README.rst
Crams Member Package =========================== Crams Member is a Django app package for CRAMS api open source. Detailed documentation is in the "docs" directory. Souce code is available at https://github.com/CRAMS-Dashboard/crams-api Quick start ----------- 1. Add "crams_member" to your INSTALLED_APPS setting like...
PypiClean
/jdcloud_sdk-1.6.243.tar.gz/jdcloud_sdk-1.6.243/jdcloud_sdk/services/redis/apis/ModifyAnalysisThreshold2Request.py
# Copyright 2018 JDCLOUD.COM # # 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 writing,...
PypiClean
/skytime-0.16.1-py3-none-any.whl/build/lib/build/lib/build/lib/sktime/performance_metrics/forecasting/__init__.py
__author__ = ["mloning", "Tomasz Chodakowski", "aiwalter", "RNKuhns"] __all__ = [ "make_forecasting_scorer", "MeanAbsoluteScaledError", "MedianAbsoluteScaledError", "MeanSquaredScaledError", "MedianSquaredScaledError", "MeanAbsoluteError", "MeanSquaredError", "MedianAbsoluteError", "...
PypiClean
/tokyo_jpx-0.0.39-py3-none-any.whl/train/trainer.py
import torch import torch.nn as nn torch.manual_seed(0) # import pytorch_lightning as pl import torch import torch.nn.functional as F import torch.nn as nn import torch.optim as optim import torchmetrics as TM # pl.utilities.seed.seed_everything(seed=42) from torch import nn, Tensor import math from metrics.metrics im...
PypiClean
/lorm-1.0.12.tar.gz/lorm-1.0.12/README.rst
Lorm: A light weight mysql client library. ========================================== .. image:: https://img.shields.io/pypi/v/lorm.svg :target: https://pypi.python.org/pypi/lorm Lorm is a light weight mysql client library for Python. Built-in connection pool, Django style lookup expressions. Installation -----...
PypiClean
/prettycopy-0.2.1.tar.gz/prettycopy-0.2.1/README.md
# prettycopy A beginner-friendly library for clean, format-friendly copy-pasting. [![License](https://img.shields.io/github/license/hippothebrave/prettycopy)](https://github.com/hippothebrave/prettycopy/blob/main/LICENSE) [![GitHub issues](https://img.shields.io/github/issues/hippothebrave/prettycopy)](https://github....
PypiClean
/Products.PythonScripts-5.0-py3-none-any.whl/Products/PythonScripts/standard.py
from urllib.parse import urlencode # NOQA from AccessControl.SecurityInfo import ModuleSecurityInfo from AccessControl.SecurityManagement import getSecurityManager from App.special_dtml import HTML from DocumentTemplate.DT_Var import dollars_and_cents # NOQA from DocumentTemplate.DT_Var import html_quote # NOQA fro...
PypiClean
/pyvidcompress-0.0.5-py3-none-any.whl/base/util.py
from base.config import Config from math import log10, sqrt from enum import Enum import numpy as np import cv2 import os import sys import skvideo.io class Channel(Enum): RED = 0 GREEN = 1 BLUE = 2 def get_channels(tensor, channels): if len(channels) == 3: return tensor red = tensor[:,...
PypiClean
/fusion_platform_python_sdk-1.8.1-py3-none-any.whl/fusion_platform/models/process_execution.py
import i18n from marshmallow import Schema, EXCLUDE from time import sleep from fusion_platform.models import fields from fusion_platform.models.model import Model, ModelError from fusion_platform.models.process_service_execution import ProcessServiceExecution from fusion_platform.session import Session # Define the...
PypiClean
/table-linker-0.9.tar.gz/table-linker-0.9/tl/cli/score-using-embedding.py
import sys import traceback import typing import argparse from tl.exceptions import TLException from tl.utility.logging import Logger def parser(): return { 'help': 'Score candidates using pre-computed embedding vectors, either from a file or from elasticsearch.' } def add_arguments(parser): # ...
PypiClean
/Mogonet-0.0.2.tar.gz/Mogonet-0.0.2/src/mogonet/utils.py
import os import numpy as np import torch import torch.nn.functional as F cuda = True if torch.cuda.is_available() else False def cal_sample_weight(labels, num_class, use_sample_weight=True): if not use_sample_weight: return np.ones(len(labels)) / len(labels) count = np.zeros(num_class) for i in ...
PypiClean
/pysatSpaceWeather-0.0.10.tar.gz/pysatSpaceWeather-0.0.10/.github/pull_request_template.md
# Description Addresses # (issue) Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Please see ``CONTRIBUTING.md`` for more guidelines. # Type of change Please delete options that are not re...
PypiClean
/vws-python-mock-2023.5.21.tar.gz/vws-python-mock-2023.5.21/src/mock_vws/_services_validators/image_validators.py
import binascii import io import json import logging from http import HTTPStatus from PIL import Image from mock_vws._base64_decoding import decode_base64 from mock_vws._services_validators.exceptions import ( BadImage, Fail, ImageTooLarge, ) _LOGGER = logging.getLogger(__name__) def validate_image_for...
PypiClean
/pism_palseries-0.1.0-py3-none-any.whl/pism_palseries.py
import sys from time import strftime import netCDF4 as nc4 import numpy as np _NOAA = 'https://www1.ncdc.noaa.gov/pub/data/paleo/' _NOAA_ANTARCTICA = _NOAA + 'icecore/antarctica/' _NOAA_GREENLAND = _NOAA + 'icecore/greenland/' RECORDS = dict( lapaz21p=dict( fname=_NOAA+'contributions_by_author/herbert2001...
PypiClean
/iw.recipe.backup-0.2.1.tar.gz/iw.recipe.backup-0.2.1/iw/recipe/backup/archive.py
import os import sys import logging from tempfile import mkdtemp from tarfile import TarFile from tarfile import ExtractError from datetime import datetime join = os.path.join from iw.recipe.backup.testing import get_input from iw.recipe.backup.filestorage import backup_fs if sys.version_info[0:2] < (2, 5): # th...
PypiClean
/cfdi_to_xml-0.0.4-py3-none-any.whl/cfdi_to_xml/cfdv40/comprobante.py
from dataclasses import dataclass, field from decimal import Decimal from typing import List, Optional from .c_exportacion import CExportacion from .c_forma_pago import CFormaPago from .c_impuesto import CImpuesto from .c_meses import CMeses from .c_metodo_pago import CMetodoPago from .c_moneda import CMoneda from .c_...
PypiClean
/gemseo-matlab-1.0.0.tar.gz/gemseo-matlab-1.0.0/src/gemseo_matlab/matlab_data_processor.py
from __future__ import annotations from copy import copy from pathlib import Path from typing import Mapping from typing import MutableMapping import matlab import scipy.io from gemseo.core.data_processor import DataProcessor from numpy import array from numpy import iscomplexobj from numpy import ndarray class Mat...
PypiClean
/tensorflow_macos-2.14.0rc0-cp311-cp311-macosx_12_0_arm64.whl/tensorflow/python/ops/critical_section_ops.py
"""Critical Section object and execution logic.""" import collections import contextlib import threading from tensorflow.python.eager import context from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import ...
PypiClean
/loliglio-0.0.4.tar.gz/loliglio-0.0.4/README.md
![Loliglio web page banner](https://2640050380-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbu0mjMsSISfI64girFHC%2Fuploads%2FG1C5v7BsnxAxB13665Xl%2FNew%20Project%20(7).png?alt=media&token=c1c5a408-9834-4178-a89a-31a6b393c9e2) # Loliglio ## Riot API made easy! Loliglio allows you to extract data ...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/lacinutrixsppamc27137.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def LacinutrixSpPamc27137( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs: ...
PypiClean
/dl_pipeline-0.0.1.tar.gz/dl_pipeline-0.0.1/README.md
# dl_pipeline > A general deep learning pipeline (in construction) for kaggle competitions and other projects. ## Install Setup with pip: `pip install dl_pipeline` Clone and editable setup: ```bash git clone https://github.com/mnpinto/dl_pipeline cd dl_pipeline pip install -e . ``` ## Rainforest Connection Specie...
PypiClean
/nm_transformers_nightly-1.6.0.20230829-py3-none-any.whl/transformers/models/markuplm/tokenization_markuplm_fast.py
import json from functools import lru_cache from typing import Dict, List, Optional, Tuple, Union from tokenizers import pre_tokenizers, processors from ...file_utils import PaddingStrategy, TensorType, add_end_docstrings from ...tokenization_utils_base import ( ENCODE_KWARGS_DOCSTRING, BatchEncoding, Enc...
PypiClean
/Monzo%20API-0.3.0.tar.gz/Monzo API-0.3.0/README.rst
Monzo API ===================================== The Monzo API package allows you to interact with the API provided by Monzo bank. DISCLAIMER ------------------------------------- Before using this package it is important to understand that the Monzo API should only be used for non-public projects hosted securely. Pl...
PypiClean
/PyForms_Web-4.2.0-py3-none-any.whl/pyforms_web/web/static/jqplot/plugins/jqplot.highlighter.js
(function($) { $.jqplot.eventListenerHooks.push(['jqplotMouseMove', handleMove]); /** * Class: $.jqplot.Highlighter * Plugin which will highlight data points when they are moused over. * * To use this plugin, include the js * file in your source: * * > <script type="tex...
PypiClean
/aiocea-0.1.tar.gz/aiocea-0.1/README.md
# aiocea ๅผ‚ๆญฅๆ•ฐๅญ—่ดงๅธไบคๆ˜“ๆ‰€ๆŽฅๅฃๆก†ๆžถ aioceaๆ˜ฏ ๅŸบไบŽasynico ไธŽaiohttp็š„ๆ•ฐๅญ—่ดงๅธไบคๆ˜“ๆ‰€ๆŽฅๅฃๆ•ดๅˆๆก†ๆžถใ€‚่ฏฅๆก†ๆžถๅฐ่ฃ…ไบ†ๅธๅฎ‰ไบคๆ˜“ๆ‰€็š„API(ๆœชๆฅๅฐ†ๆ”ฏๆŒๆ›ดๅคšไบคๆ˜“ๆ‰€), ๅฎž็Žฐไบ†ไธฒ่กŒ,ๅนถๅ‘, ไธฒ่กŒไธŽๅนถๅ‘ๆททๅˆๆ‰ง่กŒ็š„ ็ฝ‘็ปœ่ฏทๆฑ‚ไปปๅŠกใ€‚ ่ฏฅๆก†ๆžถ้€ป่พ‘ๆธ…ๆ™ฐ๏ผŒ ## Getting Started : ๅฟซ้€Ÿ็†่งฃๆก†ๆžถไธŽ้€ป่พ‘ ไธ€ไธชๅผ‚ๆญฅ็ฝ‘็ปœ่ฏทๆฑ‚็งฐไน‹ไธบไธ€ไธชไปปๅŠก(Task), ๆ•ดไธชๆก†ๆžถ็š„่ฐƒ็”จๆ˜ฏไปปๅŠก้ฉฑๅŠจๅž‹็š„๏ผŒไธ”ๅ…ทๆœ‰ๆ ‡ๅ‡†็š„ๆต็จ‹ใ€‚ไฝ†ๆก†ๆžถ็š„่ฎพ่ฎกไป็„ถๆไพ›ไบ†่ถณๅคŸๅคš็š„็ตๆดปๆ€งใ€‚ๅฎŒๆˆไปปไฝ•ไธ€ไธช็‰นๅฎš็š„ๅŠ ๅฏ†ๆ•ฐๅญ—่ดงๅธๆŽฅๅฃ่ฏทๆฑ‚ไปปๅŠก้ƒฝ่ฆ็ป่ฟ‡ไปฅไธ‹ๅ‡ ไธชๆญฅ้ชค: ### 1. ๅฎžไพ‹ไบคๆ˜“ๆ‰€API aiocea ๅœจutils.py ไธญๅฐ่ฃ…ไบ†ไบคๆ˜“ๆ‰€Restful API่ฏท...
PypiClean
/dash_svg-0.0.12.tar.gz/dash_svg-0.0.12/dash_svg/_imports_.py
from .Animate import Animate from .Circle import Circle from .ClipPath import ClipPath from .Defs import Defs from .Desc import Desc from .Ellipse import Ellipse from .FeBlend import FeBlend from .FeColorMatrix import FeColorMatrix from .FeComponentTransfer import FeComponentTransfer from .FeComposite import FeComposit...
PypiClean
/gevent-pika-0.3.tar.gz/gevent-pika-0.3/README.rst
Pika ==== Pika is a RabbitMQ (AMQP-0-9-1) client library for Python. |Version| |Status| |Coverage| |License| |Docs| Introduction ------------- Pika is a pure-Python implementation of the AMQP 0-9-1 protocol including RabbitMQ's extensions. - Python 2.6+ and 3.3+ are supported. - Since threads aren't appropriate to ...
PypiClean
/refreshable-1.0.2.tar.gz/refreshable-1.0.2/src/refreshable.py
import collections import imp import inspect import threading import time import traceback class SafeRefreshMixin(object): """ Provides a `.refresh()` method to reload a class Adding the `SafeRefreshMixin` to a class allows you to "refresh" the class using the `.refresh()` method. This method reloads the...
PypiClean
/MVEn-1.1.7.tar.gz/MVEn-1.1.7/datasets/dtu_yao.py
from torch.utils.data import Dataset import numpy as np import os from PIL import Image from datasets.data_io import * import cv2 import random class MVSDataset(Dataset): def __init__(self, datapath, listfile, mode, nviews, robust_train = False): super(MVSDataset, self).__init__() self.stages = 4...
PypiClean
/cyclonedx_python_lib-4.1.0-py3-none-any.whl/cyclonedx/model/dependency.py
# This file is part of CycloneDX Python Lib # # 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...
PypiClean
/contrail_sansmodels-2.1.0.tar.gz/contrail_sansmodels-2.1.0/src/sans/models/Schulz.py
############################################################################## # This software was developed by the University of Tennessee as part of the # Distributed Data Analysis of Neutron Scattering Experiments (DANSE) # project funded by the US National Science Foundation. # # If you use DANSE applications to d...
PypiClean
/safepass-1.0.8.tar.gz/safepass-1.0.8/README.md
[![Build Status](https://travis-ci.com/cmccandless/safepass.svg?branch=master)](https://travis-ci.com/cmccandless/safepass)[![PyPI version](https://badge.fury.io/py/safepass.svg)](https://badge.fury.io/py/safepass)[![Updates](https://pyup.io/repos/github/cmccandless/safepass/shield.svg)](https://pyup.io/repos/github/cm...
PypiClean
/nuclia-1.1.10.tar.gz/nuclia-1.1.10/CHANGELOG.md
# Changelog ## 1.1.10 (2023-08-30) - Align Python version requirement with nuclia_sdk - Fix Local nucliadb default retrieval ## 1.1.9 (2023-08-30) - Relax requirements on PyYaml ## 1.1.8 (2023-08-30) - Adding support for local NucliaDB - Fix `--show` when passing a single value ## 1.1.7 (2023-08-28) - Se...
PypiClean
/dsin100daysv31-6.0.1.tar.gz/dsin100daysv31-6.0.1/notebook/static/components/MathJax/localization/he/FontWarnings.js
MathJax.Localization.addTranslation("he","FontWarnings",{version:"2.7.7",isLoaded:true,strings:{webFont:"MathJax \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D1\u05D2\u05D5\u05E4\u05E0\u05D9 \u05E8\u05E9\u05EA \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E6\u05D9\u05D2 \u05DE\u05EA\u05DE\u05D8\u05D9\u05E7\u05D4 \u05D1\u05D3\u05DA \u05D4\u...
PypiClean
/ndx-ecog-0.1.1.tar.gz/ndx-ecog-0.1.1/README.md
# ndx-ecog Extension for NWB:N Author: Ben Dichter There are three data types, `Surface`, `CorticalSurfaces`, and `ECoGSubject`. `CorticalSurfaces` is simply a group (like a folder) to put `Surface` objects into. `Surface` holds surface mesh data (vertices and triangular faces) for sections of cortex. `ECoGSubject` i...
PypiClean
/cdk_sops_secrets-1.1.171-py3-none-any.whl/cdk_sops_secrets/__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 aws_cdk as _aws_cdk_ceddda9d import aws_cdk.aws_iam as _aws_cdk_aws_iam_ceddda9d import aws_cdk.aws_kms as _aws_cdk_aws_kms_ceddda...
PypiClean
/zepben.cimbend-0.16.0b1.tar.gz/zepben.cimbend-0.16.0b1/src/zepben/cimbend/cim/iec61970/base/core/terminal.py
from __future__ import annotations from typing import Optional from weakref import ref, ReferenceType from zepben.cimbend.cim.iec61970.base.core.identified_object import IdentifiedObject from zepben.cimbend.cim.iec61970.base.core.phase_code import PhaseCode from zepben.cimbend.model.phases import TracedPhases __all...
PypiClean
/deepgnn_ge-0.1.60-py3-none-win_amd64.whl/deepgnn/graph_engine/multihop.py
"""Multihop neighbor sampling on graph.""" import numpy as np from typing import Tuple from deepgnn.graph_engine._base import Graph def _sample_neighbors( graph: Graph, nodes: np.ndarray, edge_types: np.ndarray, count: int, sampling_strategy: str, default_node: int, ) -> Tuple[np.ndarray, np....
PypiClean
/gamification-engine-0.4.0.tar.gz/gamification-engine-0.4.0/gengine/app/jsscripts/node_modules/react-fontawesome/lib/index.js
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
PypiClean
/PyMedTermino-0.3.3.tar.gz/PyMedTermino-0.3.3/scripts/analyze_anatomical_structure_coverage.py
# 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 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be usefu...
PypiClean
/bigdl_chronos_spark321-2.1.0b202207291-py3-none-manylinux1_x86_64.whl/bigdl/chronos/model/tf2/MTNet_keras.py
import pickle import numpy as np import time from tensorflow.keras.models import Model from tensorflow.keras.layers import Reshape, Dense, Dropout, Add, Permute, RNN, GRUCell from tensorflow.keras.layers import Input, InputSpec, Wrapper, Lambda, Conv2D, multiply, Softmax from tensorflow.keras.initializers import Trunc...
PypiClean
/StructEngPy-0.1.14.tar.gz/StructEngPy-0.1.14/structengpy/core/fe_solver/static.py
import os import numpy as np from scipy import linalg from scipy import sparse as spr import scipy.sparse.linalg as sl from structengpy.core.fe_model.model import Model from structengpy.core.fe_model.load.loadcase import StaticCase from structengpy.core.fe_solver import Solver import logging class StaticSolver(Solv...
PypiClean
/kaf_pas-0.0.121-py3-none-any.whl/kaf_pas/planing/migrations/0008_prod_tasks.py
import django.utils.timezone from django.conf import settings from django.db import migrations, models import isc_common.fields.code_field import isc_common.fields.description_field import isc_common.fields.name_field import isc_common.fields.related class Migration(migrations.Migration): dependencies = [ ...
PypiClean
/deep_kolibri-0.4.0-py3-none-any.whl/kolibri/preprocess/text/pygoogletranslation/translate.py
import os import json, re import requests import time from kolibri.preprocess.text.pygoogletranslation import utils, urls from kolibri.preprocess.text.pygoogletranslation.constants import ( LANGCODES, LANGUAGES, RPCIDS ) from kolibri.preprocess.text.pygoogletranslation.models import Translated, Detected from urllib...
PypiClean
/custom-awscli-1.27.51.tar.gz/custom-awscli-1.27.51/awscli/examples/ec2/create-transit-gateway-peering-attachment.rst
**To create a transit gateway peering attachment** The following ``create-transit-gateway-peering-attachment`` example creates a peering attachment request between the two specified transit gateways. :: aws ec2 create-transit-gateway-peering-attachment \ --transit-gateway-id tgw-123abc05e04123abc \ ...
PypiClean
/panel-1.2.2.tar.gz/panel-1.2.2/doc/how_to/index.md
# How-to The Panel How-to guides provide step by step recipes for solving essential problems and tasks that arise during your work. They assume that you've completed the Getting Started material and therefore already have some knowledge of how Panel works. There is no order to the guides, other than any potential prer...
PypiClean
/xadrpy-0.6.3.tar.gz/xadrpy-0.6.3/src/ckeditor/static/ckeditor/ckeditor/_source/core/htmlparser/element.js
๏ปฟ/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * A lightweight representation of an HTML element. * @param {String} name The element name. * @param {Object} attributes And object holding all attributes defined for...
PypiClean
/fury-0.9.0.tar.gz/fury-0.9.0/docs/source/posts/2022/2022-08-25-week-10-shivam.rst
Week 10 - Multi-node skinning support ===================================== .. post:: August 25 2022 :author: Shivam Anand :tags: google :category: gsoc What did you do this week? -------------------------- As we figured out that the ``SimpleSkin`` model is not animated as intended. This week I started wor...
PypiClean
/easymailing_client-0.1.0.tar.gz/easymailing_client-0.1.0/src/easymailing_api_client/models/get_data_manager_collection_response_200_hydraview.py
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="GetDataManagerCollectionResponse200Hydraview") @attr.s(auto_attribs=True) class GetDataManagerCollectionResponse200Hydraview: """ Attributes: id (Union[Unset, str]): ...
PypiClean
/bagua-0.9.0.tar.gz/bagua-0.9.0/rust/bagua-core/bagua-core-internal/third_party/Aluminum/third_party/cxxopts/README.md
[![Build Status](https://travis-ci.org/jarro2783/cxxopts.svg?branch=master)](https://travis-ci.org/jarro2783/cxxopts) # Release versions Note that `master` is generally a work in progress, and you probably want to use a tagged release version. # Quick start This is a lightweight C++ option parser library, supportin...
PypiClean
/sistr_cmd_olc-1.1.3.tar.gz/sistr_cmd_olc-1.1.3/sistr/misc/reduce_to_centroid_alleles.py
from collections import defaultdict import logging import os import argparse import re from sistr.src.cgmlst import allele_name from sistr.src.logger import init_console_logger from sistr.src.parsers import parse_fasta from sistr.src.cgmlst.extras.centroid_cgmlst_alleles import find_centroid_alleles def init_arg_pa...
PypiClean
/akc-mamba-2.1.2a0.tar.gz/akc-mamba-2.1.2a0/blockchain/create_org/commands.py
import click import os import time from settings import settings from os import path from shutil import copyfile from utils import hiss, util from blockchain.copyscripts.commands import copy_scripts from blockchain.rca.commands import setup_rca from blockchain.ica.commands import setup_all_ica from blockchain.reg_org...
PypiClean
/hmd_lib_robot_shared-0.2.39-py3-none-any.whl/hmd_lib_robot_shared/audit_record_client_robot_lib.py
from hmd_lib_robot_shared.dynamodb_client_robot_lib import DynamoDbClientLib from robot.api.deco import keyword, library from robot.api.logger import console @library class AuditRecordClientLib(DynamoDbClientLib): """Client library for validating AuditRecord are stored in Dynamo properly""" def __init__( ...
PypiClean
/MaterialDjango-0.2.5.tar.gz/MaterialDjango-0.2.5/bower_components/marked/lib/marked.js
;(function() { /** * Block-Level Grammar */ var block = { newline: /^\n+/, code: /^( {4}[^\n]+\n*)+/, fences: noop, hr: /^( *[-*_]){3,} *(?:\n+|$)/, heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/, nptable: noop, lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/, blockquote: /^( *>[^\n]+(\n(?!def)[^\n]...
PypiClean
/pymavlink-ws-xrendan-2.4.4.tar.gz/pymavlink-ws-xrendan-2.4.4/tools/mavextract.py
from __future__ import print_function import os import struct from argparse import ArgumentParser parser = ArgumentParser(description=__doc__) parser.add_argument("--no-timestamps", dest="notimestamps", action='store_true', help="Log doesn't have timestamps") parser.add_argument("--robust", action='store_true', help...
PypiClean
/sycc-0.8.5.tar.gz/sycc-0.8.5/sycc_/setuptools/_vendor/importlib_resources/abc.py
import abc from typing import BinaryIO, Iterable, Text from ._compat import runtime_checkable, Protocol class ResourceReader(metaclass=abc.ABCMeta): """Abstract base class for loaders to provide resource reading support.""" @abc.abstractmethod def open_resource(self, resource: Text) -> BinaryIO: ...
PypiClean
/finance_byu-0.2.0-py3-none-any.whl/finance_byu/rolling.py
import numpy as np from numba import njit,jit,prange import pandas as pd @njit(parallel=False) def _check_minp(win,minp,N): if minp > win: raise ValueError('minp must be <= win') elif minp > N: minp = N + 1 elif minp == 0: minp = 1 elif minp < 0: raise ValueError('minp m...
PypiClean
/abstract_images-0.0.0.5-py3-none-any.whl/abstract_images/image_utils.py
import os import cv2 import pytesseract from numpy import ndarray from io import BytesIO,_io import pyscreenshot as ImageGrab from typing import Union, List, Tuple from PIL import Image, PngImagePlugin from abstract_webtools import try_request,requests #from paths def resize_image(image_path: str, max_width: int, max_h...
PypiClean
/ais_dom-2023.7.2-py3-none-any.whl/homeassistant/components/iqvia/__init__.py
from __future__ import annotations import asyncio from collections.abc import Callable, Coroutine from datetime import timedelta from functools import partial from typing import Any from pyiqvia import Client from pyiqvia.errors import IQVIAError from homeassistant.config_entries import ConfigEntry from homeassistan...
PypiClean
/youtube_dl_fork-2022.6.30.tar.gz/youtube_dl_fork-2022.6.30/youtube_dl/extractor/vlive.py
from __future__ import unicode_literals import itertools import json from .naver import NaverBaseIE from ..compat import ( compat_HTTPError, compat_str, ) from ..utils import ( ExtractorError, int_or_none, merge_dicts, str_or_none, strip_or_none, try_get, urlencode_postdata, ) cl...
PypiClean
/defichainTest-0.0.1b1-py3-none-any.whl/defichain/libs/ecc.py
from io import BytesIO import hashlib import hmac A = 0 B = 7 P = 2**256 - 2**32 - 977 N = 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141 BASE58_ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' def encode_base58(data): """ This function encodes bytes to a base58 st...
PypiClean
/vioneta-2023.7.3.tar.gz/vioneta-2023.7.3/homeassistant/components/upb/__init__.py
import upb_lib from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_COMMAND, CONF_FILE_PATH, CONF_HOST, Platform from homeassistant.core import HomeAssistant, callback from homeassistant.helpers.entity import DeviceInfo, Entity from .const import ( ATTR_ADDRESS, ATTR_BRIGH...
PypiClean
/aequitas-0.42.0.tar.gz/aequitas-0.42.0/src/aequitas_webapp/static/assets/js/vendor/ZeroClipboard.min.js
!function(a){"use strict";function b(a){return a.replace(/,/g,".").replace(/[^0-9\.]/g,"")}function c(a){return parseFloat(b(a))>=10}var d,e={bridge:null,version:"0.0.0",disabled:null,outdated:null,ready:null},f={},g=0,h={},i=0,j={},k=null,l=null,m=function(){var a,b,c,d,e="ZeroClipboard.swf";if(document.currentScript&...
PypiClean
/PyGeoC-0.3.1.tar.gz/PyGeoC-0.3.1/README.md
![pygeoc](docs/img/pygeoc.png) [![Travis branch](https://img.shields.io/travis/lreis2415/PyGeoC/master.svg)](https://travis-ci.org/lreis2415/PyGeoC) [![Coveralls branch](https://img.shields.io/coveralls/lreis2415/PyGeoC/master.svg)](https://coveralls.io/github/lreis2415/PyGeoC?branch=master) ่ฏฆๆƒ…่ฏท่ฎฟ้—ฎ[็”จๆˆทๆ‰‹ๅ†ŒๅŠๅผ€ๅ‘ๆ–‡ๆกฃ](https://...
PypiClean
/msg_client_gb-0.0.2.tar.gz/msg_client_gb-0.0.2/client/client/add_contact.py
import sys from logging import getLogger from PyQt5.QtWidgets import QDialog, QLabel, QComboBox, QPushButton from PyQt5.QtCore import Qt from PyQt5.QtGui import QStandardItemModel, QStandardItem sys.path.append('../') CLI_LOGGER = getLogger('client_logger') # ะ”ะธะฐะปะพะณ ะฒั‹ะฑะพั€ะฐ ะบะพะฝั‚ะฐะบั‚ะฐ ะดะปั ะดะพะฑะฐะฒะปะตะฝะธั class AddContactD...
PypiClean
/myams_js-1.16.0.tar.gz/myams_js-1.16.0/pkg/js/ext/ace/theme-idle_fingers.min.js
define("ace/theme/idle_fingers",["require","exports","module","ace/lib/dom"],(function(e,c,a){c.isDark=!0,c.cssClass="ace-idle-fingers",c.cssText=".ace-idle-fingers .ace_gutter {background: #3b3b3b;color: rgb(153,153,153)}.ace-idle-fingers .ace_print-margin {width: 1px;background: #3b3b3b}.ace-idle-fingers {background-...
PypiClean
/micrologai-1.3.33-py3-none-any.whl/microlog/tracer.py
import collections import gc import inspect import logging import os import signal import sys import threading from time import time, sleep import traceback from microlog import config from microlog import log from microlog import warn from microlog import debug from microlog import info from microlog import error f...
PypiClean
/pulumi_tailscale-0.13.1a1693030983.tar.gz/pulumi_tailscale-0.13.1a1693030983/pulumi_tailscale/tailnet_key.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['TailnetKeyArgs', 'TailnetKey'] @pulumi.input_type class TailnetKeyArgs: def __init__(__self__, *, ephemeral: Optional[pulumi.I...
PypiClean
/svgbatch-0.1.9.zip/svgbatch-0.1.9/docs/README.rst
svgbatch -------- The latest version of this documentation is online at `http://pypi.python.org/pypi/svgbatch`__ __ http://pypi.python.org/pypi/svgbatch SvgBatch is a pure Python package to load `SVG`__ vector graphic files, and convert them into `pyglet`__ Batch objects, for OpenGL rendering. __ http://www.w3.org/...
PypiClean
/unofficial_stog-0.0.21.tar.gz/unofficial_stog-0.0.21/stog/data/dataset_readers/amr_parsing/postprocess/postprocess.py
from stog.data.dataset_readers.amr_parsing.node_utils import NodeUtilities as NU from stog.data.dataset_readers.amr_parsing.postprocess.expander import Expander from stog.data.dataset_readers.amr_parsing.postprocess.node_restore import NodeRestore from stog.data.dataset_readers.amr_parsing.postprocess.wikification impo...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/identity_governance/role_management_alerts/alert_definitions/alert_definitions_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