Skip to main content

Yet another client library for server-sent events (sse).

Project description

SSEC - Client for Server-Sent Events (SSE)

Yet another client library for server-sent events (sse).

General

This package provides a modern client for server-sent events (sse).

The code is based on the standard specification[1] and was adapted for python. Althought there are serveral other implementations like [2] and [3], the goal of this package is to have a modern (2022 + Python3.10), thread-safe, well documented and feature-rich client. Also, these two packages have some corner-cases where they do not work properly.

Maintainance

This repository is under active maintainance. If you have any ideas, issues or contributions, let me know. Pull requests are welcome.

Installation

This package should be installable via pip:

pip install ssec

It might be the case that this package is currently not available on pip. If so, you can download this repositoy and run

cd INSTALL_PATH/ssec
pip install .

Usage

You can find simple examples in the example.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssec-2.0.0.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

ssec-2.0.0-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page