{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking"},{"label":"Systems Administration","url":"https://skillfed.io/packages/category/system-systems-administration"}],"enrichment":{"capability":"Pyroute2 is a pure Python networking framework that provides direct access to Linux netlink protocols for configuring network interfaces, routes, firewall rules, and other system networking resources.","skillfed_tags":["netlink-socket","linux-networking","infrastructure-automation"],"use_cases":["Automate Linux network configuration (interfaces, routes, addresses) in infrastructure or container orchestration tools.","Implement network namespace isolation and virtual network topology setup for containerization or testing.","Build firewall rule management or packet filtering applications using netfilter and nftables APIs.","Monitor and react to network state changes via netlink event subscriptions.","Manage VPN or wireless network configuration programmatically through wireguard and nl80211 APIs."],"what_it_does":"Pyroute2 is a pure Python networking framework that exposes Linux netlink protocols for programmatic control of network configuration. It started as an RTNL (routing netlink) implementation but now supports multiple protocol families including DHCP, netfilter, generic netlink, and others. The core requires only Python's standard library, with a single optional dependency for Windows compatibility.\n\nThe library offers three main APIs: IPRoute for low-level synchronous netlink access (link/address/route manipulation), AsyncIPRoute for asyncio-based operations, and NDB for high-level transactional network state management with commit/rollback semantics. It handles network namespace management, virtual interface creation, firewall rules, traffic control, and hardware monitoring through a unified Python interface.","worth_installing":"Yes, if you need programmatic Linux network configuration on Python 3.9+. The library is actively maintained, has no known vulnerabilities, and low install friction. However, verify the dual GPL/Apache license terms for your use case first, and confirm that the unclear license treatment does not conflict with your project's licensing requirements. Not suitable for non-Linux platforms."},"id":"pyroute2","links":{"html":"https://skillfed.io/packages/pyroute2","md":"https://skillfed.io/packages/pyroute2.md","pypi":"https://pypi.org/project/pyroute2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-15","license_spdx":"GPL-2.0-or-later OR Apache-2.0","license_treatment":"unclear","name":"pyroute2","python_support":"supports_current","summary":"Python Netlink library"},"popularity":{"monthly_downloads":1390171,"position":3966,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9.6"}
