Skip to content

A small command line utility to help extract compressed archives

License

Notifications You must be signed in to change notification settings

berrym/simple_extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Manual local install

$ 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/pip3 install .

Package installation Recommended

$ 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 Copr build status

About

A small command line utility to help extract compressed archives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages