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
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.0.tar.gz
(57.5 kB
view details)
File details
Details for the file bgzip-0.3.0.tar.gz
.
File metadata
- Download URL: bgzip-0.3.0.tar.gz
- Upload date:
- Size: 57.5 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.45.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e45a6cfab8d860af3d7f3a3df36d27e0aa0724f1a5eb9b44464b9408e2ba19b |
|
MD5 | f54fe54624ce2b4b493851da3af9bf74 |
|
BLAKE2b-256 | 608f7178c73a962a9dce2901d9b4f0063579418a1ce9197be517a0576a03f73d |