pip-licenses is a CLI tool for checking the software license of installed Python packages with pip.