Adding project links to PyPI

I spotted a neat looking project links section on

Turns out that's added using a project_urls key in, e.g. here:

        "Issues": "",
        "Source Code": "",
        "CI": "",
        "Releases": ""

The documentation says that the keys can be any string you like. So where do those icons come from?

I looked at the HTML source code and searched the PyPI website source code for one of the CSS classes I found there:

This lead me to the macro that defines the custom icons, which shows what custom keys or URLs are supported:

I added these to the sqlite-utils PyPI page in this commit.

Project links on PyPI

Created 2020-05-11T09:33:05-07:00, updated 2020-09-01T16:54:36-07:00 · History · Edit