Utilities working with blocked gzip streams.
Project description
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)
Installation
pip install bgzip
Requirements
bgzip requires openmp. On MacOS it can be installed with:
brew install openmp
Links
Project home page GitHub
Package distribution PyPI
Bugs
Please report bugs, issues, feature requests, etc. on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bgzip-0.3.3.tar.gz
(61.6 kB
view details)
File details
Details for the file bgzip-0.3.3.tar.gz
.
File metadata
- Download URL: bgzip-0.3.3.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0284a7da2963f835bf8af4a69492b232da23825ccd134635f3c71c0762a902c7 |
|
MD5 | 8f576626186d2602a918e007e4a3c53c |
|
BLAKE2b-256 | 481ff4b3e60ca8a62a30fdddf920e80c003175d4419867ce5b4aadb79efbc970 |