Command line tools and Python library for managing consumer-grade modems and routers