XALEN SDK — AI Infrastructure for the Faith Economy
Project description
XALEN Python SDK
The official Python SDK for the XALEN AI API. Drop-in replacement for the OpenAI SDK — just change the base URL.
Installation
pip install xalen
Quick Start
from xalen import XALEN
client = XALEN(api_key="xln_live_your_key_here")
response = client.chat.completions.create(
model="vedika-standard",
messages=[
{"role": "user", "content": "What is Shakata Yoga?"}
]
)
print(response.choices[0].message.content)
Async Usage
from xalen import AsyncXALEN
client = AsyncXALEN()
response = await client.chat.completions.create(
model="vedika-fast",
messages=[{"role": "user", "content": "Analyze my birth chart"}]
)
Environment Variable
Set XALEN_API_KEY to avoid passing the key explicitly:
export XALEN_API_KEY=xln_live_your_key_here
API Base URL
Default: https://api.xalen.io/v1
Documentation
Full API docs: xalen.io/docs
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xalen-0.2.0.tar.gz
(3.7 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
xalen-0.2.0-py3-none-any.whl
(4.5 kB
view details)
File details
Details for the file xalen-0.2.0.tar.gz.
File metadata
- Download URL: xalen-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
844ad5d0afe40b048dae6fb7e226c6df5446b75ec1fbf5cb7c79d8f58fa141c1
|
|
| MD5 |
9551bf70752a970f1e85c2e0827b204a
|
|
| BLAKE2b-256 |
dd60437d7b82cf068cbfc38e38681f82833abeddc731aa167db0e9fa5fe09bc5
|
File details
Details for the file xalen-0.2.0-py3-none-any.whl.
File metadata
- Download URL: xalen-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb51dede0563a317f5e4b068932263845283aa56ad723e0314734a3060585a43
|
|
| MD5 |
b294136c513ad7ddc30fac99c81e066e
|
|
| BLAKE2b-256 |
866ad823efd267483b5f76cd7393eb10b916aa041127c51a9b72dbdfa9482e19
|