aboutsummaryrefslogtreecommitdiff
path: root/assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-29 21:11:06 -0500
committerCraig Jennings <c@cjennings.net>2026-05-29 21:11:06 -0500
commit60ebd8e0b3e4b35b2f46444feffab075a43c4ef6 (patch)
tree4fd20bef92663cb796d722d84d3e18fdc5e76479 /assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org
parente6572d23b4d10c095eba45a8e37b1282185fcf4d (diff)
downloadarchsetup-60ebd8e0b3e4b35b2f46444feffab075a43c4ef6.tar.gz
archsetup-60ebd8e0b3e4b35b2f46444feffab075a43c4ef6.zip
chore(todo): file local-llm and uv install tasks; process inbox
Filed two new [#B] parent tasks. The local offline LLM runtime task carries design-decision and implementation children for resolving the open design questions alongside implementation work. The uv install task matches the existing eask/signal-cli tooling-codification shape — load-bearing for other projects, manually installed today, codify so fresh installs pick it up. Four cross-project handoffs moved to outbox.
Diffstat (limited to 'assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org')
-rw-r--r--assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org29
1 files changed, 29 insertions, 0 deletions
diff --git a/assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org b/assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org
new file mode 100644
index 0000000..3cf53ec
--- /dev/null
+++ b/assets/outbox/2026-05-29-1111-from-health-todo-b-install-python-genanki-system.org
@@ -0,0 +1,29 @@
+#+TITLE: * TODO [#B] Install ~python-genanki~ system-wide :install:py
+#+SOURCE: from health
+#+DATE: 2026-05-29 11:11:48 -0500
+
+* TODO [#B] Install ~python-genanki~ system-wide :install:python:
+
+Add ~genanki~ to the Python package set so projects can generate Anki ~.apkg~ decks from org-drill files without per-project venvs.
+
+** Why
+A converter script in the health project (~health-drill-to-anki.py~) emits an Anki package from an org-drill source file — same workflow as ~/sync/org/drill/~ but pushed into Anki for mobile review. The script is ~100 lines and runs anywhere Python has ~genanki~ available. The pattern is likely to spread: deepsat already has a drill file, more will follow.
+
+Right now Arch's PEP 668 enforcement blocks ~pip install --user genanki~, so the script needs a throwaway venv to run. Solving once at the system level removes that friction across every project.
+
+** Install options (pick one)
+- *Arch official repo or AUR.* ~pacman -S python-genanki~ if it's in extra/community, or ~yay -S python-genanki~ from AUR. Cleanest. Auto-updates with the rest of the system.
+- *pipx.* ~pipx install genanki~ — but genanki is a library, not a CLI app, so pipx is a stretch. Skip.
+- *System-wide pip with ~--break-system-packages~.* Works but circumvents PEP 668. Last resort.
+
+Recommendation: try pacman/AUR first, fall back to a managed venv at a known path (e.g. ~/opt/python-tools/~) that scripts can shebang into.
+
+** Verification
+After install:
+#+begin_src bash
+python3 -c "import genanki; print(genanki.__version__)"
+#+end_src
+Should print a version like ~0.13.1~ without traceback.
+
+** Cross-reference
+- A companion message went to rulesets' inbox proposing the export script as a template script under ~claude-templates/.ai/scripts/~. That decision depends on this install landing first — without ~genanki~ available system-wide, the template script can't run out of the box.