From 18dad5e8d0418087837712918eeeae9a2ef13466 Mon Sep 17 00:00:00 2001 From: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com> Date: Mon, 24 Aug 2026 17:41:43 -0700 Subject: [PATCH] Rename user-facing term 'managed database' to 'instant database' in docs and UI text --- README.md | 10 +++++----- examples/demo.py | 2 +- hotdata_marimo/databases.py | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 77d77f2..20ead9b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # hotdata-marimo -[Marimo](https://marimo.io/) widgets for [Hotdata](https://hotdata.dev) — run SQL, browse your schema, and work with managed databases in reactive notebooks. +[Marimo](https://marimo.io/) widgets for [Hotdata](https://hotdata.dev) — run SQL, browse your schema, and work with instant databases in reactive notebooks. ## Install @@ -73,9 +73,9 @@ return browser.ui Use `browser.selected_table` in downstream cells to reference the chosen table. -## Managed databases +## Instant databases -View existing managed databases and load new parquet files from a single tabbed panel: +View existing instant databases and load new parquet files from a single tabbed panel: ```python writer = hm.managed_database_writer(client) @@ -95,7 +95,7 @@ return hm.databases_panel(client) | SQL editor | `hm.sql_editor(client)` | `.ui` to show the editor, `.result` to read rows | | Query result | `hm.query_result(result)` | Renders a `QueryResult` as a table | | Table browser | `hm.table_browser(client)` | Browse connections, tables, and column metadata | -| Managed databases | `hm.databases_panel(client)` | Read-only list of managed databases | +| Instant databases | `hm.databases_panel(client)` | Read-only list of instant databases | | Database writer | `hm.managed_database_writer(client)` | Create databases and load parquet files | | Workspace picker | `hm.workspace_selector_from_env()` | Dropdown to switch workspaces | | Connection picker | `hm.connection_picker(client)` | Dropdown of connections in the workspace | @@ -112,7 +112,7 @@ All widgets are also available as `mo.ui.hotdata_*` aliases (e.g. `mo.ui.hotdata uv run marimo edit examples/demo.py --no-token ``` -The demo combines workspace selection, schema browsing, managed databases, query history, and a native SQL cell in a single tabbed interface. +The demo combines workspace selection, schema browsing, instant databases, query history, and a native SQL cell in a single tabbed interface. ## Development diff --git a/examples/demo.py b/examples/demo.py index bb5b457..d14e072 100644 --- a/examples/demo.py +++ b/examples/demo.py @@ -46,7 +46,7 @@ def _(hm, workspace): def _(mo): mo.md(r""" ## HotData explorer - Use the tabs below to switch between workspaces, connections, managed databases, + Use the tabs below to switch between workspaces, connections, instant databases, recent results, and run history. On a shared or networked host, run Marimo **without** `--no-token` and open the printed URL diff --git a/hotdata_marimo/databases.py b/hotdata_marimo/databases.py index 827f6d9..a6eccaa 100644 --- a/hotdata_marimo/databases.py +++ b/hotdata_marimo/databases.py @@ -31,13 +31,13 @@ def _upload_parquet_bytes(client: HotdataClient, contents: bytes) -> str: def databases_panel(client: HotdataClient): - """Table of managed databases in the workspace.""" + """Table of instant databases in the workspace.""" dbs = client.list_managed_databases() if not dbs: return mo.vstack( [ - mo.md("### Managed databases"), - mo.md("_No managed databases yet._"), + mo.md("### Instant databases"), + mo.md("_No instant databases yet._"), mo.md( "Create one below, or with the CLI: " "`hotdata databases create --name --table `." @@ -55,10 +55,10 @@ def databases_panel(client: HotdataClient): ] return mo.vstack( [ - mo.md("### Managed databases"), + mo.md("### Instant databases"), mo.ui.table( rows, - label="Managed databases", + label="Instant databases", pagination=True, page_size=min(10, len(rows)), selection=None, @@ -71,7 +71,7 @@ def databases_panel(client: HotdataClient): class ManagedDatabaseWriter: - """Create managed databases and load parquet files into declared tables. + """Create instant databases and load parquet files into declared tables. Instantiate in one cell and use ``.tab_ui`` in another (see package README). """