pyroute2.nftables 0.6.13


Python Netlink library: nftables

Python Netlink library: nftables

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.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 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

pygnmi 0.8.12

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