Skip to main content

Crate uv_settings

Crate uv_settings 

Source

Structs§

AddOptions
AuditOptions
Concurrency
EnvFlag
A boolean flag parsed from an environment variable.
EnvironmentOptions
Options loaded from environment variables.
FilesystemOptions
The Options as loaded from a configuration file on disk.
GlobalOptions
Global settings, relevant to all invocations.
IndexOptions
Settings shared by all operations that use package indexes.
InstallerOptions
Settings relevant to all installer operations.
InstallerSettingsRef
The resolved settings to use for an invocation of the uv CLI when installing dependencies.
MalwareCheckSettings
Options
A [tool.uv] section.
PipOptions
Settings that are specific to the uv pip command-line interface.
PublishOptions
PythonInstallMirrors
Shared settings, relevant to all operations that might create managed python installations.
ResolverInstallerOptions
Shared settings, relevant to all operations that must resolve and install dependencies. The union of InstallerOptions and ResolverOptions.
ResolverInstallerSchema
The JSON schema for the [tool.uv] section of a pyproject.toml file.
ResolverInstallerSettings
The resolved settings to use for an invocation of the uv CLI with both resolver and installer capabilities.
ResolverOptions
Settings relevant to all resolver operations.
ResolverSettings
The resolved settings to use for an invocation of the uv CLI when resolving dependencies.
ToolOptions
The options persisted alongside an installed tool.
ToolOptionsWire
The on-disk representation of ToolOptions in a tool receipt.

Enums§

Error
FrozenFlag
The CLI flag that requested frozen mode.
FrozenSource
The source of the frozen flag.
LockCheck
Whether a lockfile check was requested, including the source of the request.
LockedFlag
The CLI flag that requested a lock check.
LockedSource
The source of a lock check operation.
PreviewFeaturesOption
Represents the preview-features configuration option.
PreviewOption
Represents the user’s preview configuration from either preview or preview-features.
PythonListKinds
The kinds of Python installations and downloads to list.

Traits§

Combine

Functions§

resolve_build_hash_checking
Resolve whether hashes are required for build dependencies, warning if the feature is experimental.
resolve_prerelease
Normalize the global and per-package prerelease modes, warning about deprecated values.