Skip to main content

aetus

Python SDK for Aetus context compression.

Install

pip install aetus

Usage

from aetus import Aetus

aetus = Aetus()
result = aetus.compress(
    messages,
    query="What should the model answer next?",
)

print(result["compressed"])
print(result["savings_pct"])

Set AETUS_API_KEY to a key created at aetus.vercel.app/dashboard/keys.

Pass base_url to override the hosted API.

Metadata

Release files for aetus 1.0.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 aetus 1.0.0
File Size Uploaded Provenance
aetus-1.0.0.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aetus 1.0.0
File Interpreter ABI Platform
aetus-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / aetus-1.0.0.tar.gz

Download URL aetus-1.0.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c5be95c3af36f55fa1a773f50e7bae11529bc8ee150f041ba1e2bd64555f1eb3
BLAKE2b-256 checksum
How to use checksums
28888a10486e750f907523b84d56b95230b89734679895924692b601202549bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / aetus-1.0.0-py3-none-any.whl

Download URL aetus-1.0.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16e35e5d8f5fb57744c751cfe9c7cd19fc9f37a9771d245720da138e5633109c
BLAKE2b-256 checksum
How to use checksums
3a26a7a90124515a3770f4421b4c0b126d6d2289320cf5955d19726e622de87e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for aetus 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.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