Install yolk3k
pip package:
pip install yolk3k
Then execute command:
yolk -l -f license
Output will look like:
PyYAML (3.12) !
License: MIT
Pygments (2.2.0) !
License: BSD License
SQLAlchemy (1.2.5) !
License: MIT License
Unidecode (1.0.22) !
License: GPL
...