1
0
Fork 0
Random utilities and one-off scripts.
Find a file
Marc Cataford f71208f1a1
All checks were successful
/ pre-run-notify (push) Successful in 57s
/ sast (push) Successful in 51s
/ post-run-notify (push) Successful in 58s
refactor: pull artifact handling in action
2024-07-20 19:29:45 -04:00
.forgejo refactor: pull artifact handling in action 2024-07-20 19:29:45 -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.