# 使用 Homebrew, Nix 安装 cyclonedx-python

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

## 安装

```sh
sudo av install brew:cyclonedx-python
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cyclonedx-python
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cyclonedx-python
```

  证据: nixpkgs package indexes: pkgs/by-name/cy/cyclonedx-python/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:cyclonedx-python
- **软件包管理器:** Homebrew
- **版本:** 7.3.1
- **来源摘要:** Creates CycloneDX Software Bill of Materials (SBOM) from Python projects
- **主页:** <https://cyclonedx.org/>
- **仓库:** <https://github.com/CycloneDX/cyclonedx-python>
- **最后更新:** 2026-07-24T15:03:48Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cyclonedx-py (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 7.3.1
## 项目历史与用法

CycloneDX Python is the official CycloneDX SBOM generator for Python projects, manifests, lockfiles, requirements files, and environments.

### 项目历史

The cyclonedx-python repository was created in November 2018, shortly after CycloneDX v1.0 introduced a security-focused BOM format. Over time the tool grew from Python dependency SBOM generation into a broader Python packaging surface covering virtual environments, requirements.txt, Poetry, and Pipenv, with older versions retaining support for Python 2.7 while current releases require Python 3.9 or newer.

### 采用历史

The README points users to PyPI, pipx, Poetry, uv, Docker, and documentation, and the official tool center lists CycloneDX for Python as an open-source generator. That broad packaging footprint matters because Python SBOMs are often needed from whatever artifact a project already has: an environment, a lockfile, or a requirements file.

### 使用方式

The cyclonedx-py command generates SBOMs from Python virtual environments, requirements files, Pipenv projects, and Poetry projects. It uses CycloneDX Python libraries for data structures, serialization, and validation while keeping its own public surface centered on the CLI.

### 为什么软件包爱好者会关心

For package nerds, cyclonedx-python is where Python packaging diversity meets SBOM standardization: it has to interpret several Python dependency sources while producing a single CycloneDX document suitable for CI, auditing, and vulnerability tooling.

### 时间线

- 2018: Repository created after the first CycloneDX specification release.
- 2021: v1.x releases were published under the CycloneDX Python tool line.
- 2024: CycloneDX v1.6 became ECMA-424, increasing the standardization backdrop for generators.
- 2026: v7.x releases continued support for current Python environments and project formats.

### Related projects

- The tool uses the CycloneDX Python library and complements cyclonedx-cli and other language-specific generators in the CycloneDX project.

### 来源

- <https://github.com/CycloneDX/cyclonedx-python/blob/main/README.md>
- <https://api.github.com/repos/CycloneDX/cyclonedx-python>
- <https://github.com/CycloneDX/cyclonedx-python/releases>
- <https://cyclonedx-bom-tool.readthedocs.io/>
- <https://cyclonedx.org/tool-center/>
- <https://cyclonedx.org/about/history/>


## 安全说明

没有找到 cyclonedx-python 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - cyclonedx-python: normalized package name match | nixpkgs package indexes: pkgs/by-name/cy/cyclonedx-python/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cyclonedx-python.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cyclonedx-python.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
