Metadata-Version: 2.0
Name: sseclient-py
Version: 1.3
Summary: SSE client for Python
Home-page: https://github.com/mpetazzoni/sseclient
Author: Maxime Petazzoni
Author-email: maxime.petazzoni@bulix.org
License: Apache Software License v2
Platform: UNKNOWN
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python

Server Side Events (SSE) client for Python
==========================================

A Python client for SSE event sources that seamlessly integrates with
``urllib3`` and ``requests``.

Usage
-----

.. code:: python

    import pprint
    import urllib3
    import sseclient

    http = urllib3.PoolManager()
    response = http.request('GET', 'http://domain.com/events')
    client = sseclient.SSEClient(response.stream())
    for event in client.events():
        pprint.pprint(json.loads(event.data))

Resources
=========

-  http://www.w3.org/TR/2009/WD-eventsource-20091029/


