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 a url and decompress archives.
Getting started
Python 3.6+ needed. Tested with 3.9
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
or:
* python -m pip install simple-extract
or:
* python -m pip install --user simple-extract
Executing program
* python simple_extract.py some-archive.tar.gz some-other-archive.lzma
or if installed via pip:
* simple-extract some-archize.bz2
Authors
Copyright 2021 Michael Berry trismegustis@gmail.com
Version History
- 0.1.0
- Initial Release
- 0.1.1
- Change the way paths are handled if stdout is used
- 0.1.2
- Updated setup.py
- 0.1.3
- Fixed setup.py issue preventing proper builds
- 0.1.4
- Added a simple noclobber option for non piped commands
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.1.4.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file simple_extract-0.1.4.tar.gz
.
File metadata
- Download URL: simple_extract-0.1.4.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b47fa46df92b4447f616c85ecd9e05107a75408f243f4a13dfc4a9eef57e05d6 |
|
MD5 | 3ca8b97b763aba0673f8d866944f7964 |
|
BLAKE2b-256 | 37b18bfaf74aae34b95ab8e3256839c60b6d1482237fac6906391c033d5b7ed2 |
File details
Details for the file simple_extract-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: simple_extract-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38e53fda55707dc11af0f4fe58d5ee8f40580cb30f0738a79aebb4b4afecc9b |
|
MD5 | 0fda788dd569d477421d3bd76ddeed4c |
|
BLAKE2b-256 | 6ea395be1cf12cc0cba80a339780397274d845ef17be089bf78bfbf242d29df2 |