Licenses#

class technote.metadata.spdx.Licenses(licenses)#

Bases: object

License database, with access by license ID.

Parameters:

licenses (dict[str, SpdxLicense]) –

Methods Summary

load()

Load licenses from the SPDX database packaged in Lander.

Methods Documentation

classmethod load()#

Load licenses from the SPDX database packaged in Lander.

Returns:

The license database instance.

Return type:

Licenses