{"id":39171507,"url":"https://github.com/overcat/requests-sse","last_synced_at":"2026-01-17T22:23:24.732Z","repository":{"id":206195731,"uuid":"716048539","full_name":"overcat/requests-sse","owner":"overcat","description":"server-sent events python client library based on requests","archived":false,"fork":false,"pushed_at":"2025-12-01T06:39:13.000Z","size":188,"stargazers_count":8,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T17:53:59.312Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/overcat.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-08T11:13:56.000Z","updated_at":"2025-12-01T06:39:17.000Z","dependencies_parsed_at":"2024-03-16T15:50:23.695Z","dependency_job_id":"612f8f7c-1b22-4122-97c7-8918ecad135c","html_url":"https://github.com/overcat/requests-sse","commit_stats":null,"previous_names":["overcat/requests-sse"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/overcat/requests-sse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcat%2Frequests-sse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcat%2Frequests-sse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcat%2Frequests-sse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcat%2Frequests-sse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overcat","download_url":"https://codeload.github.com/overcat/requests-sse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overcat%2Frequests-sse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28520232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-17T22:23:24.268Z","updated_at":"2026-01-17T22:23:24.727Z","avatar_url":"https://github.com/overcat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\nrequests-sse\n============\n\n.. image:: https://img.shields.io/github/actions/workflow/status/overcat/requests-sse/test-deploy.yml?branch=main\n    :alt: GitHub Workflow Status\n    :target: https://github.com/overcat/requests-sse/actions\n.. image:: https://img.shields.io/pypi/v/requests-sse.svg\n    :alt: PyPI\n    :target: https://pypi.python.org/pypi/requests-sse\n.. image:: https://img.shields.io/badge/python-%3E%3D3.8-blue\n    :alt: Python - Version\n    :target: https://pypi.python.org/pypi/stellar-sdk\n\nA Server-Sent Events python client based on requests, provides a simple interface to process `Server-Sent Events \u003chttps://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events\u003e`_.\n\nInstallation\n------------\n.. code-block:: bash\n\n    pip install requests-sse\n\nUsage\n-----\n.. code-block:: python\n\n    import requests\n    from requests_sse import EventSource, InvalidStatusCodeError, InvalidContentTypeError\n\n    with EventSource(\"https://stream.wikimedia.org/v2/stream/recentchange\", timeout=30) as event_source:\n        try:\n            for event in event_source:\n                print(event)\n        except InvalidStatusCodeError:\n            pass\n        except InvalidContentTypeError:\n            pass\n        except requests.RequestException:\n            pass\n\nCredits\n-------\n\nThis project was inspired by `aiohttp-sse-client \u003chttps://github.com/rtfol/aiohttp-sse-client\u003e`_, `aiosseclient \u003chttps://github.com/ebraminio/aiosseclient\u003e`_,\n`sseclient \u003chttps://github.com/btubbs/sseclient\u003e`_, and `sseclient-py \u003chttps://github.com/mpetazzoni/sseclient\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovercat%2Frequests-sse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovercat%2Frequests-sse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovercat%2Frequests-sse/lists"}