Saravanan666/pypi-org huggingface dataset:
Package: polly-python
About Polly LibraryThis package is intended to be used by Polly users - bioinformaticians, data scientists, and life science researchers - working in drug discovery and development.InstallationPolly-python can be installed by running:pipinstallpolly-pythonKey features:Discover biomedical datasets specific to their research requirements by querying omixatlas which have a well-defined schema and curated metadata fields.Expanding the query by using ontological mappings for diseases.Download the datasets of interest and use them for further enrichment and analysis using other open-source bash, R and Python packages commonly used in life-science research.Seamlessly interact with the Schema of the OmixAtlas by using fetch, update, and post functions.Create new Workspaces and fetch the list of existing ones.Upload and Download files and folders from Workspace.Save dataset of interest from OmixAtlas to Workspace.Get StartedExamples of characteristics and functions of polly-python can be found as Jupyter Notebookhere.Full documentation availablehere.Contributing GuidelinesRefer to theCONTRIBUTING.mdfile for detailed informationContactsIf you have questions, suggestions or problems, feel free to open an issuehere.You can contact us at:sabu.george@elucidata.ioyogesh.lakhotia@elucidata.io
Package: polly-read
=====polly_read=====.. image:: https://img.shields.io/pypi/v/polly_read.svg:target: https://pypi.python.org/pypi/polly_read.. image:: https://img.shields.io/travis/jiamo/polly_read.svg:target: https://travis-ci.org/jiamo/polly_read.. image:: https://readthedocs.org/projects/polly_read/badge/?version=latest:target: https://polly_read.readthedocs.io/en/latest/?badge=latest:alt: Documentation Status.. image:: https://pyup.io/repos/github/jiamo/polly_read/shield.svg:target: https://pyup.io/repos/github/jiamo/polly_read/:alt: Updatesanother python wraper for firebase cloud message* Free software: MIT license* Documentation: https://polly_read.readthedocs.io.* inspire ref: https://github.com/agentzh/amazon-polly-batch but pure pythonexample--------* file or dir tranlate ::python main.py --infile test.txt --outfile test.mp3 --voice Joeypython main.py --indir testdir --voice Joey # this will create mp3 indir* in memory translate and put file to s3 ::just use `io.BytesIO`=======History=======0.0.1 (2018-01-29)------------------* First release on PyPI.
Package: polly-repositories
Polly Repositoriespolly_repositoriesis a Python library for dealing with polly repositories.InstallationUse the package managerpipto install foobar.pipinstallpolly-repositoriesUsagefrompolly_repositoriesimportRepositoriesREFRESH_TOKEN='YOUR-REFRESH-TOKEN'repo_client=Repositories(REFRESH_TOKEN)# Return Data about all current repositoriesall_repos=repo_client.get_all_repos()# Get all packages for a specific repositoryrepo_packages=repo_client.get_all_packages(repo_id=16)# Make an ElasticSearch query for given indexquery={'foo':'bar'}# ElasticSearchresponse=repo_client.elastic_query(index=INDEX,query=query)ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: po_localization
DescriptionLocalize Django applications without installing gettext, pybabel or compiling .po files.Automatically reload translations when any .po file is modified.Extract messages from templates and python files automatically or using a management command.Requirementspython 2.7 or >= 3.2django >= 1.6Installation$pipinstallpo-localizationSetupAdd'po_localization'to yourINSTALLED_CLASSES.Add'po_localization.middleware.PoLocalizationMiddleware'to yourMIDDLEWARE_CLASSES.SettingsAUTO_RELOAD_TRANSLATIONS = settings.DEBUGWhether translation files should be checked for modifications and reloaded before each request.AUTO_UPDATE_TRANSLATIONS = FalseWhether translation files should be automatically created or updated when templates or python files changes.UPDATE_TRANSLATIONS_PACKAGES = ()List of packages to update using the management command or when auto-update is enabled.A ‘locale’ folder containing all translation files will be created or updated in each of those packages.This ‘locale’ folder should be added toLOCALE_PATHSif the package is not a Django app.UPDATE_TRANSLATIONS_EXCLUDED_LOCALES = ()List of locales to exclude from update.All locales from languages inLANGUAGESwhich are not in this exclusion list will be updated.UPDATE_TRANSLATIONS_WITH_LOCATIONS = TrueWhether translation files should include the locations of the extracted messages.UPDATE_TRANSLATIONS_PRUNE_OBSOLETES = FalseWhether obsolete translations should be pruned from translation files.Empty translations will always be pruned.Even if not pruned, obsolete translations will be marked as such with a comment.Management Commandsupdate_translationsExtract messages from templates and python files and create or update translation files.IssuesIf you have any suggestions, bug reports or annoyances please report them
to the issue tracker athttps://github.com/kmichel/po-localization/issues.
Package: polog-socket-handler
Socket handler for the polog libОбработчик для библиотеки polog. Состоит из двух компонентов: клиента и сервера. Может использоваться для проксирования отправки логов с клиентского сервера на какой-то иной. Клиентская часть обработчика подключается в polog как любой другой обработчик:frompologimportconfigfromsocket_handlerimportsocket_senderHOST='127.0.0.1'PORT=65432config.add_handlers(socket_sender(HOST,PORT))Серверная часть обработчика получает логи, отправляемые клиентской частью, и может как-то их обрабатывать. Например, к ней можно подключить любой иной обработчик polog. Подключаемый обработчик не будет знать о том, что логируемый код выполняется на другой машине или в другом процессе. Такой подход позволяет вынести ресурсоёмкие операции сохранения / пересылки логов с машины, где непосредственно выполняется бизнес-код, на машину, которую не так жалко.Пример клиента:# В дополнении к коду выше, обработчик уже должен быть подключён.frompologimportflog@flogdeflogged_func(arg):returnarglogged_func("test polog socket handler")# По результату выполнения функции на сервер будет отправлено сообщение с логом.Пример сервера:frompolog.handlers.smtp.senderimportSMTP_sender# Пакет polog уже должен быть установлен.fromsocket_handlerimportServerHOST='127.0.0.1'PORT=65432print("The Polog Socket Server started.")server=Server(HOST,PORT,handlers=[SMTP_sender('from_me42@yandex.com','JHjhhb87TY(*Ny08z)','smtp.yandex.ru','to_me@yandex.ru')])server.start()
Package: poloniex
DescriptionPoloniex APIclient for humansInstallationThe package has been uploaded toPyPI, so you can install it with pip:$pipinstallpoloniexUsage ExamplesDocumentation can be inspected by calling the python’shelpfunction with aPoloniexobject as parameter:frompolonieximportPoloniexpolo=Poloniex()help(polo)Public APIsfrompolonieximportPoloniexpolo=Poloniex()ticker=polo.returnTicker()['BTC_ETH']print(ticker)Private APIsfrompolonieximportPolonieximportosapi_key=os.environ.get('POLONIEX_API_KEY')api_secret=os.environ.get('POLONIEX_SECRET')polo=Poloniex(api_key,api_secret)ticker=polo.returnTicker()['BTC_ETH']print(ticker)balances=polo.returnBalances()print(balances)Used incrypto_trader: Trading automation on poloniex cyriptocoin exchangeDonationsNameSymbolAddressBitcoinBTC13NpLwXgEP8d9NpDUHptY6BypFRNXHL3trEthereumETH0x8f61777b0f951ed5df684da495d82171aa3645eaLitecoinLTCLKM1eTU8BmvCECJr54Tz1pHDr4e2AS41Ai
Package: poloniex-aio
An async library forPoloniex apiwith builtin requests rate control.This library is still exerimental.InstallA pip package is available.pip3installpoloniex-aioUsageFull documentation available atreadthedocsfrompoloniex_aioimportpublicasyncdefprintTicker():asyncwithaiohttp.ClientSession()asclient:res=awaitpublic.returnTicker(client)print(res)
Package: polr-py
polrPython CLI for the Polr link shortenerFree software: MIT licenseDocumentation:https://polr.readthedocs.io.FeaturesTODOCLI Usagepolr [OPTIONS] COMMAND [ARGS]...Commands for using the Go link shortening service.Options:--help:  Show this message and exit.Commands:exists:   Check to see if a link with the given ending already exists.shorten:  Shorten a link with the option to give it a custom ending.shortenUsage:polr shorten [OPTIONS] URLShorten a link with the option to give it a custom ending. Checks to see
if a link with the given ending exists. Can be configured to fail if it
already exists with[-f|--fail].polr shorten URL [(-e|--ending=)ending] [(-f|--fail)]`Examples:# Use default ending
$ polr shorten https://example.com
http://polr.example.com/ad14gfwe

# Use custom ending, if ending already exists don't return error, return link with that ending.
polr shorten https://example.com -e my-custom-ending
http://polr.example.com/my-custom-ending

# Use custom ending, return error if it already exists.
polr shorten https://example.com -e my-custom-ending -f
ERROR: link with ending my-custom-ending already exists
echo "$?"
1Options:-e,--endingTEXTA custom ending for the shortened link.-f,--failReturn an error if a link with the desired custom ending already exists--helpShow this message and exit.####existsUsage:polr exists [OPTIONS] ENDINGCheck to see if a link with the given ending already exists. Exits with status code 1 if it existsExamples:#Doesn'texist$polrexistsmy-new-endingFalse$echo"$?"0#Exists$polrexistsmy-existing-endingTrue$echo"$?"1Options:--help:  Show this message and exit.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2018-12-12)First release on PyPI.
Package: polski
A command line tool to teach myself Polish using a spaced repetition
algorithm.InstallationYou can installPolski Runnerusing pip:$pipinstallpolskiUsageUse thepolskicommand to run Polski Runner:$ polski --help

Usage:
  polski [--insert | --report] [--database=<path>]
  polski (-h | --help | --version)

Options:
  --version              show program's version number and exit.
  -h, --help             show this help message and exit.
  -i, --insert           insert new word iterations, starting from today.
  -r, --report           display a report of all daily iterations run.
  -d, --database=<path>  path to the SQLite database [default: db.sqlite3].If no options are given, it will attempt to run through today’s set
of words, if any exist. If there are none, it will go into insert
mode.LicenseCopyright © 2016Matt Deacalion Stevens, released under TheMIT License.
Package: polt
PoltLive data visualisation via Matplotlibpoltis a Python package for live data visualisation viaMatplotlib.What canpoltdo?Reading Numbers from STDINpoltgenerate-cwalk--max-rate20|poltliveReading CSV from STDINpoltgenerate\-c"sensor1_temperature_celsius=uniform(20,25)"\-c"sensor1_pressure_hPa=uniform(990,1020)"\-c"sensor2_pressure_hPa=uniform(990,1020)"\-c"sensor3_humidity_percent=uniform(10,90)"\-c"sensor3_temperature_kelvin=uniform(0,300)"\--max-rate5\|polt\add-source-pcsv-oname=Data-oheader-regex=key-quantity-unit\live-oextrapolate=yes-osubplots-for=unitReading Live Data from LogfilesImagine you have a filedata.txtwhere another process constantly writes
lines of numbers into.poltcan then use the commontailprogram to watch
that data:poltadd-source-c"tail -fn0 data.txt"liveConfiguration Filespoltcan use configuration files (by default~/.config/polt/polt.confand.polt.confin the current directory) to simplify invocation. It is also
possible to read and save the current configuration with thepolt configcommand.Easy to CustomizeIt is easy to extendpoltwith your own data parsers, filters or animation
routines.  Checkthe
documentationfor further
information.Why on Earth is it calledpoltand notplot!?I am a big fan of swapping syllables or characters around resulting in
ridiculously-sounding words.poltis one of those words which I am generating
quite frequently when typing quickly.InstallationThepoltpackage is best installed viapip. Run from anywhere:python3-mpipinstall--userpoltThis downloads and installs the package from thePython Package
Index.You may also installpoltfrom the repository root:python3-mpipinstall--user.TranslationsCurrently, the following languages are available:EnglishGermanIf you are interested in adding another language, justopen a New Issueand we will get
you going.DocumentationDocumentation of thepoltpackage can be foundhere on
GitLab.Also, the command-line help pagepolt -his your friend.
Package: poltergeist
poltergeistRust-like error handlingin Python, with type-safety in mind.Installationpip install poltergeistExamplesUse the@catchdecorator on any function:frompoltergeistimportcatch# Handle an exception type potentially raised within the function@catch(OSError)defread_text(path:str)->str:withopen(path)asf:returnf.read()# Returns an object of type Result[str, OSError]result=read_text("my_file.txt")Or wrap errors manually:frompoltergeistimportResult,Ok,Err# Equivalent to the decorated function abovedefread_text(path:str)->Result[str,OSError]:try:withopen(path)asf:returnOk(f.read())exceptOSErrorase:returnErr(e)Then handle the result in a type-safe way:# Get the Ok value or re-raise the Err exceptioncontent:str=result.unwrap()# Get the Ok value or a default if it's an Errcontent:str=result.unwrap_or("lorem ipsum")content:str|None=result.unwrap_or()# Get the Ok value or compute it from the exceptioncontent:str=result.unwrap_or_else(lambdae:f"The exception was:{e}")# Get the Err exception or None if it's an Okerr:OSError|None=result.err()# Handle the result using structural pattern matchingmatchresult:caseOk(content):print("Text in upper:",content.upper())caseErr(FileNotFoundError()ase):print("File not found:",e.filename)It's also possible to wrap multiple exception types with the decorator:@catch(OSError,UnicodeDecodeError)defread_text(path:str)->str:withopen(path)asf:returnf.read()Or manually:defread_text(path:str)->Result[str,OSError|UnicodeDecodeError]:try:withopen(path)asf:returnOk(f.read())except(OSError,UnicodeDecodeError)ase:returnErr(e)There is also an async-compatible decorator:frompoltergeistimportcatch_async@catch_async(OSError)asyncdefread_text(path:str)->str:withopen(path)asf:returnf.read()# Returns an object of type Result[str, OSError]result=awaitread_text("my_file.txt")ContributingSet up the project usingPoetry:poetry installFormat the code:make lintRun tests:make testCheck for typing and format issues:make check
Package: polus-server-ext
Polus-Server-ExtensionJupyter Server Extension used serve files and provides a static build of Polus Render.Please note thatrender-server-extis the improved version of this package.Installationpip install "git+https://github.com/PolusAI/polus-prototypes.git#egg=polus-server-ext&subdirectory=polus-server-ext"You will need to restart Jupyter Server forpolus-server-extendpoints to take effect.Adding a static build of Polus RenderRemove all existing files in~/serve/static/render-ui/.Runnpx nx build render-uiin the root of your Polus Render folderTransfer generated files from~/Polus Render/dist/apps/render-ui/into~/serve/static/render-ui/.API Endpoints/serve/: Help on usage of extension/static/serve/render-ui/index.html: Serves local version of Polus Render Web Application/serve/file/(.+): Serves files at a specfied  directory. Does not serve directories.After installation, you will need to restart the notebook server for changes to take effect.
Package: poly1305_donna
py_poly1305_donnaFork of poly1305-donna by floodberry
(https://github.com/floodyberry/poly1305-donna) adding a Python wrapper
as an extension moduleWhat is a HMAC (Hash-based Message Authentication Code)?From wikipedia
(https://en.wikipedia.org/wiki/Hash-based_message_authentication_code):In cryptography, a keyed-hash message authentication code (HMAC) is a
specific construction for calculating a message authentication code
(MAC) involving a cryptographic hash function in combination with a
secret cryptographic key. As with any MAC, it may be used to
simultaneously verify both the data integrity and the authentication of
a message. Any cryptographic hash function, such as MD5 or SHA-1, may be
used in the calculation of an HMAC; the resulting MAC algorithm is
termed HMAC-MD5 or HMAC-SHA1 accordingly. The cryptographic strength of
the HMAC depends upon the cryptographic strength of the underlying hash
function, the size of its hash output, and on the size and quality of
the key.What is poly1305?Fromhttp://cr.yp.to/mac.html:Poly1305-AES is a state-of-the-art secret-key message-authentication
code suitable for a wide variety of applications. Poly1305-AES computes
a 16-byte authenticator of a message of any length, using a 16-byte
nonce (unique message number) and a 32-byte secret key. Attackers can’t
modify or forge messages if the message sender transmits an
authenticator along with each message and the message receiver checks
each authenticator.LICENSE:Following floodberry’s code license, this code is also released into the
public domain. See LICENSE file.The ‘floodberry.poly1305_donna’ directory contains the unmodified
source code forked from poly1305-donna fromhttps://github.com/floodyberry/poly1305-donnaEXAMPLESfrom poly1305_donna import (
    self_test, get_key, authenticate, verify,
)
print('Power-On Self Test result: ' + str(self_test()))
msg = 'Hello world'
print('\nTest class methods - authenticate, verify')
kr = get_key()
auth = authenticate(kr, msg)

bad_kr = get_key()
bad_msg = msg + '1'
bad_auth = authenticate(kr, bad_msg)

print('Good: %s\nBad auth: %s\nBad kr: %s\nBad msg: %s' % (
    str(verify(auth, kr, msg)),
    str(verify(bad_auth, kr, msg)),
    str(verify(auth, bad_kr, msg)),
    str(verify(auth, kr, bad_msg))
))Alternately, run the test script that is shipped:python -m poly1305_donna.testTo run a simple benchmark:python -m poly1305_donna.benchmarkINSTALLATIONUsing pip:pip install 'git+https://github.com/sundarnagarajan/py_poly1305-donna.git'Using setup.py:python setup.py installBUILD / INSTALL REQUIREMENTSGNU/Linux:Python Tested on 2.7.6, 3.4.3, pypy 2.7.10 (pypy 4.0.1)cffi >= 1.0.0sixPython.h (libpython-dev on Debian-like systems)gcc (build-essential on Debian-like systems)NOTESpy_poly1305_donna does not offer an API for incremental update and
HMAC calculation.
Package: poly2pascal
poly2pascalConvert POLYGON bounding boxes from.csvfiles to.xmlannotation files in the Pascal VOC format for computer vision projects. Read the package documentationhere.InstallationInstallpoly2pascalwith pippipinstallpoly2pascalUsageSee the example notebook for more details. Here are the essentials of how to use this package:# import annotatorfrompoly2pascal.annotationsimportXMLAnnotator# create annotatorxmla=XMLAnnotator(images_path="path/to/images",csv_file_path="path/to/csv/file.csv",image_name_col="<image_name_column>",image_label_col="<object_label_column>",xml_output_path="path/to/xml/annotation/output")# create xml annotation files in Pascal VOC formatxmla.get_all_xml_annotations(img_format=".jpg")Required Data FormatThis package requires a.csvfile with the following format of images and polygon annotations. These will be converted to.xmlannotation files in the Pascal VOC format:image_nameobject_labelgeometryimg_01.jpgcatPOLYGON ((2478.89 156.77, 2478.89 297.86, 2377.97 297.86, 2377.97 156.77, 2478.89 156.77))img_02.jpgcatPOLYGON ((939.81 1221.46, 939.81 1319.68, 715.39 1319.68, 715.39 1221.46, 939.81 1221.46))img_03.jpgdogPOLYGON ((1559.7 1558.06, 1559.7 1966.3, 1129.73 1966.3, 1129.73 1558.06, 1559.7 1558.06))LicenceMITAuthors@ruankie
Package: poly2tri
﻿==================
INSTALLATION GUIDE
==================DependenciesCore poly2tri lib:
- CythonTestbed:
- PygameBuilding the librarypython setup.py build_ext -iRunning the Examplespython test.py <filename> <translate-x> <translate-y> <zoom>Examples:python test.py data/dude.dat 100 -200 1
python test.py data/nazca_monkey.dat 400 300 4.5
Package: polyA
AAAAAAAAAAAAAAAA (PolyA):AutomaticallyAdjudicateAnyAndAllArbitraryAnnotations,AstutelyAdjoinAbuttingAlignments,AndAlsoAmputateAnythingAmissA tool for adjudicating between competing annotations of biological sequences.AboutPolyA is a software tool that adjudicates between competing alignment-based
annotations. PolyA communicates annotation certainty, identifies large scale
rearrangements, and detects boundaries between neighboring elements.See thedocumentationfor more
information.LicenseBSD license. SeeLICENSE.AuthorsWheeler Labat the University of Montana.Kaitlin CareyAudrey ShingletonGeorge LesicaJack RoddyTravis Wheeler
Package: polyadicqml
This package provides a library to define, train and deployQuantum Machine Learningmodels.This library has been used to train a qmodel with the Iris flower dataset on IBM quantum computers:iris.entropicalabs.ioThe quantum circuits can run on top of any quantum computer provider.
As for now, it implements interfaces for a fast simulator,manyq, andQiskit.InstallationFrom PyPI, at the command line:pip install polyadicqmlInstalling latest stable from github:git clone https://github.com/entropicalabs/polyadicQML.git polyadicqml
cd polyadicqml
pip install -U .DocumentationYou can find aquickstart guide, thetutorialand the modulereferencesin thedocs.Sample codeTraining a model on a simulator and testing it on a real quantum computer can
be done in a few lines:# Define the circuit structuremake_circuit(bdr,x,params):...# Prepare a circuit simulator:qc=mqCircuitML(make_circuit=make_circuit,nbqbits=nbqbits,nbparams=nbparams)# Instanciate and train the modelmodel=Classifier(qc,bitstr).fit(input_train,target_train)# Prepare to run the circuit on an IBMq machine:backend=Backends("ibmq_ourense",hub="ibm-q")qc2=qkCircuitML(make_circuit=make_circuit,nbqbits=nbqbits,nbparams=nbparams,backend=backend)# Change the model backend and run itmodel.set_circuit(qc2)model.nbshots=300model.job_size=30pred_test=model(input_test)You can find out more in thedocumentation, where you will find tutorials and examples.
A quickstart through examples can be found in theexamples folder, as well as on the website.
As an introduction to the algorithm you can check out thisvideo
presentation.
Package: polyan
polyan: a python package for modelling polysome profiles from ribosome density dataPurposepolyan is designed to process Ribosome profiling data (a type of high throughput sequencing data) into visual output resembling polysome profiles generated with sucrose density gradients.
These modelled profiles can serve as a convenient quality checking tool for data relating to ribosome densities on mRNAs, and can be used to generate secondary visualisations for assessing movement trends of transcripts between polysome peaks.Data requirementspolyan takes as input pandas dataframes which contain, as minimum requirements, a column specifying transcript names, and a second column specifying relative ribosome densities on each transcript. The most common source of input data for this analysis would likely ribosome footprinting experiemnts, in which case the second column should specify read counts for each transcript (and importantly, shoudl not be RPKM). Where a minimum dataset with only transcript names and ribosome densities is used, transcript abundance data are added from generic datasets provided by polyan. These are currently available forSaccharomyces cerevisiaecells and for HEK293 cells. ALternatively, the dataframe can contain a third column specifying transcript abundances (if these are from sequencing data they should again be in the form of read counts rather than RPKM).TutorialsDetailed tutorials are available onprotocols.io.