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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f720f1e23ec46514c6a3d1d381f38d5052d96c03b7f6a0537f0d755b09c5f63 |
|
MD5 | 6628a1f2fce677538f441b1c3f94ea90 |
|
BLAKE2b-256 | fb8f2dff7b4ed4fb833290bf7d3a21f4c7a109226a30318b36d8c476cd473891 |
Close
Hashes for hoppr_cyclonedx_models-0.4.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c2126a4fbe63a02434b9b064aa71fd8d8960b28223277e3ea1843fa50804181 |
|
MD5 | 03f49409d8f2e1b1b0dd6102390df1e5 |
|
BLAKE2b-256 | f5b28fa1ed7c26e198246e60e1a238fad55ee99302e29d4094db8c529a24564b |