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 [1]
  • Cross-Platform:
    • Linux (x86_64)
    • macOS (x86_64, arm64)
    • Windows (x86_64)
    • 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.2

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.2
File Size Uploaded Provenance Actions
pvleopard-1.0.2.tar.gz 21.0 MB Without provenance Details for pvleopard-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 42.0 MB

Release files / pvleopard-1.0.2.tar.gz

Download URL pvleopard-1.0.2.tar.gz
Size 21.0 MB
Tags Source
SHA-256 checksum
How to use checksums
87ed6f5888752e07e2b228a25d70c3e69c2566eba49a91703ba99e10c3a84ef2
BLAKE2b-256 checksum
How to use checksums
11e65315aa0512ad46b90cce5ce446eb661c7fc62b45a291dca3c939b919bc58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

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

Download URL pvleopard-1.0.2-py3-none-any.whl
Size 21.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
828da31d44a35d72fa378986b8b1af144e00d941f7cd735f88215cbfb9af755d
BLAKE2b-256 checksum
How to use checksums
119b80f4cdd38a20b75c469c2a89eec3bd52cab1674e77dbbcc4fe572d4f9d49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for pvleopard 1.0.2

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