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.BGZipReader(raw) as fh:
data = fh.read(number_of_bytes)
with open("my_bgzipped_file.gz", "wb") as raw:
with bgzip.BGZipWriter(raw) as fh:
fh.write(my_data)
Installation
pip install bgzip
Requirements
bgzip requires openmp. On MacOS it can be installed with:
brew install llvm
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.4.0.tar.gz
(62.3 kB
view details)
File details
Details for the file bgzip-0.4.0.tar.gz
.
File metadata
- Download URL: bgzip-0.4.0.tar.gz
- Upload date:
- Size: 62.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2562202a99b0cff1777d051cd3ed7ffa9a568ff8486f922935808e1a0478f01c |
|
MD5 | 5eef27eb10462423feec6887307f43db |
|
BLAKE2b-256 | 28fd9c693ecdcfb16f9a0384feffa12423643ce25bf359007c830aaf94af0404 |