Skip to main content

A simple server sent events client for python

Project description

py-sse-client

A simple server sent events client for python

Installation

pip3 install py-sse-client

Usage

import pysse

def listener(event):
    print(event)

client = pysse.Client("https://example.com/sse", listener)
client.connect()

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

py_sse_client-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_sse_client-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file py_sse_client-0.0.1.tar.gz.

File metadata

  • Download URL: py_sse_client-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for py_sse_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3a2bac3da95ee74de43c6a57b197c2e36024701b253372f6db4012cd898e5586
MD5 13d8b7eecda1c415bd76f1190c384fc0
BLAKE2b-256 f78f439c897343aef462a594ecabb9c7ee6e377165ba772a85ca4f8e12458bc8

See more details on using hashes here.

File details

Details for the file py_sse_client-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py_sse_client-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for py_sse_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 953d211ca1d7d24dd1dbf81d4243fcd5770a4711b640dabee90a22b9e519dd9f
MD5 ec9edf390a555580e31367449cef3557
BLAKE2b-256 7edc4b7f1cdb11b9986517e98683aa5898f3373018b186fc36f2a1966b7e369c

See more details on using hashes here.

Supported by

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