netaddr3

manipulation of various common network address notations (Python 3)

Install

All systems
curl cmd.cat/netaddr3.sh
Debian Debian
apt-get install python3-netaddr
Ubuntu
apt-get install python3-netaddr
image/svg+xml Kali Linux
apt-get install python3-netaddr
Fedora
dnf install python3-netaddr
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-netaddr
Raspbian
apt-get install python3-netaddr

python3-netaddr

manipulation of various common network address notations (Python 3)

netaddr is a Python library for the manipulation of various common network address notations and representations. It takes the hassle out of fiddling with enumerable variations of network addresses presenting a consistent, extensible, easy-to-use and (above all) Pythonic API. With it you can validate, convert, categorise, iterate, generate, slice (and dice): - MAC (Media Access Control) - IEEE EUI-48 and EUI-64 - IP version 4 - IP version 6 - CIDR (Classless Inter-Domain Routing) This is the Python 3 version of the package.