Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Python package name normalization

Focus mode
Python package name normalization - CodeArtifact

CodeArtifact normalizes package names before storing them, which means the package names in CodeArtifact may be different than the name provided when the package was published.

For Python packages, when performing normalization the package name is lowercased and all instances of the characters ., -, and _ are replaced with a single - character. So the package names pigeon_cli and pigeon.cli are normalized and stored as pigeon-cli. The non-normalized name can be used by pip and twine but the normalized name must be used in CodeArtifact CLI or API requests (such as list-package-versions) and in ARNs. For more information about Python package name normalization, see PEP 503 in the Python documentation.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.