mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
docs(cli): document Python installation and publish retries (#5332)
The CLI guide covers Homebrew, the shell installer, and manual downloads. Readers who use Python tools need the PyPI package name because it differs from the executable name. This adds examples for running the CLI once and installing it persistently, and clarifies how maintainers retry a partial PyPI upload.
This commit is contained in:
+17
-1
@@ -19,7 +19,7 @@ statements supported by your deployment.
|
||||
## Install
|
||||
|
||||
On Apple Silicon macOS or Linux (x86-64 or ARM64), install the CLI with
|
||||
Homebrew or the hosted shell installer.
|
||||
Homebrew, the hosted shell installer, or Python tools.
|
||||
|
||||
### Homebrew
|
||||
|
||||
@@ -47,6 +47,22 @@ If you already use the Enterprise CLI, set `LANCEDB_INSTALL_DIR` to a separate
|
||||
absolute directory and invoke the public CLI by its full path. To upgrade, move
|
||||
the existing executable first.
|
||||
|
||||
### Python (uvx or pipx)
|
||||
|
||||
The [`lancedb-tools` package on PyPI](https://pypi.org/project/lancedb-tools/) provides the `lancedb` command.
|
||||
To run the CLI once with uv, use:
|
||||
|
||||
```sh
|
||||
uvx --from lancedb-tools lancedb --version
|
||||
```
|
||||
|
||||
To keep the CLI on your `PATH`, install it with pipx:
|
||||
|
||||
```sh
|
||||
pipx install lancedb-tools
|
||||
lancedb --version
|
||||
```
|
||||
|
||||
### Manual download
|
||||
|
||||
Download a CLI archive and `SHA256SUMS` from the
|
||||
|
||||
+1
-1
@@ -218,7 +218,7 @@ After the three wheel tests and the Intel macOS source install pass, a member of
|
||||
the tag and install results and approves the `pypi-cli` deployment in the workflow run.
|
||||
The upload job publishes the tested wheels and source archive and verifies their SHA-256 digests
|
||||
against PyPI. If an upload stops partway, rerun the failed job in the same run
|
||||
to finish uploading the original wheels. To verify the public install:
|
||||
to finish uploading the original wheels and source archive. To verify the public install:
|
||||
|
||||
```sh
|
||||
uvx --from lancedb-tools==0.42.0 lancedb --version
|
||||
|
||||
Reference in New Issue
Block a user