1
0
Fork 0
Random utilities and one-off scripts.
Find a file
Marc Cataford f8da945561
Some checks failed
/ pre-run-notify (push) Failing after 41s
/ sast (push) Failing after 50s
ci: improve status push to discord
2024-07-19 22:05:14 -04:00
.forgejo ci: improve status push to discord 2024-07-19 22:05:14 -04:00
.gitignore Initial commit 2024-07-20 00:41:41 +00:00
.python-version ci: formatting checks 2024-07-19 20:53:36 -04:00
LICENSE Initial commit 2024-07-20 00:41:41 +00:00
migrate_repos_gh_to_forgejo.py feat: github>forgejo migration script 2024-07-19 20:46:38 -04:00
README.md feat: github>forgejo migration script 2024-07-19 20:46:38 -04:00

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.