Saravanan666/pypi-org huggingface dataset:
Package: rhasspy-tts-wavenet-hermes
Rhasspy TTS Hermes MQTT ServiceImplementshermes/ttsfunctionality fromHermes protocolusingGoogle Wavenet.Seedocumentationfor more details.Use--play-command aplayto play speech locally instead of usinghermes/audioServer<siteId>/playBytes.InstallingClone the repository and create a virtual environment:$gitclonehttps://github.com/rhasspy/rhasspy-tts-wavenet-hermes.git
$cdrhasspy-tts-wavenet-hermes
$./configure
$make
$makeinstallCommand-Line Optionsusage: rhasspy-tts-wavenet-hermes [-h] --credentials-json CREDENTIALS_JSON
                                  --cache-dir CACHE_DIR [--voice VOICE]
                                  [--sample-rate SAMPLE_RATE]
                                  [--play-command PLAY_COMMAND] [--host HOST]
                                  [--port PORT] [--username USERNAME]
                                  [--password PASSWORD] [--tls]
                                  [--tls-ca-certs TLS_CA_CERTS]
                                  [--tls-certfile TLS_CERTFILE]
                                  [--tls-keyfile TLS_KEYFILE]
                                  [--tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}]
                                  [--tls-version TLS_VERSION]
                                  [--tls-ciphers TLS_CIPHERS]
                                  [--site-id SITE_ID] [--debug]
                                  [--log-format LOG_FORMAT]

optional arguments:
  -h, --help            show this help message and exit
  --credentials-json CREDENTIALS_JSON
                        Path to Google Wavenet credentials JSON file
  --cache-dir CACHE_DIR
                        Directory to cache WAV files
  --voice VOICE         Chosen voice (default: en-US-Wavenet-C)
  --sample-rate SAMPLE_RATE
                        Chosen sample rate of the outpt wave sample (default:
                        22050)
  --play-command PLAY_COMMAND
                        Command to play WAV data from stdin (default: publish
                        playBytes)
  --host HOST           MQTT host (default: localhost)
  --port PORT           MQTT port (default: 1883)
  --username USERNAME   MQTT username
  --password PASSWORD   MQTT password
  --tls                 Enable MQTT TLS
  --tls-ca-certs TLS_CA_CERTS
                        MQTT TLS Certificate Authority certificate files
  --tls-certfile TLS_CERTFILE
                        MQTT TLS certificate file (PEM)
  --tls-keyfile TLS_KEYFILE
                        MQTT TLS key file (PEM)
  --tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}
                        MQTT TLS certificate requirements (default:
                        CERT_REQUIRED)
  --tls-version TLS_VERSION
                        MQTT TLS version (default: highest)
  --tls-ciphers TLS_CIPHERS
                        MQTT TLS ciphers to use
  --site-id SITE_ID     Hermes site id(s) to listen for (default: all)
  --debug               Print DEBUG messages to the console
  --log-format LOG_FORMAT
                        Python logger format
Package: rhasspy-wake-snowboy-hermes
Rhasspy Wake Snowboy HermesImplementshermes/hotwordfunctionality fromHermes protocolusingsnowboy.RequirementsPython 3.7snowboyInstallation$gitclonehttps://github.com/rhasspy/rhasspy-wake-snowboy-hermes
$cdrhasspy-wake-snowboy-hermes
$./configure
$make
$makeinstallRunning$bin/rhasspy-wake-snowboy-hermes<ARGS>Command-Line Optionsusage: rhasspy-wake-snowboy-hermes [-h] --model MODEL [MODEL ...]
                                   [--model-dir MODEL_DIR]
                                   [--wakeword-id WAKEWORD_ID] [--stdin-audio]
                                   [--udp-audio UDP_AUDIO UDP_AUDIO UDP_AUDIO]
                                   [--host HOST] [--port PORT]
                                   [--username USERNAME] [--password PASSWORD]
                                   [--tls] [--tls-ca-certs TLS_CA_CERTS]
                                   [--tls-certfile TLS_CERTFILE]
                                   [--tls-keyfile TLS_KEYFILE]
                                   [--tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}]
                                   [--tls-version TLS_VERSION]
                                   [--tls-ciphers TLS_CIPHERS]
                                   [--site-id SITE_ID] [--debug]
                                   [--log-format LOG_FORMAT]

