LicenseLynx
Source Code

Main Features
-
Deterministic
Same Input → Same ID
-
10,000+ Mappings
Aliases + Variants
-
Libraries
Python • Java • TypeScript
-
Open data
GitHub, versioned
-
Frequent Updates
Auto-synced with SPDX & ScanCode
-
Free and Open-Source
Code under BSD-3-Clause
How can we map a license string found in the wild automatically and deterministically? LicenseLynx is the answer to that!
We collect and match license strings found from SPDX, ScanCode LicenseDB, and OSI License List to its canonical identifier. But this is just the starting point. The most valuable data comes from the community with custom aliases for license identifiers which are not present in the license databases or license lists.
Getting Started
Choose a starting point:
- Install a library: Installation
- Map license strings in code: Usage
- Understand where the mappings come from: How LicenseLynx works
- Work with the raw mapping data: Data Specification
- Contribute mappings or docs: Contributing
Key Features
- Community-driven approach: Custom mappings from the community enhance LicenseLynx to map more license aliases to its canonical identifiers
- Aggregated data: Collects license information and aliases from the license list of SPDX, ScanCode LicenseDB, and OSI into a single repository
- SPDX Compliance: Maps licenses to their canonical names using SPDX IDs if possible
- Multi-Language Support: Offers libraries in Python, Java, and TypeScript to use it with your projects
Contributing
Want to help out?
Check out the Contributing page for detailed information.