Skip to main content

CycloneDX Pydantic models for easy use in your Python project.

Project description

hoppr_cyclonedx_models

pypi downloads versions license

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hoppr_cyclonedx_models-0.3.3.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hoppr_cyclonedx_models-0.3.3-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file hoppr_cyclonedx_models-0.3.3.tar.gz.

File metadata

  • Download URL: hoppr_cyclonedx_models-0.3.3.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.4.109+

File hashes

Hashes for hoppr_cyclonedx_models-0.3.3.tar.gz
Algorithm Hash digest
SHA256 226323552e69bd14449c336dfdc8b7a63c52bf5d1c1e41b86b9ce8e974cf7e2d
MD5 0b0692fa4f6cd5cc6744837bc245149d
BLAKE2b-256 67aa6860325f2c915673505eeae11031538b8a48fc50aaa3d652653b70103dab

See more details on using hashes here.

File details

Details for the file hoppr_cyclonedx_models-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for hoppr_cyclonedx_models-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea44632330850b68acbc6452bbf3438a20a0eccdc176473e72b5a7e6290ea7f1
MD5 1a8a76edac7130a93588ea66046f5728
BLAKE2b-256 1f15b91923b920d0ad6424b824599957076b7c47c15bb5dbe8ff5599f4949868

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page