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.1.0.tar.gz
(3.5 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.1.0-py3-none-any.whl
(3.9 kB
view details)
File details
Details for the file xalen-0.1.0.tar.gz.
File metadata
- Download URL: xalen-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8052a5792ab1116df36e25335912ebb3b59be66be0d5b0619f60aa313e8f214
|
|
| MD5 |
1706f31517cce9bf52875571da939938
|
|
| BLAKE2b-256 |
563439bb44b4ce6c4a57f5599f3ef658734d9ea6d7c08b9315310c8c29323d87
|
File details
Details for the file xalen-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xalen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6354c8caf92875a942e3ecfb877f2a4627f1d6a1af61355b52c3fd3cf484f1ae
|
|
| MD5 |
899226536fbb19c99edd90a21af3015a
|
|
| BLAKE2b-256 |
a001ebcf54f8ba7128df50e0f8fc0ca3d4a7d1300bfc4a0fce1cf61466ea6b57
|