Skip to content

xopen

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.

homepage: https://github.com/pycompression/xopen/

Available installations

xopen version Supported CPU targets Supported GPU targets EESSI version Module
2.1.0 generic: aarch64, x86_64
Arm: a64fx, neoverse_n1, neoverse_v1, nvidia/grace
AMD: zen2, zen3, zen4, zen5
Intel: haswell, skylake_avx512, sapphirerapids, icelake, cascadelake
(none) 2025.06 xopen/2.1.0-GCCcore-14.3.0

Extensions

Overview of extensions included in xopen installations

backports-zstd

backports-zstd version xopen modules that include it
1.5.0 xopen/2.1.0-GCCcore-14.3.0

xopen

xopen version xopen modules that include it
2.1.0 xopen/2.1.0-GCCcore-14.3.0

zlib-ng

zlib-ng version xopen modules that include it
1.0.0 xopen/2.1.0-GCCcore-14.3.0