Automic VaultAutomic Vault

brew

使用 Homebrew 安装 netaddr

查看 netaddr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install netaddr

local Homebrew formula metadata

概览

软件包摘要

Network address manipulation library

命令和别名

  • netaddr

历史

项目历史与用法

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.

时间线

  • 2008-08-07: 0.4 release listed in the changelog.
  • 2008-09-19: 0.5 release listed, with internal descriptor and aggregate-class changes.
  • 2009-08-11: 0.7 release listed in the changelog.
  • 2020-07-03: 0.8.0 released after the long 0.7.x line.
  • 2024-02-10: 1.0.0 released with Python-version and parsing cleanups.
  • 2024-05-28: 1.3.0 released.

Related projects

  • Python ipaddress
  • netaddr CLI
  • IPAM tools
  • nmap target formats

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
netaddrcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本1.3.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namenetaddr
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment