An open API service indexing awesome lists of open source software.

https://github.com/andgineer/http-stream-xml

Parse HTTP response as stream, by chunks.
https://github.com/andgineer/http-stream-xml

chunk http on-the-fly python xml xml-parser

Last synced: about 1 year ago
JSON representation

Parse HTTP response as stream, by chunks.

Awesome Lists containing this project

README

          

http-stream-xml
===============

|made_with_python| |build_status| |coverage| |pypi_version| |pypi_license| |readthedocs|

Parse XML in HTTP response on the fly, by chunks.

It could be `HTTP protocol chunks `_
Or just partial download of big HTTP response.

I use it to work with `NCBI (PubMed) Entrez API `_.

See usage example in `the blog article `_.

Documentation
-------------
`Documentation `_

Scripts
-------
Install [invoke](https://docs.pyinvoke.org/en/stable/) preferably with pipx:

.. code-block:: bash

pipx install invoke

To get available scripts:

.. code-block:: bash

inv --list

Coverage report
---------------
* `Codecov `_
* `Coveralls `_

.. |build_status| image:: https://github.com/andgineer/http-stream-xml//workflows/ci/badge.svg
:target: https://github.com/andgineer/http-stream-xml/actions
:alt: Latest release

.. |pypi_version| image:: https://img.shields.io/pypi/v/http-stream-xml.svg?style=flat-square
:target: https://pypi.org/p/http-stream-xml
:alt: Latest release

.. |pypi_license| image:: https://img.shields.io/pypi/l/http-stream-xml.svg?style=flat-square
:target: https://pypi.python.org/pypi/http-stream-xml
:alt: MIT license

.. |readthedocs| image:: https://readthedocs.org/projects/http-stream-xml/badge/?version=latest
:target: https://http-stream-xml.sorokin.engineer/
:alt: Documentation Status

.. |made_with_python| image:: https://img.shields.io/badge/Made%20with-Python-1f425f.svg
:target: https://www.python.org/
:alt: Made with Python

.. |codecov| image:: https://codecov.io/gh/andgineer/http-stream-xml/branch/master/graph/badge.svg
:target: https://app.codecov.io/gh/andgineer/http-stream-xml/tree/master/src%2Fhttp_stream_xml
:alt: Code coverage

.. |coverage| image:: https://raw.githubusercontent.com/andgineer/http-stream-xml/python-coverage-comment-action-data/badge.svg
:target: https://htmlpreview.github.io/?https://github.com/andgineer/http-stream-xml/blob/python-coverage-comment-action-data/htmlcov/index.html
:alt: Coverage report