Parse XML from HTTP responses on the fly, chunk by chunk.
This works with HTTP protocol chunks or partial downloads of large HTTP responses.
I use it to work with the NCBI (PubMed) Entrez API.
See usage examples in these blog articles:
Install invoke preferably with pipx:
pipx install invokeTo get available scripts:
inv --list