{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/7"},{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-networking-monitoring"},{"label":"Firewalls","url":"https://skillfed.io/packages/category/system-networking-firewalls"}],"enrichment":{"capability":"PyDivert is a Python binding for the WinDivert Windows driver that lets you capture, modify, drop, and re-inject network packets from user-mode code.","skillfed_tags":["windows-only","network-interception","copyleft-license"],"use_cases":["Build a local firewall that blocks traffic from specific IP addresses or ports by dropping packets before they reach their destination.","Monitor and log HTTP/HTTPS traffic on a machine for debugging or security auditing purposes.","Redact or modify sensitive data (tokens, credentials) in network payloads before they leave the system.","Analyze TCP/IP behavior and test network stack interactions by capturing and inspecting real packets.","Implement packet-level rate limiting or traffic shaping by intercepting and selectively dropping or delaying packets."],"what_it_does":"PyDivert wraps the WinDivert driver to give Python code direct access to the Windows network stack at the user-mode level. You can intercept packets matching a filter expression, inspect or modify their headers and payloads, drop them, or re-inject them. The package includes bundled WinDivert 2.2+ binaries so you don't have to install the driver separately.\n\nIt supports both synchronous and asynchronous workflows via asyncio, modern Python pattern matching (PEP 634), and advanced WinDivert features like FLOW, SOCKET, and REFLECT layers. Common use cases include building firewalls, monitoring or modifying network traffic, redacting sensitive payloads, and analyzing TCP/IP behavior. Requires Windows 11 64-bit, Python 3.10+, and administrator privileges.","worth_installing":"Yes, if you are on Windows 11 64-bit and need low-level network packet control from Python. The package is actively maintained, has no runtime dependencies, includes bundled binaries for easy setup, and supports modern Python versions. The copyleft license (LGPL/GPL) is a hard blocker for proprietary closed-source applications unless you can relicense. No known security vulnerabilities."},"id":"pydivert","links":{"html":"https://skillfed.io/packages/pydivert","md":"https://skillfed.io/packages/pydivert.md","pypi":"https://pypi.org/project/pydivert/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-15","license_spdx":"LGPL-3.0-or-later OR GPL-2.0-or-later","license_treatment":"copyleft","name":"pydivert","python_support":"supports_current","summary":"Python binding to windivert driver"},"popularity":{"monthly_downloads":291298,"position":7971,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.3"}
