hugovk / pypi-tools

Command-line Python scripts to do things with PyPI
https://hugovk.github.io/pypi-tools
23 stars 2 forks source link

Add --key to also show project_urls with this key #21

Closed hugovk closed 3 years ago

hugovk commented 3 years ago
$ python3 project_urls.py -k Documentation
Load data/top-pypi-packages.json...
Find project_urls...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [00:00<00:00, 271.94project/s]
Counter({'Homepage': 100,
         'Documentation': 20,
         'Download': 8,
         'Code': 7,
         'Issue tracker': 7,
         'Source': 6,
         'Bug Tracker': 4,
         'Source Code': 4,
         'Changelog': 2,
         'Funding': 2,
         'Issue Tracker': 2,
         'Docs': 1,
         'Issues': 1,
         'Tracker': 1})

Number with project_urls: 100/100

All project_url["Documentation"] values:

* https://urllib3.readthedocs.io/
* https://requests.readthedocs.io
* https://certifiio.readthedocs.io/en/latest/
* https://setuptools.readthedocs.io/
* https://pip.pypa.io
* https://numpy.org/doc/1.19
* https://wheel.readthedocs.io/
* https://markupsafe.palletsprojects.com/
* https://jinja.palletsprojects.com/
* https://www.attrs.org/
* https://click.palletsprojects.com/
* https://pandas.pydata.org/pandas-docs/stable/
* https://pillow.readthedocs.io
* https://werkzeug.palletsprojects.com/
* https://docs.scipy.org/doc/scipy/reference/
* https://docs.sqlalchemy.org
* https://flask.palletsprojects.com/
* https://www.python-httpx.org
* https://itsdangerous.palletsprojects.com/
* https://coverage.readthedocs.io