spdx / spdx-license-matcher

A tool to match license text with SPDX license list using a an algorithm with finds close matches. It follows SPDX Matching guidelines to keep the substantial text as well as ignore the replaceable text for matching purposes.
Other
27 stars 14 forks source link
license-compare license-matcher license-text spdx

SPDX License Match Tool

A python tool which takes the license text from the user, compares it with the SPDX license list using an algorithm which finds close matches and returns differences if the input license text is found to be a close match.

Installation

Ensure that you are using Python3 for installation of the tool.

Usage

To run the tool just use the command python matcher.py -f <file-name> -t <threshold>.

You can also run python matcher.py --help for more info.

Workflow

The workflow of the tool is as follows: