Restructure as package, introduce an API #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am thinking of restructuring the project from a mostly flat collection of scripts into a library (see uv definitions), and making it more similar to query research information from PsyInf's datalink.
Code would be split into:
filters(same as currently)renderers(current top-level script)utils(a place to factor out duplicated code)Changing to a project layout would allow internal import of utils from both filters and renderers.
A
main.pyscript could use click command groups to define the following API (pppbeing the main command):ppp filter [filter name] [filter args and opts]ppp render [renderer name] [renderer args and opts]