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.
Installation
Install using pip install --upgrade hoppr-cyclonedx-models or poetry add hoppr-cyclonedx-models.
A Simple Example
>>> from hoppr_cyclonedx_models.cyclonedx_1_5 import Component
>>> data = {"type": "library", "purl": "pkg:pypi/django@1.11.1", "name": "django", "version": "1.11.1"}
>>> component = Component(**data)
>>> component
>>> print(component)
Component(
type='library',
mime_type=None,
bom_ref=None,
supplier=None,
author=None,
publisher=None,
group=None,
name='django',
version='1.11.1',
description=None,
scope=<Scope.REQUIRED: 'required'>,
hashes=None,
licenses=None,
copyright=None,
cpe=None,
purl='pkg:pypi/django@1.11.1',
swid=None,
modified=None,
pedigree=None,
externalReferences=None,
components=None,
evidence=None,
releaseNotes=None,
modelCard=None,
data=None,
properties=None,
signature=None
)
Contributing
For guidance setting up a development environment and how to contribute to hoppr-cyclonedx-models,
see Contributing to Hoppr.
Metadata
Release files for hoppr-cyclonedx-models 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hoppr_cyclonedx_models-0.8.0.tar.gz | 161.8 kB | Without provenance | Details for hoppr_cyclonedx_models-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hoppr_cyclonedx_models-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for hoppr_cyclonedx_models-0.8.0-py3-none-any.whl |
Total release size: 331.5 kB
Release files / hoppr_cyclonedx_models-0.8.0.tar.gz
| Download URL | hoppr_cyclonedx_models-0.8.0.tar.gz |
|---|---|
| Size | 161.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4afa6523f47a5d9216537dcbbe0e06cf2f2dafda33187c028f33cf240e9dd57a
|
|
BLAKE2b-256 checksum How to use checksums |
a5597e840a59ddac048b710e73b646c941ccee2e6270cd1b12933b44f708565c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.10.20 Linux/5.15.154+
|
Release files / hoppr_cyclonedx_models-0.8.0-py3-none-any.whl
| Download URL | hoppr_cyclonedx_models-0.8.0-py3-none-any.whl |
|---|---|
| Size | 169.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2beae0983dd6e9e0abc43d202ad650a7d137e7b69f8bcc7a45546cadbfac026
|
|
BLAKE2b-256 checksum How to use checksums |
a18b67b881be4ef5bc984c4de31016e8e9aad170280ea028ce891ee828c1ef5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.10.20 Linux/5.15.154+
|
Security for hoppr-cyclonedx-models 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.