Skip to main content

BeVyra avatar for Python

Control a local browser avatar from Python. The package includes the browser renderer; your application supplies its own ASR, LLM, and TTS audio.

Developer guide

Install and run

python -m pip install bevyra-avatar
import asyncio
from bevyra_avatar import AvatarWindow

async def main():
    async with AvatarWindow("noora", "/path/to/noora/portable_v2") as avatar:
        # The browser opens locally. Click Start avatar to unlock audio.
        await avatar.write_audio(pcm16_bytes, sample_rate=24000)
        await avatar.end_utterance()
        # On barge-in: await avatar.interrupt()

asyncio.run(main())

pcm16_bytes is signed 16-bit little-endian mono audio. Send chunks in order, including short pauses. The player runs on 127.0.0.1 and uses a per-session token; it does not send your audio to BeVyra's servers. The licensed portable_v2 avatar bundle is obtained separately.

Metadata

Release files for bevyra-avatar 0.1.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 bevyra-avatar 0.1.1
File Size Uploaded Provenance Actions
bevyra_avatar-0.1.1.tar.gz 11.0 MB Without provenance Details for bevyra_avatar-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bevyra-avatar 0.1.1
File Interpreter ABI Platform Actions
bevyra_avatar-0.1.1-py3-none-any.whl Python 3 none any Details for bevyra_avatar-0.1.1-py3-none-any.whl

Total release size: 22.1 MB

Release files / bevyra_avatar-0.1.1.tar.gz

Download URL bevyra_avatar-0.1.1.tar.gz
Size 11.0 MB
Tags Source
SHA-256 checksum
How to use checksums
15b5765bd4c2c5043cc70673095b5d4af931e410f98c4d162e6bfe5e61bb2749
BLAKE2b-256 checksum
How to use checksums
6d428d54de3ae7a8cefdee15411750c50765da11ee88425941965f4dda1f758c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / bevyra_avatar-0.1.1-py3-none-any.whl

Download URL bevyra_avatar-0.1.1-py3-none-any.whl
Size 11.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
31a57229503f1cd13218dd529886c3353fc4706d72eda1ca9d6de5f9361a5418
BLAKE2b-256 checksum
How to use checksums
6eaaae028ff1b9978a9caca2cf48ad335dc543952a93045f78d604503453ed38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Security for bevyra-avatar 0.1.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