bgzip-0.4.0
توضیحات
Utilities working with blocked gzip streams.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bgzip-0.4.0 |
| نام | bgzip |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brian Hannafious |
| ایمیل نویسنده | bhannafi@ucsc.edu |
| آدرس صفحه اصلی | https://github.com/xbrianh/bgzip.git |
| آدرس اینترنتی | https://pypi.org/project/bgzip/ |
| مجوز | MIT |
# 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](https://github.com/llvm/llvm-project/tree/master/openmp). On MacOS
it can be installed with:
```
brew install llvm
```
## Links
Project home page [GitHub](https://github.com/xbrianh/bgzip)
Package distribution [PyPI](https://pypi.org/project/bgzip/)
### Bugs
Please report bugs, issues, feature requests, etc. on [GitHub](https://github.com/xbrianh/bgzip).
 
نحوه نصب
نصب پکیج whl bgzip-0.4.0:
pip install bgzip-0.4.0.whl
نصب پکیج tar.gz bgzip-0.4.0:
pip install bgzip-0.4.0.tar.gz