pyroute2 0.7.9


Python Netlink library

Python Netlink library

Stars: 868, Watchers: 868, Forks: 241, Open Issues: 123

The svinota/pyroute2 repo was created 10 years ago and the last code push was 1 weeks ago.
The project is popular with 868 github stars!

How to Install pyroute2

You can install pyroute2 using pip

pip install pyroute2

or add it to a project with poetry

poetry add pyroute2

Package Details

Peter Saveliev
GPL-2.0-or-later OR Apache-2.0
GitHub Repo:


  • Software Development/Libraries/Python Modules
  • System/Networking
  • System/Systems Administration
No  pyroute2  pypi packages just yet.


A list of common pyroute2 errors.

Code Examples

Here are some pyroute2 code examples and snippets.

GitHub Issues

The pyroute2 package has 123 open issues on GitHub

  • NDB MPLS Not working
  • ethtool ioctl crashes if number of strings exceeds hardcoded value
  • Ethtool.get_strings_set() API inconsitent between Ioctl and Netlink variants
  • Add rules to nftables
  • Getting 'RecordSet' object has no attribute 'select_records' when a filter is applied on a dump of ndb interfaces view
  • NetlinkSocket file descriptors of pipes leakage

See more issues on GitHub

Related Packages & Articles

daemonize 2.5.0

Library to enable your code run as a daemon process on Unix-like systems.

psutil 5.9.5

Cross-platform lib for process and system monitoring in Python.

rns 0.5.6

Self-configuring, encrypted and resilient mesh networking stack for LoRa, packet radio, WiFi and everything in between

solox 2.7.0

SoloX - Real-time collection tool for Android/iOS performance data.

wxPython 4.2.1

Cross platform GUI toolkit for Python, "Phoenix" version

pywinauto 0.6.8

A set of Python modules to automate the Microsoft Windows GUI