Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hoppr-cyclonedx-models

Package Overview
Dependencies
Maintainers
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoppr-cyclonedx-models

CycloneDX Pydantic models for easy use in your Python project.

  • 0.6.0
  • PyPI
  • Socket score

Maintainers
4

Hoppr CycloneDX Models

PyPI - Python Version PyPI - Version PyPI - Downloads PyPI - License Poetry

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc