--- id: xpress9 version: "0.3.8" license: MIT license_treatment: permissive maintenance: aging --- # xpress9 — Python bindings for the Xpress9 compression library License: permissive · Maintenance: aging · Downloads: 249.3K/mo ## What it is and what it does Xpress9 is a lightweight Python wrapper around Microsoft's Xpress9 compression algorithm, exposing compress and decompress methods through a C extension built with Cython. It targets scenarios where you need efficient binary compression with cross-platform support and optional multi-threading via OpenMP. The package is designed for developers who need a direct interface to Xpress9 compression without external dependencies beyond the C compiler at build time. It supports Python 3.8 and higher across Windows, macOS, and Linux. Prebuilt wheels are available for common Python versions and architectures, though building from source requires a C compiler and standard build tools. Use it for: - Compress repetitive or highly compressible binary data in Python applications where Xpress9 is the preferred algorithm. - Integrate Xpress9 compression into data pipelines or storage systems that need cross-platform compatibility. - Decompress Xpress9-encoded data received from external systems or APIs. - Build performance-sensitive applications where optional OpenMP multi-threading can improve throughput on multi-core systems. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Xpress9 is a Python wrapper for Microsoft's Xpress9 compression library, providing efficient compression and decompression of binary data through a C extension with Cython bindings. Yes, if you specifically need Xpress9 compression and accept the aging maintenance status. The package is stable for its current scope (Beta), has no known vulnerabilities, and offers permissive licensing. However, the limited community adoption (5 stars, 257 days since last release) and aging status suggest it may not receive timely updates or bug fixes. Install if Xpress9 is a hard requirement; consider alternatives if you need active maintenance and community support. ## Install pip install xpress9 uv add xpress9 poetry add xpress9 ## Installing xpress9 Before you install: Medium install friction due to compiled C extension requiring a C compiler and build tools. The package has broad wheel coverage for Python 3.8–3.13 on Windows, macOS, and Linux, reducing friction for standard platforms. Maintenance status is aging—last release was 257 days ago and the repository has only 5 stars, suggesting limited active development and community adoption. License in practice: MIT license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute the package freely provided you include the original license notice. Quickstart: from xpress9 import Xpress9 x = Xpress9() original_data = b"Hello, world! " * 64 compressed_data = x.compress(original_data, len(original_data)) decompressed_data = x.decompress(compressed_data, len(original_data)) Requires a C compiler (gcc, clang, or MSVC) and build tools to install from source; prebuilt wheels available for Python 3.8–3.13 on common platforms reduce this requirement. Verify before relying: - Whether OpenMP is automatically enabled on Linux/Windows or requires manual configuration. - Real-world compression ratios and performance benchmarks compared to other compression libraries. - Stability and production-readiness of the Beta-status implementation. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: aging - Downloads: 249.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags xpress9 compression python, microsoft compression library wrapper, binary data compression decompression, high performance compression, c extension compression, compression, c-extension, microsoft [View on SkillFed](https://skillfed.io/packages/xpress9) · [View on PyPI](https://pypi.org/project/xpress9/)