Skip to main content

Invoke scripts slowly.

Project description

tardyon

If you write custom scripts, tardyon helps you maintain and invoke them.

Usage

Example script

Save the following script as $HOME/.local/bin/tardy/all/upgrade.all

#!/bin/sh

# Escalate session once
sudo -v || exit 1

# Update and upgrade APT packages
sudo apt update && sudo apt upgrade -y

# Update Flatpak packages
flatpak update -y

You can now call tardyon upgrade all to upgrade packages across all your package managers (in this example, APT and Flatpak).

Organizing scripts

Tardyon follows a strict but simple organizing principle: tardyon foo bar will invoke the script $HOME/.local/bin/tardy/bar/foo.bar

Commands are shaped like ordinary English clauses, an imperative with a vocative. So you write tardyon clear cache rather than tardyon cache clear.

Scripts can be any executable file with a shebang, or even a compiled binary.

Show yourself

Tardyon has one special command, tardyon show yourself. This opens the folder containing your tardyon scripts.

Development environment

Initialize with uv sync. Test with uv run pytest.

Release

git tag -a 2.0.0 -m "Version 2.0.0"
uv build
uv publish  # uses tag for version number

Sharing and contributions

tardyon
https://lofidevops.neocities.org
Copyright 2023 David Seaward and contributors
SPDX-License-Identifier: AGPL-3.0-or-later

Shared under AGPL-3.0-or-later. We adhere to the Contributor Covenant 2.1, and certify origin per DCO 1.1 with a signed-off-by line. Contributions under the same terms are welcome.

Submit security and conduct issues as private tickets. Sign commits with git commit --signoff. For a software bill of materials run reuse spdx.

Colophon

Originally inspired by Ansible but with subluminal ambition.

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

tardyon-5.0.1.tar.gz (61.1 kB view details)

Uploaded Source

Built Distribution

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

tardyon-5.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file tardyon-5.0.1.tar.gz.

File metadata

  • Download URL: tardyon-5.0.1.tar.gz
  • Upload date:
  • Size: 61.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tardyon-5.0.1.tar.gz
Algorithm Hash digest
SHA256 7257707b18106b9bc7bf4c5de639c7463d2f1ef29738bf5c8a9ee68783491697
MD5 68a73862bdd478624d786d5bcf70e07f
BLAKE2b-256 6587eae41488749a650af51715471d624231b8261818931dbe074250bc34039a

See more details on using hashes here.

File details

Details for the file tardyon-5.0.1-py3-none-any.whl.

File metadata

  • Download URL: tardyon-5.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tardyon-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d0bc941d658021fae69e0dc4b993a225762891c3b34916e91a9ffbd39ca7808c
MD5 3932f18c600115974a10b5f53bcc303d
BLAKE2b-256 81613a0097c8865a201ee258e46859edabfedd27239a7c92ac9ccfcadc5152e7

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