summaryrefslogtreecommitdiffstats
path: root/lib/python.tcl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lib/python: Clean up warningOmar Rizwan2026-04-021-0/+4
|
* lib/python: Kill the Python process on unmatch.Omar Rizwan2026-02-271-2/+5
| | | | | This helps not take all RAM/VRAM/other resources because old Python processes are hanging around.
* python: Multithread listen on Python sideOmar Rizwan2026-02-261-50/+55
| | | | so that we can connect from multiple threads on the Tcl side.
* python: Fix stderrOmar Rizwan2026-02-261-1/+1
|
* python: Remove zmq dependencyOmar Rizwan2026-02-261-85/+103
| | | | | Use exactly the same multipart structure, just with Unix domain socket instead.
* python: Per-thread sockets so we can kill threads safely-ish.Omar Rizwan2026-02-121-50/+63
| | | | | | This lets us flip pages over without totally breaking the OCR servers. Also try to report Python errors. We still need to do better with socket and endpoint cleanup, though.
* python: Invert so Python is the server; use per-thread sockets.Omar Rizwan2026-02-111-15/+17
| | | | | This should create more resilience against interrupted (unmatch-killed) threads.
* python: Use JSON to serialize result. craft: Return serialized boxesOmar Rizwan2026-02-081-2/+2
|
* python: Fix zmq calls in unknown; craft works!Omar Rizwan2026-02-081-0/+5
|
* python: WIP: Let any thread call PythonOmar Rizwan2026-02-081-34/+144
|
* WIP: Start on craft.folk. Need to multithread $pyOmar Rizwan2026-02-061-28/+10
| | | | | | Add undent and indent functions to manage Python code blocks. Get rid of `$py run` and add the more clearly distinct/defined `exec` and `eval`. Add `Uvx --with` hack support.
* python: Image argtype worksOmar Rizwan2026-02-061-1/+0
|
* python: WIP: Working on Image / argtype support.Omar Rizwan2026-02-061-16/+5
| | | | Add python to prelude.
* lib/python: WIP: Start on argtype registrationOmar Rizwan2026-02-061-85/+91
|
* lib/python: WIP: Need to send parts separately for ImageOmar Rizwan2026-02-041-11/+58
|
* WIP: Add Uvx def. Need to implement custom argtype for Image nextOmar Rizwan2026-02-041-16/+92
|
* WIP: lib/python to run Python subprocess, call functions in itOmar Rizwan2026-02-031-0/+150