python-xopen 0.5.0 Open compressed files transparently
This module provides an
xopen function that works like Python's built-in
open function, but can also deal with compressed files. Supported compression formats are gzip, bzip2 and, xz, and are automatically recognized by their file extensions. The focus is on being as efficient as possible on all supported Python versions.