You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
should the project/package name be prometheus-client rather than prometheus_client #1092
This means that the following names are all equivalent:
friendly-bard (normalized form)
Friendly-Bard
FRIENDLY-BARD
friendly.bard
friendly_bard
friendly--bard
FrIeNdLy-._.-bArD (a terrible way to write a name, but it is valid)
Whether the project name is prometheus_client or even PrOmEtHeUs-._.-ClIeNt(a terrible way to write a name, but it is valid), it will be normalized as prometheus-client when built into a pypi package.
Yeah, as mentioned they are equivalent. I would be ok with updating pyproject.toml and other locations to use the normalized form if that helps reduce any confusion.
Hi maintainers! I'd like to work on this issue. I'll update pyproject.toml to use the normalized name = prometheus-client and update the PyPI references in README.md to match. Could you please assign this to me?
Activity
ethanschen commentedon Mar 1, 2025
As mentioned in Names and normalization:
Whether the project name is
prometheus_clientor evenPrOmEtHeUs-._.-ClIeNt(a terrible way to write a name, but it is valid), it will be normalized asprometheus-clientwhen built into a pypi package.calestyo commentedon Mar 1, 2025
Yes, but since it's anyway normalised and since the recommendation is to use
-, I figured maybe it should be changed for clarity. :-)csmarchbanks commentedon Mar 3, 2025
Yeah, as mentioned they are equivalent. I would be ok with updating pyproject.toml and other locations to use the normalized form if that helps reduce any confusion.
Heisenbrick commentedon Sep 30, 2026
Hi maintainers! I'd like to work on this issue. I'll update pyproject.toml to use the normalized name = prometheus-client and update the PyPI references in README.md to match. Could you please assign this to me?