Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anva-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for anva-0.2.0.tar.gz
Algorithm Hash digest
SHA256 519f5fe495d1fb0dee0fc995c7689eb0d2f9195dfda69d3784b4bf6b801760e0
MD5 7caccd55da2718b135573fa418594f64
BLAKE2b-256 5edf8ca6eb3e69465d9af2c3805baf5460ddc8b53b8e88f144d5a4459a5cd6cd

See more details on using hashes here.

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

Hashes for anva-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbaca660e83e7ef8de0205b12c62ba275198967b314038285ebc5bf0c33fc454
MD5 2243e41599dbda861a77955a73b4eeb4
BLAKE2b-256 187e83b531ddf59ab740d59cb70cd499985c3f9c39621e6ec617b535c60b3baf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

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