erdscope 0.7.2__tar.gz → 0.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {erdscope-0.7.2/erdscope.egg-info → erdscope-0.8.0}/PKG-INFO +3 -1
- {erdscope-0.7.2 → erdscope-0.8.0}/README.md +2 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/erd.py +1666 -15
- {erdscope-0.7.2 → erdscope-0.8.0/erdscope.egg-info}/PKG-INFO +3 -1
- {erdscope-0.7.2 → erdscope-0.8.0}/erdscope.egg-info/SOURCES.txt +4 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/pyproject.toml +1 -1
- erdscope-0.8.0/tests/test_dbml_input.py +493 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_e2e.py +173 -0
- erdscope-0.8.0/tests/test_emit_mermaid.py +447 -0
- erdscope-0.8.0/tests/test_emit_plantuml.py +488 -0
- erdscope-0.8.0/tests/test_mermaid_input.py +343 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_provider_contract.py +24 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/LICENSE +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/erdscope.egg-info/dependency_links.txt +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/erdscope.egg-info/entry_points.txt +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/erdscope.egg-info/requires.txt +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/erdscope.egg-info/top_level.txt +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/setup.cfg +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_build.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_characterization.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_config_validation.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_db_integration.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_demo.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_diff.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_emit_config.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_emit_dbml.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_emit_digest.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_emit_json.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_erd.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_excel_notes_groups.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_golden_format1.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_groups.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_merge_ir.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_notes.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_pipeline.py +0 -0
- {erdscope-0.7.2 → erdscope-0.8.0}/tests/test_rails_schema.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: erdscope
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: Interactive, self-contained ER-diagram HTML and Excel table definitions from a MySQL, PostgreSQL, or SQLite database and/or application code (Rails / Prisma / Django) — single file, zero required dependencies
|
|
5
5
|
Author: tas6
|
|
6
6
|
License-Expression: MIT
|
|
@@ -198,6 +198,8 @@ explicit CLI argument wins.
|
|
|
198
198
|
| `--diff SNAPSHOT.json` | Compare this run against a saved `--emit-json` snapshot and exit 0/1/2 instead of generating output (CI drift gate) |
|
|
199
199
|
| `--emit-digest FILE.md` | Also write a token-efficient Markdown digest of the schema, with design notes, for LLMs/agents (`-` for stdout; `--digest-verbose` adds nullable/default/sql_type) |
|
|
200
200
|
| `--emit-dbml FILE.dbml` | Also write a minimal DBML export of the schema — tables/columns/indexes/single-column-FK relations/table comments (`-` for stdout; no notes/groups/`TableGroup`) |
|
|
201
|
+
| `--emit-mermaid FILE.mmd` | Also write a Mermaid `erDiagram` export of the schema — tables/columns/PK-FK markers/relationships (`-` for stdout; no notes/groups) |
|
|
202
|
+
| `--emit-plantuml FILE.puml` | Also write a PlantUML entity-relationship export of the schema — tables/columns/PK-FK markers/relationships (`-` for stdout; no notes/groups) |
|
|
201
203
|
| `--only 'user*,order*'` | Generate only matching tables |
|
|
202
204
|
| `--exclude '*_logs'` | Leave matching tables out |
|
|
203
205
|
| `--infer-fk` | Add clearly marked relation guesses from `*_id` columns |
|
|
@@ -164,6 +164,8 @@ explicit CLI argument wins.
|
|
|
164
164
|
| `--diff SNAPSHOT.json` | Compare this run against a saved `--emit-json` snapshot and exit 0/1/2 instead of generating output (CI drift gate) |
|
|
165
165
|
| `--emit-digest FILE.md` | Also write a token-efficient Markdown digest of the schema, with design notes, for LLMs/agents (`-` for stdout; `--digest-verbose` adds nullable/default/sql_type) |
|
|
166
166
|
| `--emit-dbml FILE.dbml` | Also write a minimal DBML export of the schema — tables/columns/indexes/single-column-FK relations/table comments (`-` for stdout; no notes/groups/`TableGroup`) |
|
|
167
|
+
| `--emit-mermaid FILE.mmd` | Also write a Mermaid `erDiagram` export of the schema — tables/columns/PK-FK markers/relationships (`-` for stdout; no notes/groups) |
|
|
168
|
+
| `--emit-plantuml FILE.puml` | Also write a PlantUML entity-relationship export of the schema — tables/columns/PK-FK markers/relationships (`-` for stdout; no notes/groups) |
|
|
167
169
|
| `--only 'user*,order*'` | Generate only matching tables |
|
|
168
170
|
| `--exclude '*_logs'` | Leave matching tables out |
|
|
169
171
|
| `--infer-fk` | Add clearly marked relation guesses from `*_id` columns |
|