Registry / devops / xpress9

xpress9

JSON →
library0.3.8pypypiunverified

Python bindings for the Xpress9 compression library, providing fast compression/decompression with a simple API. Current version 0.3.8, active development.

pip install xpress9
INSTALL
IMPORT
SIG · XPRESS9
X
xpress9
devopspythonv0.3.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

compress
✓ from xpress9.libs import compress
✗ from xpress9 import compress
decompress
✓ from xpress9.libs import decompress
✗ from xpress9 import decompress

Compress and decompress bytes with default settings.

from xpress9 import compress, decompress original = b"Hello, World!" * 1000 compressed = compress(original) decoressed = decompress(compressed) assert original == decoressed print("Quickstart works!")
Debug
Known issues
breakingThe API changed between 0.2.x and 0.3.x: `compress()` now returns bytes instead of a tuple. Check your code if upgrading from older versions.
fix
If you used `(compressed, length) = compress(data)`, change to `compressed = compress(data)`.
affects: <0.3
gotchaCompression on empty bytes returns empty bytes. Not an error, but be aware.
fix
Handle empty input explicitly if needed.
affects: all
gotchaIf input is not bytes, TypeError may be raised. Always pass bytes objects.
fix
Use `.encode()` on strings: `compress(my_string.encode())`.
affects: all
Upgrade
Version history
0.3.8latest on PyPI · released Nov 30, 2025
Audit
Dependencies
cffirequiredRequired for C library bindings.
Agent activity
60 hits · last 30 days
node
54
Anthropic
1
OpenAI (training)
1
Resources