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.
Credits
getm was created by Brian Hannafious at the UCSC Genomics Institute.
Release files for bgzip 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bgzip-0.5.1.tar.gz | 113.0 kB | Details |
Release files / bgzip-0.5.1.tar.gz
| Download URL | bgzip-0.5.1.tar.gz |
|---|---|
| Size | 113.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f80cf018befe8f8f201fb571cf42f74e8d72f5bfdf897f4b451286d8abc955f
|
|
BLAKE2b-256 checksum How to use checksums |
913de389ca7a9ff0ec4805388cda2cd5e019360de45a8321f17e2fefb9a7375d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|