最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How does one get pypi package metadata for an uninstalled package - preferably in JSON? - Stack Overflow

programmeradmin4浏览0评论

pip show doesn't work for packages that aren't installed and does not output in JSON. Is there a way to make it do so?

pip show django    
WARNING: Package(s) not found: django

Is there any way of getting package metadata from the command line? Besides writing a scraper for the pypi website of course.

pip show doesn't work for packages that aren't installed and does not output in JSON. Is there a way to make it do so?

pip show django    
WARNING: Package(s) not found: django

Is there any way of getting package metadata from the command line? Besides writing a scraper for the pypi website of course.

Share Improve this question edited Mar 21 at 14:03 Att Righ asked Mar 20 at 19:51 Att RighAtt Righ 1,8052 gold badges22 silver badges39 bronze badges
Add a comment  | 

1 Answer 1

Reset to default -1

Okay according to [this answer](https://stackoverflow/a/75732843/1892584) to a question about fetching dependencies, you can add /json

Like so:

curl https://pypi./pypi/django/json
发布评论

评论列表(0)

  1. 暂无评论