Skip to main content

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

  1. Create a .env file in your project root directory.
  2. Add your API credentials to the .env file:
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:

  1. Getting Started
  2. User Guide
  3. API Reference
  4. Examples

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

anam_python_sdk-0.4.0.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

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

anam_python_sdk-0.4.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

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

Hashes for anam_python_sdk-0.4.0.tar.gz
Algorithm Hash digest
SHA256 930d4a3b2b81ff0dc2a536b55145a38354d8a40217c3e08ff09086935d260382
MD5 dcd6caca0f911509d631ac53157e26af
BLAKE2b-256 d1d508d0713827b82063f068414dc5279415c14cbe98db22f18d3d0387c40245

See more details on using hashes here.

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

Hashes for anam_python_sdk-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e478b979f399851ea1b10a24db542d8a253b8d1889e3bb07961c10a5de5ec93
MD5 14563d1fef2fdc620742fdb5f8884e37
BLAKE2b-256 af82d6c5edc4eae98eb1526b050c459cf46286b064ba68c1efa28cbffeb4792b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page