Saravanan666/pypi-org huggingface dataset:
Package: pyangbind
PyangBind is a plugin for pyang which converts YANG data models into a Python class hierarchy, such that Python can be used to manipulate data that conforms with a YANG model.This module provides the supporting classes and functions that PyangBind modules utilise, particularly:pyangbind.base.PybindBase - which is the parent class inherited by all container or module YANG objects.pyangbind.pybindJSON - which containers wrapper functions which can be used to help with serialisation of YANG to JSON.pyangbind.serialise.pybindJSONEncoder - a class that can be used as a custom encoder for the JSON module to serialise PyangBind class hierarchies to JSON.pyangbind.serialise.pybindJSONDecoder - a class that can be used as a custom decoder to load JSON-encoded instances of YANG models into a PyangBind class hierarchy.pyangbind.xpathhelper.YANGPathHelper - a class which can have objects registered against it, and subsequently retrieved from it using XPATH expressions. This module also includes parent classes that can be used to implement other helper modules of this nature.pyangbind.yangtypes: The various functions which generate python types that are used to represent YANG types, and some helper methods.pyangbind.yangtypes.is_yang_list and is_yang_leaflist are self explainatory, but may be useful.pyangbind.yangtypes.safe_name is used throughout PyangBind to determine how to map YANG element names into Python attribute names safely.pyangbind.yangtypes.RestrictedPrecisionDecimalType - generates wrapped Decimal types that has a restricted set of decimal digits - i.e., can deal with fraction-digits arguments in YANG.pyangbind.yangtypes.RestrictedClassType - generates types which wrap a ‘base’ type (e.g., integer) with particular restrictions. The restrictions are supplied as a dictionary, or with specific arguments if single restrictions are required. Currently, the restrictions supported are regexp matches, ranges, lengths, and restrictions to a set of values (provided as keys to a dict).pyangbind.yangtypes.TypedListType - generates types which wrap a list to restrict the objects that it may contain.pyangbind.yangtypes.YANGListType - generates types which wrap a class representing a container, such that it acts as a YANG list.pyangbind.yangtypes.YANGBool - a boolean class.pyangbind.yangtypes.YANGDynClass - generates types which consist of a wrapper (YANGDynClass) and a wrapped object which may be any other class. YANGDynClass is a meta-class that provides additional data on top of the attributes and functions of the wrapped class.pyangbind.yangtypes.ReferenceType - generates types which can use a pyangbind.xpathhelper.PybindXpathHelper instance to look up values - particularly to support leafrefs in YANG.Usage documentation for PyangBind itself can be found on GitHub:https://github.com/robshakir/pyangbind
Package: pyangbind-brcd
PyangBind is a plugin for pyang which converts YANG data models into a Python class hierarchy, such that Python can be used to manipulate data that conforms with a YANG model.This module provides the supporting classes and functions that PyangBind modules utilise, particularly:pyangbind.base.PybindBase - which is the parent class inherited by all container or module YANG objects.pyangbind.pybindJSON - which containers wrapper functions which can be used to help with serialisation of YANG to JSON.pyangbind.serialise.pybindJSONEncoder - a class that can be used as a custom encoder for the JSON module to serialise PyangBind class hierarchies to JSON.pyangbind.serialise.pybindJSONDecoder - a class that can be used as a custom decoder to load JSON-encoded instances of YANG models into a PyangBind class hierarchy.pyangbind.xpathhelper.YANGPathHelper - a class which can have objects registered against it, and subsequently retrieved from it using XPATH expressions. This module also includes parent classes that can be used to implement other helper modules of this nature.pyangbind.yangtypes: The various functions which generate python types that are used to represent YANG types, and some helper methods.pyangbind.yangtypes.is_yang_list and is_yang_leaflist are self explainatory, but may be useful.pyangbind.yangtypes.safe_name is used throughout PyangBind to determine how to map YANG element names into Python attribute names safely.pyangbind.yangtypes.RestrictedPrecisionDecimalType - generates wrapped Decimal types that has a restricted set of decimal digits - i.e., can deal with fraction-digits arguments in YANG.pyangbind.yangtypes.RestrictedClassType - generates types which wrap a ‘base’ type (e.g., integer) with particular restrictions. The restrictions are supplied as a dictionary, or with specific arguments if single restrictions are required. Currently, the restrictions supported are regexp matches, ranges, lengths, and restrictions to a set of values (provided as keys to a dict).pyangbind.yangtypes.TypedListType - generates types which wrap a list to restrict the objects that it may contain.pyangbind.yangtypes.YANGListType - generates types which wrap a class representing a container, such that it acts as a YANG list.pyangbind.yangtypes.YANGBool - a boolean class.pyangbind.yangtypes.YANGDynClass - generates types which consist of a wrapper (YANGDynClass) and a wrapped object which may be any other class. YANGDynClass is a meta-class that provides additional data on top of the attributes and functions of the wrapped class.pyangbind.yangtypes.ReferenceType - generates types which can use a pyangbind.xpathhelper.PybindXpathHelper instance to look up values - particularly to support leafrefs in YANG.Usage documentation for PyangBind itself can be found on GitHub:https://github.com/robshakir/pyangbind
Package: pyang-cisco-plugin
# A pyang plugin to validate Cisco native YANG models.This pyang plugin validates Cisco device specific YANG modules per the naming conventions established within Cisco.` $ pyang--ciscoCisco-IOS-XR-ipv4-acl-cfg.yang/Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:14:error: module"Cisco-IOS-XR-types"not found in search path/Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:14:warning: imported moduleCisco-IOS-XR-typesnot used/Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:16:error: module"Cisco-IOS-XR-ipv4-acl-datatypes"not found in search path/Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:18:error: module"Cisco-IOS-XR-ipv4-ace-cfg"not found in search path/Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:48:error: RFC 6087: 4.7: statement "revision" must have a "reference" substatement/Users/mahesh/nso/xr-models/neds/621/xrv9k62119i/src/yang/Cisco-IOS-XR-ipv4-acl-cfg.yang:79:error: grouping"IPV4-ACE"not found in moduleCisco-IOS-XR-ipv4-acl-cfg`
Package: pyangexcel
pyangexcel (pyang excel plugin)This is a pyang excel output plugin. It takes YANG files and tries to produce a Excel Schema file for readability.Installation and execution# Installpythonsetup.pyinstall--user--recordinstall-list.txt# Or install it via pip, pip3pipinstallpyangexcelexportPYANG_PLUGINPATH=`/usr/bin/envpython-c\'import pyangexcel; import os; print ("{}".format(os.path.dirname(pyangexcel.__file__)))'`pyang-fexcel--excel-model-name=TEST-MODEL--excel-model-ver=1.0--excel-model-author=neoul@ymail.com--path=testtest/test-module.yang# Another installation methodpipinstallpyangexcelexportPYANG_PLUGINPATH=`/usr/bin/envpython-c\'import pyangexcel; import os; print ("{}".format(os.path.dirname(pyangexcel.__file__)))'`pyang-fexcel--excel-model-name=TEST-MODEL--excel-model-ver=1.0--excel-model-author=neoul@ymail.com--path=testtest/test-module.yang# Removexargsrm-rf<install-list.txtTemp (Do not use.)pythonsetup.pybdist_wheel
twineuploaddist/pyangexcel-0.1-py2-none-any.whlResult
Package: pyang-jsontree-plugin
# A pyang plugin to produce a JSON representation of module trees for use in graph librariesThis simplistic pyang plugin produces a JSON representation from YANG files. The output can be fed through a variety of libraries for data visualization. Development is mainly done for use with [D3](https://d3js.org/), e.g. using [Hierarchies (d3-hierarchy)](https://github.com/d3/d3/blob/master/API.md#hierarchies-d3-hierarchy).Some libraries require certain objects, e.g. D3 expects `name` and `children` objects for structure. This may need to be adjusted in the plugin code for other libraries. Should likely be moved to options.## Example```$ pyang -f jsontree ietf-interfaces\@2014-05-08.yang{"contact": "WG Web:   <http://tools.ietf.org/wg/netmod/>\nWG List:  <mailto:netmod@ietf.org>\n\nWG Chair: Thomas Nadeau\n          <mailto:tnadeau@lucidvision.com>\n\nWG Chair: Juergen Schoenwaelder\n          <mailto:j.schoenwaelder@jacobs-university.de>\n\nEditor:   Martin Bjorklund\n          <mailto:mbj@tail-f.com>","name": "ietf-interfaces","organization": "IETF NETMOD (NETCONF Data Modeling Language) Working Group","type": "module","children": [{"description": "Interface configuration parameters.","type": "container","name": "interfaces","children": [{"description": "The list of configured interfaces on the device.\n\nThe operational state of an interface is available in the\n/interfaces-state/interface list.  If the configuration of a\nsystem-controlled interface cannot be used by the system\n(e.g., the interface hardware present does not match the\ninterface type), then the configuration is not applied to\nthe system-controlled interface shown in the\n/interfaces-state/interface list.  If the configuration\nof a user-controlled interface cannot be used by the system,\nthe configured interface is not instantiated in the\n/interfaces-state/interface list.","type": "list","name": "interface","children": [{"description": "The name of the interface.\n\nA device MAY restrict the allowed values for this leaf,\npossibly depending on the type of the interface.\nFor system-controlled interfaces, this leaf is the\ndevice-specific name of the interface.  The 'config false'\nlist /interfaces-state/interface contains the currently\nexisting interfaces on the device.\n\nIf a client tries to create configuration for a\nsystem-controlled interface that is not present in the\n/interfaces-state/interface list, the server MAY reject\nthe request if the implementation does not support\npre-provisioning of interfaces or if the name refers to\nan interface that can never exist in the system.  A\nNETCONF server MUST reply with an rpc-error with the\nerror-tag 'invalid-value' in this case.\n\nIf the device supports pre-provisioning of interface\nconfiguration, the 'pre-provisioning' feature is\nadvertised.\n\nIf the device allows arbitrarily named user-controlled\ninterfaces, the 'arbitrary-names' feature is advertised.\n\nWhen a configured user-controlled interface is created by\nthe system, it is instantiated with the same name in the\n/interface-state/interface list.","type": "leaf","name": "name","children": []}]}]}[...]]}```
Package: pyang-module-catalog-plugin
# A pyang plugin to extract OpenConfig module catalog data from YANG modulesThis pyang plugin extracts module metadata from YANG files according to [draft-openconfig-netmod-model-catalog](https://tools.ietf.org/html/draft-openconfig-netmod-model-catalog-01). The output (in JSON or XML) can be fed right back into a NETCONF or RESTCONF server that have the module catalog YANG module (openconfig-module-catalog.yang) loaded.```$ pyang -f module-catalog ietf-interfaces\@2014-05-08.yang{"module": {"prefix": "if","dependencies": {"required-module": [{"module-revision": "unknown","module-name": "ietf-yang-types"}]},"namespace": "urn:ietf:params:xml:ns:yang:ietf-interfaces","name": "ietf-interfaces","revision": "2014-05-08"}}```
Package: pyanide
pyanideThis is library helps kill processes. For example, you might be able to exit vim by killing the process, but you may also want to keep it dead by periodically checking to see if it has come back to life and re-killing it.More importantly,it is a library that the people want.Created with help from ChatGPT.python-mpyanidevimInstallationpipinstallpyanidePrior ArtDocumentationTODO
Package: pyanimeinfo
pyanimeinfoPython anime information grabberInstallationYou can simply install it withpipcommand line from the official PyPI site.pipinstallpyanimeinfoFor more information about installation, you can refer
toInstallation.Quick StartAccessing Information from Bangumi.tvWe can retrieve information fromBangumi.tv.frompyanimeinfo.bangumitvimportBangumiTVClientclient=BangumiTVClient()# search subject from bangumi.tvclient.search_subjects('Railgun')# query specific subject from bangumi.tv# e.g. Railgunclient.get_subject(2585)# list characters in this subjectsclient.get_subject_characters(2585)# query specific characterclient.get_character(3575)# list character related persons# e.g. CV, artistsclient.get_character_related_persons(3575)# list character related subjects# e.g. Railgun seriesclient.get_character_related_subjects(3575)# get personclient.get_person(4670)Accessing Information from MyAnimeList.netWe can access information fromMyAnimeList. However, since the original MyAnimeList site
does not provide a useful API, we utilize the unofficial APIJikan V4to retrieve data from
MyAnimeList.frompyanimeinfo.myanimelistimportJikanV4Clientclient=JikanV4Client()# search animesclient.search_anime('Railgun')# get specific animeclient.get_anime(6213)# get full information of specific animeclient.get_anime_full(6213)# get characters in specific animeclient.get_anime_characters(6213)# search charactersclient.search_anime('misaka mikoto')# get specific characterclient.get_character(13701)# get full information of specific characterclient.get_character_full(13701)# get character related informationclient.get_character_related_animes(13701)client.get_character_related_manga(13701)client.get_character_voice_actors(13701)client.get_character_pictures(13701)Important NotesThepyanimeinfolibrary is primarily designed for querying anime-related information and is not a comprehensive
client for bangumi.tv or any other website. Therefore, we currently do not plan to provide support for operations
like user authentication and user sessions in the short term. Your understanding is appreciated.The reason this library is not namedpybangumitvis that our intention is not limited to integrating only the
bangumi.tv website. In the future, we aim to introduce support for additional websites, including MyAnimeList,
Fandom, and others. Stay tuned for updates.
Package: pyanist
PyanistPyanist is a tool that allows chorded typing using a regular N-key rollover keyboard.
It allows you to use chorded typing in addition to normal typing, which means that you can
get started by chording a few frequent words instead of having to learn a whole system
from scratch.Running PyanistAfter you've installed Pyanist, you can run in using the command:pyanistAttributions/sources./word-freq-top5000.csv -https://raw.githubusercontent.com/filiph/english_words/master/data/word-freq-top5000.csv(MIT)
Package: pyanka
PyAnkaAn unofficial python wrapper library for AnkaRequirementsYou will need python3^  and the anka cli.brew install python3
brew install --cask anka-virtualizationInstallingpip3 install pyankaDev NotesYou can run test locally via the bitrise CLI (brew install bitrise)
by runningbitrise run ciThe library at this point is not feature ready, but sufficient for the Bitrise Infrastructure team's
current requirements.UsageImport the module and instalce it with the AnkaVm() constructor, this will require you to name the virtual machine in question.See the examples below or theexamplefile.importankafrompyanka# Create an instance of the Anka VM Classvm=anka.AnkaVm("test-vm")# Start up an already existing VM that is stopped, or suspendedvm.start()# Show runtime properties of an already existing VM# This method returns a JSON object, that you can use as a dictionaryvm.show()# CLone an already existing VM# You need to define the name of the to be cloned VM# The method will initialise an instance of the class with the ne name for you.clone=vm.clone("cloned-vm")clone.show()# Suspend a running VMvm.suspend()# stop a running or suspended VMvm.stop()# Delete a VM, this needs to be in a stopped statevm.delete()# Copy a file from the host machine to the virtual machine# TODO make it work both waysvm.copy("./example.file","/tmp/example.file")# run a shell command on the virtual machine, and get back the stdout or stderrvm.run("ls","-la")AuthorsNameMail AddressGitHub ProfileSandor Fehersandor.feher@bitrise.iofehersanyi-bitrise
Package: pyann
PyANNFinds the k nearest neighbours for every point in a given dataset
in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is
support for approximate as well as exact searches, fixed radius searches
and bd as well as kd trees.This package implements nearest neighbors for the Euclidean (L2) metric.For further details on the underlying ANN library, seehttp://www.cs.umd.edu/~mount/ANN.PyANN was written to be the Python equivalent of the R package RANN. For further details on the R implementation, seeRANN.RequirementsPython VersionPyANN requires Python>=3.6 due to the use of type annotations in the source code, which was implemented inPython 3.6.DependenciesNumpyPandasInstallationPyPIThe recommendation is to install the latest released version fromPyPIby doing:pip install pyannSourceTo install PyANN from source you needCythonandsetuptools>=18.0 in addition to the normal dependencies above. Cython can be installed from PyPI:pip install cythonIn the PyANN directory (same one where you found this file after cloning the git repo), execute:python setup.py installDocumentationDocumentation for PyANN is available at:https://pyann.readthedocs.io/en/latest/FeedbackPlease feel free to:submit suggestions and bug-reports at:https://github.com/annacnev/pyann/issuessend pull requests after forking:https://github.com/annacnev/pyann/e-mail the maintainer:annanev@umich.eduCopyright and LicenseseeCOPYRIGHTandLICENSEfiles for copyright and license information.
Package: pyanna
# Plataforma AnnAEn este proyecto se declaran especificaciones para lectura de datos### Prerequisites
Python 3.6.3### InstallingPara obtener el paquete instalarlo con pip de la siguiente manera:` pip install pyanna `Una vez instalado solo se debera hacer la importacion` import pyanna `En caso de necesitar actualizar la version de la libreria:` python-mpip install--upgradepyanna `
Package: pyanno
pyAnno 2.0 is a Python library for the analysis and
diagnostic testing of annotation and curation
efforts. pyAnno implements statistical models for
inferring from categorical data annotated by multiple
annotatorsannotator accuracies and biases,gold standard categories of items,prevalence of categories in population, andpopulation distribution of annotator accuracies
and biases.The models include a generalization of Dawid and
Skene’s (1979) multinomial model with Dirichlet
priors on prevalence and  estimator accuracy, and
the two models introduces in Rzhetsky et al.’s (2009).
The implementation allows Maximum Likelihood and
Maximum A Posteriori estimation of parameters,
and to draw samples from the full posterior
distribution over annotator accuracy.LICENSINGpyAnno is licensed under a modified BSD license
(2-clause). For more information, seeLICENSE.txtDOCUMENTATIONThe documentation is hosted athttp://github.enthought.com/uchicago-pyanno/.CONTRIBUTORSPietro Berkes    (Enthought, Ltd.)Bob Carpenter    (Columbia University,   Statistics)Andrey Rzhetsky  (University of Chicago, Medicine)James Evans      (University of Chicago, Sociology)
Package: pyanno3
pyAnno 2.0 with 2to3 appliedThis copy is made thanks to the BSD license of pyannopyAnno 2.0pyAnno 2.0 is a Python library for the analysis and
diagnostic testing of annotation and curation
efforts. pyAnno implements statistical models for
inferring from categorical data annotated by multiple
annotatorsannotator accuracies and biases,gold standard categories of items,prevalence of categories in population, andpopulation distribution of annotator accuracies
and biases.The models include a generalization of Dawid and
Skene’s (1979) multinomial model with Dirichlet
priors on prevalence and  estimator accuracy, and
the two models introduces in Rzhetsky et al.’s (2009).
The implementation allows Maximum Likelihood and
Maximum A Posteriori estimation of parameters,
and to draw samples from the full posterior
distribution over annotator accuracy.LICENSINGpyAnno is licensed under a modified BSD license
(2-clause). For more information, seeLICENSE.txtDOCUMENTATIONThe documentation is hosted athttp://docs.enthought.com/uchicago-pyanno/.CONTRIBUTORSPietro Berkes    (Enthought, Ltd.)Bob Carpenter    (Columbia University,   Statistics)Andrey Rzhetsky  (University of Chicago, Medicine)James Evans      (University of Chicago, Sociology)
Package: pyannotables
pyannotablesPython package for conversions between Ensembl IDs and gene names (annotables + pyranges + Ensembl GTF files)Free software: Apache Software License 2.0Installationpip install pyannotablesFeaturesBuilding data framesSee./build.ipynb.Changelogv0.5: Homology mapping table and function (homology_convert) are added. tables is a function now.v0.4: Entrez and UNIPROT IDs are added.v0.3: Ensembl version updated to 100. NCBI transcript IDs, gene lengths and gene exon lengths are added.Creditsannotables package in Rhttps://github.com/stephenturner/annotablesaudreyr/cookiecutter-pypackage:https://github.com/audreyr/cookiecutter-pypackageHistoryv0.5 (2020-10-29)Homology mapping table and function (homology_convert) are added.tables is now a function.v0.4 (2020-10-27)Entrez and UNIPROT IDs are added.v0.3 (2020-06-04)Ensembl version updated to 100. NCBI transcript IDs, gene lengths and gene exon lengths are added.v0.1 (2019-04-07)First release on PyPI.
Package: pyannotating
PyannotatingStructures your annotations and puts more information into them.Installationpip install pyannotatingExamplesCreate annotation templatesfromtypingimportCallable,Any,Optional,Iterablefrompyannotatingimport*handler_of=AnnotationTemplate(Callable,[[input_annotation],Any])handler_of[int|float]Callable[[int|float],Any]in a nested wayoptional_reformer_of=AnnotationTemplate(Callable,[[input_annotation],AnnotationTemplate(Optional,[input_annotation])])optional_reformer_of[int]Callable[[int],Optional[int]]with non-strict input annotationsummator_of=AnnotationTemplate(Callable,[[input_annotation|int,input_annotation],int])summator_of[float]Callable[[float|int,float],int]Integrate comments into annotationseven=FormalAnnotation("Formal annotation of even numbers.")number:even[int|float]=42or subgroups of existing typesnatural_numbers=Subgroup(int,lambdanumber:number>0)isinstance(14,natural_numbers)isinstance(-1.2,natural_numbers)64innatural_numbersTrueFalseTrueor downcastsdeftransform(numbers:Special[range,Iterable[int]],additional:Special[None]=None)->Any:...# Equals todeftransform(numbers:Iterable[int],additional:Any=None)->Any:...or just some pre-made templates and annotationsmany_or_one[int|float]numberint|float|Iterable[int|float]int|float|complex
Package: pyannotators-acronyms
pyannotators_acronymsAnnotator based on Facebook's AcronymsInstallationYou can simplypip install pyannotators_acronyms.DevelopingPre-requesitesYou will need to installflit(for building the package) andtox(for orchestrating testing and documentation building):python3 -m pip install flit toxClone the repository:git clone https://github.com/oterrier/pyannotators_acronymsRunning the test suiteYou can run the full test suite against all supported versions of Python (3.8) with:toxBuilding the documentationYou can build the HTML documentation with:tox -e docsThe built documentation is available at `docs/_build/index.html.