Miscellaneous Python tools to automate everyday tasks.
Inspired by this quote from Simon Willison:
"This is why I care so much about the productivity boost I get from LLMs so much: it’s not about getting work done faster, it’s about being able to ship projects that I wouldn’t have been able to justify spending time on at all."
- Python is a nice scripting language that is easy to learn and read.
- Due to its popularity, LLMs are good at writing Python code.
- It is also a powerful language with a huge ecosystem of libraries for all kinds of tasks.
- Lastly, uv has made Python a breeze to work with.
This project uses uv for running scripts.
Clone the repo to ~/.local/tools. Add aliases to your shell (see my dotfiles).
It is recommended to use an alias for running scripts. This is an example for Fish from my dotfiles.
Manage fingerprint authentication on Arch Linux.
Commands:
fingerprint init- Setup PAM configuration for fingerprint authentication (sudo/polkit)fingerprint add- Add a new fingerprint for the current userfingerprint remove- Remove all fingerprints for the current user--pam- Also remove PAM configuration
Requirements:
fprintdpackage must be installed:sudo pacman -S fprintd
Example:
# Initial setup
uv run fingerprint.py init
# Add a fingerprint
uv run fingerprint.py add
# Remove fingerprints (keeping PAM config)
uv run fingerprint.py remove
# Remove fingerprints and PAM config
uv run fingerprint.py remove --pam