Show licenses for your dependencies

You can use dephell deps licenses command to reveal licenses for all dependencies (and dependencies of dependencies) of your project. For example, let’s get licenses for flake8 plugins of dephell. First of all, get dephell source code:

git clone
cd dephell

With CLI arguments

$ dephell deps licenses --from-format=pip --from-path=requirements-flake.txt

INFO resolved
  "BSD-2-Clause": [
  "Unknown": [

With config

Dephell contains this section in the pyproject.toml:

from = {format = "pip", path = "requirements-flake.txt"}

So, you can write command above quite shorter:

$ dephell deps licenses --env=flake8