Skip to main content

Module registry

Module registry 

Source
Expand description

Private registry configuration and authentication

Supports multiple package registries with authentication:

# pyproject.toml
[[tool.rx.registries]]
name = "private"
url = "https://private.pypi.org/simple/"
username = "user"  # or use environment variable
password = "${PRIVATE_PYPI_TOKEN}"  # environment variable interpolation

[[tool.rx.registries]]
name = "internal"
url = "https://internal.example.com/pypi/"
token = "${INTERNAL_TOKEN}"  # Bearer token auth

Or via ~/.rx/config.toml for global credentials:

[[registries]]
name = "private"
url = "https://private.pypi.org/simple/"
username = "user"
password = "secret"

Structs§

RegistryConfig
Registry configuration
RegistryManager
Registry manager for handling multiple registries
ResolvedCredentials
Resolved credentials with environment variables expanded

Constants§

PYPI_API_URL
PYPI_URL
Default PyPI registry