python-cyclonedx-bom
Port variant v14
Summary Software Bill of Materials generator (3.14)
Package version 9.0.0
Homepage https://github.com/CycloneDX/cyclonedx-python/#readme
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v15
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 27 NOV 2026, 01:15:48 UTC
Port created 27 NOV 2026, 01:15:48 UTC
Subpackage Descriptions
single # CycloneDX Python SBOM Generation Tool [![shield_pypi-version]][link_pypi] [![shield_docker-version]][link_docker] [![shield_rtfd]][link_rtfd] [![shield_gh-workflow-test]][link_gh-workflow-test] [![shield_coverage]][link_codacy] [![shield_ossf-best-practices]][link_ossf-best-practices] [![shield_license]][license_file] [![shield_website]][link_website] [![shield_slack]][link_slack] [![shield_groups]][link_discussion] [![shield_twitter-follow]][link_twitter] ---- This tool generates Software Bill of material (SBOM) documents in OWASP [CycloneDX] format. This is probably the most accurate, complete SBOM generator for any python-related projects. Supported data sources are: * Python (virtual) environment * `Poetry` manifest and lockfile * `Pipenv` manifest and lockfile * Pip's `requirements.txt` format * `PDM` manifest and lockfile are not explicitly supported. However, PDM's Python virtual environments are fully supported. See the docs for an example. * `uv` manifest and lockfile are not explicitly supported. However, uv's Python virtual environments are fully supported. See the docs for an example. * `Conda` as a package manager is no longer supported since version 4. However, conda's Python environments are fully supported via the methods listed above. See the docs for an example. Based on [OWASP Software Component Verification Standard for Software Bill of Materials]' criteria, this tool is capable of producing SBOM documents almost passing Level-2 (only signing needs to be done externally). The resulting SBOM documents follow [official specifications and standards], and might have properties following [`cdx:python` Namespace Taxonomy], [`cdx:pipenv` Namespace Taxonomy], [`cdx:poetry` Namespace Taxonomy] . Read the full [documentation][link_rtfd] for more details. ## Requirements * Python `>=3.9,<4` However, there are older versions of this tool available, which support Python `>=2.7`. ## Installation Install this from [Python Package Index (PyPI)][link_pypi] using your preferred Python package manager. install via one of commands: ```shell python -m pip install cyclonedx-bom # install via pip pipx install cyclonedx-bom # install via pipx poetry add cyclonedx-bom # install via poetry uv tool install cyclonedx-bom # install via uv # ... you get the hang ``` ## Usage Call via one of commands: ```shell cyclonedx-py # call script python3 -m cyclonedx_py # call python module CLI ``` ### Basic usage ```shellSession $ cyclonedx-py --help usage: cyclonedx-py [-h] [--version] ... Creates CycloneDX Software Bill of Materials (SBOM) from Python projects and environments. positional arguments: environment (env, venv) Build an SBOM from Python (virtual) environment requirements Build an SBOM from Pip requirements pipenv Build an SBOM from Pipenv manifest poetry Build an SBOM from Poetry project options:
Configuration Switches (platform-specific settings discarded)
PY314 ON Build using Python 3.14 PY315 OFF Build using Python 3.15
Package Dependencies by Type
Build (only) python314:dev:std
python-pip:single:v14
autoselect-python:single:std
Build and Runtime python314:primary:std
Runtime (only) python-chardet:single:v14
python-cyclonedx-python-lib:single:v14
python-packageurl-python:single:v14
python-packaging:single:v14
python-pip-requirements-parser:single:v14
Download groups
main mirror://PYPIWHL/37/bb/d6867a1222f4db2b7c775b98caf8ac9344ec79be67c7594529f6a62bf9a2
Distribution File Information
15ccb78616831688cab1d1ddd5e0ba2e7886cd83462f63d11d1b922f43a294c0 62120 python-src/cyclonedx_bom-9.0.0-py3-none-any.whl
Ports that require python-cyclonedx-bom:v14
python-sbom:v14 Tree shaking for the minimal viable SBOM (3.14)