There is a JavaScript module called Eventsource, but I'm looking for a library that can do the same in Python.

Job ID: 34414622

Budget: $10 – $30 USD

There is a JavaScript module called Eventsource, but I'm looking for a library that can do the same in Python.

What I want to do is always receive a response from the server connected with "Content-Type: text/event-stream".

In addition, the server-side specification is SSE (Server-Sent Events), not WebSocket, and cannot be changed.

I would like to implement a state in Python that can receive notifications on the client side.

If you have knowledge, I would appreciate it if you could lend me your strength.
Related categories: JavaScript Python Flask Server Chatbot