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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 868d3bd3939f8506ec0263c77adf87273d757989269485a7521d43e2a3b81736 |
|
MD5 | 3dbe0618569fdd8529647e08819e88f5 |
|
BLAKE2b-256 | e1ce4216ba388ed50795bd62476b2cf0b2b20af140e77296a7f1e12698b61d2e |
Close
Hashes for hoppr_cyclonedx_models-0.4.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc7f83095cbaf975c2305ebf8b011ae55fcb8cb44996a7040bd717d5c32da025 |
|
MD5 | 5de5bae9258466ee49b32ad30021943d |
|
BLAKE2b-256 | e61581c9b4405668892ad6beee4091ff3876d8699585913c404c1036b6a59db2 |