API§
Pass some text to a chain of programs and get the result(s) back.
https://magic_call.readthedocs.io/
- class magic_call.Caller(commands=(), *, env=None, max_workers=None)[source]§
The order of commands matters!
The “best” chain is not the one with the fewest stages, but the one that needs to go least far in the list of commands.
Explicit tool chain can be specified:
ps.pdf.png
,dvi.png
TODO: How to decide between
pdf.svg
anddvi.svg
?See also
An abstraction around concurrent.futures.ThreadPoolExecutor
.