Preparing for system design interviews?  Try bugzed.com →

xopen: Open Compressed Files Transparently

JSON →
library 2.0.2 ·python
verified Jun 28, 2026

This Python module provides an `xopen` function that works like Python's built-in `open` function but also transparently deals with compressed files. `xopen` selects the most efficient method for reading or writing a compressed file, often leveraging external tools like `pigz` for parallel processing. It supports gzip (.gz), bzip2 (.bz2), xz (.xz), and optionally Zstandard (.zst) formats. The library is actively maintained, currently at version 2.0.2, and has a consistent release cadence.

total hits 10
actors 4 distinct systems
last hit 3d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany