Skip to content

Croydon/spdx-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Updating

To update the SPDX data, delete the content of spdx/data and copy the new content of https://github.com/spdx/license-list-data. Update the version of this Python module respectively. Furthermore update the data/db.json, which is named upstream json/licenses.json.

About

SPDX license list database

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%