CycloneDX Pydantic models for easy use in your Python project.
Project description
hoppr_cyclonedx_models
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
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
Close
Hashes for hoppr_cyclonedx_models-0.4.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca31cfdc1593eef356307e1d68eba621b7c9d42223b1caa5cb2fe5b2f05bc0b9 |
|
MD5 | fb2767897a8e5fe15a986ce61f20f65b |
|
BLAKE2b-256 | 8f6333bc2ac3857b21fa7312607f2433a7d9d459704711f50fbf7ab41a3d2358 |
Close
Hashes for hoppr_cyclonedx_models-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9142347fa06b64791bfc0f9b41095ee49aaf34fab2262330af29bd586b51652 |
|
MD5 | 7170998d342ae47da8d7207d0ebf93b9 |
|
BLAKE2b-256 | 90869fadc794540a0d71d214b6d2b481b59ba72c2d115b90b1a187e0998ad23e |