List of packages | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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??

20th Apr 2022, 9:51 PM
Austin
Austin - avatar
3 Answers
20th Apr 2022, 11:32 PM
John Wells
John Wells - avatar
+ 2
help("modules") # Or import sys attributes = dir(sys) for a in attributes: print(a)
21st Apr 2022, 12:01 AM
SoloProg
SoloProg - avatar
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
21st Apr 2022, 6:48 AM
mohammed shibli
mohammed shibli - avatar