Forums

Streaming data to Pythonanywhere

I would like to stream continuous data to my Pythonanywhere server and process the data. I read that TCP connections are not supported, are there any other alternatives?

If you're streaming to your code that's running on PythonAnywhere, and you have a paid account, then that should actually work just fine. It's only running a TCP server on PythonAnywhere that streams to other servers that we don't support.

Where were you planning on streaming from and to?

Thanks Giles. Helpful as always.

I have the same problem at the moment, can I send data from outside via tcp to my application to be shown on the website ?

That will not work with a free account. On a free account, you could create a web app with an endpoint that receiveds the data and connect to that from outside.