Skip to main content

Asynchronous Server Sent Event streams client.

Project description

Asynchronous Server Side Events (SSE) Client

Similar to sseclient and sseclient-py, a tiny package for supporting Server Side Events (SSE) with py3.5 asyncio and aiohttp.

Install it with this: pip3 install aiosseclient

Sample code (read more):

import asyncio
import aiohttp
from aiosseclient import aiosseclient

async def main():
    async for event in aiosseclient('https://stream.wikimedia.org/v2/stream/recentchange'):
        print(event)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

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

aiosseclient-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

aiosseclient-0.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosseclient-0.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for aiosseclient-0.0.2.tar.gz
Algorithm Hash digest
SHA256 56958d8d02539e09ef4474877ebf6d1930be2a64258e33a969e5e1b070b4f9a5
MD5 ed4729dbceb2ed243bc70a560bd42549
BLAKE2b-256 01b7f50bbf4e71704ca66fcad7b73455c75f7143cb6e4148979fa78b5cdc6cf7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiosseclient-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c18350c26e049753d9205f5a01ad4bbf32c62009db3a0275cd1d245a07d2494
MD5 fae3d96909e8312057501bad21df69ad
BLAKE2b-256 6055ed99479a626180d012944193bf4106a51a07441f0a8f2cbb5783a4390f52

See more details on using hashes here.

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