Skip to main content

A small command line utility to help extract compressed archives.

Project description

simple_extract

Simple File Extraction

Description

A small command line file extraction utility written in Python. It uses external tools to optionally fetch from a url and decompress archives.

Getting started

Python 3.6+ needed. Tested with 3.9

External tools that can be used:

* tar
* gzip
* bzip2
* unrar
* lha
* 7z
* unzip
* rpm2cpio
* cpio
* ar
* xz
* zstd
* curl
* wget
* fetch

Installing

* clone the git repository from https://github.com/berrym/simple_extract.git
or:
* python -m pip install simple-extract
or:
* python -m pip install --user simple-extract

Executing program

* python simple_extract.py some-archive.tar.gz some-other-archive.lzma
or if installed via pip:
* simple-extract some-archize.bz2

Authors

Copyright 2021 Michael Berry trismegustis@gmail.com

Version History

  • 0.1.0
    • Initial Release
  • 0.1.1
    • Change the way paths are handled if stdout is used

License

This project is licensed under the MIT License - see the LICENSE file for details.

License: MIT Code style: black

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

simple_extract-0.1.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

simple_extract-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file simple_extract-0.1.2.tar.gz.

File metadata

  • Download URL: simple_extract-0.1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for simple_extract-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d4ace22fa7d229795da3d9e634bce38c8f70d2623f98725c726899ad94676018
MD5 cf97c19441b42e223dcad4013292976b
BLAKE2b-256 639b981ddd067a21be05a18449eddad6990ef1e4ee22d5ba80c2a47fe85559be

See more details on using hashes here.

File details

Details for the file simple_extract-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: simple_extract-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for simple_extract-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 125d1539a445d3482fc984742a1174dd804743f024b43f68fd98a5415ce3eadd
MD5 4d58469e82f85b660afe6e4d389787e2
BLAKE2b-256 2ef45a7c97b5fcd5c29d9f353d8f4e9d2145860acb68e93ddc9afbcea007da4e

See more details on using hashes here.

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