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.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35596084a757d912792d2259d480cde73bb320d2b7d92c966056b3a8efd0f70e |
|
MD5 | 9a19245fb1995fec0ea696e4903c3330 |
|
BLAKE2b-256 | 32e16eb213d92083afd05effa0d4a77a5fc8260c2ccfc1a9ba877231d9937e86 |
Close
Hashes for hoppr_cyclonedx_models-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 975774d6e75257d5b2615905e9c95c43ee1bf0f3e04ef722235f8b9187ffc1bc |
|
MD5 | 5b89e285362953036a37713a25e9d2c6 |
|
BLAKE2b-256 | bf986f848a1577f40efa6396f0f534053e0076b7d08566b4a1371c7510d0e694 |