id
stringlengths
1
8
text
stringlengths
6
1.05M
dataset_id
stringclasses
1 value
/bpy_optix-2.82-cp37-cp37m-win_amd64.whl/bpy_optix-2.82.data/scripts/2.82/scripts/modules/rna_keymap_ui.py
# <pep8 compliant> __all__ = ( "draw_entry", "draw_km", "draw_kmi", "draw_filtered", "draw_hierarchy", "draw_keymaps", ) import bpy from bpy.app.translations import pgettext_iface as iface_ from bpy.app.translations import contexts as i18n_contexts def _indented_layout(layout, level): ...
PypiClean
/grimoire-0.0.2.tar.gz/grimoire-0.0.2/TUTORIAL.md
Tutorial: grimoire ================== In this tutorial, you will learn how to train HMMs, decode sequences, and compare annotations. All the programs you will need are in `grimoire/bin` and all the data files are in `grimoire/data`. Here's the road map for this tutorial. 1. Setting up 2. Summarizing genome annotation...
PypiClean
/django_page_slapper-2.0a10-py3-none-any.whl/page/static/tinymce/js/tinymce/plugins/visualchars/plugin.min.js
!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i<g;++i)h[i]=d(e[i]);var j=f.apply(null,h);if(void 0===j)throw"module ["+b+"] returned undefined";c.instance=j},c=function(b,c,d){if("string"!=typeof b)throw"module id must be a string";if(void 0===c)throw"no dependencies ...
PypiClean
/featureflagclient-0.4.tar.gz/featureflagclient-0.4/README.md
featureflagclient ================= Allows you to use feature flags in your code, works with any JSON feature flag service. Features: * Extremely light-weight. * Feature flag service agnostic. Created by [featureflag.tech](https://featureflag.tech). ## Get started You can install this via pip from the package i...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flashblade/FB_2_0/api/file_systems_api.py
from __future__ import absolute_import import re # python 2 and python 3 compatibility library import six from typing import List, Optional from .. import models class FileSystemsApi(object): def __init__(self, api_client): self.api_client = api_client def api20_file_systems_delete_with_http_info(...
PypiClean
/itk_core-5.4rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/itk/vnl_unary_functionPython.py
import collections from sys import version_info as _version_info if _version_info < (3, 7, 0): raise RuntimeError("Python 3.7 or later required") from . import _ITKCommonPython from . import _ITKCommonPython from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0):...
PypiClean
/py-pure-client-1.38.0.tar.gz/py-pure-client-1.38.0/pypureclient/flasharray/FA_2_14/models/virtual_machine.py
import pprint import re import six import typing from ....properties import Property if typing.TYPE_CHECKING: from pypureclient.flasharray.FA_2_14 import models class VirtualMachine(object): """ Attributes: swagger_types (dict): The key is attribute name and the value is...
PypiClean
/intel_optimization_for_horovod-0.28.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/horovod/spark/common/util.py
import horovod.spark.common._namedtuple_fix import contextlib import os import time from multiprocessing.pool import ThreadPool import pyarrow as pa import numpy as np import pyspark.sql.functions as f from pyspark.ml.linalg import DenseVector, SparseVector, Vector, VectorUDT from pyspark.sql.types import ArrayType,...
PypiClean
/bmcs-0.0.2a28-py3-none-any.whl/ibvpy/mats/mats_eval.py
import copy from simulator.api import Model from traits.api import \ provides, \ Int, Str, Callable, \ Tuple, Property, cached_property, \ Dict, Interface from view.ui import BMCSTreeNode import numpy as np class IMATSEval(Interface): '''Interface for material model classes ''' state_va...
PypiClean
/Glymur-0.12.8-py3-none-any.whl/glymur/jp2k.py
from __future__ import annotations from collections import Counter from contextlib import ExitStack from itertools import filterfalse import ctypes import pathlib import re import shutil import struct from typing import List, Tuple from uuid import UUID import warnings # Third party library imports import numpy as np ...
PypiClean
/django-cked-2.0.2.tar.gz/django-cked-2.0.2/src/cked/static/cked/ckeditor/plugins/specialchar/dialogs/lang/pt.js
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("specialchar","pt",{euro:"Símbolo de Euro",lsquo:"Aspa esquerda simples",rsquo:"Aspa direita simples",ldquo:"Aspa esquerda dupla"...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/kusto/cosmos_db_data_connection.py
import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CosmosDbDataConnectionArgs', 'CosmosDbDataConnection'] @pulumi.input_type class CosmosDbDataConnectionArgs: def __init__(__self__, *, ...
PypiClean
/batchfile.py-0.5.tar.gz/batchfile.py-0.5/batchfile/batchfile.py
import sys import os import glob import random from ._functions import * from .textfile import TextFileRedirect try: # change working directory to the file this was imported from from __main__ import __file__ as calling_file os.chdir(os.path.dirname(calling_file)) except (ImportError, FileNotFoundError, N...
PypiClean
/poetry_pre_commit_plugin-0.1.2-py3-none-any.whl/poetry_pre_commit_plugin/plugin.py
import subprocess from pathlib import Path from typing import Optional from cleo.events.console_terminate_event import ConsoleTerminateEvent from cleo.events.console_events import TERMINATE from cleo.events.event_dispatcher import EventDispatcher from cleo.io.io import IO from cleo.io.outputs.output import Verbosity f...
PypiClean
/gs2-cdk-1.0.22.tar.gz/gs2-cdk-1.0.22/src/gs2_cdk/showcase/model/DisplayItem.py
from __future__ import annotations from typing import * from ...core.model import ConsumeAction from ...core.model import AcquireAction from .SalesItem import SalesItem from .SalesItemGroup import SalesItemGroup from .options.DisplayItemOptions import DisplayItemOptions from .options.DisplayItemTypeIsSalesItemOptions i...
PypiClean
/uca-apollo-1.0.tar.gz/uca-apollo-1.0/apollo/model/case_track_request.py
import re # noqa: F401 import sys # noqa: F401 from apollo.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, change_keys_js_to_python, convert_js_args_to_python_args, date, datetime, file_type, none_type, validat...
PypiClean
/Cu3t0mAPI-1.8.6.tar.gz/Cu3t0mAPI-1.8.6/README.md
<div> <h1 align='center'> Cu3t0mAPI </h1> </div> <div> <p align='center'> <img src=https://img.shields.io/pypi/dm/Cu3t0mAPI?color=success&label=PyPi%20Downloads&style=flat-square> <img src=https://img.shields.io/badge/Stable_Version-0.0.2-informational> <img src=https://img.shields.io/badge/Develo...
PypiClean
/embl_tools_jl-0.3.3.tar.gz/embl_tools_jl-0.3.3/embl_tools/embl_client/pratt.py
############################################################################### # # Copyright 2012-2018 EMBL - European Bioinformatics Institute # # 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 ...
PypiClean
/predecon_exioreed-0.1.1-py3-none-any.whl/predecon/__init__.py
import logging import os import numpy as np from joblib import delayed, Memory, Parallel from sklearn.base import BaseEstimator, ClusterMixin, TransformerMixin from sklearn.neighbors import NearestNeighbors def _neighborhood_variances(X, eps, n_jobs=None): """ Calculate variance of each neighborhood for each...
PypiClean
/pulumi_azure_native-2.5.1a1693590910.tar.gz/pulumi_azure_native-2.5.1a1693590910/pulumi_azure_native/storage/_enums.py
from enum import Enum __all__ = [ 'AccessTier', 'AccountImmutabilityPolicyState', 'AccountType', 'Action', 'AllowedCopyScope', 'AllowedMethods', 'BlobAccessTier', 'BlobType', 'Bypass', 'DefaultAction', 'DefaultSharePermission', 'DirectoryServiceOptions', 'DnsEndpoin...
PypiClean
/google-ads-21.3.0.tar.gz/google-ads-21.3.0/google/ads/googleads/v12/services/services/customer_extension_setting_service/transports/base.py
import abc from typing import Awaitable, Callable, Optional, Sequence, Union import pkg_resources import google.auth # type: ignore import google.api_core # type: ignore from google.api_core import exceptions as core_exceptions # type: ignore from google.api_core import gapic_v1 # type: ignore from google.api_core...
PypiClean
/hcs_cli-0.1.90-py3-none-any.whl/vhcs/support/daas/tenant_prep.py
import logging from vhcs.service import admin, auth from vhcs.plan.provider.azure import _az_facade as az from vhcs.plan import PluginException from .cidr_util import find_available_cidr_24 log = logging.getLogger(__name__) def process(data: dict, state: dict) -> dict: import time time.sleep(10) org_id ...
PypiClean
/elisp-0.5.tar.gz/elisp-0.5/README.rst
================= Emacs Lisp Parser ================= A simple package to parse Emacs Lisp expressions from Python. .. image:: https://secure.travis-ci.org/jorgenschaefer/python-elisp.png?branch=master :target: http://travis-ci.org/jorgenschaefer/python-elisp?branch=master .. image:: https://coveralls.io/repos/jo...
PypiClean
/ansible-8.3.0-py3-none-any.whl/ansible_collections/fortinet/fortios/plugins/modules/fortios_system_performance_top.py
from __future__ import absolute_import, division, print_function # Copyright: (c) 2022 Fortinet # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as...
PypiClean
/casai-home-frontend-20220503.0.tar.gz/casai-home-frontend-20220503.0/hass_frontend/frontend_latest/ba3c3e34.js
(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([[116,9330,4941,9566],{95916:(t,e,i)=>{"use strict";i.d(e,{L:()=>p});var a=i(87480),o=i(55704),n=(i(66702),i(98734)),r=i(81471);class d extends o.oi{constructor(){super(...arguments),this.mini=!1,this.exited=!1,this.disabled=!1...
PypiClean
/django-rated-reviews-1.0.1.tar.gz/django-rated-reviews-1.0.1/README.md
# Rated reviews application for Django [![Build Status](https://travis-ci.com/andreynovikov/django-rated-reviews.svg?branch=master)](https://travis-ci.com/andreynovikov/django-rated-reviews) [![Documentation Status](https://img.shields.io/readthedocs/django-rated-reviews.svg?style=flat)](https://readthedocs.org/projec...
PypiClean
/jdcloud_sdk-1.6.243.tar.gz/jdcloud_sdk-1.6.243/jdcloud_sdk/services/ydsms/apis/ModifySmsSignUsingPOSTRequest.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
/PyCCAPT-0.0.32.tar.gz/PyCCAPT-0.0.32/pyccapt/control/pyccapt/devices_test/serial_com_edwards.py
from __future__ import print_function import serial class EdwardsAGC(object): """ Primitive driver for Edwards Active Gauge Controler Complete manual found at http://www.idealvac.com/files/brochures/Edwards_AGC_D386-52-880_IssueM.pdf """ def __init__(self, port='COM1'): self.serial = serial.S...
PypiClean
/django-admin-adminlte-1.0.5.tar.gz/django-admin-adminlte-1.0.5/admin_adminlte/static/plugins/summernote/lang/summernote-ta-IN.min.js
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,(function(){return(e=jQuery).extend(e.summernote.lang,{"ta-IN":{font:{bold:"தடித்த",italic:"...
PypiClean
/headerz-0.5.tar.gz/headerz-0.5/README.md
# headerz A simple header string parser from HttpCanary (Android App) ## Instalation ``` pip install headerz ``` ## Usage ``` from headerz import Headerz ``` ### Parsing header string from user input ``` header_string = Headerz.header_input() parser = Headerz.parser(header_string) ``` ### Make a header data and us...
PypiClean
/local_workflow_engine-1.0.4-py3-none-any.whl/asl_workflow_engine/open_tracing_factory.py
import sys assert sys.version_info >= (3, 0) # Bomb out if not running Python3 import opentracing # Provides a default null opentracing.tracer instance from asl_workflow_engine.logger import init_logging def instrument_StartExecution(params, **kwargs): """ boto3 event handler to create an OpenTracing span...
PypiClean
/oc-js-0.8.tar.gz/oc-js-0.8/opencore/js/thirdparty/xinha96r1270/plugins/Linker/link-picker.js
* for providing a Linker style browse dialog for selecting urls which are then * returned into a standard form field. * * Usage: * -------------------------------------------------------------------------- * {{{ <!-- If you are already using Xinha on the page you should already have this stuff... -->...
PypiClean
/dsin100daysv29-6.0.1.tar.gz/dsin100daysv29-6.0.1/notebook/static/components/MathJax/jax/output/SVG/fonts/STIX-Web/Marks/Regular/Main.js
MathJax.OutputJax.SVG.FONTDATA.FONTS.STIXMathJax_Marks={directory:"Marks/Regular",family:"STIXMathJax_Marks",id:"STIXWEBMARKS",32:[0,0,250,0,0,""],160:[0,0,250,0,0,""],688:[848,-336,378,7,365,"365 336h-159v11c43 5 52 13 52 62v153c0 52 -20 79 -57 79c-25 0 -51 -12 -83 -48v-181c0 -51 8 -61 51 -65v-11h-162v11c43 6 48 13 48...
PypiClean
/zzsnML-1.0.1-py3-none-any.whl/sentiment_analysis/SVM/svm_with_virtual_complementary_augmentation.py
from svm import * import sys sys.path.append('../../utils') from augmentation_utils import * ''' Currently, data augmentation makes result worse. Better augmentation method should be proposed. ''' connection_string = 'cis/cis_zzsn9988@118.190.174.96:1521/orcl' from_date = '2017-06-01' to_date = '2017-08-03' wordvec...
PypiClean
/django-haystack-3.2.1.tar.gz/django-haystack-3.2.1/haystack/query.py
import operator import warnings from functools import reduce from haystack import connection_router, connections from haystack.backends import SQ from haystack.constants import DEFAULT_OPERATOR, ITERATOR_LOAD_PER_QUERY from haystack.exceptions import NotHandled from haystack.inputs import AutoQuery, Raw from haystack....
PypiClean
/haesleinhuepf-pyqode.core-2.15.5.tar.gz/haesleinhuepf-pyqode.core-2.15.5/pyqode/core/modes/autocomplete.py
""" Contains the AutoCompleteMode """ import logging from qtpy import QtCore, QtGui from pyqode.core.api import TextHelper from pyqode.core.api.mode import Mode class AutoCompleteMode(Mode): """ Automatically complete quotes and parentheses Generic auto complete mode that automatically completes the followin...
PypiClean
/odoo14_addon_product_configurator_mrp-14.0.1.3.0-py3-none-any.whl/odoo/addons/product_configurator_mrp/static/src/js/form_controller.js
odoo.define("product_configurator_mrp.FormController", function (require) { "use strict"; var core = require("web.core"); var FormController = require("web.FormController"); var FormView = require("web.FormView"); var viewRegistry = require("web.view_registry"); var qweb = core.qweb; var ...
PypiClean
/MapProxy-1.16.0.tar.gz/MapProxy-1.16.0/mapproxy/exception.py
from mapproxy.response import Response from mapproxy.compat.modules import escape class RequestError(Exception): """ Exception for all request related errors. :ivar internal: True if the error was an internal error, ie. the request itself was valid (e.g. the source server is unreac...
PypiClean
/hpu_media_loader-1.9.0.580.1-py3-none-any.whl/habana_frameworks/mediapipe/operators/hpu_nodes/hpu_nodes.py
from habana_frameworks.mediapipe.backend.nodes import opnode_tensor_info from habana_frameworks.mediapipe.operators.media_nodes import MediaHPUNode from habana_frameworks.mediapipe.backend.utils import get_str_dtype import numpy as np class media_hpu_ops(MediaHPUNode): """ Class representing media hpu node. ...
PypiClean
/msgraph_beta_sdk-1.0.0a9-py3-none-any.whl/msgraph/generated/users/item/events/item/exception_occurrences/item/instances/item/cancel/cancel_post_request_body.py
from __future__ import annotations from kiota_abstractions.serialization import AdditionalDataHolder, Parsable, ParseNode, SerializationWriter from typing import Any, Callable, Dict, List, Optional, TYPE_CHECKING, Union class CancelPostRequestBody(AdditionalDataHolder, Parsable): def __init__(self,) -> None: ...
PypiClean
/plover_auto_identifier-0.1.2-py3-none-any.whl/plover_auto_identifier/__init__.py
from typing import Dict, Tuple, TYPE_CHECKING, NamedTuple, List, MutableMapping, Sequence, Optional, Any, cast from collections import defaultdict import sys import re import json from pathlib import Path import argparse import functools import tempfile import threading import os from plover.oslayer.config import CONF...
PypiClean
/mypy_boto3_ssm-1.28.36-py3-none-any.whl/mypy_boto3_ssm/paginator.py
from typing import Generic, Iterator, Sequence, TypeVar from botocore.paginate import PageIterator, Paginator from .literals import ( MaintenanceWindowResourceTypeType, OperatingSystemType, PatchPropertyType, PatchSetType, SessionStateType, ) from .type_defs import ( AssociationExecutionFilter...
PypiClean
/cvlab-dl-0.0.1.tar.gz/cvlab-dl-0.0.1/cvlab/models/deeplab/resnet.py
import torch import torch.nn as nn from torchvision.models.utils import load_state_dict_from_url __all__ = [ 'ResNet', 'resnet18', 'resnet34', 'resnet50', 'resnet101', 'resnet152', 'resnext50_32x4d', 'resnext101_32x8d', 'wide_resnet50_2', 'wide_resnet101_2' ] model_urls = { 'resnet18': 'https://download.p...
PypiClean
/geoai_GDAL-3.4.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl/osgeo_utils/samples/loslas2ntv2.py
import sys from osgeo import gdal # dummy object to hold options class Options(object): def __init__(self): self.verbose_flag = 0 self.append = 0 self.create_self = [] self.metadata = [] self.negate = 0 # ==================================================================...
PypiClean
/rinohtype-reloaded-0.3.3.tar.gz/rinohtype-reloaded-0.3.3/src/rinoh/frontend/epub/__init__.py
import os import xml.etree.ElementTree as etree from zipfile import ZipFile from ..xml.elementtree import Parser from ..xml import (ElementTreeNode, ElementTreeInlineNode, ElementTreeBodyNode, ElementTreeBodySubNode, ElementTreeGroupingNode, ElementTreeDummyNode, ElementTreeNod...
PypiClean
/Scrapy-Distributed-2023.4.23.tar.gz/Scrapy-Distributed-2023.4.23/scrapy_distributed/redis_utils/connection.py
import six from scrapy.utils.misc import load_object from scrapy_distributed.redis_utils import defaults # Shortcut maps 'setting name' -> 'parmater name'. SETTINGS_PARAMS_MAP = { "BLOOM_DUPEFILTER_REDIS_URL": "url", "BLOOM_DUPEFILTER_REDIS_HOST": "host", "BLOOM_DUPEFILTER_REDIS_PORT": "port", "BLOOM_...
PypiClean
/googlefonts_installer-0.3.1.tar.gz/googlefonts_installer-0.3.1/googlefonts_installer.py
import argparse import os import subprocess import sys import textwrap __version__ = '0.3.1' class GoogleFontInstaller: """Google fonts installer utility.""" repo_url = 'https://github.com/google/fonts.git' def __init__(self, work_dir, fonts_dir, config_path): """Remember the configuration pat...
PypiClean
/pypale-0.1.5.tar.gz/pypale-0.1.5/.github/ISSUE_TEMPLATE/bug.md
--- name: 🐛 Bug Report about: Create a bug report title: "[BUG]" labels: bug assignees: '' --- ### Describe the bug Write a clear and concise description of the bug. ### To Reproduce Steps to reproduce the behavior with a minimum self-contained file. Replace each part with your own scenario: * Code that is caus...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/network/v20200301/get_virtual_network.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs __all__ = [ 'GetVirtualNetworkResult', 'AwaitableGetVirtualNetworkResult', 'get_virtual_network', ] @pulumi.output_type class GetVirtual...
PypiClean
/mwa_voltage-1.2-py3-none-any.whl/mwa_voltage-1.2.data/scripts/voltdownload.py
import sys import os import time import json import threading import urllib.request import base64 import time import datetime import calendar from optparse import OptionParser from queue import Empty, Queue import logging # set up the logger for stand-alone execution logging.basicConfig(format='%(asctime)s l %(lineno...
PypiClean
/burlap-0.9.113.tar.gz/burlap-0.9.113/README.md
Burlap - configuration management designed for simplicity and speed =================================================================== [![](https://img.shields.io/pypi/v/burlap.svg)](https://pypi.python.org/pypi/burlap) [![Pipeline Status](https://gitlab.com/chrisspen/burlap/badges/master/pipeline.svg)](https://gitla...
PypiClean
/satnogs-network-api-client-1.104.tar.gz/satnogs-network-api-client-1.104/satnogsnetworkapiclient/model_utils.py
from datetime import date, datetime # noqa: F401 from copy import deepcopy import inspect import io import os import pprint import re import tempfile from dateutil.parser import parse from satnogsnetworkapiclient.exceptions import ( ApiKeyError, ApiAttributeError, ApiTypeError, ApiValueError, ) none...
PypiClean
/pythoth-0.3.0-py3-none-any.whl/thoth/anomaly/models.py
import dataclasses import warnings from abc import ABC, abstractmethod from typing import Any, Dict, List, Optional, Tuple, Type import numpy as np import pandas as pd from merlion.models.automl.autoprophet import AutoProphet, AutoProphetConfig from merlion.models.automl.autosarima import AutoSarima, AutoSarimaConfig ...
PypiClean
/napalm-yang-0.1.0.tar.gz/napalm-yang-0.1.0/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/extended_ipv4_reachability/prefixes/prefix/undefined_subtlvs/__init__.py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListType from pyangbind.lib.ya...
PypiClean
/localcosmos_server-0.16.1-py3-none-any.whl/localcosmos_server/taxonomy/generic.py
from django.db import models from django.utils.translation import gettext_lazy as _ from .lazy import LazyAppTaxon ''' Model Mixins for Adding Taxa to models - loose link to any taxonomic source, defined by -- taxon_latname -- taxon_author -- taxon_source -- taxon_nuid -- name_uuid ''' cla...
PypiClean
/unofficial-allennlp-nightly-0.9.2.tar.gz/unofficial-allennlp-nightly-0.9.2/scripts/ai2_internal/run_with_beaker.py
# Script to launch AllenNLP Beaker jobs. import argparse import os import json import random import tempfile import subprocess import sys # This has to happen before we import spacy (even indirectly), because for some crazy reason spacy # thought it was a good idea to set the random seed on import... random_int = ra...
PypiClean
/psgraph-2.3.199-py3-none-any.whl/checkov/common/graph/graph_builder/local_graph.py
from __future__ import annotations from abc import abstractmethod from collections import defaultdict from typing import List, Dict, Callable, Union, Any, Set, Iterable, TypeVar, Generic, TYPE_CHECKING from checkov.common.graph.graph_builder.graph_components.block_types import BlockType from checkov.common.graph.grap...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/string/dinoroseobactershibae.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def DinoroseobacterShibae( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/string", **additional_graph_kwargs: ...
PypiClean
/Shailesh-4.2.1-py3-none-any.whl/nlu/pipe/col_substitution/col_substitution_OS.py
import logging logger = logging.getLogger('nlu') def partially_implemented_substitutor(c, cols, nlu_identifier): """ Fetched fields are: - entities@<storage_ref>_results - entities@<storage_ref>_<metadata> - entities@<storage_ref>_entity - entities@<storage_ref>_confidence """ ...
PypiClean
/pioled_display_plugin-0.2.3-py3-none-any.whl/pioled_display_plugin/__init__.py
from __future__ import annotations from typing import Optional import adafruit_ssd1306 import busio import click from msgspec.json import decode from PIL import Image from PIL import ImageDraw from PIL import ImageFont from pioreactor import structs from pioreactor import types as pt from pioreactor.background_jobs.b...
PypiClean
/django-enquiry-0.7.2.tar.gz/django-enquiry-0.7.2/enquiry/migrations/0003_auto__add_field_vote_session_key.py
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Vote.session_key' db.add_column('enquiry_vote', 'session_key', self.gf('django.db.models.field...
PypiClean
/graphite-datasets-1.0.5.tar.gz/graphite-datasets-1.0.5/tensorflow_datasets/scripts/documentation/doc_utils.py
import collections import dataclasses import os import textwrap from typing import Any, Dict, List, Optional, Tuple, Union import tensorflow as tf import tensorflow_datasets as tfds # Dict of `full_names_dict['dataset']['config']['version']` FullNamesDict = Dict[str, Dict[str, Dict[str, Any]]] # Same as `FullNamesDic...
PypiClean
/Scrapy-2.10.1.tar.gz/Scrapy-2.10.1/docs/topics/selectors.rst
.. _topics-selectors: ========= Selectors ========= When you're scraping web pages, the most common task you need to perform is to extract data from the HTML source. There are several libraries available to achieve this, such as: - `BeautifulSoup`_ is a very popular web scraping library among Python programmer...
PypiClean
/scine_heron-1.0.0.tar.gz/scine_heron-1.0.0/scine_heron/database/reaction_compound_view.py
__copyright__ = """ This code is licensed under the 3-clause BSD license. Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group. See LICENSE.txt for details. """ import json from typing import Any, Optional, List, Dict, Union import scine_utilities as utils import scine_database as db from scine_heron....
PypiClean
/aws_mlops-1.2.2-py3-none-any.whl/aws_mlops/config_manager.py
import boto3 import json import os.path from botocore.exceptions import ClientError class ConfigManager(): s3 = None ssm = None sfn = None def __init__(self): self.s3 = boto3.client('s3') self.ssm = boto3.client('ssm') self.sfn = boto3.client('stepfunctions') def get_config...
PypiClean
/blogger_cli-1.2.4-py3-none-any.whl/blogger_cli/cli.py
import os import sys import click from blogger_cli import BACKUP_DIR, CONFIG_DIR from blogger_cli.cli_utils.json_writer import Config class Context(object): def __init__(self): self.verbose = False config_path = os.path.join(CONFIG_DIR, "blog_config.cfg") self.config = Config(config_path...
PypiClean
/pulumi_azure_nextgen-0.6.2a1613157620.tar.gz/pulumi_azure_nextgen-0.6.2a1613157620/pulumi_azure_nextgen/streamanalytics/latest/get_input.py
import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outputs __all__ = [ 'GetInputResult', 'AwaitableGetInputResult', 'get_input', ] @pulumi.output_type class GetInputResult: """ An input o...
PypiClean
/GCDetection-1.0.0.tar.gz/GCDetection-1.0.0/README.md
# README [![Build Status](https://travis-ci.com/Justin900429/GC-Detection.svg?branch=main)](https://travis-ci.com/Justin900429/GC-Detection) [![PyPI](https://img.shields.io/pypi/v/GCDetection)](https://pypi.org/project/GCDetection/) ![PyPI - License](https://img.shields.io/pypi/l/GCDetection) ## Introduction Althoug...
PypiClean
/acfunsdk-ws-0.1.4.tar.gz/acfunsdk-ws-0.1.4/README.md
# acfunSDK - websocket <br /> <p align="center"> <a href="https://github.com/dolaCmeo/acfunSDK"> <img height="100" src="https://s3.dualstack.us-east-2.amazonaws.com/pythondotorg-assets/media/files/python-logo-only.svg" alt=""> <img height="100" src="https://ali-imgs.acfun.cn/kos/nlav10360/static/common/widget/header/...
PypiClean
/shimao-nosidebar-frontend-20180926.0.tar.gz/shimao-nosidebar-frontend-20180926.0/hass_frontend_es5/workbox-v3.5.0/workbox-broadcast-cache-update.dev.js
this.workbox = this.workbox || {}; this.workbox.broadcastUpdate = (function (exports,WorkboxError_mjs,logger_mjs,assert_mjs) { 'use strict'; try { self.workbox.v['workbox:broadcast-cache-update:3.5.0'] = 1; } catch (e) {} // eslint-disable-line /* Copyright 2016 Google Inc. All Rights Reserved. Lice...
PypiClean
/cisco_acl-3.0.4.tar.gz/cisco_acl-3.0.4/cisco_acl/address.py
from __future__ import annotations from functools import total_ordering from typing import Dict, Iterable, List, Optional, Union from cisco_acl import address_base from cisco_acl.address_base import AddressBase from cisco_acl.types_ import LStr, DAny, LDAny @total_ordering class Address(AddressBase): """Address...
PypiClean
/ensmallen_graph-0.6.0-cp37-cp37m-manylinux2010_x86_64.whl/ensmallen_graph/datasets/networkrepository/g56.py
from typing import Dict from ..automatic_graph_retrieval import AutomaticallyRetrievedGraph from ...ensmallen_graph import EnsmallenGraph # pylint: disable=import-error def G56( directed: bool = False, verbose: int = 2, cache_path: str = "graphs/networkrepository", **additional_graph_kwargs: Dict ) ...
PypiClean
/python_modulr_client-0.0.11-py3-none-any.whl/modulr_client/models/payment_address_request.py
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.payment_address_request_country import PaymentAddressRequestCountry from ..types import UNSET, Unset T = TypeVar("T", bound="PaymentAddressRequest") @attr.s(auto_attribs=True) class PaymentAddressRequest: """Optional address. Ma...
PypiClean
/Zope2-4.0a1.zip/Zope2-4.0a1/src/Testing/ZopeTestCase/ZopeLite.py
import os, sys, time import layer # Allow code to tell it is run by the test framework os.environ['ZOPETESTCASE'] = '1' # Increase performance on MP hardware sys.setcheckinterval(2500) # Shut up if we are not in control of the import process #_quiet = sys.modules.has_key('Zope2') # Always shut up _quiet = True def...
PypiClean
/drypatrick-2021.7.5.tar.gz/drypatrick-2021.7.5/homeassistant/components/wirelesstag/sensor.py
import logging import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity from homeassistant.const import CONF_MONITORED_CONDITIONS from homeassistant.core import callback import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import async_di...
PypiClean
/notion_api-0.6.0.tar.gz/notion_api-0.6.0/notion/properties/build.py
# Copyright (c) 2023 ayvi-0001 # 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, distribut...
PypiClean
/nlpia-0.5.2.tar.gz/nlpia-0.5.2/docs/notes/data-science--learning-resources.md
## [Datasets](datasets.md) ## Online Courses [HUML Syllabus](https://docs.google.com/spreadsheets/d/19HvN07XSNjlWF3TwLnyCUsCwXGBGwu15TemvVSIDwiI/edit?usp=sharing) ## Tutorials - [PDX Python Guide](https://github.com/portlandpython/project-night) - [Pandas Tutorial by Brandon Rhodes at PyCon 2015](https://github.com...
PypiClean
/azure_storage_blob-12.18.0b1-py3-none-any.whl/azure/storage/blob/_shared_access_signature.py
from typing import ( # pylint: disable=unused-import Union, Optional, Any, TYPE_CHECKING ) from ._shared import sign_string, url_quote from ._shared.constants import X_MS_VERSION from ._shared.models import Services, UserDelegationKey from ._shared.shared_access_signature import SharedAccessSignature, _SharedAcc...
PypiClean
/Schema-Object-0.5.11.tar.gz/Schema-Object-0.5.11/schemaobject/table.py
import re from schemaobject.collections import OrderedDict from schemaobject.column import column_schema_builder from schemaobject.index import index_schema_builder from schemaobject.foreignkey import foreign_key_schema_builder from schemaobject.option import SchemaOption REGEX_MULTI_SPACE = re.compile('\s\s+') def ...
PypiClean
/BotEXBotBase-3.1.3.tar.gz/BotEXBotBase-3.1.3/discord/member.py
import itertools import discord.abc from . import utils from .user import BaseUser, User from .activity import create_activity from .permissions import Permissions from .enums import Status, try_enum from .colour import Colour from .object import Object class VoiceState: """Represents a Discord user's voice sta...
PypiClean
/wayround_org_utils-1.15.tar.gz/wayround_org_utils-1.15/wayround_org/utils/threading.py
import copy import logging import threading import time import weakref import wayround_org.utils.types import wayround_org.utils.weakref class Signal: def __init__( self, subject, signal_names=None, add_prefix=None, freezed=False, disabled=...
PypiClean
/movieFinderIMDB-0.0.5.tar.gz/movieFinderIMDB-0.0.5/.eggs/lxml-4.6.3-py3.9-win-amd64.egg/lxml/html/diff.py
from __future__ import absolute_import import difflib from lxml import etree from lxml.html import fragment_fromstring import re __all__ = ['html_annotate', 'htmldiff'] try: from html import escape as html_escape except ImportError: from cgi import escape as html_escape try: _unicode = unicode except Na...
PypiClean
/seti-python-0.2.0.tar.gz/seti-python-0.2.0/seti_python/class_read.py
from seti_python.class_tools import BasicResponse class Commissions: fixed: int percentage: int def __init__(self, data): self.fixed = data["fixed"] self.percentage = data["percentage"] def __repr__(self): return str(self.__dict__) class Taxes: ICA: 0 FTE: 0 IVA...
PypiClean
/pm2mp-0.0.98-py3-none-any.whl/pm2mp-0.0.98.data/data/node_modules/file.js
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.file = void 0; const debug_1 = __importDefault(require("debug")); const fs_1 = require("fs"); co...
PypiClean
/aim-ui-custom-3.15.2.post2.tar.gz/aim-ui-custom-3.15.2.post2/aim_ui/build/vs/basic-languages/handlebars/handlebars.js
define("vs/basic-languages/handlebars/handlebars", ["require","require"],(require)=>{ var moduleExports=(()=>{var h=Object.create;var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var l=e=>m(e,"__esModule",{va...
PypiClean
/h2o_engine_manager-0.5.3-py3-none-any.whl/h2o_engine_manager/gen/h2o_version_service/api_client.py
import json import atexit import mimetypes from multiprocessing.pool import ThreadPool import io import os import re import typing from urllib.parse import quote from urllib3.fields import RequestField from h2o_engine_manager.gen.h2o_version_service import rest from h2o_engine_manager.gen.h2o_version_service.configur...
PypiClean
/grobid_client_python-0.0.7-py3-none-any.whl/grobid_client/grobid_client.py
import os import io import json import argparse import time import concurrent.futures import ntpath import requests import pathlib from .client import ApiClient class ServerUnavailableException(Exception): pass class GrobidClient(ApiClient): def __init__(self, grobid_server='localhost', b...
PypiClean
/pyblhost-1.4.0.tar.gz/pyblhost-1.4.0/README.md
# pyblhost #### Developed by Kristian Sloth Lauszus, 2020-2022 The code is released under the GNU General Public License v3.0. _________ [![PyPI](https://img.shields.io/pypi/v/pyblhost.svg)](https://pypi.org/project/pyblhost) [![pyblhost CI](https://github.com/Lauszus/pyblhost/actions/workflows/build.yml/badge.svg)](...
PypiClean
/mmsegmentation_zzb-0.23.0-py3-none-any.whl/mmseg/.mim/tools/GradCam/GradCam_mmseg_trainpipe.py
from pytorch_grad_cam import GradCAM, ScoreCAM, GradCAMPlusPlus, AblationCAM, XGradCAM, EigenCAM, FullGrad from pytorch_grad_cam.utils.model_targets import ClassifierOutputTarget from pytorch_grad_cam.utils.image import show_cam_on_image,preprocess_image from mmseg.datasets import build_dataloader, build_dataset import...
PypiClean
/feature_engine-1.6.1.tar.gz/feature_engine-1.6.1/feature_engine/datasets/titanic.py
import numpy as np import pandas as pd from sklearn.pipeline import Pipeline from feature_engine.imputation import CategoricalImputer, MeanMedianImputer def load_titanic( return_X_y_frame=False, predictors_only=False, handle_missing=False, cabin=None ): """ The load_titanic() function returns the well-kn...
PypiClean
/google-api-python-client-py3-1.2.tar.gz/google-api-python-client-py3-1.2/oauth2client/tools.py
__author__ = 'jcgregorio@google.com (Joe Gregorio)' __all__ = ['argparser', 'run_flow', 'run', 'message_if_missing'] import http.server import argparse import httplib2 import logging import os import socket import sys import webbrowser from oauth2client import client from oauth2client import file from oauth2client i...
PypiClean
/micropymc-4.0.0b6-py3-none-any.whl/pymc/variational/approximations.py
import aesara import numpy as np from aesara import tensor as at from aesara.graph.basic import Variable from aesara.tensor.var import TensorVariable import pymc as pm from pymc.blocking import DictToArrayBijection from pymc.distributions.dist_math import rho2sigma from pymc.math import batched_diag from pymc.varia...
PypiClean
/lastfm_vk_download-1.0.0.tar.gz/lastfm_vk_download-1.0.0/lastfm_vk_download/decode.js
var n = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/=", i = { v: function(e) { return e.split("").reverse().join("") }, r: function(e, t) { e = e.split(""); for (var i, a = n + n, o = e.length; o--;) i ...
PypiClean
/aocref-2.0.16.tar.gz/aocref-2.0.16/scripts/util/teams.py
from ruamel.yaml import YAML from .io import Importable, Exportable, JsonSerializable from .index import Indexable # from .error import MissingKeyError from collections import namedtuple import logging LOGGER = logging.getLogger(__name__) class Team(Exportable, Importable, JsonSerializable): def __init__(self, n...
PypiClean
/llm_toys-0.1.1-py3-none-any.whl/llm_toys/hf/transformers/models/auto/modeling_flax_auto.py
from collections import OrderedDict from ...utils import logging from .auto_factory import _BaseAutoModelClass, _LazyAutoMapping, auto_class_update from .configuration_auto import CONFIG_MAPPING_NAMES logger = logging.get_logger(__name__) FLAX_MODEL_MAPPING_NAMES = OrderedDict( [ # Base model mapping ...
PypiClean
/bk_clustering-0.3.2-py3-none-any.whl/bk_clustering/utilities/method_comparison.py
from timeit import default_timer as timer from typing import List import numpy as np from utilities import load_save, metrics, density_peak from sklearn.cluster import ( KMeans, MiniBatchKMeans, AffinityPropagation, AgglomerativeClustering, Birch, DBSCAN, MeanShift, OPTICS, SpectralC...
PypiClean
/QWebSite-1.0-py3-none-any.whl/qwebsite/base.py
import socket import time import sys import requests from qwebsite.flags import * requests.packages.urllib3.disable_warnings() def get_active_ip(host="github.com"): ips = list() try: result = socket.getaddrinfo(host, None, socket.AddressFamily.AF_INET, socket.SOCK_STREAM) except socket.gaierror:...
PypiClean
/PyABraOM-0.1.6.tar.gz/PyABraOM-0.1.6/README.md
# pyABraOM ![](https://img.shields.io/badge/python-3.x-purple) ## Summary - [Introduction](#introduction) - [Installation](#installation) - [Search Types](#search-types) - [Search by gene](#search-by-gene) - [Search by region](#search-by-genomic-region) - [Search by variant](#search-by-variant) - [Batch ...
PypiClean
/cloudstack-marvin-4.4.0.tar.gz/cloudstack-marvin-4.4.0/marvin/cloudstackAPI/addCluster.py
from baseCmd import * from baseResponse import * class addClusterCmd (baseCmd): def __init__(self): self.isAsync = "false" """the cluster name""" """Required""" self.clustername = None """type of the cluster: CloudManaged, ExternalManaged""" """Required""" sel...
PypiClean
/metropro-dat-reader-0.1.1.tar.gz/metropro-dat-reader-0.1.1/README.md
# Metropro dat reader ## Requirements Python 3.10 or higher https://www.python.org/downloads/ ## Install From the command line: `pip install metropro-dat-reader` ## Usage `mpdr <path to dat file>` examples: `mpdr C:\Users\user\Downloads\abc123.dat` `mpdr def456.dat` ### Example output ```text ❮ mpdr SN9_PLA...
PypiClean