Install the NVIDIA Riva Python Client#
Interacting with NVIDIA Speech NIM microservices requires the following components: the Riva Python client package and the Riva Python client repository.
Riva Python Client Package on PyPI
A Python package that provides the
riva.clientlibrary. This library handles gRPC communication with the NIM, including authentication, audio encoding, and request/response serialization. Install the package using the following command:pip install -U nvidia-riva-client
Riva Python Client Repository on GitHub
The open-source repository of the client that also provides a collection of ready-to-use scripts. The scripts import the
riva.clientlibrary for communicating with the Speech NIM microservices for tasks such as audio transcription, translation, and text-to-speech. Clone the repository using the following command:git clone https://github.com/nvidia-riva/python-clients.git