Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Network Security Python Packages

Python packages with the GitHub topic network-security. Sorted by monthly downloads, with stars and forks.
secdev
scapy

Scapy: the Python-based interactive packet manipulation program & library.

4M 13K 2K
ffalcinelli
pydivert

An high-performance, cross-platform Python binding for capturing, modifying, and dropping network packets. It supports Windows via WinDivert and Linux via eBPFDivert, an eBPF implementation of the WinDivert API. Both backends use the same filter language, layers, flags and packet metadata.

207K 253 46
JarryShaw
pypcapkit

Python-based Comprehensive Network Packet Analysis Library

37K 275 41
nfstream
nfstream

NFStream: a Flexible Network Data Analysis Framework.

17K 1K 147
shcherbak-ai
tethered

Runtime network egress control for Python. One function call to restrict which hosts your code can connect to.

15K 11 0
lyss-project
lyss

Open, vendor-neutral security standard for network switches + free read-only audit tool (Cisco IOS, Cisco Business, HPE Aruba, Arista EOS, MikroTik RouterOS, SONiC; Zyxel GS1900 firmware). Try it in your browser at lyss.dev/audit.html or pip install lyss. By Mouad Lyaazale, made in Morocco.

9K 2 1
emirmrkaljevic
iotaudit

One command to audit your own smart-home devices: who they phone home to, plaintext vs TLS, open ports, A-F grade and a local HTML/PDF report. CLI + MCP server, no cloud.

9K 13 0
cisco
mercury-python

Mercury: network metadata capture and analysis

8K 524 87
cdot65
pan-scm-sdk

Please use the official SDK from Palo Alto instead. Python SDK for Palo Alto Networks Strata Cloud Manager.

7K 17 17
corelight
communityid

A Python implementation of the Community ID flow hashing standard

7K 24 10
flowtriq
ftagent

Flowtriq DDoS Detection Agent. Real-time traffic monitoring, incident detection, PCAP capture, and auto-mitigation

5K 2 0
linuxfabrik
firewallfabrik

Modern fwbuilder successor: Qt GUI for managing iptables/nftables policies. Centralized policy DB with reusable objects, scales to hundreds of firewalls, generates deployment-ready shell scripts.

4K 37 2
bx33661
wireshark-mcp

Wireshark-MCP,Give your AI assistant a packet analyzer. Drop a .pcap file, ask questions in plain English — get answers backed by real tshark data.

3K 414 50
famousleads
safecadence-netrisk

Free, open-source infrastructure + identity platform — 45 adapters (40 infra + 5 identity), 22 controls, 16 multi-vendor translators, AI policy intelligence, attack-path graph, KEV+EPSS-prioritized CVEs, cross-system drift detection, local-first, BYO-AI, never executes.

2K 1 0
lucamarien
opnsense-mcp-server

A secure MCP server for managing OPNsense firewalls through AI assistants. 62 tools across 10 domains with read-only default, savepoint rollback, and security auditing.

2K 28 14
m62624
cageforge

Python bindings for the Cageforge cross-platform sandbox

2K 2 0
hansalemaos
cirdhighspeedcoverter

High speed conversion of IP addresses represented in CIDR notation into their corresponding start and end IPs, along with their respective subnet masks.

2K 0 0
jonluca
anubis-netsec

Subdomain enumeration tool

1K 1K 166
google
agentmesh-p2p

Native SDK for joining an Agent Mesh from inside a Python agent process

1K 2K 254
adulau
domainclassifier

DomainClassifier is a Python (2/3) library to extract and classify Internet domains/hostnames/IP addresses from raw unstructured text files following their DNS existence, localization or attributes.

1K 83 10
Koen1999
suricata-check

suricata-check is a command line utility to provide feedback on Suricata rules. The tool can detect various issues including those covering syntax validity, interpretability, rule specificity, rule coverage, and efficiency.

1K 22 8
OWASP
nettacker

Automated Penetration Testing Framework - Open-Source Vulnerability Scanner - Vulnerability Management

1K 6K 1K
JarryShaw
jspcap

The `jspcap` module is deprecated and renamed as `pypcapkit`.

1K 274 42
jay-johnson
network-pipeline

Network traffic data pipeline for real-time predictions and building datasets for deep neural networks

1K 53 11
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology