Utilities working with blocked gzip streams.
bgzip: block gzip streams
bgzip provides streams for block gzip files.
Cython is used under the hood to bypass Python's GIL and provide fast, parallelized inflation/deflation.
with open("my_bgzipped_file.gz", "rb") as raw: with bgzip.Reader(raw) as fh: data = fh.read(number_of_bytes) with open("my_bgzipped_file.gz", "wb") as raw: with bgzip.Writer(raw) as fh: fh.write(my_data)
pip install bgzip
Please report bugs, issues, feature requests, etc. on GitHub.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size bgzip-0.2.2.tar.gz (51.1 kB)||File type Source||Python version None||Upload date||Hashes View|