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 an url and decompress archives.

Getting started

Python 3.9+ needed

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
$ python3 -m venv /path/to/venv
$ sh /path/to/venv/bin/acivate
$ python3 -m build
$ /path/to/venv/bin/pip install .
or:
$ python3 -m pip install simple-extract
or:
$ python3 -m pip install --user simple-extract
or:
$ pipx install simple-extract

Executing program

$ /path/to/venv/bin/simple-extract  # if cloned and manually built
or:
$ python3 simple_extract.py some-archive.tar.gz some-other-archive.lzma
or if installed via pip or pipx:
$ simple-extract https://github.com/ibara/mg/releases/download/mg-6.8.1/mg-6.8.1.tar.gz

Authors

Copyright 2024 Michael Berry trismegustis@gmail.com

License

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

License: MIT Code style: black build result

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.3.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

simple_extract-0.3.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file simple-extract-0.3.0.tar.gz.

File metadata

  • Download URL: simple-extract-0.3.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for simple-extract-0.3.0.tar.gz
Algorithm Hash digest
SHA256 00ea2889d5a1616dda7734acfb15801f1d183fd4db4f197ec16ca7062e59426d
MD5 e8239faf3029f6ad05e818ed75b48be2
BLAKE2b-256 303ab5fb1b0f4e60bb333dae7009ee6829ed9a3db2d80cfe2632d62dcbcc586b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for simple_extract-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0afda74547e2cd3235f72d7a9e673bc9efaebddcabcb0f980086fed57d292059
MD5 cd10dccac691b0aa74d50afc0f9e61ae
BLAKE2b-256 874f71ea536b1f44a516f95f741ae6c85b4484ddf6c63bf42b55c6abff3419f7

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