License list for Python Modules












0















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.










share|improve this question

























  • pip can install packages from private or nonstandard repositories. (npm can too, for that matter.) There is no well-defined list of "all available packages" anywhere. Are you asking how to fetch metadata for all packages from pypi.org? What exactly are you trying to do with this information?

    – Daniel Pryden
    Nov 13 '18 at 12:39











  • @Daniel Are you asking how to fetch metadata for all packages from pypi.org. Yes I am. What exactly are you trying to do with this information? Lets say I get a pyproject.toml and read the dependencies from it. I can get a dependency tree from the given dependencies.<br> 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













  • Ideal would be something like a update stream of the modules like in npm(github.com/npm/registry/blob/master/docs/follower.md). I could just follow this stream and have all the licenses and dependencies saved in my DB.

    – fräfrö
    Nov 13 '18 at 14:49








  • 1





    You might be interested in bandersnatch

    – wim
    Nov 13 '18 at 17:18
















0















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.










share|improve this question

























  • pip can install packages from private or nonstandard repositories. (npm can too, for that matter.) There is no well-defined list of "all available packages" anywhere. Are you asking how to fetch metadata for all packages from pypi.org? What exactly are you trying to do with this information?

    – Daniel Pryden
    Nov 13 '18 at 12:39











  • @Daniel Are you asking how to fetch metadata for all packages from pypi.org. Yes I am. What exactly are you trying to do with this information? Lets say I get a pyproject.toml and read the dependencies from it. I can get a dependency tree from the given dependencies.<br> 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













  • Ideal would be something like a update stream of the modules like in npm(github.com/npm/registry/blob/master/docs/follower.md). I could just follow this stream and have all the licenses and dependencies saved in my DB.

    – fräfrö
    Nov 13 '18 at 14:49








  • 1





    You might be interested in bandersnatch

    – wim
    Nov 13 '18 at 17:18














0












0








0








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.










share|improve this question
















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.







python pip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 12:01







fräfrö

















asked Nov 9 '18 at 15:58









fräfröfräfrö

61




61













  • pip can install packages from private or nonstandard repositories. (npm can too, for that matter.) There is no well-defined list of "all available packages" anywhere. Are you asking how to fetch metadata for all packages from pypi.org? What exactly are you trying to do with this information?

    – Daniel Pryden
    Nov 13 '18 at 12:39











  • @Daniel Are you asking how to fetch metadata for all packages from pypi.org. Yes I am. What exactly are you trying to do with this information? Lets say I get a pyproject.toml and read the dependencies from it. I can get a dependency tree from the given dependencies.<br> 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













  • Ideal would be something like a update stream of the modules like in npm(github.com/npm/registry/blob/master/docs/follower.md). I could just follow this stream and have all the licenses and dependencies saved in my DB.

    – fräfrö
    Nov 13 '18 at 14:49








  • 1





    You might be interested in bandersnatch

    – wim
    Nov 13 '18 at 17:18



















  • pip can install packages from private or nonstandard repositories. (npm can too, for that matter.) There is no well-defined list of "all available packages" anywhere. Are you asking how to fetch metadata for all packages from pypi.org? What exactly are you trying to do with this information?

    – Daniel Pryden
    Nov 13 '18 at 12:39











  • @Daniel Are you asking how to fetch metadata for all packages from pypi.org. Yes I am. What exactly are you trying to do with this information? Lets say I get a pyproject.toml and read the dependencies from it. I can get a dependency tree from the given dependencies.<br> 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













  • Ideal would be something like a update stream of the modules like in npm(github.com/npm/registry/blob/master/docs/follower.md). I could just follow this stream and have all the licenses and dependencies saved in my DB.

    – fräfrö
    Nov 13 '18 at 14:49








  • 1





    You might be interested in bandersnatch

    – wim
    Nov 13 '18 at 17:18

















pip can install packages from private or nonstandard repositories. (npm can too, for that matter.) There is no well-defined list of "all available packages" anywhere. Are you asking how to fetch metadata for all packages from pypi.org? What exactly are you trying to do with this information?

– Daniel Pryden
Nov 13 '18 at 12:39





pip can install packages from private or nonstandard repositories. (npm can too, for that matter.) There is no well-defined list of "all available packages" anywhere. Are you asking how to fetch metadata for all packages from pypi.org? What exactly are you trying to do with this information?

– Daniel Pryden
Nov 13 '18 at 12:39













@Daniel Are you asking how to fetch metadata for all packages from pypi.org. Yes I am. What exactly are you trying to do with this information? Lets say I get a pyproject.toml and read the dependencies from it. I can get a dependency tree from the given dependencies.<br> 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







@Daniel Are you asking how to fetch metadata for all packages from pypi.org. Yes I am. What exactly are you trying to do with this information? Lets say I get a pyproject.toml and read the dependencies from it. I can get a dependency tree from the given dependencies.<br> 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















Ideal would be something like a update stream of the modules like in npm(github.com/npm/registry/blob/master/docs/follower.md). I could just follow this stream and have all the licenses and dependencies saved in my DB.

– fräfrö
Nov 13 '18 at 14:49







Ideal would be something like a update stream of the modules like in npm(github.com/npm/registry/blob/master/docs/follower.md). I could just follow this stream and have all the licenses and dependencies saved in my DB.

– fräfrö
Nov 13 '18 at 14:49






1




1





You might be interested in bandersnatch

– wim
Nov 13 '18 at 17:18





You might be interested in bandersnatch

– wim
Nov 13 '18 at 17:18












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229167%2flicense-list-for-python-modules%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229167%2flicense-list-for-python-modules%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bressuire

Vorschmack

Quarantine