Skip to main content

CycloneDX Pydantic models for easy use in your Python project.

Project description

hoppr_cyclonedx_models

pypi downloads versions license

Serializable CycloneDX Models. Quickly get up and running with models generated directly off the specification.

Current generated models can be found here: Generated Models

Installation

Install using pip install -U hoppr-cyclonedx-models or poetry add hoppr-cyclonedx-models.

A Simple Example:

from hoppr_cyclonedx_models.cyclonedx_1_4 import Component

data = {'type': 'library', 'purl': 'pkg:pypi/django@1.11.1', 'name': 'django', 'version': '1.11.1'}

component = Component(**data)
print(component.purl)

Contributing

For guidance setting up a development environment and how to make a contribution to hoppr-cyclonedx-models, see Contributing to Hoppr.

Project details


Download files

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

Source Distribution

hoppr-cyclonedx-models-0.2.8.tar.gz (30.6 kB view hashes)

Uploaded Source

Built Distribution

hoppr_cyclonedx_models-0.2.8-py3-none-any.whl (31.8 kB view hashes)

Uploaded Python 3

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