The licensecheck package classifies license files and heuristically determines how well they correspond to known open source licenses.
The
licensecheckpackage scans source texts for known licenses. The design aims never to give a false positive. It also reports matches of known license URLs.
See the package documentation for API details.
The license scanner recognizes nearly all the licenses gathered by the SPDX project, along with a few others.
See licenses/README.md for license details.