The latest version of Pyzotero (now available on PyPI) includes an optional cli entrypoint that provides the 'pyzotero' command. Install it using
[your preferred installation tool invocation] "pyzotero[cli]", which can encompass pip or uv (possibly others, not tested). The entrypoint also enables installation using
uv tool and one-off use using
pipx /
uvx.
The cli currently offers only a small subset of the full Pyzotero library functionality, and is an in-progress experiment; the interface will grow over time, but it isn't intended to provide 1:1 library functionality. Docs are here:
https://pyzotero.readthedocs.io/en/latest/#cli-usage. Note in particular the ability to return results in human-readable or JSON format.
As ever, feedback is welcome.