SpdxFile#
- class technote.metadata.spdx.SpdxFile(**data)#
Bases:
BaseModelRepresentation of a SPDX license database file as a Pydantic model.
- Parameters:
data (
Any)
Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Methods Summary
Load an SpdxFile from Technote's package data.
Attributes Documentation
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- classmethod load_internal()#
Load an SpdxFile from Technote’s package data.
- Returns:
The SpdxFile instance from the licenses.json file packaged in Lander. This file is a mirror of the canonical license database maintained at spdx/license-list-data.
- Return type: