ctx-compress
A lightweight context compression toolkit for NLP pipelines.
Installation
pip install ctx-compress
Quick Start
from ctx_compress import align_output
result = align_output(task_id=1, test_sample_id="sample-001", raw_output="hello world")
print(result)
Features
- Context compression with configurable compression levels
- Output alignment utilities
- Lightweight and dependency-minimal
License
MIT
Metadata
Release files for ctx-compress 1.0.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 |
|---|---|---|---|---|
| ctx_compress-1.0.1.tar.gz | 259.3 kB | Without provenance | Details for ctx_compress-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ctx_compress-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ctx_compress-1.0.1-py3-none-any.whl |
Total release size: 518.0 kB
Release files / ctx_compress-1.0.1.tar.gz
| Download URL | ctx_compress-1.0.1.tar.gz |
|---|---|
| Size | 259.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54affcb4ddb83ee61d1e75a206c85ec51e463a7bbbadbf5c2fca9e4d85e305c4
|
|
BLAKE2b-256 checksum How to use checksums |
17c6dd1a6b2ceed38f8ed9f89af4438239f02105bf0fd1e4e810f65547e11bb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Release files / ctx_compress-1.0.1-py3-none-any.whl
| Download URL | ctx_compress-1.0.1-py3-none-any.whl |
|---|---|
| Size | 258.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7df0fbced390c09218749e7f659f479dc473de172e84ad3ea901eb0091c7c64
|
|
BLAKE2b-256 checksum How to use checksums |
38682612d89baeaed65d5e1d21dd543d351f52b7c53305e88dae41fe4e3288b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.8
|
Security for ctx-compress 1.0.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.