Skip to main content

Provides RHVoice libraries for rhvoice-wrapper

Project description

rhvoice-wrapper-bin

RHVoice PyPI version Python versions PyPI - Format Build

Provides RHVoice libraries for rhvoice-wrapper. Depends on rhvoice-wrapper-data, that contains languages and voices.

If this package installed, rhvoice-wrapper will automatically use it by default.

Install on Linux

This will download and build RHVoice and may take many time

apt-get install --no-install-recommends build-essential python3-pip python3-setuptools python3-wheel libspeechd-dev
pip3 install scons lxml
pip3 install rhvoice-wrapper-bin

Alternatively, you may install auto build wheel packages from github releases (may not work).

Install on Windows

Binary

python3 -m pip install wheel
python3 -m pip install rhvoice-wrapper-bin --only-binary rhvoice-wrapper-bin

Build

Install manually: git, Unicode NSIS and Visual Studio 2015 (2013+ must works)

python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install scons lxml
python3 -m pip install rhvoice-wrapper-bin --no-binary rhvoice-wrapper-bin

Usage

rhvoice-wrapper will automatically use path to library and data path from rhvoice-wrapper-bin (data, of course, provided rhvoice-wrapper-data).

Get info from library

import rhvoice_wrapper_bin
# All the paths will None in error

# Contains path to the RHVoice library
print(rhvoice_wrapper_bin.lib_path)
# Contains path to the RHVoice data
print(rhvoice_wrapper_bin.data_path)
# Contains path to the RHVoice libraries.
print(rhvoice_wrapper_bin.LIBS_PATH)
# Contains path to the rhvoice-wrapper-bin
print(rhvoice_wrapper_bin.PATH)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhvoice-wrapper-bin-0.4.0.tar.gz (16.6 kB view hashes)

Uploaded source

Built Distributions

rhvoice_wrapper_bin-0.4.0-py3-none-win32.whl (673.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page