使用阻塞的gzip流的实用程序。
bgzip的Python项目详细描述
bgzip:阻止gzip流
bgzip为块gzip文件提供流。在
Cython在幕后被用来绕过Python的GIL,提供快速、并行的通货膨胀/通货紧缩。在
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)
安装
^{pr2}$要求
bgzip需要openmp。在MacOS上 它可以安装在:
brew install openmp
链接
Bugs
请报告GitHub上的错误、问题、功能请求等。在
- 项目
标签: