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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6416db533fce23af6d98b84bfb822eb1950cc43e79bf854cb313f180c7f83e8 |
|
MD5 | 7cc4bf2336c4ccac1bf2930c9f3fb732 |
|
BLAKE2b-256 | 63a6c8ce84926bafb29510a02acb6e7c0c67afb75a5ada978c78785e134cee87 |
Close
Hashes for hoppr_cyclonedx_models-0.4.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79393d57e4d4ea489c5642b8524fd3142ae68e64503c551b716c42b32f5a78a |
|
MD5 | 8a92d2bc79e7a0d934695460a39eef48 |
|
BLAKE2b-256 | 6673a696bbc290fb2b324fcffae440504d7df70f61d45c033a607ee6958d642e |