Skip to content

Commit 496cc9f

Browse files
zzstoatzzclaude
andauthored
docs: replace all uv pip commands with uv add (#1242)
replaced all occurrences of `uv pip install` with `uv add` throughout documentation and examples. `uv pip` is forbidden per project guidelines. changes: - README.md: changed to `uv add marvin` and added PyPI link - docs/installation.mdx: removed `uv pip install` line - docs/patterns/memory.mdx: changed all extras installation to use `uv add` - examples/slackbot/README.md: simplified to use `uv sync --extra slackbot` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 930eb5b commit 496cc9f

4 files changed

Lines changed: 9 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Marvin provides an intuitive API for defining workflows and delegating work to L
1313

1414
## Installation
1515

16-
Install `marvin`:
16+
Marvin is available on [PyPI](https://pypi.org/project/marvin/):
1717

1818
```bash
19-
uv pip install marvin
19+
uv add marvin
2020
```
2121

2222
Configure your LLM provider (Marvin uses OpenAI by default but natively supports [all Pydantic AI models](https://ai.pydantic.dev/models/)):

docs/installation.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ The easiest way to install Marvin is a package manager like `pip` or [`uv`](http
1818
```bash uv
1919
# add marvin to your project
2020
uv add marvin
21-
# add marvin to your virtual environment
22-
uv pip install marvin
2321
# add marvin to your script
2422
uv add --script some_script.py marvin
2523
# run a python process with marvin installed ephemerally

docs/patterns/memory.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pip install "marvin[chroma]"
140140
```
141141

142142
```bash uv
143-
uv pip install "marvin[chroma]"
143+
uv add "marvin[chroma]"
144144
```
145145
</CodeGroup>
146146

@@ -170,7 +170,7 @@ pip install "marvin[lance]"
170170
```
171171

172172
```bash uv
173-
uv pip install "marvin[lance]"
173+
uv add "marvin[lance]"
174174
```
175175

176176
</CodeGroup>
@@ -198,7 +198,7 @@ pip install "marvin[postgres]"
198198
```
199199

200200
```bash uv
201-
uv pip install "marvin[postgres]"
201+
uv add "marvin[postgres]"
202202
```
203203

204204
</CodeGroup>
@@ -229,7 +229,7 @@ pip install "marvin" "qdrant-client[fastembed]"
229229
```
230230

231231
```bash uv
232-
uv pip install "marvin" "qdrant-client[fastembed]"
232+
uv add marvin "qdrant-client[fastembed]"
233233
```
234234

235235
</CodeGroup>
@@ -259,6 +259,6 @@ pip install "marvin[memory]" # Includes chroma, lance, postgres, qdrant
259259
```
260260

261261
```bash uv
262-
uv pip install "marvin[memory]" # Includes chroma, lance, postgres and qdrant
262+
uv add "marvin[memory]" # Includes chroma, lance, postgres and qdrant
263263
```
264264
</CodeGroup>

examples/slackbot/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ The slackbot can be run locally with minimal setup.
1818
### Local Development
1919

2020
```console
21-
# Create and activate a virtual environment with uv
22-
uv venv --python 3.12
23-
source .venv/bin/activate
24-
25-
# Install dependencies
26-
uv pip install -e ".[slackbot]" -U
21+
# Install dependencies (from the repo root)
22+
uv sync --extra slackbot
2723
```
2824

2925
### Configuration

0 commit comments

Comments
 (0)