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
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.
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file simple_extract-0.3.2.tar.gz
.
File metadata
- Download URL: simple_extract-0.3.2.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d5b336208557fa971245d34b2abe08552393554fc0c146476fa9cf50c2504e |
|
MD5 | bfd9a3df05195c4e035e88ec36c8919f |
|
BLAKE2b-256 | eb7b0c7f3cc5210718e4b001fb897cdbc060fdd715b17aa73eace770d9f1af47 |
File details
Details for the file simple_extract-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: simple_extract-0.3.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861223c9e9401dff1475df5390aad8e70a3a537b86d23a5ac08c3d3f071c7370 |
|
MD5 | 7be4c2dde110ab5c1fc9dd9807ac8fed |
|
BLAKE2b-256 | c441f4ac374158d91d2b6f9931e459177ff60bd6fadca5cc24efa6133ce1c582 |