You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
-
# ✍️ Data Scribe: AI-Powered Data Documentation
1
+
# ✍️ Schema Scribe: AI-Powered Data Documentation
2
2
3
3
**Tired of writing data documentation? Let AI do it for you.**
4
4
5
-
Data Scribe is a CLI tool that scans your databases and dbt projects, uses AI to generate descriptions, and automatically updates your documentation.
5
+
Schema Scribe is a CLI tool that scans your databases and dbt projects, uses AI to generate descriptions, and automatically updates your documentation.
6
6
7
7
---
8
8
9
9
## ✨ See it in Action
10
10
11
-
Stop manually updating YAML files or writing Markdown tables. Let `data-scribe` do the work in seconds.
11
+
Stop manually updating YAML files or writing Markdown tables. Let `schema-scribe` do the work in seconds.
12
12
13
13
|**Magically update dbt `schema.yml`**|**Instantly generate DB catalogs (w/ ERD)**|
14
14
| :---: | :---: |
15
-
| Run `data-scribe dbt --update` and watch AI fill in your missing descriptions, tags, and tests. | Point `data-scribe db` at a database and get a full Markdown catalog, complete with a Mermaid ERD. |
15
+
| Run `schema-scribe dbt --update` and watch AI fill in your missing descriptions, tags, and tests. | Point `schema-scribe db` at a database and get a full Markdown catalog, complete with a Mermaid ERD. |
*(Note: For specific databases, install optional dependencies: `pip install -e ".[postgres, snowflake]"`)*
33
-
*(Note: To use the web server, also install server dependencies: `pip install "data-scribe[server]"`)*
32
+
*(Note: For specific databases, install optional dependencies: `pip install -e ".[postgres, snowflake]"`)*
33
+
*(Note: To use the web server, also install server dependencies: `pip install "schema-scribe[server]"`)*
34
34
35
35
### 2. Initialize
36
36
37
37
Run the interactive wizard. It will guide you through setting up your database and LLM, automatically creating `config.yaml` and a secure `.env` file for your API keys.
38
38
39
39
```bash
40
-
data-scribe init
40
+
schema-scribe init
41
41
```
42
42
43
43
### 3. Run!
@@ -48,22 +48,22 @@ You're all set.
48
48
(Make sure `dbt compile` has been run to create `manifest.json`)
(Assuming you created an output profile named `my_markdown` during `init`)
65
65
```bash
66
-
data-scribe db --output my_markdown
66
+
schema-scribe db --output my_markdown
67
67
```
68
68
69
69
---
@@ -96,19 +96,19 @@ data-scribe db --output my_markdown
96
96
97
97
## Command Reference
98
98
99
-
### `data-scribe init`
99
+
### `schema-scribe init`
100
100
101
101
Runs the interactive wizard to create `config.yaml` and `.env` files. This is the recommended first step.
102
102
103
-
### `data-scribe db`
103
+
### `schema-scribe db`
104
104
105
105
Scans a live database and generates a catalog.
106
106
107
107
-`--db TEXT`: (Optional) The database profile from `config.yaml` to use. Overrides default.
108
108
-`--llm TEXT`: (Optional) The LLM profile from `config.yaml` to use. Overrides default.
109
109
-`--output TEXT`: (Required) The output profile from `config.yaml` to use.
110
110
111
-
### `data-scribe dbt`
111
+
### `schema-scribe dbt`
112
112
113
113
Scans a dbt project's `manifest.json` file.
114
114
@@ -122,15 +122,15 @@ Scans a dbt project's `manifest.json` file.
122
122
123
123
**Note:**`--update`, `--check`, `--interactive`, and `--drift` flags are mutually exclusive. Choose only one.
124
124
125
-
### `data-scribe lineage`
125
+
### `schema-scribe lineage`
126
126
127
127
Generates a global, end-to-end lineage graph for a dbt project.
128
128
129
129
-`--project-dir TEXT`: **(Required)** Path to the dbt project directory.
130
130
-`--db TEXT`: **(Required)** The database profile to scan for physical Foreign Keys.
131
131
-`--output TEXT`: **(Required)** The output profile (must be type 'mermaid') to write the `.md` file to.
132
132
133
-
### `data-scribe serve`
133
+
### `schema-scribe serve`
134
134
135
135
Launches the FastAPI web server.
136
136
@@ -141,12 +141,12 @@ Launches the FastAPI web server.
141
141
142
142
## 🚀 Web API Server
143
143
144
-
Data Scribe includes a built-in FastAPI web server that exposes the core workflows via a REST API. This is perfect for programmatic integration or for building a custom web UI.
144
+
Schema Scribe includes a built-in FastAPI web server that exposes the core workflows via a REST API. This is perfect for programmatic integration or for building a custom web UI.
145
145
146
146
**1. Launch the server:**
147
-
(Make sure you have installed the server dependencies: `pip install "data-scribe[server]"`)
147
+
(Make sure you have installed the server dependencies: `pip install "schema-scribe[server]"`)
148
148
```bash
149
-
data-scribe serve --host 0.0.0.0 --port 8000
149
+
schema-scribe serve --host 0.0.0.0 --port 8000
150
150
```
151
151
152
152
**2. Explore the API:**
@@ -180,12 +180,12 @@ If the documentation is outdated, the API will return a `409 Conflict` status co
180
180
181
181
Adding a new database, LLM, or writer is easy:
182
182
183
-
1. Create a new class in the appropriate directory (e.g., `data_scribe/components/db_connectors`).
183
+
1. Create a new class in the appropriate directory (e.g., `schema_scribe/components/db_connectors`).
184
184
2. Implement the base interface (e.g., `BaseConnector`).
185
-
3. Register your new class in `data_scribe/core/factory.py`.
185
+
3. Register your new class in `schema_scribe/core/factory.py`.
186
186
187
187
The `init` command and core logic will automatically pick up your new component.
188
188
189
189
## 🤝 Contributing
190
190
191
-
Contributions are welcome! Please feel free to open an issue or submit a pull request.
191
+
Contributions are welcome! Please feel free to open an issue or submit a pull request.
0 commit comments