load_licenses#

technote.metadata.spdx.load_licenses()#

Load the SPDX license database, caching it for the process.

The database is read-only, so a single instance can be shared. Use this function instead of Licenses.load in code that runs repeatedly during a Sphinx build, such as once per page.

Returns:

The license database instance.

Return type:

Licenses