Skip to main content

Fast dependency suggestions and shell completion for uv add

Project description

uv-add-complete

uv-add-complete provides fast, curated Python dependency suggestions and shell completion for uv add.

This initial release includes a small offline package catalog and a CLI suitable for both developers and future shell-completion adapters. Suggestions use a cached prefix trie with precomputed matches at each node.

Install

Global tool setup:

uv tool install "uv-add-complete>=0.1.3"
uvpy init --yes

Restart your shell, then complete dependencies while writing uv add commands:

uv add fast<Tab> py<Tab>

Project-local setup:

uv add "uv-add-complete>=0.1.3"
uv run uvpy init --yes

When installed as a project dependency, run commands through uv run:

uv run uvpy --version
uv run uvpy add py --list

PowerShell users can opt into the experimental Tab cycling UI:

uvpy init --yes --tab-ui

uvpy init auto-detects your current shell. If detection is wrong, pass --shell powershell, --shell pwsh, --shell zsh, --shell bash, or --shell fish.

Development

uv sync
uv run uvpy add al --list
uv run uvpy init --shell powershell --dry-run
uv run pytest
uv run ruff check .

CLI

Show rich suggestions:

uvpy add fast --list

Return package names for shell integrations:

uvpy _complete add fast --format names

Return structured output:

uvpy _complete add fast --format json

List the complete curated catalog:

uv-aide packages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uv_add_complete-0.1.4.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uv_add_complete-0.1.4-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file uv_add_complete-0.1.4.tar.gz.

File metadata

  • Download URL: uv_add_complete-0.1.4.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for uv_add_complete-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c2a0530c3f38fe836da66e013aaaba1578f0ecb48f6ae68332fe679d73602342
MD5 9b6a0fc4e61ec99cad9986f9479e3bd0
BLAKE2b-256 a1339797cbb2b9508d006cb6e03d8bcb0b3d4bb6140ad50d5937524654664b34

See more details on using hashes here.

File details

Details for the file uv_add_complete-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: uv_add_complete-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for uv_add_complete-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7615197582ce0a5ed79ac694cc744151d72e8c57052b8367427f5034172cf324
MD5 762f26ef70d202885d4cae9f41d09516
BLAKE2b-256 56f32033b9f43505639ede24b5c25f38d939e45ef4bf0e62e779c710470781cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page