SPDX license list database


Keywords
spdx, licenses, database
License
CC0-1.0
Install
pip install spdx==2.5.1

Documentation

spdx

A Python module incorporating an interface to the SPDX license database.

This library serves purely as a holder for the database that can be found on the SPDX website.

To more easily query this database or detect licenses, consider using something like spdx-lookup.

Usage

See the spdx/__init__.py file for the very simple interface.

tl;dr: spdx.licenses() gets you the licenses, and spdx.License is a nice wrapper for interacting with them.