For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring uv

Point uv at the Seal Artifact Server using an index in pyproject.toml.

uv reads package indexes from the [[tool.uv.index]] table in pyproject.toml. An index marked default = true replaces PyPI, so every package resolves from Seal.

Configuration

Add the index to the project's pyproject.toml:

[[tool.uv.index]]
name = "seal"
url = "https://pypi.sealsecurity.io/simple"
default = true

Pass the credentials through environment variables named after the index:

export UV_INDEX_SEAL_USERNAME=<project-id>
export UV_INDEX_SEAL_PASSWORD=<token>

Replace <project-id> with the Seal Project ID and <token> with your production token. The credentials stay out of pyproject.toml and uv.lock. Commit the pyproject.toml change so the configuration is version-controlled with the manifest.

uv.lock records the index URL with each package. Run uv lock once after adding the index so the lock file resolves against Seal, then uv sync installs from it as usual.

Verify

grep -m1 "registry" uv.lock

The output should show https://pypi.sealsecurity.io/simple as the registry.

Last updated