Skip to content

Example missing imports #593

@stefan6419846

Description

@stefan6419846

I just started evaluating this project for generating SPDX files manually, but had some trouble to finally generate a custom document:

  • The example at https://github.com/spdx/tools-python#example omits all imports.
  • The example starts with parsing an existing file. As documentation is sparse anyway, this requires me to do quite some extra research on how to create a document itself manually.
  • Instead of exposing the corresponding classes from the submodules of spdx.models inside spdx/models/__init__.py, I am required to import them from the corresponding submodules, which seems like some unnecessary overhead.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions