python3-xopen

Python3 module to open compressed files transparently

Description

This small Python3 module provides a xopen function that works like the built-in open function, but can also deal with compressed files. Supported compression formats are gzip, bzip2 and xz. They are automatically recognized by their file extensions .gz, .bz2 or .xz.

The focus is on being as efficient as possible on all supported Python versions. For example, simply using gzip.open is slow in older Pythons, and it is a lot faster to use a gzip subprocess.

This module has originally been developed as part of the cutadapt tool that is used in bioinformatics to manipulate sequencing data. It has been in successful use within that software for a few years.

This is the Python3 version.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/marcelm/xopen


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-xopen