Skip to main content

aicc-sdk (Python)

Thin helper for AI Command Center. One line routes every OpenAI / Anthropic / Gemini SDK call in your process through the gateway, so usage and cost land on the consolidated dashboard.

import aicc
aicc.init(project="invoice-bot")   # BEFORE creating clients

from openai import OpenAI
client = OpenAI()                   # unchanged code, now fully tracked

If the gateway has login enabled, pass the project's gateway key (from the dashboard → settings, or $AICC_KEY):

aicc.init(project="invoice-bot", key="aicc_…")   # or set AICC_KEY in the env

The SDK only sets standard environment variables (OPENAI_BASE_URL, ANTHROPIC_BASE_URL, GOOGLE_GEMINI_BASE_URL) - you can also set those by hand and skip this package entirely. Your API keys never change hands.

Extras:

aicc.url("mistral")                       # gateway base URL for any provider
aicc.track(model="gpt-4o-mini",           # report usage the gateway can't see
           tokens_in=1200, tokens_out=300)

Install (local, from this repo): pip install -e packages/sdk-python

Metadata

Release files for aicc-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)

Source distribution for aicc-sdk 0.1.0
File Size Uploaded Provenance Actions
aicc_sdk-0.1.0.tar.gz 4.6 kB Without provenance Details for aicc_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aicc-sdk 0.1.0
File Interpreter ABI Platform Actions
aicc_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for aicc_sdk-0.1.0-py3-none-any.whl

Total release size: 9.6 kB

Release files / aicc_sdk-0.1.0.tar.gz

Download URL aicc_sdk-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ca9d89f4a730cf52a299e7bcf033da1a101f7f23efcf2bdd24ec9af84c6b2438
BLAKE2b-256 checksum
How to use checksums
46d6b86a5a07e411ced23909b346549e91f6554bc9f666594088e916dc19776b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / aicc_sdk-0.1.0-py3-none-any.whl

Download URL aicc_sdk-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e513440e8759f4a260cd88a07491e8a9482b570f0af1f9325be15483e3a3bc86
BLAKE2b-256 checksum
How to use checksums
87da6910b30b79fa821b766271a83e1e4322ba9c979035b0579b13e40109ab59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for aicc-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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page