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
  • Compact and Computationally-Efficient
  • Cross-Platform:
    • Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
    • Android and iOS
    • Chrome, Safari, Firefox, and Edge
    • Raspberry Pi (4, 3) and NVIDIA Jetson Nano

Compatibility

  • Python 3.5+
  • 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

Leopard requires a valid Picovoice AccessKey at initialization. AccessKey acts as your credentials when using Leopard SDKs. You can get your AccessKey for free. Make sure to keep your AccessKey secret. Signup or Login to Picovoice Console to get your AccessKey.

Usage

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

import pvleopard

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

transcript, words = handle.process_file('${AUDIO_PATH}')
print(transcript)
for word in words:
    print(
      "{word=\"%s\" start_sec=%.2f end_sec=%.2f confidence=%.2f}"
      % (word.word, word.start_sec, word.end_sec, word.confidence))

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

Built distribution (wheel)

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

Total release size: 47.1 MB

Release files / pvleopard-1.1.2.tar.gz

Download URL pvleopard-1.1.2.tar.gz
Size 23.6 MB
Tags Source
SHA-256 checksum
How to use checksums
e66a4bf2f1aa75136b38ac86a8070e3752332f414673aa8929f669068a3cfbfa
BLAKE2b-256 checksum
How to use checksums
9c1ca00bbf26fd15b5706e63707fc108a9da102d30095d3af5bdf06d64b9aeee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

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

Download URL pvleopard-1.1.2-py3-none-any.whl
Size 23.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7933515dcaccd5db8c7504d73bde6ed5653dbb651451a6701f932b1265f98d50
BLAKE2b-256 checksum
How to use checksums
cbe01b6b8c641faf11977a238889a68487bfeabc8489b41911f69ee444eb5f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for pvleopard 1.1.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