Some licenses might be acceptable, others might not be. In a bigger organization, it is important to keep track of that and not to integrate open source software which you actually cannot (legally).
I'm interested in a gratis Python package which takes a
requirements.txt and a whitelist / blacklist of licenses. If any package in the requirements.txt does not match the whitelist/blacklist, it should fail (and thus one could integrate it in a CI pipeline).
Addtionally, it would be nice if it could output a list of packages with their licenses.