K
K
Konstantin2017-09-01 07:27:42
Python
Konstantin, 2017-09-01 07:27:42

Network libraries for Python?

For the first time, I needed to write a client-server application. The server stores some data in the database, processes it upon request from the client and gives it to him, or vice versa, receives it from the client, processes it and writes it to the database. Plus internal processing by timer and events. There are not many clients <30, data too, but the connection and data flow are constant.
There is no desire to work directly with sockets (did not work out with them). Of the network libraries, I found only Tornado and Twisted, but as I understand them, they are only for servers, and they are too big for my use. Can you advise how to implement the exchange between the server and clients?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan, 2017-09-01
@helpik94

you can also try netmiko
telnetlib
ipaddr

X
x67, 2017-09-01
@x67

Maybe requests for the client and http.server for the server? Libraries from python standard library, relatively simple and understandable REST

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question