Skip to main content

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


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

pydecompress-0.0.2-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page