Remove notebook setup instructions and optional example dependency

Commit 48c1e10 · patx · 2026-10-15T14:40:59-04:00

Changeset
48c1e106bf52681572354102f430fd09af76a0a6
Parents
7826c02800c3b5126d0daa7c9cb0a33521118dd0

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/README.md b/README.md
index f53ecee..91b0be9 100644
--- a/README.md
+++ b/README.md
@@ -54,30 +54,6 @@ Unsupported protocols raise `RuntimeError` without sending HTTP messages,
 following [ASGI guidance](https://asgi.readthedocs.io/en/latest/specs/main.html#protocol-specifications).
 You can also export a middleware wrapper as `app`.
 
-## Notebook example
-
-The repository includes a complete notebook app with signup, login, private notes,
-search, pagination, and JSON export. It uses MongoDB with PyMongo's
-[native async client](https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/).
-Install the example's optional dependency from the repository root:
-
-```bash
-uv sync --extra example
-```
-
-Start a local MongoDB server, or use an existing MongoDB deployment. For example,
-with Docker installed:
-
-```bash
-docker run -d --name wred-mongo -p 127.0.0.1:27017:27017 -v wred-mongo-data:/data/db mongo:8
-```
-
-Then start the app and open <http://127.0.0.1:8000>:
-
-```bash
-uv run --extra example weft example_app.app:app
-```
-
 The defaults are `MONGODB_URI=mongodb://127.0.0.1:27017` and
 `MONGODB_DATABASE=wred_notebook`. Set these environment variables to choose another
 server or database. Collections and indexes are created automatically. Accounts,
diff --git a/pyproject.toml b/pyproject.toml
index 5988bca..ff19cd8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -12,6 +12,3 @@ license = "BSD-3-Clause"
 license-files = ["LICENSE"]
 authors = [{ name = "Harrison Erd", email = "[email protected]" }]
 dependencies = ["orjson", "weft-server"]
-
-[project.optional-dependencies]
-example = ["pymongo>=4.13,<5"]