macOS
brew install netaddrlocal Homebrew formula metadata
brew
Network address manipulation library. Version 1.3.0 via Homebrew; verified from local package data.
install
brew install netaddrlocal Homebrew formula metadata
overview
Network address manipulation library
history
netaddr is a Python library and small CLI for working with IP and MAC address data: CIDR networks, arbitrary ranges, IP sets, reverse DNS names, IANA/IEEE metadata, and address-format conversions.
The changelog shows public releases dating back at least to 0.4 on August 7, 2008 and credits the documentation copyright to David P. D. Moss in 2008 and netaddr contributors from 2020 onward. The project moved through a long 0.7.x era before renewed 2020s maintenance led to 1.x releases.
The 2024 1.0.0 release deliberately removed older compatibility behavior, including support for Python versions lower than 3.7 and permissive IPv4 parsing defaults. Releases through 1.3.0 continued tightening parsing behavior, metadata, and modern Python support.
netaddr sits in the space where Python's standard `ipaddress` module is sometimes too narrow: bulk range formats, IPSet union/intersection behavior, OUI/IAB lookups, nmap/glob-style ranges, and convenience conversion workflows.
Homebrew usage is small because most users get netaddr through PyPI or Linux distro Python packages. The formula page showed 273 installs in the 365-day Homebrew window, all on request, which fits a Python-library package exposed as a convenience CLI.
Programmatic users import `IPAddress`, `IPNetwork`, `IPRange`, `IPSet`, and helpers such as CIDR summarization functions to parse inventories, IPAM exports, firewall allowlists, scanner output, and address databases. The tutorials emphasize creating addresses, subnets, ranges, and sets, then doing set operations such as union, intersection, and difference.
The `netaddr` CLI exists, but the docs warn that it is intended for humans and should not be treated as a stable scripting interface. Package users who need stable automation should use the Python API.
netaddr is useful packaging-wise because it is a pure Python networking toolbox with a long compatibility tail. It often appears where operations code needs richer address math than the standard library offered when the code was written.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
netaddr | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://netaddr.readthedocs.io/en/latest/
install metadata
| Package key | brew:netaddr |
|---|---|
| Version | 1.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/netaddr |
| Homepage | https://netaddr.readthedocs.io/en/latest/ |
| Repository | https://github.com/netaddr/netaddr |
| Upstream docs | https://netaddr.readthedocs.io/en/latest |
| License | BSD-3-Clause |
| Source archive | https://files.pythonhosted.org/packages/54/90/188b2a69654f27b221fba92fda7217778208532c962509e959a9cee5229d/netaddr-1.3.0.tar.gz |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | netaddr |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.