Saravanan666/pypi-org huggingface dataset:
Package: pyraat
Pyraat[![Build Status](https://travis-ci.org/mmcauliffe/Pyraat.svg?branch=master)](https://travis-ci.org/mmcauliffe/Pyraat)
[![Coverage Status](https://coveralls.io/repos/github/mmcauliffe/Pyraat/badge.svg?branch=master)](https://coveralls.io/github/mmcauliffe/Pyraat?branch=master)
[![Documentation Status](https://readthedocs.org/projects/pyraat/badge/?version=latest)](http://pyraat.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/python-praat-scripts.svg)](https://badge.fury.io/py/pyraat)
[![DOI](https://zenodo.org/badge/7311987.svg)](https://zenodo.org/badge/latestdoi/7311987)Interface for running Praat scripts through PythonInstallationYou can install Pyraat through pip via:` pip install pyraat `Once installed, thepyraatpackage will be importable.
Package: pyrabbit
The main documentation lives athttp://pyrabbit.readthedocs.orgThere’s no way to easily write programs against RabbitMQs management API
without resorting to some messy urllib boilerplate code involving HTTP
Basic authentication and parsing the JSON responses, etc. Pyrabbit
abstracts this away & provides an intuitive, easy way to work with the
data that lives inside of RabbitMQ, and manipulate the resources there.
Package: pyrabbit2
Fork module to communicate the RabbitMQ HTTP Management APIhttps://github.com/bkjones/pyrabbitThe main documentation lives athttp://pyrabbit.readthedocs.orgThere’s no way to easily write programs against RabbitMQs management API
without resorting to some messy urllib boilerplate code involving HTTP
Basic authentication and parsing the JSON responses, etc. Pyrabbit
abstracts this away & provides an intuitive, easy way to work with the
data that lives inside of RabbitMQ, and manipulate the resources there.
Package: pyrabbitmq
pyrabbitmqScenariosThe library is not proposed with same functions as 'pika'.
It helps to initialize a rabbitmq instance via its native API in following cases:Many rabbitmq instances to be kicked via scripts but not its management UI, orFor some reason you need reset rabbitmq instances more often.Good Luck.Usagefrompyrabbitmqimportconnection# rmq = connection.Instance(#     rabbitmq_host="127.0.0.1",#     rabbitmq_port="5673",#     rabbitmq_admin_user="guest",#     rabbitmq_admin_password="guest",#     rabbitmq_tls_enabled=False# )# It reads the rabbitmq os $env values.# If no $env variables find, default values used..rmq=connection.Instance()# Virtual Hostsv=rmq.VirtualHostv.create('a-vhost-name')v.delete('a-vhost-name')# Usersu=rmq.Useru.create('test-user','test-user-password')u.delete('test-user')# Queuesq=rmq.Queueq.create(vhost='vhost01',queue='queue01')q.delete(vhost='vhost01',queue='queue01')# Bindingsb=rmq.Bindingb.create(vhost='vhost01',exchange='exchange01',queue='queue01')b.delete(vhost='vhost01',exchange='exchange01',queue='queue01',routing_key='routing_key-queue01')
Package: pyrac
Python RESTful API ClientInstallationFirst make sure you have python 3.10 installed on your system.$ python --version
Python 3.10.xThen install the required packagespip install requestsThat's it!Help message$ ./pyrac -h
 ____  _  _  ____   __    ___   
(  _ \( \/ )(  _ \ / _\  / __)  
 ) __/ )  /  )   //    \( (__   
(__)  (__/  (__\_)\_/\_/ \___)v0.2.0
            
       [-h] [-u URL] [-H] [-m METHOD] [-d JSON] [-r] [-q] [--data-file FILE]
       [--force-show-response] [--version]

Python RESTful API Client.

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     (required) url of endpoint
  -H, --https           sets your connection to https
  -m METHOD, --method METHOD
                        sets your connection method. [GET, POST, OPTIONS]
  -d JSON, --data JSON  data that want to be passed in json format
  -r, --allow-redirects
                        allows redirects
  -q, --quiet           quiet output (no messages)
  --data-file FILE      data as a json file
  --force-show-response
                        shows response anyways
  --version             shows the version numberExamples./pyrac -u jsonplaceholder.typicode.com/posts -m get --httpsLicenseLicensed by MIT
Package: pyrace
pyraceThis library provides a flexible environment to practice different Reinforcment learning models.ImportfrompyraceimportEnvCreat an environmentenv=Env()Env classThe methods of this class are pretty similar to the environments provided by the gym library.render: print an image of the current state of the environment. please make sure to turn the backend of matplotlib to auto (%matplotlib Auto)reset: reset the environment and output tu initial state.step: takes an action as input. An action is an array, the size and types in this array are defined by the environment's action space.This method outputs the new state.load: Input the name of a map and it reset the environment with this new map loaded. Currently only one map is ready (map_1).So, this method is not that useful currently.sample_action: no input, it output a random sample of the current environement's action space.get_model_info: print the current environment's metadata. This metadata gives a description of the action space and the observation space.get_model_list: gives the list of the names of the different available models.get_map_list: gives the list of the names of the maps available.
Package: pyracing
AboutThis package is an asynchronous API "wrapper" for retrieving data from iRacing. We use the term "wrapper" loosely as iRacing does not yet have an officially documented API; However, we've done our best to build something that might resemble one.The goal of this project is to provide access to iRacing stats in a manner that is convienent, flexible, and efficient. In using this package, if you find something in its design that goes against these goals,we want to know.The contributors of this project use Discord as the primary means of communication; TheiRacing Open Wheel serverwas created by the author of this project and hosts the channels for discussion there. When joining, please ask Jacob Anderson for the role to see the appropriate channels.Documentation & DiscussionAll documentation for this project is available through theGithub Pages project site.Dependancieshttpx= 0.13.x
Package: pyracing-bullethell
AboutThis package is an asynchronous API "wrapper" for retrieving data from iRacing. We use the term "wrapper" loosely as iRacing does not yet have an officially documented API; However, we've done our best to build something that might resemble one.The goal of this project is to provide access to iRacing stats in a manner that is convienent, flexible, and efficient. In using this package, if you find something in its design that goes against these goals,we want to know.The contributors of this project use Discord as the primary means of communication; TheiRacing Open Wheel serverwas created by the author of this project and hosts the channels for discussion there. When joining, please ask Jacob Anderson for the role to see the appropriate channels.Documentation & DiscussionAll documentation for this project is available through theGithub Pages project site.Dependancieshttpx= 0.13.x
Package: pyraco
# pyracoA python library for interacting with the retroarch network command interface.Free software: MIT license## InstallationUse pip to install:` pip install pyraco `## UsageThe network command interface must be enabled (network_cmd_enable = “true”in retroarch.cfg).A simple CLI is included,pyraco, which can test whether the connection is working.The current version is barely a proof of concept! Most commands are not supported.History0.1.0 (2021-05-12)First release on PyPI.
Package: py-racoon
RacoonView onPyPIWhat is it?A Python3 template initializer based onnymann/python-template. That automatically sets up a GitHub project for you.Example of generated project:nymann/racoon-exampleInstallationpipinstallpy-racoonUsage$racoon--help
Usage:racoon[OPTIONS]URL

Arguments:URL[required]Options:--access-tokenPATH[envvar:GITHUB_ACCESS_TOKEN;default:/home/knj/.cache/github_token]--src-dirTEXT[default:src]--template-urlTEXT[default:https://github.com/nymann/python-template.git]--helpShowthismessageandexit.Example# Export your github access token file as an environment variable, can also be provided via --github-access-tokenexportGITHUB_ACCESS_TOKEN='YOUR_ACCESS_TOKEN'# Create a new project "my-project" which will be created under https://github.com/YOUR_USERNAME/my-projectracoonmy-projectDevelopmentFor help getting started developing checkDEVELOPMENT.md
Package: pyrad
Introductionpyrad is an implementation of a RADIUS client/server as described in RFC2865.
It takes care of all the details like building RADIUS packets, sending
them and decoding responses.Here is an example of doing a authentication request:from __future__ import print_function
from pyrad.client import Client
from pyrad.dictionary import Dictionary
import pyrad.packet

srv = Client(server="localhost", secret=b"Kah3choteereethiejeimaeziecumi",
             dict=Dictionary("dictionary"))

# create request
req = srv.CreateAuthPacket(code=pyrad.packet.AccessRequest,
                           User_Name="wichert", NAS_Identifier="localhost")
req["User-Password"] = req.PwCrypt("password")

# send request
reply = srv.SendPacket(req)

if reply.code == pyrad.packet.AccessAccept:
    print("access accepted")
else:
    print("access denied")

print("Attributes returned by server:")
for i in reply.keys():
    print("%s: %s" % (i, reply[i]))Requirements & Installationpyrad requires Python 2.7, or Python 3.6 or laterInstalling is simple; pyrad uses the standard distutils system for installing
Python modules:python setup.py installAuthor, Copyright, Availabilitypyrad was written by Wichert Akkerman <wichert@wiggy.net> and is maintained by
Christian Giese (GIC-de) and Istvan Ruzman (Istvan91).This project is licensed under a BSD license.Copyright and license information can be found in the LICENSE.txt file.The current version and documentation can be found on pypi:https://pypi.org/project/pyrad/Bugs and wishes can be submitted in the pyrad issue tracker on github:https://github.com/pyradius/pyrad/issues
Package: pyradamsa
pyradamsapyradamsaprovides an interface for calling libradamsa methods from within Python, allowing one to perform mutations on byte blocks (aka fuzzing). For more details seeradamsa(a general-purpose fuzzer) andlibradamsa(precompiled radamsa library).UsageInstall the package usingpip(orbuildit from source)pipinstallpyradamsaDo some fuzzingimportpyradamsarad=pyradamsa.Radamsa()mydata=b'GET /auth?pass=HelloWorld HTTP1.1'fuzzed=rad.fuzz(mydata,seed=1337)print(fuzzed)>b'GET /auth?pass=HelloWorld HTTP\xc0\xb1.1'# seed is randomly set if not providedrad.fuzz(mydata)>b'\tG\xf3\xa0\x81\x9c\xf7dLET\xe2\x81/aut\xf3\xa0\x80\xafHTTP2.rld HTTP2.rld HTTP3.2\xe1\xa0\x8e9'rad.fuzz(mydata)>b'GET /auth?pass=HelloWorld HTTP1.340282366920938463463374607431768211455'etc.# enforce static seed on initializationrad=pyradamsa.Radamsa(seed=0)# max_mut enforces a maximum length for returned data# it defaults to (data length + an offset of 4096 bytes)fuzzed=rad.fuzz(mydata,seed=1337,max_mut=10)>b'GET /auth?'# the offset may be overwritten on initrad=pyradamsa.Radamsa(mut_offset=2048)BuildingCurrently wheels are available for linux i686 and x86_64# Clone the repogitclone--recurse-submoduleshttps://github.com/tsundokul/pyradamsa.gitcdpyradamsa# patch memory leak when reinitializing owl vmpatchlibradamsa/libradamsa.crealloc.patch# OPTIONAL: when using manylinux (https://github.com/pypa/manylinux)dockerrun--rm-it-v`pwd`:/ioquay.io/pypa/manylinux2010_x86_64/bin/bashcd/io&&aliaspython='/opt/python/cp35-cp35m/bin/python3.5'exportPATH="/opt/python/cp35-cp35m/bin/:${PATH}"# Install requirementspython-mpipinstall-rrequirements.txt# Build C extension (libradamsa.so)pythonsetup.pybuild_ext# Run tests./run_tests# Build wheelpythonsetup.pybdist_wheelContributingFork the repoCheck out a feature or bug branchAdd your changesUpdate README when neededSubmit a pull request to upstream repoAdd description of your changesEnsure tests are passingEnsure branch is mergeableMIT License, 2020@tim17d
Package: pyradau13
RADAU13 is an implicit 13th order adaptive Runge-Kutta implementation of the
RADAU IIA method by Ernst Hairer and Gerhard Wanner. The Fortran code is
available from Ernst Hairer’s websitehttp://www.unige.ch/~hairer/software.htmland a detailled description is available in their bookHairer, Norsett and Wanner (1993): Solving Ordinary Differential Equations.
Nonstiff Problems.  2nd edition. Springer Series in Comput. Math., vol. 8.This package does not use f2py, but instead calls the fortran function from a C
extension. The solver features dense/continous output, support for implicit
problems with a mass matrix, DAEs up to index 3 and multiple error control
algorithms. The python interface includes all features except band-width
control (for now), but some of the advanced/complex settings are not
documented (yet).
Package: pyrademacher
pyrademacherPython Library to read/control devices connected to your Rademacher HomePilot (or Start2Smart) hub.This library uses the latest REST API, so you must update your hub to the latest firmware if you want to use this library.InstallationUse pip to install pyrademacher lib:pipinstallpyrademacherUsageAPI ClassWith the HomePilotApi class you can acess the REST API directly:fromhomepilot.apiimportHomePilotApiapi=HomePilotApi("hostname","password")# password can be empty if not defined ("")print(asyncio.run(asyncio.run(api.get_devices())))# get all devicesasyncio.run(api.async_open_cover(did=1))# open cover for device id 1 (assuming it's a cover device)Manager ClassYou can use the HomePilotManager helper class to more easily manage the devices:importasynciofromhomepilot.managerimportHomePilotManagerfromhomepilot.apiimportHomePilotApiapi=HomePilotApi("hostname","password")# password can be empty if not defined ("")manager=asyncio.run(HomePilotManager.async_build_manager(api))asyncio.run(manager.update_states())print(manager.devices["1"].is_closed)print(manager.devices["1"].cover_position)print(manager.devices["-1"].fw_version)# ID -1 is reserved for the hub itselfEach device in manager.devices is an instance of the specific device class.
Package: pyradiance
pyradianceThis package facilitates a Python interface to commonly used Radiance
command-line tools.InstallationYou can install pyradiance through pypi as folllows:pip install pyradianceRadiance binaries and libraries came included with pyradiance. You don't need
to separately install Radiance for pyradiance to work.DocumentationCopyright NoticeRadiance v5.4 Copyright (c) 1990 to 2022, The Regents of the University of
California, through Lawrence Berkeley National Laboratory (subject to receipt
of any required approvals from the U.S. Dept. of Energy).  All rights reserved.If you have questions about your rights to use or distribute this software,
please contact Berkeley Lab's Intellectual Property Office atIPO@lbl.gov.NOTICE.  This Software was developed under funding from the U.S. Department
of Energy and the U.S. Government consequently retains certain rights.  As
such, the U.S. Government has been granted for itself and others acting on
its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the
Software to reproduce, distribute copies to the public, prepare derivative
works, and perform publicly and display publicly, and to permit others to do so.
Package: pyradigm
CSVs suck. Upgrade your life with pyradigm for research data management in biomedical and machine learning applications[]DocumentationAPI and usage :http://raamana.github.io/pyradigm/Demo notebook (no setup required) :SchematicThe illustration below describes the full functionality ofpyradigmin the latest version0.6, for which docs will be updated shortly (see below illustration for docs on previous versions):The value of pyradigm is even more appreciated in the management of multi-modal feature sets, which becomes more efficient and easier to manage.Usage/demo notebook (no setup required) :Documentation :http://raamana.github.io/pyradigm/Name:pyradigmroughly stands for PYthon based data structure to improve Dataset's InteGrity in Machine learning workflows.
Package: pyradio
# PyRadioCommand line internet radio player.Ben Dowling - [http://www.coderholic.com/pyradio](http://www.coderholic.com/pyradio)## Requirements* python 2.6+/3.2+* mplayer or vlc## Installationpip install pyradio## Shell$ pyradio -husage: main.py [-h] [--stations STATIONS] [--random] [--add] [--list]Console radio playeroptional arguments:-h, --help            show this help message and exit--stations STATIONS, -s STATIONSPath on stations csv file.--random, -r          Start and play random station.--add, -a             Add station to list.--list, -l            List of added stations.## Controls```Up/Down/PgUp/PgDown 	Change station selectionEnter 					Play selected station-/+						Change volumem						Muter						Select and play a random stationSpace                   Stop/start playing selected stationEsc/q					Quit```
Package: pyradiobiology
pyRadioBiologyIt is a package for radiobiological modeling (TCP, NTCP, EUD, gEUD) with Python.
pyradiobiology provides:Linear quadratic model for survival fraction and biological effective dose calculationTumor Control Probability (TCP) models: linear-quadratic Poisson, empirical PoissonNormal Tissue Complication Probability (NTCP) model: Relative seriality (RS), Lyman-Kutcher-Burman (LKB)Generalized Equi-effective Uniform Dose (gEUD), Equi-effective Uniform Dose (EUD)All pyradiobiology wheels distributed on PyPI are MIT licensed.
Package: pyradio-nepal
pyradio-nepal=============Command line tool to listen any radio stations of Nepal from the terminalInstallation------------- `pyradio-nepal` can be installed using pip- You will need `python3` and `pip3`.- You also need to have `vlc` installed::$ sudo pip3 install pyradio-nepal$ sudo apt-get install vlc- Once installed, `pyradio-nepal` can be accessed using `pyradio-nepal` command from terminal.Usage------ To list all stations, first type `pyradio-nepal` then type `list`.::$ pyradio-nepal$ Enter station number (None) or type station name to search> list- To listen any radio station, type the station number obtained from the list::$ Enter station number (None) or type station name to search> 1- To search radio station, type the name of the station::$ Enter station number (None) or type station name to search> your search term- To exit::$ Enter station number (None) or type station name to search> exitContribution------------Feel free to create a Github issue. Also, you are more than welcome to submita pull request for a bug fix or additional feature.
Package: pyradios
PyradiosPython client for theRadio Browser APIInstallationpipinstallpyradiosExamplesIn[1]:frompyradiosimportRadioBrowser

In[2]:rb=RadioBrowser()In[3]:rb.search(name="BBC Radio 1",name_exact=True)Out[3]:[{'changeuuid':'4f7e4097-4354-11e8-b74d-52543be04c81','stationuuid':'96062a7b-0601-11e8-ae97-52543be04c81','name':'BBC Radio 1','url':'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p','url_resolved':'http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p','homepage':'http://www.bbc.co.uk/radio1/','favicon':'https://cdn-radiotime-logos.tunein.com/s24939q.png','tags':'bbc,indie,entertainment,music,rock,pop','country':'United Kingdom','countrycode':'GB','state':'','language':'english','votes':5018,'lastchangetime':'2020-01-19 13:17:11','codec':'MP3','bitrate':128,'hls':0,'lastcheckok':1,'lastchecktime':'2020-02-03 19:44:37','lastcheckoktime':'2020-02-03 19:44:37','lastlocalchecktime':'2020-02-03 09:23:37','clicktimestamp':'2020-02-04 00:16:54','clickcount':2880,'clicktrend':40}]HelpIn[1]:frompyradiosimportRadioBrowserIn[2]:help(RadioBrowser)Development Setup$ git clone https://github.com/andreztz/pyradios.git
$ cd pyradios
$ virtualenv venv
$ source venv/bin/activate
$ pip install -e .[dev]Run Tests$ pytestRelease History- Work in progressMetaAndre P. Santos –@ztzandre–andreztz@gmail.comDistributed under the MIT LICENSE. SeeLICENSEfor more information.https://github.com/andreztzContributingFork it (https://github.com/andreztz/pyradios/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: py-radius
py-radiusRADIUS authentication module for Python 2.7.13+(c) 1999 Stuart Bishop <zen@shangri-la.dropbear.id.au>This module provides basic RADIUS client capabilities, allowing your Python
code to authenticate against any RFC2138 compliant RADIUS server.Installation$ pip install py-radiusUsageThe radius.py module can be run from the command line, providing a minimal
RADIUS client to test out RADIUS servers:$ python -m radius
Host [default: 'radius']: radius
Port [default: 1812]: 1812
Enter RADIUS Secret: s3cr3t
Enter your username: foobar
Enter your password: qux
...
Authentication SuccessfulExampleHere is an example of using the library.importradiusradius.authenticate(username,password,secret,host='radius',port=1812)# - OR -r=radius.Radius(secret,host='radius',port=1812)print('success'ifr.authenticate(username,password)else'failure')If your RADIUS server requires challenge/response, the usage is a bit more
complex.importradiusr=radius.Radius(secret,host='radius')try:print('success'ifr.authenticate(username,password)else'failure')sys.exit(0)exceptradius.ChallengeResponsease:pass# The ChallengeResponse exception has `messages` and `state` attributes# `messages` can be displayed to the user to prompt them for their# challenge response. `state` must be echoed back as a RADIUS attribute.# Send state as an attribute _IF_ provided.attrs={'State':e.state}ife.stateelse{}# Finally authenticate again using the challenge response from the user# in place of the password.print('success'ifr.authenticate(username,response,attributes=attrs)else'failure')This module has extensive logging, enable it using the Python logging framework.
Package: pyraf
PyRAF is a command language for running IRAF tasks in a Python like
environment. It works very similar to IRAF, but has been updated to
allow such things as importing Python modules, starting in any
directory, GUI parameter editing and help. Most importantly, it can be
imported into Python allowing you to run IRAF commands from within a
larger script.InstallationTo install PyRAF, it is required to have bothIRAFandPythonalready installed. For the IRAF installation, both a self-compiled and
a binary IRAF package (f.e. inUbuntu) will work.The IRAF installation should have a properly configured environment,
especially theirafenvironment variable must be set to point to
the IRAF installation directory (i.e. to/usr/lib/iraf/on Ubuntu
or Debian systems). On multi-arch IRAF installations, theIRAFARCHenvironment variable should specify the architecture to use. This is
usually already set during the IRAF installation procedure.The minimal Python required for PyRAF is 3.6, but it is recommended to
use the latest available version. An installation in an virtual
environment likevenvorcondais possible.The package can be installed fromPyPIwith the commandpip3 install pyraf. Note that if no binary installation is available on
PyPI, the package requires a compilation, so aside from pip3, the C
compiler and development libraries (on Linuxlibx11-dev) should be
installed.Contributing Code, Documentation, or FeedbackIRAF and PyRAF can only survive by the contribution of its users, so
we welcome and encourage your contributions. The preferred way to
report a bug is to create a new issue on thePyRAF GitHub
issuepage.  To
contribute patches, we suggest to create apull request on
GitHub.LicensePyRAF is licensed under a 3-clause BSD style license - see theLICENSE.txtfile.DocumentationThe PyRAF Tutorial