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

uv tool install uv-add-complete
uvpy init --yes

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

uv add fast<Tab> py<Tab>

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.1.tar.gz (11.9 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.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: uv_add_complete-0.1.1.tar.gz
  • Upload date:
  • Size: 11.9 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.1.tar.gz
Algorithm Hash digest
SHA256 bd46120b6befd74e652e91b36e5f2f5896891a0a6885d7b2f117fdee8856795e
MD5 54fe3c86869ed21f3c13784d3af98154
BLAKE2b-256 44c3743a15e9d5d73f3fa0f5bf930eff4125f832224d625f9b0914b6a9c0870e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uv_add_complete-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4232b2c77d740d61b3a201077842018ae3803aaa83215c175997a1aba3b08ac8
MD5 569011cdb0373eac2ee9376bf4af41f1
BLAKE2b-256 706eca44395edefbb554ce1a70db2b1d0731ef864ae96f317130df5aa9bbe6f7

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