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.2.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.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_sse_client-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7be8bb3d7a5ca75d44936b69c40538e6912fdab016af7a117c88aa8487be0da6
MD5 8e608ca750bcba00c676f0a838475613
BLAKE2b-256 7f5b77953b33f48d948500897ad3e6c617308fc6211229f46bf8d4b446d97dc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_sse_client-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42ca3d4641f1f168841f20c46184ed477252df552d29cd778dda4ecd2b7c9000
MD5 705bec112cb35353521cb0965cc9f624
BLAKE2b-256 6fe07db4169e5c8a363726e59e01d065aa3fdbd50335baca4d894fe1a0a2f084

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