0
List of packages
Is there a way i can get a list of all packages in pypi.org using a code written in python??
3 odpowiedzi
+ 2
There are over 200K packages. This gives a way to find them:
https://blog.revathskumar.com/2011/10/JUMP_LINK__&&__python__&&__JUMP_LINK-list-all-packages-installed.html
+ 2
help("modules")
# Or
import sys
attributes = dir(sys)
for a in attributes:
print(a)
0
download the source html from this link
https://pypi.org/simple
with requests.get(url) then scrape links with titles with beautifulsoup package then you can search localy for packages names
https://asciinema.org/a/488968