PyDecompress eases the process of extracting contents from different types of archives.
Project description
PyDecompress
Lightweight package that allows you to decompress archive files.
Supported formats
.zip
.tar
.tar.gz
.tar.xz
.tar.bz2
.tar.xz
.tar.Z
- Requires the Linux uncompress package.
Installation
via pip:
pip install pydecompress
Usage example
from pydecompress.extractor import Extractor
res = Extractor.extract('path/to/archive.tar.gz', '/destination/folder')
print(res) # Output: PosixPath('/destination/folder')
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pydecompress-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adf792b28627d95db61f52540a23e71b39d75c33db66db30695f45b03c1ab8e |
|
MD5 | 3dd8e1e7d3d8a15d875ee442e7c82788 |
|
BLAKE2b-256 | 2b3eb58241de9607d58a2e0b663b2745c92968c90b1516836cec4276edf8661a |