compander-0.1
توضیحات
Simple context manager for wrapping file compression and uncompression operations.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | compander-0.1 |
| نام | compander |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/compander/ |
| مجوز | MIT |
Compander
=========
Simple context manager to wrap compression and uncompression of gzip and bzip2 files.
Example
-------
```
from compander import Compander
with Compander() as c: # Default is bz2
c.compress('uncompressed_file','compressed_file.bz2')
with Compander('bz2') as c:
c.uncompress('compressed_file.bz2','uncompressed_file')
with Compander('gz') as c:
c.compress('uncompressed_file','compressed_file.gz')
with Compander('gz') as c:
c.uncompress('compressed_file.gz','uncompressed_file')
```
Testing
-------
* python setup.py test
Installation
------------
* python setup.py install
Development
-----------
* pip install -r requirements.txt
* python setup.py test
* python setup.py develop
نحوه نصب
نصب پکیج whl compander-0.1:
pip install compander-0.1.whl
نصب پکیج tar.gz compander-0.1:
pip install compander-0.1.tar.gz