Subcategories
Packages
IPy provides Python classes for parsing, manipulating, and working with IPv4 and IPv6 addresses and networks in multiple formats, including CIDR notation, hex, and range notation.
However, install it only if you need its specific IP manipulation features and can accept that the package is unmaintained—no updates or bug fixes are expected.
A Python client library for connecting to STOMP messaging servers (ActiveMQ, RabbitMQ, Artemis) and sending or receiving messages using the STOMP protocol.
Install it if you need to communicate with a STOMP message broker.
An asynchronous Python framework for building event-driven applications with support for multiple message brokers and automatic AsyncAPI documentation generation.
Install it if you are building message-driven microservices and want to reduce boilerplate.
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.
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…
Provides a repository of TextFSM templates for parsing network device CLI output, along with a Python wrapper around TextFSM's CliTable to simplify structured data extraction from command-line text.
Install it if you're automating network device interactions and need to parse CLI output; skip it if your workflow doesn't involve network devices or if you're…
Query NTP servers to retrieve network time synchronization data and translate NTP protocol fields into human-readable text.
However, be aware that maintenance is dormant—the last release was in 2021 and the repository has not been updated since April 2024.
Netmiko simplifies SSH connections to network devices across multiple vendors, automating CLI command execution and configuration changes while abstracting away low-level state management.
Install it if you need to automate CLI-based network device management.
HTTPie is a command-line HTTP client that makes it easy to test, debug, and interact with APIs and HTTP servers using simple, human-friendly syntax with formatted and colorized output.
However, the project is dormant with no releases in 651 days—verify that PYSEC-2023-242 does not affect your use case and that dependencies remain compatible with…
Manhole installs an in-process debugging service that listens on a Unix domain socket, allowing you to connect and inspect thread stacktraces or drop into an interactive Python shell within a running process.
trustme generates fake TLS certificates and certificate authorities for testing network code without needing real certificates or disabling certificate validation in tests.
Install it if you test any code that makes HTTPS connections.
Async Python client library for communicating with ESPHome devices over the Native API, supporting encrypted and plaintext connections.
Pyshark wraps tshark (Wireshark's command-line tool) to parse network packets in Python using Wireshark's dissectors, supporting both file-based and live packet capture.
The main gotcha is the external tshark dependency—you must have Wireshark installed separately.
A lightweight, pluggable HTTP proxy server framework that handles forward proxying, reverse proxying, and TLS interception with support for custom plugins and asyncio-based concurrency.
ncclient is a Python library that implements NETCONF client functionality, enabling programmatic configuration and monitoring of network devices via the NETCONF protocol.
Install it if you need to programmatically manage NETCONF-capable network devices; the only prerequisite is having libxml2 and libxslt system libraries available.
A unified command-line client for OpenStack cloud infrastructure that consolidates Compute, Identity, Image, Network, Object Store, and Block Storage APIs into a single shell with consistent command syntax.
Install it if you operate or automate OpenStack infrastructure.
Ping3 sends ICMP echo requests to hosts and measures round-trip time using raw sockets, returning latency in seconds or milliseconds or None on timeout.
The main gotcha is that most platforms require root or administrator privileges to send raw ICMP packets.
An asyncio HTTP/1.1, HTTP/2, and WebSocket client library with connection pooling, keepalive support, and automatic redirect handling.
Install it if you need a lightweight, type-annotated async HTTP client with HTTP/2 and WebSocket support; skip it if you are not using asyncio or prefer a synchronous…
Certbot is a command-line client that automatically obtains TLS certificates from Let's Encrypt and deploys them to web servers, handling certificate renewal and HTTPS configuration.
Install it if you operate a web server and need to manage HTTPS certificates.
Controls and monitors Tuya WiFi smart devices (plugs, switches, lights, covers) over local network or cloud API using Tuya Protocols 3.1–3.5.
Magic Wormhole transfers files, directories, and text between computers using short, human-readable codes and end-to-end encryption, with both a command-line tool and a Python library.
Install it if you need to move files between machines without pre-arrangement or if you want to add encrypted transfer to a Python application.
zigpy is a hardware-independent Zigbee protocol stack library that enables Python applications to communicate with and control Zigbee devices through compatible radio adapters.
However, you must accept the GPL-3.0 copyleft license (your application must also be open-source or compatible), and you will need to install a separate radio library…
A thread-safe Python 3 client library for RabbitMQ that handles AMQP protocol communication and provides management capabilities.
This package is a redirect to pyzmq, the official Python bindings for ZeroMQ messaging. The actual library is maintained under the pyzmq name.
Paramiko Expect adds expect-like pattern matching and interaction to Paramiko SSH connections, letting you script interactive terminal sessions over SSH with command sending, output capture, and prompt-based flow control.
However, it is abandoned—the repository is archived and the last release was in 2022.
Purgatory implements the circuit breaker pattern for both synchronous and asynchronous Python code, preventing cascading failures by stopping repeated calls to failing services.
However, the aging maintenance status (650 days since last release) means you should verify that the library's feature set and behavior match your exact needs before…
Provides utilities for parsing, validating, and manipulating IPv4 and IPv6 addresses in Python code.
Simplefix provides a lightweight FIX (Financial Information eXchange) protocol implementation for creating, encoding, and decoding FIX messages used in financial trading systems.
Install it if you need to work with FIX messages in Python and want a lightweight alternative to a full FIX engine.
Implements the XMODEM file transfer protocol for sending and receiving files over character-based communication channels.
Junos PyEZ is a Python library for remotely managing and automating Junos devices via NETCONF, enabling both interactive scripting and programmatic control without requiring deep Junos XML API knowledge.
Install it if you need to programmatically manage Junos devices; skip it if you have no Junos devices or prefer CLI-only management.
Sends ICMP ping requests to remote hosts from Python, returning response metadata like latency and success status, with optional verbose terminal-style output.
However, maintenance is dormant (last release 2022-10-25); verify compatibility with your Python version before deploying.
Parses and writes pcap-ng packet capture files, the format used by modern packet sniffers like Wireshark and dumpcap.
However, maintenance is aging (last release 2022-08-23, no active development), so expect no new features or bug fixes—suitable for stable, read-heavy workloads but…
SocketSwap intercepts and redirects network traffic from third-party Python libraries through a local TCP SOCKS5 proxy, enabling proxy support for libraries that don't natively provide it.
However, dormancy (last update 2024-01-15, only 2 stars) means you should verify it works with your target library and Python version before relying on it in…
Parses and queries Cisco IOS-style network device configurations, extracting parent-child relationships to answer questions about interfaces, addresses, and configuration state.
Eclipse Zenoh is a Python binding to a Rust-based pub/sub, storage, and query system that unifies data in motion, data at rest, and computations across distributed environments.
PyKAOS provides an abstraction layer for agents to perform file operations and execute commands, with seamless switching between local and remote execution over SSH.
However, the missing license metadata is a blocker for production use—verify the actual license terms before committing to a dependency.
A Pulumi resource provider that lets you declare and manage Tailscale network resources—devices, users, DNS settings, and access controls—as infrastructure code.
A Python wrapper for Censys APIs that lets you search internet-wide data on hosts, certificates, and services, manage attack surface assets, and run queries from the command line.
However, review the deprecation notice carefully: if you are starting a new project, evaluate censys-platform as your long-term choice.
Python bindings and client library for the OpenStack Neutron API, providing programmatic access to OpenStack networking resources and operations.
Command-line tool that measures internet bandwidth (download and upload speeds) by connecting to speedtest.net servers.
A pytest plugin that enables testing of async code written with Trio, allowing you to write and run async test functions directly within pytest.