PEP 503 says, “The text of the anchor tag MUST be the normalized name of the project and the href attribute MUST link to the URL for that particular project.” But if you look at the simple index for PyPI you will notice that e.g. 0.0.1 is listed as
<a href="/simple/0-0-1/">0.0.1</a>. You may notice that the CDATA/text of the anchor is not normalized (later on the PEP says the project name in the URL needs to be normalized).
So if I’m reading the PEP appropriately then who is right: PyPI or the PEP? My assumption is it’s PyPI as normalizing the project name in the CDATA would remove the ability to search on the project’s full name via just data from the simple repo API.
P.S. If the PEP is wrong then when I submit a PR to fix it I will also clarify what the root URL is in relation to the base URL as I personally found that a bit confusing.