anva — Python SDK
Official Python SDK for Anva — live AI avatars.
pip install anva # REST client, zero dependencies
pip install "anva[ws]" # + live event stream (WebSocket)
from anva import Anva
client = Anva("anva_key_...")
session = client.create_session(character_id="char_...")
print(session["embed_url"])
client.send_message(session["session_id"], "Welcome!")
client.interrupt(session["session_id"])
for event in client.events(session["session_id"]):
print(event)
chars = client.list_characters()
Errors raise anva.AnvaError with .status, .code and .message.
MIT © Penguin Robotics
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anva-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
anva-0.1.0-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file anva-0.1.0.tar.gz.
File metadata
- Download URL: anva-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa71e45abecd60a5076cd079a3bb455d52f0c258162b0e21546663f61e614a53
|
|
| MD5 |
04521f01a5cde7fdb316dd5c4e598201
|
|
| BLAKE2b-256 |
40e98e337ba77ba637dd68bd63f76a63188796f832b4e56d3f1db26ece27fcf8
|
File details
Details for the file anva-0.1.0-py3-none-any.whl.
File metadata
- Download URL: anva-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ece8fa100c480ab803f395e586530d07c5dda4a96bed35a7a4a1b0f763a3b625
|
|
| MD5 |
44fc48c2e2ffa8d0042d3a0b6f4d5e23
|
|
| BLAKE2b-256 |
96ea1f1bcd8aefd7943b8b61f592dc581691959c887b40ff0bde62aff62a6cd6
|