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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226323552e69bd14449c336dfdc8b7a63c52bf5d1c1e41b86b9ce8e974cf7e2d |
|
MD5 | 0b0692fa4f6cd5cc6744837bc245149d |
|
BLAKE2b-256 | 67aa6860325f2c915673505eeae11031538b8a48fc50aaa3d652653b70103dab |
Close
Hashes for hoppr_cyclonedx_models-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea44632330850b68acbc6452bbf3438a20a0eccdc176473e72b5a7e6290ea7f1 |
|
MD5 | 1a8a76edac7130a93588ea66046f5728 |
|
BLAKE2b-256 | 1f15b91923b920d0ad6424b824599957076b7c47c15bb5dbe8ff5599f4949868 |