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/tardyon/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/tardyon/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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tardyon-5.0.0.tar.gz.
File metadata
- Download URL: tardyon-5.0.0.tar.gz
- Upload date:
- Size: 63.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1c94c4625579e772281f03f50976f731930ee38bd2e266460de6c1ecaf5ddc8
|
|
| MD5 |
6c1ccea9130bb8c0b66bf05143de21a2
|
|
| BLAKE2b-256 |
828d85957e7c595994de2f4af4130eb3154fed24bb0226295a9cdeb7bb80c9d4
|
File details
Details for the file tardyon-5.0.0-py3-none-any.whl.
File metadata
- Download URL: tardyon-5.0.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f2eca9844975151525521d1ec28df666ed8307be0aff936c2481a8e4ac4770c
|
|
| MD5 |
3e295cf19b75d686eb368f7cf0c024d8
|
|
| BLAKE2b-256 |
6e589529255ac4d6e566c1ee4eaae59c887f7f6c3ecb728e4ddd4b6a2e0fc399
|