Random utilities and one-off scripts.
|
||
---|---|---|
.forgejo/workflows | ||
.gitignore | ||
.python-version | ||
LICENSE | ||
migrate_repos_gh_to_forgejo.py | ||
README.md |
bag-of-tricks
Random utilities and one-off scripts.
Expectations
Scripts contained here are expected to be runnable via pipx
and to define their dependencies using inline
metadata.
# /// script
# dependencies = [
# "package1",
# "package2"
# ]
# ///
import package1
import package2
# Logic
Usage
Provided that scripts have an inline script
block that defines any extra dependencies they expect, pipx run <path> ...args
is all that's needed to execute scripts in an isolated environment.