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.1

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

Built distribution (wheel)

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

Total release size: 42.0 MB

Release files / pvleopard-1.0.1.tar.gz

Download URL pvleopard-1.0.1.tar.gz
Size 21.0 MB
Tags Source
SHA-256 checksum
How to use checksums
b1e6dd8a19c949e2d1f2f6ab96bfcd33bf930f685463aa92152de7d1635816ad
BLAKE2b-256 checksum
How to use checksums
02916ced6b9e719aafc2612821da33694533b5c77c939211bd5764112d0fe07f
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.1-py3-none-any.whl

Download URL pvleopard-1.0.1-py3-none-any.whl
Size 21.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
124a33c5850d94bd09bb8f45b74107439fe06bab272196ca9e03058226368d9f
BLAKE2b-256 checksum
How to use checksums
26105abef4db327f3d671eaa52c48c10d5031d385d09efb69a644c8a11114fcf
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.1

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