org.python.index
Python package index URLs for install (pip, uv) and publish (twine, uv publish). Maps to pip.ini / pip.conf, uv.toml [index] tables, and .pypirc. extra-indexes is a sequence so multiple private indexes can coexist.
- Namespace:
org.python.index - Owner: community — convention for pip / uv / twine index configuration
- Status: proposed
- Docs: https://pip.pypa.io/en/stable/topics/configuration/
Illustrative fragment — not a complete projectfile document. Consumers MUST round-trip unknown namespaces even when no shape is published.
---# SPDX-FileCopyrightText: 2026 Damián Búho <damian.buho@proton.me>## SPDX-License-Identifier: CC-BY-4.0# SPDX-License-Identifier: MIT
# Shape: org.python.index extension namespace# Illustrative fragment — not a complete projectfile document.# See registry.yaml for ownership and status.
org: python: index: index-url: "https://pypi.org/simple/" # OPTIONAL primary install index publish-url: "https://upload.pypi.org/legacy/" # OPTIONAL twine / uv upload endpoint trusted-hosts: [pypi.org, files.pythonhosted.org] # OPTIONAL skip TLS verify for these hosts skip-existing: false # OPTIONAL skip upload if version already exists
extra-indexes: - url: "https://private.example.com/simple/" # REQUIRED name: internal # OPTIONAL human label trusted: false # OPTIONAL skip TLS verify for this host[org.python.index]index-url = "https://pypi.org/simple/"publish-url = "https://upload.pypi.org/legacy/"trusted-hosts = [ "pypi.org", "files.pythonhosted.org" ]skip-existing = false
[[org.python.index.extra-indexes]]url = "https://private.example.com/simple/"name = "internal"trusted = false{ "org": { "python": { "index": { "index-url": "https://pypi.org/simple/", "publish-url": "https://upload.pypi.org/legacy/", "trusted-hosts": [ "pypi.org", "files.pythonhosted.org" ], "skip-existing": false, "extra-indexes": [ { "url": "https://private.example.com/simple/", "name": "internal", "trusted": false } ] } } }}