sethmlarson / pypi-data

Data about packages and maintainers on PyPI
Apache License 2.0
122 stars 8 forks source link

Package URLs table: add URL names? #14

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

Related to #13, would it be possible to also include the URL names in the same table?

For these, we have name and URL pairs:

"project_urls": {
  "Code": "https://github.com/urllib3/urllib3",
  "Documentation": "https://urllib3.readthedocs.io/",
  "Homepage": "https://urllib3.readthedocs.io/",
  "Issue tracker": "https://github.com/urllib3/urllib3/issues"
},

For these, we could either use the keys here (bugtrack_url), or it would be better to check what Warehouse uses as display names:

"bugtrack_url": null,
"docs_url": null,
"download_url": "",
"home_page": "https://urllib3.readthedocs.io/",

I think home_page is actually inserted into project_urls as "Homepage", and the others may be (unused?) legacy things that could possibly be skipped.