I have been looking for a package/api-url or something similar to get a list of (possibly) all modules available for python(2,3) and their licenses.
I used to work with js where you can easily api call npm infos for js for informations as json about the module argparse (versions and for each version a license).
I couldn't find something similar for python. Just pypi infos for python which is a html response. I also found packages like yolk or pkg_ressources which list all the modules (+ licenses) installed with pip. They wont display modules which are not installed yet.
Is there a solution which either lists all available modules + licenses or a simple url where I can api call and get a json(or similar format) response?
Edit: So this question is similar, but does not fully answers my questions. I have already checked all answers of it (namely pkg_ressources, yolk, pip-licenses, Python Package License Checker). They all work fine for INSTALLED packages. But I want a solution for EVERY AVAILABLE package, like npm for js. I do not want to install every single package to get the informations about it.
Now to get the licenses for theses dependencies I don't want to install every single dep. – fräfrö Nov 13 '18 at 14:24