macOS
brew install netaddrlocal Homebrew formula metadata
brew
netaddr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install netaddrlocal Homebrew formula metadata
概要
Network address manipulation library
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
netaddr | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://netaddr.readthedocs.io/en/latest/
インストールメタデータ
| パッケージキー | brew:netaddr |
|---|---|
| バージョン | 1.3.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/netaddr |
| ホームページ | https://netaddr.readthedocs.io/en/latest/ |
| リポジトリ | https://github.com/netaddr/netaddr |
| 上流ドキュメント | https://netaddr.readthedocs.io/en/latest |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://files.pythonhosted.org/packages/54/90/188b2a69654f27b221fba92fda7217778208532c962509e959a9cee5229d/netaddr-1.3.0.tar.gz |
| 依存関係 | python@3.14 |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.