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.3.tar.gz (3.2 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.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_sse_client-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 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.3.tar.gz
Algorithm Hash digest
SHA256 7f1dc0dd7a4ade14921850c08ffb7a561903b6c98b66282b77d01f5bc7ca785f
MD5 5c76ef9ad55857f423c992e76a111179
BLAKE2b-256 f672f6db71da54760559c4920ee7c9f023c48bf6886070cbc45aa46040197913

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_sse_client-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4abe196154e2f70ce65dc4795ab0fc1744ded0f14679868b3ce7e8a20ed3c43
MD5 3cb5462b38af896a636a1ca2b5e40344
BLAKE2b-256 119751cad7ed791512e22e6d719eab48023555f2487817a6f403d6769b6bd4ca

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