see https://spdx.org/licenses Python function to download SPDX list of licenses is available in spdx.py