adola
Python SDK for the Adola compression API.
pip install adola
from adola import Adola
client = Adola(api_key="adola_...")
result = client.compress(
input="Adola compresses long prompts before they reach your model.",
query="What does Adola do?",
compression={"target_ratio": 0.4},
)
print(result["output"])
print(result["receipt"]["tokens_saved"])
The client defaults to https://api.adola.app. Set ADOLA_API_KEY for auth and ADOLA_BASE_URL for local testing.
The package contains only the SDK client and does not include the Adola application codebase.
Metadata
Release files for adola 0.1.1
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 |
|---|---|---|---|---|
| adola-0.1.1.tar.gz | 6.3 kB | Without provenance | Details for adola-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adola-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for adola-0.1.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / adola-0.1.1.tar.gz
| Download URL | adola-0.1.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d87876e5f928a802e9dbf74e86cd9800fbec9020e314682472d5585f1c7b6fa
|
|
BLAKE2b-256 checksum How to use checksums |
725479ec3b0298ca3819807c8fb9f200b577635a86d09de03daf068390c7630c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / adola-0.1.1-py3-none-any.whl
| Download URL | adola-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
968b19972c962cd19625c3dbcad06db48fc5cd1e38893d34ef831c788bf841a2
|
|
BLAKE2b-256 checksum How to use checksums |
a72458fcedbce0821fabfd58126232aa363bd9f2d512c284823be93409db6a15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for adola 0.1.1
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.