LiLiLi: List the Licenses of the Libraries
LiLiLi helps you to retrieve and audit software license information.
Installation
LiLiLi is available on PyPI:
$ pip install lilili
You can also use poetry to add it to a specific Python project.
$ poetry add lilili
Examples
Search for and list the licenses of libraries
Python libraries
$ pip list > pip-list.txt
$ lilili search --yaml pip-list.txt
Example of result.yml:
- domain: pypi
name: requests
version: 2.25.1
licenses:
- spdx_id: Apache-2.0
basis: API_EXACT
source_url: https://pypi.org/pypi/requests/2.25.1/json
download_url: https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl
homepage: https://requests.readthedocs.io
git_url: https://github.com/psf/requests
updated_at: "2021-02-22T17:32:25.323561"
- domain: pypi
name: idna
version: "2.10"
licenses:
- spdx_id: BSD-3-Clause
basis: API_LATEST
source_url: https://pypi.org/pypi/idna/json
- spdx_id: BSD-3-Clause
basis: GITHUB_LICENSES_API
source_url: https://api.github.com/repos/kjd/idna/license
download_url: https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl
homepage: https://github.com/kjd/idna
git_url: https://github.com/kjd/idna
updated_at: "2021-02-22T17:32:24.035106"
Ruby libraries
$ bundle list > bundle-list.txt
$ lilili search --yaml bundle-list.txt
The output result.yml is in the same format as above.
Node.js libraries
$ yarn list > yarn-list.txt
$ lilili search --yaml yarn-list.txt
The output result.yml is in the same format as above.
Why LiLiLi?
- LiLiLi uses the SPDX license list, which is also used by GitHub Licenses API, so the license notation can be reused.
- If LiLiLi cannot determine the license for a particular version of the library, it will search for the latest version of the license or a license registered in the GitHub repository.
- LiLiLi will reveal the URL of the API on which the licensing decision is based, so you can double-check it yourself.
Metadata
Release files for lilili 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lilili-0.1.0.tar.gz | 24.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lilili-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.4 kB
Release files / lilili-0.1.0.tar.gz
| Download URL | lilili-0.1.0.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8f42c65d717d344bfcb32a75c912690efe0402957ea9d4dd87f6826638cf3eb
|
|
BLAKE2b-256 checksum How to use checksums |
0e8c5744fb93c8cd1f2634d640fc71e597a9929324ff804715f3ade5f4ecb20b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/4.18.0-240.1.1.el8_3.x86_64
|
Release files / lilili-0.1.0-py3-none-any.whl
| Download URL | lilili-0.1.0-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e50aa45a4707c69ab383f11756a9aed94a6eb102bef9a0c398ce8018938ebded
|
|
BLAKE2b-256 checksum How to use checksums |
c9c6681338d1e82efb78e732fbbd145d7de353d31674a7a9f75c1c1eb991453e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.9.1 Linux/4.18.0-240.1.1.el8_3.x86_64
|