bz2file (original) (raw)

Project description

Bz2file is a Python library for reading and writing bzip2-compressed files.

It contains a drop-in replacement for the file interface in the standard library’s bz2 module, including features from the latest development version of CPython that are not available in older releases.

Bz2file is compatible with CPython 2.6, 2.7, and 3.0 through 3.4, as well as PyPy 2.0.

Features

Installation

To install bz2file, run:

$ pip install bz2file

Documentation

The open() function and BZ2File class in this module provide the same features and interface as the ones in the standard library’s bz2 module in the current development version of CPython, documented here.

Version History

0.98: 19 January 2014

0.95: 08 October 2012

0.9: 04 February 2012

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

File details

Details for the file bz2file-0.98.tar.gz.

File metadata

File hashes

Hashes for bz2file-0.98.tar.gz | Algorithm | Hash digest | | | ----------- | ---------------------------------------------------------------- | | | SHA256 | 64c1f811e31556ba9931953c8ec7b397488726c63e09a4c67004f43bdd28da88 | | | MD5 | 27d6f711ae0db6cfd1eb37f95621dfb5 | | | BLAKE2b-256 | 6139122222b5e85cd41c391b68a99ee296584b2a2d1d233e7ee32b4532384f2d | |

See more details on using hashes here.