I use python without any dependencies on web servers. Pip is cool, but you don't need to get pulled into the node-like dependecy hell.
For example instead of requests, you can use http.client, instead of flask, http.server, or socket.tcpserver, or just socket. If you want sqlite, don't jump to pip install sqlite or whatever, use sockets to talk to it.