CycloneDX software bill-of-material (SBOM) generation utility
Project description
CycloneDX Python Module
The CycloneDX module for Python creates a valid CycloneDX bill-of-material document containing an aggregate of all project dependencies. CycloneDX is a lightweight BOM specification that is easily created, human readable, and simple to parse.
Usage
Freezing
A bill-of-material such as CycloneDX expects exact version numbers. Therefore requirements.txt must be frozen. This can be accomplished via:
$ pip freeze > requirements.txt
Installing
$ pip install cyclonedx-bom
Options
By default, requirements.txt will be read from the current working directory and the resulting bom.xml will also be created in the current working directory. These options can be overwritten as follows:
$ cyclonedx-py
Usage: cyclonedx-py [OPTIONS]
Options:
-i <path> - the alternate filename to a frozen requirements.txt
-o <path> - the bom file to create
License
Permission to modify and redistribute is granted under the terms of the Apache 2.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cyclonedx-bom-0.3.4.tar.gz
.
File metadata
- Download URL: cyclonedx-bom-0.3.4.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbde8067d3c3bff3fd1f3a993db22f6657a4e2fe5b970ac4a476e2145a3ddd9 |
|
MD5 | 019a94e3851833ff923dc6c69c12a631 |
|
BLAKE2b-256 | 91a4aa6586343d36e0771b0273bd660de8433cbca257166b417a1214ed134601 |
Provenance
File details
Details for the file cyclonedx_bom-0.3.4-py2.py3-none-any.whl
.
File metadata
- Download URL: cyclonedx_bom-0.3.4-py2.py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3afa4d8958ef61c8f7a5a083628d2092437435ca1435855081eea8b2a53b1b4a |
|
MD5 | 349064b1fd7c1595dc794afb2a2dd4c7 |
|
BLAKE2b-256 | a337931812cccb01a34def515a121716a9d15c89ba4233aa657e6741a5134c3d |