---
title: "cyclonedx-python-lib | pypx"
description: "Python library for CycloneDX"
canonical_url: "https://pypx.app/packages/cyclonedx-python-lib"
meta:
  "og:description": "Python library for CycloneDX"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_cyclonedx-python-lib%2Cversion_11.12.0%2Csummary_Python%2Blibrary%2Bfor%2BCycloneDX%2Clicense_Apache%2BSoftware%2BLicense%2Cp_Ii9wYWNrYWdlcy9jeWNsb25lZHgtcHl0aG9uLWxpYiI%2Cs_MJNAczO2_Y5GY7pf.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "cyclonedx-python-lib 11.12.0"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_cyclonedx-python-lib%2Cversion_11.12.0%2Csummary_Python%2Blibrary%2Bfor%2BCycloneDX%2Clicense_Apache%2BSoftware%2BLicense%2Cp_Ii9wYWNrYWdlcy9jeWNsb25lZHgtcHl0aG9uLWxpYiI%2Cs_MJNAczO2_Y5GY7pf.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **cyclonedx-python-lib**

v11.12.0

Python library for CycloneDX

517 KB Python 3.9+ py3-none-anyApache Software License5 deps

[** Diff **](https://pypx.app/packages/cyclonedx-python-lib/diff)

`$ uv add cyclonedx-python-lib`

# CycloneDX Python Library

[![shield\_pypi-version](https://img.shields.io/pypi/v/cyclonedx-python-lib?logo=pypi&logoColor=white&label=PyPI "PyPI")](https://pypi.org/project/cyclonedx-python-lib/) [![shield\_conda-forge-version](https://img.shields.io/conda/vn/conda-forge/cyclonedx-python-lib?logo=anaconda&logoColor=white&label=conda-forge "conda-forge")](https://anaconda.org/conda-forge/cyclonedx-python-lib) [![shield\_rtfd](https://img.shields.io/readthedocs/cyclonedx-python-library?logo=readthedocs&logoColor=white "Read the Docs")](https://cyclonedx-python-library.readthedocs.io/en/latest/) [![shield\_gh-workflow-test](https://img.shields.io/github/actions/workflow/status/CycloneDX/cyclonedx-python-lib/python.yml?branch=main&logo=GitHub&logoColor=white "build")](https://github.com/CycloneDX/cyclonedx-python-lib/actions/workflows/python.yml?query=branch%3Amain) [![shield\_coverage](https://img.shields.io/codacy/coverage/1f9d451e9cdc49ce99c2a1247adab341?logo=Codacy&logoColor=white "test coverage")](https://app.codacy.com/gh/CycloneDX/cyclonedx-python-lib) [![shield\_ossf-best-practices](https://img.shields.io/cii/percentage/7956?label=OpenSSF%20best%20practices "OpenSSF best practices")](https://www.bestpractices.dev/projects/7956) [![shield\_license](https://img.shields.io/github/license/CycloneDX/cyclonedx-python-lib?logo=open%20source%20initiative&logoColor=white "license")](https://github.com/CycloneDX/cyclonedx-python-lib/blob/master/LICENSE)  
[![shield\_website](https://img.shields.io/badge/https://-cyclonedx.org-blue.svg "homepage")](https://cyclonedx.org/) [![shield\_slack](https://img.shields.io/badge/slack-join-blue?logo=Slack&logoColor=white "slack join")](https://cyclonedx.org/slack/invite) [![shield\_groups](https://img.shields.io/badge/discussion-groups.io-blue.svg "groups discussion")](https://groups.io/g/CycloneDX) [![shield\_twitter-follow](https://img.shields.io/badge/Twitter-follow-blue?logo=Twitter&logoColor=white "twitter follow")](https://twitter.com/CycloneDX_Spec)

---

OWASP [CycloneDX](https://cyclonedx.org/) is a full‑stack Bill of Materials (BOM) and system‑transparency standard that provides deep visibility into software, services, hardware, and AI components, enabling advanced supply‑chain security and cyber‑risk reduction.

This Python package provides data models, validators and more, to help you create/render/read CycloneDX documents.

> \[!NOTE]  
>  This package is a software library not intended for standalone use.  
>  For generating Software Bill of Materials (SBOM), check out [CycloneDX Python](https://github.com/CycloneDX/cyclonedx-python) or [Jake](https://github.com/sonatype-nexus-community/jake).

## Documentation

Complete documentation is available on [Read the Docs](https://cyclonedx-python-library.readthedocs.io/en/latest/). This includes:

- Responsibilities & Capabilities
- Install Instructions
- API Reference
- Usage Examples
- Integration Guides
- Best Practices

## Python Support

We endeavour to support all functionality for all [current actively supported Python versions](https://www.python.org/downloads/). However, some features may not be possible/present in older Python versions due to their lack of support.

## Changelog

See our [CHANGELOG](https://github.com/CycloneDX/cyclonedx-python-lib/blob/master/CHANGELOG.md).

## Contributing

Feel free to open issues, bugreports or pull requests.  
 See the [CONTRIBUTING](https://github.com/CycloneDX/cyclonedx-python-lib/blob/master/CONTRIBUTING.md) file for details.

## Copyright & License

CycloneDX Python Lib is Copyright (c) OWASP Foundation. All Rights Reserved.  
 Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.  
 See the [LICENSE](https://github.com/CycloneDX/cyclonedx-python-lib/blob/master/LICENSE) file for the full license.

## **Details **

<dl>

<dt>Version</dt>
<dd>11.12.0</dd>

<dt>License</dt>
<dd>Apache Software License</dd>

<dt>Python</dt>
<dd>&lt;4.0,&gt;=3.9</dd>

<dt>Maintainer</dt>
<dd>Paul Horton</dd></dl>

## **Links**

- [Bug Tracker](https://github.com/CycloneDX/cyclonedx-python-lib/issues)
- [Changelog](https://github.com/CycloneDX/cyclonedx-python-lib/releases)
- [Documentation](https://cyclonedx-python-library.readthedocs.io/)
- [Funding](https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX)
- [Homepage](https://github.com/CycloneDX/cyclonedx-python-lib/#readme)
- [Repository](https://github.com/CycloneDX/cyclonedx-python-lib)
- [View on PyPI](https://pypi.org/project/cyclonedx-python-lib/)

## **Release Cadence **

**15**

releases in the past year

avg 11 days between releases

## **Maintainers **

- Paul Horton · [phorton@sonatype.com](mailto:phorton@sonatype.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/cyclonedx-python-lib#webpage","@type":"WebPage","description":"Python library for CycloneDX","name":"cyclonedx-python-lib","url":"https://pypx.app/packages/cyclonedx-python-lib","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/cyclonedx-python-lib"]}]},{"@id":"https://pypx.app/packages/cyclonedx-python-lib#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Python library for CycloneDX","license":"Apache Software License","name":"cyclonedx-python-lib","softwareVersion":"11.12.0"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
