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.
Metadata
Release files for anam-python-sdk 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anam_python_sdk-0.4.0.tar.gz | 26.3 kB | Without provenance | Details for anam_python_sdk-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anam_python_sdk-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for anam_python_sdk-0.4.0-py3-none-any.whl |
Total release size: 58.1 kB
Release files / anam_python_sdk-0.4.0.tar.gz
| Download URL | anam_python_sdk-0.4.0.tar.gz |
|---|---|
| Size | 26.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
930d4a3b2b81ff0dc2a536b55145a38354d8a40217c3e08ff09086935d260382
|
|
BLAKE2b-256 checksum How to use checksums |
d1d508d0713827b82063f068414dc5279415c14cbe98db22f18d3d0387c40245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.6 Darwin/24.1.0
|
Release files / anam_python_sdk-0.4.0-py3-none-any.whl
| Download URL | anam_python_sdk-0.4.0-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e478b979f399851ea1b10a24db542d8a253b8d1889e3bb07961c10a5de5ec93
|
|
BLAKE2b-256 checksum How to use checksums |
af82d6c5edc4eae98eb1526b050c459cf46286b064ba68c1efa28cbffeb4792b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.6 Darwin/24.1.0
|
Security for anam-python-sdk 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.