Skip to main content

Script to intelligently extract multiple archive types

Project description

GitHub PyPI version PyPI pyversions GitHub Workflow Status

dtrx

"Do The Right eXtraction" - don't remember what set of tar flags or where to pipe the output to extract it? no worries!

TL;DR

pip install dtrx

dtrx yolo.tar.gz

This is a copy-paste of the original dtrx repo, and all credit for this software should be attributed to the original author, Brett Smith @brettcs:

https://github.com/brettcs/dtrx

See the original README for more details on what this does!

Changes in this repo

This repo contains some patches on top of the original source to enable using dtrx with python3. The original motivation was to enable dtrx on Ubuntu 20.04+, where the dtrx apt package was removed from the default ppas (likely due to being python2 only).

I attempted to get the tests all working via tox , for which I used a Dockerfile to try to get some kind of environment consistency. You can run the tests by running (requires Docker installed):

./test.sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtrx-8.2.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

dtrx-8.2.2-py2.py3-none-any.whl (28.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dtrx-8.2.2.tar.gz.

File metadata

  • Download URL: dtrx-8.2.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for dtrx-8.2.2.tar.gz
Algorithm Hash digest
SHA256 635c99cedf8fc6495d04100e7aec931982422c9ebd9b3fafdd7652f59fd2b389
MD5 23a96c8856a935be739fba26bf12bb8e
BLAKE2b-256 3380d4fe0e9611d31f3a2d2e7affd4272141c3c436aec962df8e49e06b152c41

See more details on using hashes here.

File details

Details for the file dtrx-8.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: dtrx-8.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for dtrx-8.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0bd9faf071146a13c6c1a08726062f1e633dc58faf81ecf05fa2afcf6ea50375
MD5 56b868f1a60896ebbe7e8df97c0f9b34
BLAKE2b-256 9a6c06bef52ca3938acd7ef27b30cd75d4a852b279cc5657ac1af6aaf4e79185

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