I need to programmatically manipulate Linux host device IP addresses. I have not found any Python libraries that provide this functionality. I think that what I'm after may be provided in the ip
CLI tool, but am hoping for a Pythonic solution not involving subprocess
.
This is not a web scraping issue, so I am not looking for proxy-related solutions.
The use-case is providing a web interface on a Raspberry Pi from within a Docker container so that the user can set the device's IP address in a simple HTML form.
question from:https://stackoverflow.com/questions/66052579/pythonic-way-of-getting-network-interfaces-and-submitting-configuration-changes