Skip to main content

Python SDK for Aethon Credit Intelligence (ACI) API

Project description

aethoncredit-sdk — ACI Python SDK

Install

pip install aethoncredit-sdk

Quick start

from ace import AciClient

client = AciClient(api_key="sk_live_...")
score = client.get_score("coinbase-prime")
print(score.score, score.band)

Async

from ace import AciAsyncClient
import asyncio

async def main():
    client = AciAsyncClient(api_key="sk_live_...")
    score = await client.get_score("coinbase-prime")
    print(score.score, score.band)

asyncio.run(main())

Endpoints covered

  • GET /api/v1/scores/{provider_id} — single provider score
  • GET /api/v1/scores — list provider scores (filters: module, band)
  • GET /api/v1/computation/{id} — Phase 1 computation package (PRO+ tier)
  • GET /api/health — unauthenticated health probe

Authentication

The SDK sends the API key in the x-api-key request header (matching the canonical ACI API gateway). Bearer tokens are not used.

List filtering

AciClient.list_scores(module=..., band=...) maps module to the server-side planner_type query parameter. The band filter is applied client-side after the response is received.

Computation package shape

ComputationPackage mirrors the API's data payload exactly:

  • package: dict[str, Any] — Phase 1 package contents (free-form)
  • package_hash: str — SHA-256 of the canonical package bytes
  • methodology_version: str
  • engine_version: str
  • published_at: datetime

The score, snapshot id, and other internals live inside the package dict — see the /api/v1/computation/{id} endpoint documentation for the package schema.

Docs

https://aethoncredit.com/developers

ACI Framework v1.0 · Quantitative risk analytics outputs for independent analysis.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aethoncredit_sdk-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aethoncredit_sdk-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file aethoncredit_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: aethoncredit_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for aethoncredit_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fb81adfc142bbfafb01f6e2d2badb37bb22afacfe7b476e53dde7975224355e4
MD5 46ca185f23382337a0b1b1b8246536a0
BLAKE2b-256 4c56b5bce2252df52e4a634b916adccfdf61c103795cea34138ee8d345c5428b

See more details on using hashes here.

File details

Details for the file aethoncredit_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aethoncredit_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f54df605420029c3020f5bba1ad2606c36ba5ccc5b76c61614f535b91bd2f09
MD5 796911071cfa5d08cc99afd7ab41e6e8
BLAKE2b-256 310d519f30c2d14c106087179aaa2105ccaa77b2e138b662812ffbb0ecb91b10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page