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.2.0.tar.gz
(3.6 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.2.0-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file anva-0.2.0.tar.gz.
File metadata
- Download URL: anva-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519f5fe495d1fb0dee0fc995c7689eb0d2f9195dfda69d3784b4bf6b801760e0
|
|
| MD5 |
7caccd55da2718b135573fa418594f64
|
|
| BLAKE2b-256 |
5edf8ca6eb3e69465d9af2c3805baf5460ddc8b53b8e88f144d5a4459a5cd6cd
|
File details
Details for the file anva-0.2.0-py3-none-any.whl.
File metadata
- Download URL: anva-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
fbaca660e83e7ef8de0205b12c62ba275198967b314038285ebc5bf0c33fc454
|
|
| MD5 |
2243e41599dbda861a77955a73b4eeb4
|
|
| BLAKE2b-256 |
187e83b531ddf59ab740d59cb70cd499985c3f9c39621e6ec617b535c60b3baf
|