An unofficial package to interact with Anam's Avatar engine.
Project description
Anam Python SDK
Welcome to the Anam Python SDK! This SDK provides tools for creating and managing virtual personas using the AnamLab platform.
Features
- Create and manage virtual personas
- Interact with the AnamLab platform
- Customize persona behaviors and responses
Installation
To install the Anam Python SDK, use:
pip install anam-python-sdk
or
poetry add anam-python-sdk
Getting Started
Prerequisites
- Python 3.7 or higher
- pip (Python package installer)
Configuration
- Create a
.envfile in your project root directory. - Add your API credentials to the
.envfile:
ANAM_API_KEY=<your_api_key>
Basic Usage
Here's a simple example of how to use the AnamClient:
from anam_python_sdk.api.client import AnamClient
from dotenv import dotenv_values
# Load configuration from .env file
api_cfg = dotenv_values(".env")
# Create an AnamClient instance
client = AnamClient(cfg=api_cfg)
# Get persona presets
persona_presets = client.get_persona_presets()
print("Persona Presets:", persona_presets)
# Get existing personas
personas = client.get_personas()
print("Personas:", personas)
Creating a Persona
For more detailed information on using the SDK, check out the User Guide.
Documentation
For comprehensive documentation, please refer to the following sections:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file anam_python_sdk-0.4.0.tar.gz.
File metadata
- Download URL: anam_python_sdk-0.4.0.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.6 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
930d4a3b2b81ff0dc2a536b55145a38354d8a40217c3e08ff09086935d260382
|
|
| MD5 |
dcd6caca0f911509d631ac53157e26af
|
|
| BLAKE2b-256 |
d1d508d0713827b82063f068414dc5279415c14cbe98db22f18d3d0387c40245
|
File details
Details for the file anam_python_sdk-0.4.0-py3-none-any.whl.
File metadata
- Download URL: anam_python_sdk-0.4.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.6 Darwin/24.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e478b979f399851ea1b10a24db542d8a253b8d1889e3bb07961c10a5de5ec93
|
|
| MD5 |
14563d1fef2fdc620742fdb5f8884e37
|
|
| BLAKE2b-256 |
af82d6c5edc4eae98eb1526b050c459cf46286b064ba68c1efa28cbffeb4792b
|