Catalog PyPI
PACKAGE EXPLORERView in registry

aethex-axiom-sdk

PyPI

Python SDK for the Axiom protocol — AeThex identity and platform verification

aethexaxiomidentitysdkverification
Versions collected1
Direct dependencies5From release 0.1.0
Last observed20 Oct, 20:56 UTC

README

Version 0.1.0 documentation

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

ConstantPlatform
Platform.DISCORDDiscord
Platform.ROBLOXRoblox
Platform.STEAMSteam
Platform.XBOXXbox
Platform.EPICEpic Games
Platform.GITHUBGitHub

API Reference

Full documentation: https://docs.aethex.tech/axiom-sdk

AxiomClient

MethodDescription
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.27
  • pydantic >= 2.0

License

See LICENSE.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.020 May 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:56 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:63be108149df5f5db0d7f4ccf88c46161c451ee13c4cab767706b040517e0a33