1
0
Fork 0
Random utilities and one-off scripts.
Find a file
Marc Cataford b7b4e8b57b
Some checks failed
/ sast (push) Failing after 47s
ci(sast): target source files specifically
2024-07-19 20:56:09 -04:00
.forgejo/workflows ci(sast): target source files specifically 2024-07-19 20:56:09 -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.