erdscope 0.7.0__tar.gz → 0.7.2__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 (32) hide show
  1. {erdscope-0.7.0/erdscope.egg-info → erdscope-0.7.2}/PKG-INFO +4 -2
  2. {erdscope-0.7.0 → erdscope-0.7.2}/README.md +3 -1
  3. {erdscope-0.7.0 → erdscope-0.7.2}/erd.py +600 -12
  4. {erdscope-0.7.0 → erdscope-0.7.2/erdscope.egg-info}/PKG-INFO +4 -2
  5. {erdscope-0.7.0 → erdscope-0.7.2}/erdscope.egg-info/SOURCES.txt +3 -0
  6. {erdscope-0.7.0 → erdscope-0.7.2}/pyproject.toml +1 -1
  7. erdscope-0.7.2/tests/test_emit_dbml.py +540 -0
  8. erdscope-0.7.2/tests/test_emit_digest.py +401 -0
  9. erdscope-0.7.2/tests/test_excel_notes_groups.py +182 -0
  10. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_groups.py +21 -3
  11. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_notes.py +18 -2
  12. {erdscope-0.7.0 → erdscope-0.7.2}/LICENSE +0 -0
  13. {erdscope-0.7.0 → erdscope-0.7.2}/erdscope.egg-info/dependency_links.txt +0 -0
  14. {erdscope-0.7.0 → erdscope-0.7.2}/erdscope.egg-info/entry_points.txt +0 -0
  15. {erdscope-0.7.0 → erdscope-0.7.2}/erdscope.egg-info/requires.txt +0 -0
  16. {erdscope-0.7.0 → erdscope-0.7.2}/erdscope.egg-info/top_level.txt +0 -0
  17. {erdscope-0.7.0 → erdscope-0.7.2}/setup.cfg +0 -0
  18. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_build.py +0 -0
  19. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_characterization.py +0 -0
  20. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_config_validation.py +0 -0
  21. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_db_integration.py +0 -0
  22. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_demo.py +0 -0
  23. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_diff.py +0 -0
  24. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_e2e.py +0 -0
  25. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_emit_config.py +0 -0
  26. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_emit_json.py +0 -0
  27. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_erd.py +0 -0
  28. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_golden_format1.py +0 -0
  29. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_merge_ir.py +0 -0
  30. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_pipeline.py +0 -0
  31. {erdscope-0.7.0 → erdscope-0.7.2}/tests/test_provider_contract.py +0 -0
  32. {erdscope-0.7.0 → erdscope-0.7.2}/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.0
3
+ Version: 0.7.2
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,10 +192,12 @@ 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
+ | `--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`) |
199
201
  | `--only 'user*,order*'` | Generate only matching tables |
200
202
  | `--exclude '*_logs'` | Leave matching tables out |
201
203
  | `--infer-fk` | Add clearly marked relation guesses from `*_id` columns |
@@ -158,10 +158,12 @@ 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
+ | `--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`) |
165
167
  | `--only 'user*,order*'` | Generate only matching tables |
166
168
  | `--exclude '*_logs'` | Leave matching tables out |
167
169
  | `--infer-fk` | Add clearly marked relation guesses from `*_id` columns |