erdscope 0.7.1__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.
Files changed (36) hide show
  1. {erdscope-0.7.1/erdscope.egg-info → erdscope-0.8.0}/PKG-INFO +5 -2
  2. {erdscope-0.7.1 → erdscope-0.8.0}/README.md +4 -1
  3. {erdscope-0.7.1 → erdscope-0.8.0}/erd.py +2049 -27
  4. {erdscope-0.7.1 → erdscope-0.8.0/erdscope.egg-info}/PKG-INFO +5 -2
  5. {erdscope-0.7.1 → erdscope-0.8.0}/erdscope.egg-info/SOURCES.txt +6 -0
  6. {erdscope-0.7.1 → erdscope-0.8.0}/pyproject.toml +1 -1
  7. erdscope-0.8.0/tests/test_dbml_input.py +493 -0
  8. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_e2e.py +173 -0
  9. erdscope-0.8.0/tests/test_emit_dbml.py +540 -0
  10. erdscope-0.8.0/tests/test_emit_mermaid.py +447 -0
  11. erdscope-0.8.0/tests/test_emit_plantuml.py +488 -0
  12. erdscope-0.8.0/tests/test_excel_notes_groups.py +182 -0
  13. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_groups.py +21 -3
  14. erdscope-0.8.0/tests/test_mermaid_input.py +343 -0
  15. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_notes.py +18 -2
  16. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_provider_contract.py +24 -0
  17. {erdscope-0.7.1 → erdscope-0.8.0}/LICENSE +0 -0
  18. {erdscope-0.7.1 → erdscope-0.8.0}/erdscope.egg-info/dependency_links.txt +0 -0
  19. {erdscope-0.7.1 → erdscope-0.8.0}/erdscope.egg-info/entry_points.txt +0 -0
  20. {erdscope-0.7.1 → erdscope-0.8.0}/erdscope.egg-info/requires.txt +0 -0
  21. {erdscope-0.7.1 → erdscope-0.8.0}/erdscope.egg-info/top_level.txt +0 -0
  22. {erdscope-0.7.1 → erdscope-0.8.0}/setup.cfg +0 -0
  23. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_build.py +0 -0
  24. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_characterization.py +0 -0
  25. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_config_validation.py +0 -0
  26. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_db_integration.py +0 -0
  27. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_demo.py +0 -0
  28. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_diff.py +0 -0
  29. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_emit_config.py +0 -0
  30. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_emit_digest.py +0 -0
  31. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_emit_json.py +0 -0
  32. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_erd.py +0 -0
  33. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_golden_format1.py +0 -0
  34. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_merge_ir.py +0 -0
  35. {erdscope-0.7.1 → erdscope-0.8.0}/tests/test_pipeline.py +0 -0
  36. {erdscope-0.7.1 → 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.7.1
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
@@ -192,11 +192,14 @@ explicit CLI argument wins.
192
192
  |---|---|
193
193
  | `--config PATH` | Load model sources, defaults, schema definitions or patches, notes, and groups |
194
194
  | `--models PATH` | Override config `models` with Rails, Prisma, or Django input; repeatable |
195
- | `--excel FILE.xlsx` | Also generate a table-definition workbook |
195
+ | `--excel FILE.xlsx` | Also generate a table-definition workbook (includes Notes/Groups sheets when configured) |
196
196
  | `--emit-json FILE.json` | Also write a canonical JSON schema snapshot with a content fingerprint (`-` for stdout) |
197
197
  | `--emit-config FILE.yml\|.json` | Also write the schema as a config-authoring file, re-importable via `--config` (`-` for stdout, always JSON) |
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
+ | `--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) |
200
203
  | `--only 'user*,order*'` | Generate only matching tables |
201
204
  | `--exclude '*_logs'` | Leave matching tables out |
202
205
  | `--infer-fk` | Add clearly marked relation guesses from `*_id` columns |
@@ -158,11 +158,14 @@ explicit CLI argument wins.
158
158
  |---|---|
159
159
  | `--config PATH` | Load model sources, defaults, schema definitions or patches, notes, and groups |
160
160
  | `--models PATH` | Override config `models` with Rails, Prisma, or Django input; repeatable |
161
- | `--excel FILE.xlsx` | Also generate a table-definition workbook |
161
+ | `--excel FILE.xlsx` | Also generate a table-definition workbook (includes Notes/Groups sheets when configured) |
162
162
  | `--emit-json FILE.json` | Also write a canonical JSON schema snapshot with a content fingerprint (`-` for stdout) |
163
163
  | `--emit-config FILE.yml\|.json` | Also write the schema as a config-authoring file, re-importable via `--config` (`-` for stdout, always JSON) |
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
+ | `--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) |
166
169
  | `--only 'user*,order*'` | Generate only matching tables |
167
170
  | `--exclude '*_logs'` | Leave matching tables out |
168
171
  | `--infer-fk` | Add clearly marked relation guesses from `*_id` columns |