pyroute2, but it's asynchronous.
Now the library core is built on asyncio
. The synchronous version is implemented as a wrapper around the asynchronous core, and should be compatible with the old code. To some extent.
- Important documentation: https://docs.pyroute2.org/asyncio.html
- PyPI: https://pypi.org/project/pyroute2/