Skip to main content

CycloneDX software bill-of-material (SBOM) generation utility

Project description

Build Status Docker Image License Website Slack Invite PyPI Group Discussion Twitter

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
    -j        - generate JSON instead of XML

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

This version

0.4.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cyclonedx-bom-0.4.3.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

cyclonedx_bom-0.4.3-py2.py3-none-any.whl (32.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cyclonedx-bom-0.4.3.tar.gz.

File metadata

  • Download URL: cyclonedx-bom-0.4.3.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.5.10

File hashes

Hashes for cyclonedx-bom-0.4.3.tar.gz
Algorithm Hash digest
SHA256 dc92d8f4ad888d97c1a1764071f7b71c2f23b27112c6ed9040894e0f0bac812e
MD5 522a30fe0aa91c0202ee1575b90287c2
BLAKE2b-256 273a661855aeef3b3cffc3dbc27a6dd1e7d0a3689c5a4508183d530c5ec9d25d

See more details on using hashes here.

Provenance

File details

Details for the file cyclonedx_bom-0.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: cyclonedx_bom-0.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.5.10

File hashes

Hashes for cyclonedx_bom-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2d0c7998c14a218a52399d955bd0c4a0dfe49befb76a065d03da7b44f4ba3998
MD5 e316ecb3f8581e568560e4b2df669939
BLAKE2b-256 8e7420ba8b6d88b96205e55eaa0b4663e5f4051f4cf2863ccdde01535f91b0ad

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page