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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pydecompress-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pydecompress-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for pydecompress-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9adf792b28627d95db61f52540a23e71b39d75c33db66db30695f45b03c1ab8e
MD5 3dd8e1e7d3d8a15d875ee442e7c82788
BLAKE2b-256 2b3eb58241de9607d58a2e0b663b2745c92968c90b1516836cec4276edf8661a

See more details on using hashes here.

Supported by

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