Skip to main content

Leopard Speech-to-Text Engine

Made in Vancouver, Canada by Picovoice

Leopard is an on-device speech-to-text engine. Leopard is:

  • Private; All voice processing runs locally.
  • Accurate [1]
  • Compact and Computationally-Efficient [2]
  • Cross-Platform:
    • Linux (x86_64)
    • macOS (x86_64, arm64)
    • Windows (x86_64)
    • Android
    • iOS
    • Raspberry Pi (4, 3)
    • NVIDIA Jetson Nano

Compatibility

  • Python 3
  • Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4, 3), and NVIDIA Jetson Nano.

Installation

pip3 install pvleopard

AccessKey

AccessKey is your authentication and authorization token for deploying Picovoice SDKs, including Leopard. Anyone who is using Picovoice needs to have a valid AccessKey. You must keep your AccessKey secret. You would need internet connectivity to validate your AccessKey with Picovoice license servers even though the voice recognition is running 100% offline.

AccessKey also verifies that your usage is within the limits of your account. Everyone who signs up for Picovoice Console receives the Free Tier usage rights described here. If you wish to increase your limits, you can purchase a subscription plan.

Usage

Create an instance of the engine and transcribe an audio file:

import pvleopard

handle = pvleopard.create(access_key='${ACCESS_KEY}')

print(handle.process_file('${AUDIO_PATH}'))

Replace ${ACCESS_KEY} with yours obtained from Picovoice Console and ${AUDIO_PATH} to the path an audio file. Finally, when done be sure to explicitly release the resources using handle.delete().

Demos

pvleoparddemo provides command-line utilities for processing audio using Leopard.

Metadata

Release files for pvleopard 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pvleopard 1.0.3
File Size Uploaded Provenance Actions
pvleopard-1.0.3.tar.gz 21.0 MB Without provenance Details for pvleopard-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pvleopard 1.0.3
File Interpreter ABI Platform Actions
pvleopard-1.0.3-py3-none-any.whl Python 3 none any Details for pvleopard-1.0.3-py3-none-any.whl

Total release size: 42.0 MB

Release files / pvleopard-1.0.3.tar.gz

Download URL pvleopard-1.0.3.tar.gz
Size 21.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1bea7ed1de5b6a4ca8ad2e54304fb05e587673248d17db2146fa9b99a48f9223
BLAKE2b-256 checksum
How to use checksums
4d131870f89af9ffe2e49bfd085b6a888be48f2c5d78e5395e9394caf87b63fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Release files / pvleopard-1.0.3-py3-none-any.whl

Download URL pvleopard-1.0.3-py3-none-any.whl
Size 21.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
829af8d330b457d07a0b316846219e1857114a2f00e625a30df795adb6db4989
BLAKE2b-256 checksum
How to use checksums
1504dc22c7b474f9a8d38828426b14025e430b3cf2973d40c5ced687112cbc6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

Security for pvleopard 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page