optional arguments:
  -h, --help            show this help message and exit
  --model MODEL [MODEL ...]
                        Snowboy model settings (model, sensitivity,
                        audio_gain, apply_frontend)
  --model-dir MODEL_DIR
                        Directories with snowboy models
  --wakeword-id WAKEWORD_ID
                        Wakeword IDs of each keyword (default: use file name)
  --stdin-audio         Read WAV audio from stdin
  --udp-audio UDP_AUDIO UDP_AUDIO UDP_AUDIO
                        Host/port/siteId for UDP audio input
  --host HOST           MQTT host (default: localhost)
  --port PORT           MQTT port (default: 1883)
  --username USERNAME   MQTT username
  --password PASSWORD   MQTT password
  --tls                 Enable MQTT TLS
  --tls-ca-certs TLS_CA_CERTS
                        MQTT TLS Certificate Authority certificate files
  --tls-certfile TLS_CERTFILE
                        MQTT TLS certificate file (PEM)
  --tls-keyfile TLS_KEYFILE
                        MQTT TLS key file (PEM)
  --tls-cert-reqs {CERT_REQUIRED,CERT_OPTIONAL,CERT_NONE}
                        MQTT TLS certificate requirements (default:
                        CERT_REQUIRED)
  --tls-version TLS_VERSION
                        MQTT TLS version (default: highest)
  --tls-ciphers TLS_CIPHERS
                        MQTT TLS ciphers to use
  --site-id SITE_ID     Hermes site id(s) to listen for (default: all)
  --debug               Print DEBUG messages to the console
  --log-format LOG_FORMAT
                        Python logger format
