aethex-axiom-sdk
Python SDK for the Axiom protocol — AeThex's core identity and multi-platform verification layer.
Installation
pip install aethex-axiom-sdk
Quick Start
import asyncio
from aethex_axiom_sdk import AxiomClient, Platform
async def main():
async with AxiomClient(token="your-jwt-token") as client:
# Create an identity
identity = await client.create_identity("Ada Lovelace")
print(identity.id)
# Link a platform handle
link = await client.link_platform(identity.id, Platform.DISCORD, "ada#0001")
# Complete verification with OAuth token from Discord
verified = await client.verify_platform(identity.id, Platform.DISCORD, oauth_token)
print(verified.verified) # True
# Check which platforms are verified
print(identity.verified_platforms)
# Protocol health
status = await client.get_protocol_status()
print(status.status) # "operational"
asyncio.run(main())
Supported Platforms
| Constant | Platform |
|---|---|
Platform.DISCORD |
Discord |
Platform.ROBLOX |
Roblox |
Platform.STEAM |
Steam |
Platform.XBOX |
Xbox |
Platform.EPIC |
Epic Games |
Platform.GITHUB |
GitHub |
API Reference
Full documentation: https://docs.aethex.tech/axiom-sdk
AxiomClient
| Method | Description |
|---|---|
get_identity(identity_id) |
Fetch an identity by UUID |
list_identities(platform?, verified_only?, limit?, offset?) |
List identities with optional filters |
create_identity(display_name) |
Create a new Axiom identity |
delete_identity(identity_id) |
Permanently delete an identity |
link_platform(identity_id, platform, handle) |
Link a platform handle (unverified) |
verify_platform(identity_id, platform, token) |
Complete platform verification |
unlink_platform(identity_id, platform) |
Remove a platform link |
get_protocol_status() |
Get Axiom protocol operational status |
Error Handling
from aethex_axiom_sdk.exceptions import (
AxiomAuthError,
AxiomNotFoundError,
AxiomRateLimitError,
AxiomVerificationError,
)
try:
await client.verify_platform(identity_id, Platform.DISCORD, token)
except AxiomVerificationError:
print("Token invalid or expired")
except AxiomNotFoundError:
print("No pending link for that platform")
except AxiomAuthError:
print("JWT token invalid or expired")
except AxiomRateLimitError as e:
print(f"Rate limited — retry in {e.retry_after}s")
Requirements
- Python 3.10+
httpx >= 0.27pydantic >= 2.0
License
See LICENSE.
Metadata
Release files for aethex-axiom-sdk 0.1.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 |
|---|---|---|---|---|
| aethex_axiom_sdk-0.1.0.tar.gz | 12.0 kB | Without provenance | Details for aethex_axiom_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aethex_axiom_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for aethex_axiom_sdk-0.1.0-py3-none-any.whl |
Total release size: 22.4 kB
Release files / aethex_axiom_sdk-0.1.0.tar.gz
| Download URL | aethex_axiom_sdk-0.1.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
336736e6df7a037f0d06c3fecb44ff225615c42657b4856acf7552a804f5895b
|
|
BLAKE2b-256 checksum How to use checksums |
acc503e91577f156410ce5638aa414a0702bf5c32b66375814ed005f5b0e3e84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aethex_axiom_sdk-0.1.0-py3-none-any.whl
| Download URL | aethex_axiom_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d567dea46608f0dc947e0d20b2111ac2a81954c086cd031f1def935b1561e258
|
|
BLAKE2b-256 checksum How to use checksums |
03b5f250dd4e48848220399d741d7673198b5beb377ba63d392962e86bd0d318
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for aethex-axiom-sdk 0.1.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.