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 many types of archives.

Getting started

Python >= 3.12 needed

External tools that can be used:

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

Installing

Manual local install

$ clone the git repository from https://github.com/berrym/simple_extract.git
$ python3 -m venv .venv
$ source .venv/bin/acivate
$ python3 -m build
$ pip3 install .

Package installation Recommended

$ python3 -m pip install simple-extract         # if you have permissions

or

$ python3 -m pip install --user simple-extract  # will store in user's local directories

or Recommended install method

$ pipx install simple-extract  # will install to a venv and install an executable link

Executing program

$ /path/to/venv/bin/simple-extract  # if cloned and manually built but no longer in the venv.

or if installed via pip, pipx

$ simple-extract https://github.com/ibara/mg/releases/download/mg-6.8.1/mg-6.8.1.tar.gz

Tip

If you have a shell environment that supports aliases, it's useful to alias simple-extract.

On common unix/linux shells you might run or put this in your shell rc script.

$ alias se='simple-extract'

Then you can execute the program by typing se

Authors

Copyright 2025 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 Copr build status

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

Uploaded Source

Built Distribution

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

simple_extract-0.3.4-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_extract-0.3.4.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for simple_extract-0.3.4.tar.gz
Algorithm Hash digest
SHA256 026df81f5d02a8f46a603295ee9d7e7b825589dccf8d1f65f82547556bd0a264
MD5 e68e2a4b6f66c9886ac5ea5a4f7b2884
BLAKE2b-256 dfe1cb2174423c1958f557cc014d767b4165ca5121262e2cba21a867f08bc585

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_extract-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for simple_extract-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 168ecfa73869c298bd6d7dcdeb41be1e2e2b383056ac872e13361d4f8cf8917b
MD5 82b7375ab7a90ca6c367da1de72f37f8
BLAKE2b-256 8dbb6e44f1679748efa9335293ad7dc826286ea36bb361d2a4cb623cee28890d

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