pyroute2.nftables 0.6.13


Python Netlink library: nftables

Python Netlink library: nftables

Stars: 916, Watchers: 916, Forks: 244, Open Issues: 145

The svinota/pyroute2 repo was created 11 years ago and the last code push was 2 weeks ago.
The project is popular with 916 github stars!

How to Install pyroute2.nftables

You can install pyroute2.nftables using pip

pip install pyroute2.nftables

or add it to a project with poetry

poetry add pyroute2.nftables

Package Details

Peter Saveliev
dual license GPLv2+ and Apache v2
GitHub Repo:


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


A list of common pyroute2.nftables errors.

Code Examples

Here are some pyroute2.nftables code examples and snippets.

GitHub Issues

The pyroute2.nftables package has 145 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.8

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

rns 0.7.5

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

solox 2.9.0

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

wxPython 4.2.1

Cross platform GUI toolkit for Python, "Phoenix" version

Twisted 24.3.0

An asynchronous networking framework written in Python

pywinauto 0.6.8

A set of Python modules to automate the Microsoft Windows GUI

pygnmi 0.8.14

Pure Python gNMI client to manage network functions and collect telemetry.