Metadata-Version: 2.4
Name: licenses-catalog
Version: 0.1.0
Summary: Developer-friendly tools and data for exploring and classifying software and data licenses.
Author: MobilityData
Maintainer: MobilityData
License: Apache License, Version 2.0
Project-URL: Homepage, https://github.com/MobilityData/licenses-catalog
Project-URL: Repository, https://github.com/MobilityData/licenses-catalog
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pandas
Requires-Dist: pyyaml
Requires-Dist: openai
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Dynamic: license-file

# Licenses Catalog

A developer-friendly tool to explore, compare, and integrate software and data licenses.
Inspired by [choosealicense.com](https://github.com/github/choosealicense.com), with added metadata and API access for automation.

## Why This Project Exists

The [choosealicense.com](https://github.com/github/choosealicense.com) is a great reference, but it has some limitations:

- It is **GitHub-specific**, reflecting GitHub’s policy on license visibility and use.
- It **limits the number of licenses shown**, omitting many OSI-approved or widely-used alternatives.
- It focuses more on **encouraging license use** than on **neutral license comparison**.

This repository is intended to provide:
- A **more complete and neutral catalog** of software and data licenses
- **Machine-readable** metadata and formats for seamless integration and reuse in tools, websites, and automated systems
- A **human-oriented** structure that presents license details in a clear and accessible way for both people and tools.

## License Rules and Metadata

Each license includes a list of `rules` declared in [`data/rules.json`](data/rules.json). These are grouped into three categories:

- **Permissions** – What the license explicitly allows (e.g., commercial use, modification)
- **Conditions** – What the license requires (e.g., attribution, share-alike)
- **Limitations** – What the license prohibits or disclaims (e.g., warranty, liability)

The full set of rules is defined in [`rules.json`](data/rules.json). See the complete rule documentation in [`/docs/RULES.md`](/docs/RULES.md).


## License

- Code licensed under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0).
- Content under the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode).

## Contributing

Please check out our [Contributing guide](/docs/CONTRIBUTING.md) for details.
