Python Web socket for Postgres

Hello everyone, this is my first post.
I’m developing a mobile application and I need to put it in communication with a Postgres DB so I was thinking to create a Python web socket to handle this process.
The problem is that I never created a web socket in Python so (after some researches ) now I’m able to do the basic operations on the db (create table, select…) from my python program.
Now I need to create a real socket that works alone, do you have any suggestion?
I think I’ll need of API and other stuffs…But I don’t know what to search, is a desert.

Hi Federico,

sockets are quite low-level. Have a look at http clients alike:

instead. Quite easy, a lot of tutorials for that out there…

Cheers, Dominik