Skip to main content

Module spdx

Module spdx 

Source
Expand description

SPDX license identifier validation for DuckDB community extensions.

Extensions must declare a recognized open-source license. This module validates that the extension.license field is a commonly used SPDX identifier, or an SPDX AND / OR expression over such identifiers.

§Reference

https://spdx.org/licenses/

Constants§

COMMON_SPDX_LICENSES
Commonly used SPDX license identifiers.
SPDX_LICENSE_EXCEPTIONS
Every current (non-deprecated) SPDX license-exception identifier.

Functions§

validate_spdx_license
Validates that a license string is a recognized SPDX identifier, or an SPDX license expression built from them.