{"id":18141502,"url":"https://github.com/ebraminio/aiosseclient","last_synced_at":"2025-04-09T08:09:06.234Z","repository":{"id":54617439,"uuid":"98584421","full_name":"ebraminio/aiosseclient","owner":"ebraminio","description":"Asynchronous Server Side Events (SSE) client for Python 3","archived":false,"fork":false,"pushed_at":"2025-03-12T20:03:49.000Z","size":56,"stargazers_count":25,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T05:08:55.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ebraminio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-27T22:23:45.000Z","updated_at":"2025-04-01T18:07:47.000Z","dependencies_parsed_at":"2023-11-15T20:28:20.191Z","dependency_job_id":"0c4e1814-37c4-44b7-a67e-d468d8f5c260","html_url":"https://github.com/ebraminio/aiosseclient","commit_stats":{"total_commits":13,"total_committers":3,"mean_commits":4.333333333333333,"dds":0.6153846153846154,"last_synced_commit":"c750f8f88aaa786edda83751292ed5c0048104e6"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebraminio%2Faiosseclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebraminio%2Faiosseclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebraminio%2Faiosseclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebraminio%2Faiosseclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebraminio","download_url":"https://codeload.github.com/ebraminio/aiosseclient/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999860,"owners_count":21031046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T17:07:24.991Z","updated_at":"2025-04-09T08:09:06.216Z","avatar_url":"https://github.com/ebraminio.png","language":"Python","readme":"Asynchronous Server Side Events (SSE) Client \n========================\n\nSimilar to [sseclient](https://github.com/btubbs/sseclient) and [sseclient-py](https://github.com/mpetazzoni/sseclient), a tiny package for supporting Server Side Events (SSE) with py3.9 [asyncio](https://www.python.org/dev/peps/pep-3156/) and [aiohttp](http://aiohttp.readthedocs.io/en/stable/).\n\nInstall it with this: `pip3 install aiosseclient`\n\nhttps://pypi.org/project/aiosseclient/\n\nSample code ([read more](https://wikitech.wikimedia.org/wiki/EventStreams)):\n```python\nimport asyncio\nimport aiohttp\nfrom aiosseclient import aiosseclient\n\nasync def main():\n    async for event in aiosseclient('https://stream.wikimedia.org/v2/stream/recentchange'):\n        print(event)\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(main())\n```\n\nAlternative libraries\n---------------------\nThere are different libraries, apparently inspired from this library initially, that right now are\nhandling session close better using a different API,\n\n* https://github.com/rtfol/aiohttp-sse-client\n* https://github.com/JelleZijlstra/aiohttp-sse-client2\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febraminio%2Faiosseclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febraminio%2Faiosseclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febraminio%2Faiosseclient/lists"}