Skip to main content

The universal archive manager

Project description

Tarumba

The universal archive manager.

Tarumba is a frontend for multiple archive managers. It aims to provide a simple unified interface to manage all your archives. Tarumba is also a Python library for archive manager integration.

Tarumba cannot handle any archives by itself. Instead, it uses the archive managers available on the system. See the list of supported backends below.

      Tarumba logo       Code linting
Build project
Unit testing
Repository License
PyPI - Version
PyPI - Python Version

Usage

The basic usage of Tarumba is:

tarumba action [options] archive [files...]

Archive is the path to the archive that you want to manage.

Files are the paths to the files used in the action.

There are 6 available actions, you can enter the word or only the first letter.

  • (l) list
    Lists files in the archive. You can enter an optional list of files to list only those files.
  • (a) add
    Adds files to the archive. The list of files is mandatory, a new archive will be created if it doesn't exist.
  • (e)(x) extract
    Extract files from the archive. The list of files is optional, when absent all the files in the archive will be extracted.
  • (d) delete
    Deletes files from the archive. The list of files is mandatory.
  • (t) test
    Tests the archive integrity. With some archive formats, you can enter an optional list of files to check only those files.
  • (r) rename
    Renames files in the archive. It is mandatory to enter pairs of files and every par will be interpreted as the old and new file paths.

Options

  • -h, --help
    Show the help message and exit.
  • -a, --always-overwrite
    Always overwrite existing files.
  • -b
    Force a specific backend, overriding autodetection.
  • -c COLUMNS, --columns COLUMNS
    Comma separated columns to include in the listing.
  • -d, --debug
    Show debugging information.
  • -e, --encrypt
    Encrypt the archive contents using a password.
  • -f {auto,yes,no}, --create-folder {auto,yes,no}
    Creates a root folder with the archive name when extracting files.
  • -k, --follow-links
    Follow symbolic links. WARNING: MAY CREATE INIFINITE PATHS.
  • -l LEVEL, --level LEVEL
    Compression level [0-9].
  • -m, --no-color
    Disable colored output.
  • -n, --never-overwrite
    Never overwrite existing files.
  • -o OCCURRENCE, --occurrence OCCURRENCE
    Process only the Nth occurrence of each file in the archive.
  • -p PATH, --path PATH
    Modify the file paths in the archive using this reference.
  • -v, --verbose
    Verbosely list processed files.
  • -w, --owner
    Preserve the owner user and group when possible.

Supported backends

Installation

Tarumba is available on PyPI and can be installed with pip.

pip install tarumba

If you are a developer and want to contribute to Tarumba, you can clone the repository and use Hatch to manage the project. The following actions are available.

Build the project

hatch build

Run the tests

hatch test -v

Linting with ruff

hatch fmt --check

Linting with pylint

hatch run pylint src tests

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

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

tarumba-0.0.4.tar.gz (63.0 kB view details)

Uploaded Source

Built Distribution

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

tarumba-0.0.4-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

File details

Details for the file tarumba-0.0.4.tar.gz.

File metadata

  • Download URL: tarumba-0.0.4.tar.gz
  • Upload date:
  • Size: 63.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for tarumba-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e4b2f44668b2926568c07f0f7726d96ea30c527d6d5a2b9db42a01e478a8bb1d
MD5 140a05fd4314c920ce5b9714b0b01f69
BLAKE2b-256 2f03a5cd93d8da15b817a41d5a6870c33249415c1e7618bb8c4e4379ceda6f41

See more details on using hashes here.

File details

Details for the file tarumba-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tarumba-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 70.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for tarumba-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20b50878b0e04c7184bd037875c76085fe9d8c89f3f1c67a4d712a47295d6d17
MD5 e71e15919cc1cbf27397e1d5db1a0a56
BLAKE2b-256 f5b1c4a1da75aa4644c8c6905a78f51e66b699349016030b3804ec5ea905df92

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