Package Info

python-pyroute2


Python Netlink library


Development/Languages/Python

Pyroute2 is a pure Python netlink and Linux network configuration library. It requires only Python stdlib, no 3rd party libraries. Later it can change, but the deps tree will remain as simple, as it is possible.

The library provides several modules:

  • Netlink protocol implementations (RTNetlink, TaskStats, etc)
    • rtnl, network settings --- addresses, routes, traffic controls
    • nl80211 --- wireless functions API (work in progress)
    • nfnetlink --- netfilter API: ipset (work in progress), ...
    • ipq --- simplest userspace packet filtering, iptables QUEUE target
    • taskstats --- extended process statistics
  • Simple netlink socket object, that can be used in poll/select
  • Network configuration module IPRoute provides API that in some way resembles ip/tc functionality
  • IPDB is an async transactional database of Linux network settings

License: GPL-2.0+ or Apache-2.0
URL: https://github.com/svinota/pyroute2

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.4.21-bp152.3.15 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pyroute2
  • python3-pyroute2
0.4.21-bp151.1.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python2-pyroute2
  • python3-pyroute2