Automatically check the licenses of package dependencies.
Project description
Automatically check the licenses of package dependencies.
Description
Inspired by kontrolilo, check the licenses of sotware dependencies in package managers used by developers. This program is primarly aimed to be used as a git hook with pre-commit.
Documentation
https://docs.franco.net.eu.org/licheck/
Please read carefully the External programs section of the documentation to learn which programs you need to install before licheck.
Have a look at the Configuration file section to know how to configure licheck.
API examples
licheck has a public API. This means for example that you can you easily build a TOC within another Python program. The easiest way to build one for a markdown file is:
>>> import licheck >>> f = open('Pipfile') >>> print(f.read(), end='') [[source]] name = "pypi" url = "https://pypi.org/simple" verify_ssl = true [dev-packages] Sphinx = "~=4.1" [requires] python_version = "*" >>> binary, program = licheck.get_binary_and_program('python') >>> command = licheck.build_command(binary, program, 'Pipfile') >>> print(licheck.get_data(command, program))
CLI Helps
$ licheck --help
License
Copyright (C) 2021-2022 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
licheck is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
licheck is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with licheck. If not, see <http://www.gnu.org/licenses/>.
Changelog and trusted source
You can check the authenticity of new releases using my public key.
Changelogs, instructions, sources and keys can be found at blog.franco.net.eu.org/software.
Crypto donations
Bitcoin: bc1qnkflazapw3hjupawj0lm39dh9xt88s7zal5mwu
Monero: 84KHWDTd9hbPyGwikk33Qp5GW7o7zRwPb8kJ6u93zs4sNMpDSnM5ZTWVnUp2cudRYNT6rNqctnMQ9NbUewbj7MzCBUcrQEY
Dogecoin: DMB5h2GhHiTNW7EcmDnqkYpKs6Da2wK3zP
Vertcoin: vtc1qd8n3jvkd2vwrr6cpejkd9wavp4ld6xfu9hkhh0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file licheck-1.0.0.tar.gz
.
File metadata
- Download URL: licheck-1.0.0.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d93b299f0835ec1b4747b45ad0d99dedb85c44aa196edd9f137a8eac5d910e6 |
|
MD5 | 2e7728834b762521dd547df67216adac |
|
BLAKE2b-256 | 1b87224a779fa348d34d573ce978504efc6f331f849ae2c125fc37664fadedde |
File details
Details for the file licheck-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: licheck-1.0.0-py3-none-any.whl
- Upload date:
- Size: 26.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02c76f5a26e242011c4436e087ae3cf3b8404b589262927ddb538c3bfd6bd07d |
|
MD5 | 6a55abf36f63db29fb340e6fea067d8c |
|
BLAKE2b-256 | ec0f355d755f667fb79c5ce5759c339443b254c9ee6a42cadbb6857f4ef142c0 |