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

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

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.3.tar.gz (8.2 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.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simple_extract-0.3.3.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for simple_extract-0.3.3.tar.gz
Algorithm Hash digest
SHA256 5b11d3f9673f2ca970cca6c9f27b585530a1e74e9d1f3bc525775dbfdeba488a
MD5 ef77776fdf71f34081fb9ba8d17ca0b9
BLAKE2b-256 ee57637f515ce043c50064777876bc6708e5dbb3daadbc7fa38e3b0a0a7a716c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simple_extract-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for simple_extract-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a0cb4a25785462265f71f12734a3380826964d04640bb2bec293416277fd420
MD5 9d27e869e4a8b9d7d36b0a07f6404576
BLAKE2b-256 28d761822de1950ce95ec152b326f1aefa85ab216e466e9bffded04c1091649d

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