Package: rh-aws-saml-login
rh-aws-saml-loginA CLI tool that allows you to log in and retrieve AWS temporary credentials using Red Hat SAML IDP.Pre-requisitesPython 3.11 or laterConnected to Red Hat VPNA Red Hat managed computer (Kerberos must be installed and configured) and you are logged in with your Red Hat accountHow it worksTherh-aws-saml-loginCLI is a tool that simplifies the process of logging into an AWS account via Red Hat SSO. It retrieves a SAML token from the Red Hat SSO server, then fetches and parses the AWS SSO login page to present you with a list of all available accounts and their respective roles. You can then choose your desired account and role, andrh-aws-saml-loginuses the SAML token to generate temporary AWS role credentials. Finally, it spawns a new shell with the necessaryAWS_environment variables already set up, so you can immediately use theawsCLI without any further configuration.InstallationYou can install this library fromPyPIwithpip:python3-mpipinstallrh-aws-saml-loginor install it withpipx:pipxinstallrh-aws-saml-loginYou can also usepipxto run the library without installing it:pipxrunrh-aws-saml-loginUsagerh-aws-saml-loginThis spawns a new shell with the following environment variables are set:AWS_ACCOUNT_NAME: The name/alias of the AWS accountAWS_ROLE_NAME:  The name of the roleAWS_ROLE_ARN: The ARN of the roleAWS_ACCESS_KEY_ID: The access key used by the AWS CLIAWS_SECRET_ACCESS_KEY: The secret access key used by the AWS CLIAWS_SESSION_TOKEN: The session token used by the AWS CLIAWS_REGION: The default region used by the AWS CLIFeaturesrh-aws-saml-login currently provides the following features (get help with-hor--help):No configuration neededUses Kerberos authenticationOpen the AWS web console for an account with the--consoleoptionIntegrates nicely with thestarship[env_var.AWS_ACCOUNT_NAME]format="$symbol$style [$env_value]($style) "style="cyan"symbol="🚀"DevelopmentUpdate CHANGELOG.md with the new version number and dateBump the version number inpyproject.toml
Package: rhcalendar
This module builds onworkdaysto
provide anetworkdays()method that knows about the Red Hat business
holidays.Example: determine number of business days from todayimportdatetimefromrhcalendarimportnetworkdaystoday=datetime.date.today()to_date=datetime.date(2023,1,1)# something far away...days=networkdays(from_date=today,to_date=to_date)print('%sis%dRed Hat business days from now.'%(to_date,days))# prints "2023-01-01 is 522 Red Hat business days from now."LocalesCurrently this module has the Red Hat holiday calendars for the US and Quebec,
Canada. Contributions welcome for other locales.# Locale option defaults to 'en-US':days=workdays(from_date,to_date)# Or use Quebec, Canada holidays:days=workdays(from_date,to_date,locale='qc-CA')Packages that use this packagehelga-productpages
Package: rhcephcompose
A tool to gather build artifacts and assemble them into a set of repositories.rhcephcomposeis a distribution compose tool, similar to Red Hat’sPungi(open-source). In contrast to simply throwing all
builds together into a single package repository, these tools give the user
fine-grained control over the selection of builds and the layout of the final
product’s output.Composes are release snapshots that contain release deliverables such as
installation trees with RPMs and Yum repodata.rhcephcomposecreates an
installation tree for Ubuntu packages. In Red Hat we use it for developing and
shipping the RH Ceph Enterprise product for Ubuntu.See Alsorhcephcomposeinteracts withKoji instanceor aChacrainstance. It queries Koji’s
API or Chacra’s API for build information and downloads build artifacts
stored there. (This is a bit similar to the way Pungi interacts with Koji.)After creating a compose, you may wish to GPG-sign it withMerfi.Note regarding Distro versionIn the RHEL world, el6 and el7 repositories are typically separated into two
entirely different trees in the filesystem. In Debian, a repository can mix
several distribution versions together.Using Koji, we can tag one build with multiple -candidate tags. In other
words, we can tag “ceph-ansible-3.2.0-2redhat1” as both
“ceph-3.2-xenial-candidate” and “ceph-3.2-bionic-candidate”.In dist-git for Ubuntu, I store the branches as “-ubuntu” in order to combine
the codebase for “-trusty” and “-xenial”. The reason for this is that I always
ended up keeping “ceph-1.2-rhel-6” and “ceph-1.2-rhel-7” identical, and it was
a pain to do that manually.CachingTo save time when accessing chacra, rhcephcompose downloads all build
artifacts to a local cache by default. This cache location is$XDG_CACHE_HOME/rhcephcompose/. If theXDG_CACHE_HOMEenvironment
variable is unset, rhcephcompose defaults this to~/.cache(so builds are
written to~/.cache/rhcephcompose).rhcephcompose never evicts items from this cache so it can grow without bound.
It’s a good idea to clean it out occasionally. If you are running
rhcephcompose with Jenkins, you can do this automatically by setting$XDG_CACHE_HOMEto a location within the job’s workspace, and then have
Jenkins simply clean up the workspace.Metadatarhcephcompose writes some metadata about the compose into ametadatasubdirectory. You can read the basiccomposeinfo.jsonfile with productmdproductmd. rhcephcompose
also writes a customdebs.jsonfile with a list of all the builds in each
distribution.SSL errorsThis is more of a python-requests thing, but if you receive an SSL warning,
it’s probably because you don’t have the Red Hat IT CA set up for your Python
environment. Particularly if you’re running this in a virtualenv, you’ll want
to set the following configuration variable:REQUESTS_CA_BUNDLE=/etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crtWhere “RH-IT-Root-CA.crt” is the public cert that signed the Chacra server’s
HTTPS certificate.
Package: rhclient
This software is the sole property of Prime Solutions Group, Inc.REST Harness - Python ClientREST Harness is a robust tool that acts to stand in place of another RESTful service. This can be used to mock out a service that doesn't exist yet or where there is a need to reproduce a particular set of inputs from an opaque service. It can also serve as a simple shared cache. This software runs as a daemon service by default. This library contains a client developed in Java that can be used to interact with the REST Harness web server.RequirementsPython3, boto3 and requests.Building the clientTo build:pull the source into any folder.Open a terminal and CD to the source folder.Use any of the python lifecycle phase flags with the prefix -m (so it is ran as a script), such asbuild.Importing the client and using it in an applicationImporting the client is like installing and importing any other python dependency.
To import:In your project environment, typepip install rhclientTo use it in your scripts, typefrom rhclient import clientwhere you'd normally import dependencies
Package: rh-doozer
## Doozer[![PyPI version](https://badge.fury.io/py/rh-doozer.svg)](https://badge.fury.io/py/rh-doozer)
[![codecov](https://codecov.io/gh/openshift/doozer/branch/master/graph/badge.svg)](https://codecov.io/gh/openshift/doozer)Doozer is a build management utility that currently has the capability to build RPMs and Container Images via OSBS/Brew## Deployment_**Note**: This is for running the full, local pythondoozerclient, not the containerized version. This requires other dependencies discussed in the [Installation doc](Installation.md)._For local development pull the code and run:pip3 install –user -e .For new releases, Jenkins is already setup and deployment to PyPi is easy:Bump the version in./doozerlib/VERSIONPush the change tomasterCreate a new GitHub release:https://github.com/openshift/doozer/releases/newThat’s it. Jenkins will do the rest automatically.## InstallationIf you just want to usedoozercheckout the [container usage doc](Container.md).If you need to develop for doozer checkout the full [installation doc](Installation.md).## LicenseMost of doozer is released under [Apache License 2.0][], except [doozerlib/dotconfig.py][] and
[doozerlib/gitdata.py][], which are embedded copies of [dotconfig][] and [gitdata][] projects
respectively, therefore those two files are released under [LGPL v3][].## UsageCheckout the [Usage doc](Usage.md)[Apache License 2.0]:https://github.com/openshift/doozer/blob/master/LICENSE[doozerlib/dotconfig.py]:https://github.com/openshift/doozer/blob/master/doozerlib/dotconfig.py[doozerlib/gitdata.py]:https://github.com/openshift/doozer/blob/master/doozerlib/gitdata.py[dotconfig]:https://github.com/adammhaile/dotconfig[gitdata]:https://github.com/adammhaile/gitdata[LGPL v3]:https://www.gnu.org/licenses/lgpl-3.0.en.html
Package: rHEALPixDGGS
rHEALPixDGGS is a Python package that implements the rHEALPix Discrete Global Grid System (DGGS).Release NotesThis package was originally authored in 2013 and has had only minor code updates since then.0.5.4 - currentCode unchanged from 0.5.3 other than updating to Python 3.11Refer to file CHANGES.rst for a more detailed history of changes.Requirementsrequirements.txt- all the module requirements for operationNumPy >=1.7Base N-dimensional array packageSciPy >=0.12Fundamental library for scientific computingMatplotlib >=1.2.1Comprehensive 2D PlottingPyproj >=1.9.3Python interface to the PROJ.4 cartographic libraryrequirements.dev.txt- packages needed for developing this packageInstallationThis package is available on PyPI, the Python Package Index from where it can be installed as follows:pip install rhealpixdggsrHEALPixDGGS is also available for download from the github repositoryhttps://github.com/manaakiwhenua/rhealpixdggs-pyfrom where the latest version can be cloned.TestsThe files in thetestsdirectory test the rHEALPixDGGS modules. These files are plainunittestfiles (the Python testing framework contained within the standard distribution). Tests for examples in documents need thedoctestmodule installed (seerequirements.dev.txt).Two UNIX shell scripts are included in this repository to run all unit and doc tests:run_doctests.shrun_unittests.shRunning the commandpythontests/test_<foo>.pyperforms a sequence of automated tests of<foo>.py.For example,tests/test_distortion.pyautomatically testsdistortion.py.If you update a module, then update its test file to test the changes you made!Test early, test often, test automatically!There are a couple of files in the main package directory that can be used to run all tests, startingrun_....DocumentationDocumentation can be found at:The rHEALPix Discrete Global Grid System- The rHEALPix Discrete Global Grid Systemdocs/build/latex/rHEALPixDGGS.pdf- The rHEALPixDGGS manualdocs/build/html/index.html- The rHEALPixDGGS manual in HTML formatThe latter two documents are generated automatically from the source code of therhealpixdggspackage modules.
To automatically build these yourself, install the Python packageSphinx(but do not runsphinx-quickstart, because the make fileMakefileand the configuration filedocs/source/conf.pyalready exist) and then from thedocsdirectory run the commandmake latexpdfto make the PDF documentation ormake htmlto make the HTML documentation.
For the PDF documentation, you might also need to installLaTeX.Thesourceandbuilddirectories contain all the Sphinx source and build files, respectively.LicenseThis code is licensed under theGNU Lesser General Public License v3.0,. See the fileLICENSEfor a copy of the deed.ContactMaintainer:Robert GibbManaaki Whenua – Landcare ResearchGibbr@landcareresearch.co.nzRelease Manager:Dr Nicholas J. CarSURROUND Australia Pty Ltdnicholas.car@surroundaustralia.comOriginal author:Alexander Raichevhttps://raichev.net/alex@raichev.net
Package: rhei
Rhei is a Python 3 package that implements simple stopwatch functionality including pausing, resetting and reverse counting.Installationpip install rheiIn a nutshellfromtimeimportsleepfromrheiimportStopwatchstopwatch=Stopwatch()stopwatch.start()sleep(5)stopwatch.value# 5.0stopwatch.pause()sleep(2)stopwatch.value# 5.0stopwatch.reset()stopwatch.value# 0.0stopwatch.reset(10.0)stopwatch.value# 10.0stopwatch.start(reversed=True)# Start counting downsleep(2)stopwatch.value# -2.0DevelopmentRhei uses docker to create an isolated development environment so your system is not being polluted.RequirementsIn order to run local development you have to have Docker and Docker Compose installed.Starting things updocker-compose up -dLogging into the docker terminal./bin/host/terminalThe code is synchronised between a docker container and the host using volumes so any changes (pipenv installetc ) will be affected on the host.
Package: rhelpers
pypi templateA minimal template for creating a pypi packageUse this template to more easily create a project project to submit to pypi and conda.How to use the template:Click hereto create a new repo (you need to be logged in to GitHub for this link to work), and follow the instructions to create a new repo from this templategit cloneyour new repoEditsettings.iniand fill out all the requested information (you can ignore parts starting with%)Installfastrelease,twine, andconda-buildRegister atpypiandAnacondaCreate a file called~/.pypircwith your pypi login details, as follows:[pypi]
username = your_pypi_username
password = your_pypi_passwordWrite your Python library!Add any package requirements to therequirementsline insettings.iniRunmake releasein the root of your repo. This will automatically:Publish to pypiPublish to AnacondaIncrement your version number
Package: rh-email-tpl
RegioHelden Email templaterh_email_tplis a django app used to render RegioHelden styled HTML emails. It provides also multiple Django
templatetags used as helpers for building HTML emails.This project is meant to be used internally by RegioHelden organisation, as it has the company styles and logos.InstallationSimply run:pip install rh_email_tplAnd addrh_email_tplto your djangoINSTALLED_APPS. I.e.: insettings.pyadd:INSTALLED_APPS = [
  ...
  "rh_email_tpl",
  ...
]Making a new releasebumpversionis used to manage releases.Add your changes to theCHANGELOGand runbumpversion <major|minor|patch>, then push your change.
That is enough for the new release, once the MR was merged the new release will be published.
Package: rheofit
rheofitlibrary for fitting rheology data flow curvesDocumentation athttps://rheofit.readthedocs.ioInstallto install:pip install git+https://github.com/rheopy/rheofit.gitIf you change your mind:pip uninstall rheofitTry it in the cloudWith Colab (gmail account required)In colab you can execute the notebooks used to create the documentation. Clicking the badge opens a index nobebook with links to the documentation notebooks. A direct link to each notebook is also available in the documentation by clicking the link at the top of the page.
You do not require a local python installation, colab provides all you need. You can try this also on a phone or tablet.With BinderIn Binder you can test notebooks and also use Ipywidgets to run notebooks as small web applications. We provide one example app that uses widgets to let the user upload a file, select a rheological model and fit the data. Binder takes a few min to start but provides a very convenient way to test feature on a customized environemnt. For this specific app we also provide an example file with an example measurement of a flow curve in the format assumed by the app, you can download it hereflow_curve_example.xls
Package: rhf
rhfPython implementation of Random Histogram Forest (RHF)Installation and UsageTo install rhfpip install rhfTo use rhf in a project:from rhf import RHF

my_rhf = RHF(num_trees = 100, max_height = 5, split_criterion='kurtosis')
output_scores = my_rhf.fit(data)CreditsFree software: MIT licenseDocumentation:https://rhf.readthedocs.io.This package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2020-09-16)First release on PyPI.
Package: rhino3dm
rhino3dm.pyCPython package based on OpenNURBS with a RhinoCommon styleProject Homepage at:https://github.com/mcneel/rhino3dmSupported platformsPython 3.7, 3.8, 3.9, 3.10, 3.11 - Windows (32 and 64 bit)Python 3.7, 3.8, 3.9, 3.10, 3.11 - OSX (installed through homebrew)Python 3.8, 3.9, 3.10, 3.11 - Linux via manylinuxother python versions are supported through source distributionsTeststartpythonfrom rhino3dm import *
import requests  # pip install requests

req = requests.get("https://files.mcneel.com/TEST/Rhino Logo.3dm")
model = File3dm.FromByteArray(req.content)
for obj in model.Objects:
    geometry = obj.Geometry
    bbox = geometry.GetBoundingBox()
    print("{}, {}".format(bbox.Min, bbox.Max))