ABR SDK
Python bindings for the Applied Brain Research on-device speech SDK: low-latency automatic speech recognition (ASR) and text-to-speech (TTS) that run entirely on the local device, with no network calls at inference time.
This package does not contain the speech models or the native engine; it loads an ABR SDK application package that you obtain separately and drives it through a small, Pythonic API.
Full documentation: https://docs.appliedbrainresearch.com/sdk Customer portal with application packages: https://dev.appliedbrainresearch.com
Installation
Use any of the following to install abr-sdk and incorporate it into your
project.
pip install abr-sdk
uv add abr-sdk
The package is dependency-free and supports Python 3.10+. To run it you also need an ABR SDK application package for your platform and a license, both provided by Applied Brain Research.
Quickstart
Activate the library once per device. This is the only step that needs network access; inference is fully offline:
abr-sdk activate path/to/library.so --key-file license.key
Recognize speech from 16 kHz mono signed-16-bit little-endian PCM. A chunk may replace trailing text, so apply each one to a running buffer:
from abr_sdk.asr import Asr, AsrChunk
buf = bytearray()
def on_chunk(chunk: AsrChunk) -> None:
chunk.update(buf) # apply correction in place
print(buf.decode("utf-8"))
with Asr("path/to/libasr.so") as asr:
while (data := audio_source.read(3200)): # ~100 ms of PCM
asr.push(data, on_chunk=on_chunk)
asr.wait_for_completion() # flush and wait for final chunks
Synthesize speech to 16 kHz mono signed-16-bit little-endian PCM:
from abr_sdk.tts import Tts
with Tts("path/to/libtts.so") as tts:
tts.push(b"Hello from Applied Brain Research.", on_pcm=audio_sink.write)
tts.wait_for_completion()
See the full documentation for activation options, full end-to-end examples, and the complete API.
License
Proprietary. Copyright (c) Applied Brain Research. Use of this package and the ABR SDK libraries it loads is governed by your agreement with Applied Brain Research.
Metadata
Release files for abr-sdk 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| abr_sdk-0.5.0.tar.gz | 36.8 kB | Without provenance | Details for abr_sdk-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abr_sdk-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for abr_sdk-0.5.0-py3-none-any.whl |
Total release size: 81.7 kB
Release files / abr_sdk-0.5.0.tar.gz
| Download URL | abr_sdk-0.5.0.tar.gz |
|---|---|
| Size | 36.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
689aaffaa2899052c1dbd6d1b28847b6b1198e7b072caa9fed2884fc9471c9a2
|
|
BLAKE2b-256 checksum How to use checksums |
02c7969d82ab47ff6d3081ead123842ea893d625a012806562c89a66e7029e6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / abr_sdk-0.5.0-py3-none-any.whl
| Download URL | abr_sdk-0.5.0-py3-none-any.whl |
|---|---|
| Size | 44.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7c8880a271d21800707cb6a386979bcfeed8258fdd0641753ab296c9c75e857
|
|
BLAKE2b-256 checksum How to use checksums |
96a23e7bfb6b93628618fd1eb80df85cd5adcfbd045b4c074e4627f12ab60f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for abr-sdk 0.5.0
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.