sql-dag-flow 0.3.0__tar.gz → 0.4.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 (22) hide show
  1. {sql_dag_flow-0.3.0/src/sql_dag_flow.egg-info → sql_dag_flow-0.4.0}/PKG-INFO +22 -12
  2. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/README.md +21 -11
  3. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/pyproject.toml +1 -1
  4. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0/src/sql_dag_flow.egg-info}/PKG-INFO +22 -12
  5. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/LICENSE +0 -0
  6. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/MANIFEST.in +0 -0
  7. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/setup.cfg +0 -0
  8. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/__init__.py +0 -0
  9. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/main.py +0 -0
  10. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/parser.py +0 -0
  11. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/static/assets/index-B6fMDnZ3.js +0 -0
  12. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/static/assets/index-h7gxR8yA.css +0 -0
  13. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/static/index.html +0 -0
  14. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/static/vite.svg +0 -0
  15. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/test_api_endpoints.py +0 -0
  16. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/test_parser.py +0 -0
  17. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow/verify_counts.py +0 -0
  18. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow.egg-info/SOURCES.txt +0 -0
  19. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow.egg-info/dependency_links.txt +0 -0
  20. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow.egg-info/entry_points.txt +0 -0
  21. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow.egg-info/requires.txt +0 -0
  22. {sql_dag_flow-0.3.0 → sql_dag_flow-0.4.0}/src/sql_dag_flow.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sql-dag-flow
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: A sophisticated SQL lineage visualization tool for Medallion Architectures.
5
5
  Author-email: Flavio Sandoval <dsandovalflavio@gmail.com>
6
6
  License: MIT
@@ -83,16 +83,26 @@ Specially optimized for the **Medallion Architecture** (Bronze, Silver, Gold) an
83
83
  * **Transparent & Borderless**:Create clean, floating text labels without boxes.
84
84
  * **Groups**: Create visual containers to group related nodes.
85
85
 
86
- ### 📊 Discovery & Analysis Tools (New ✨)
86
+ ### 📊 Discovery & Analysis Tools
87
87
  * **Business Rule Extraction**: Automatically detects and displays WHERE filters, CASE logic, HAVING clauses, and aggregations from each SQL model.
88
88
  * **Complexity Scoring**: Weighted metric per node (JOINs×3, CTEs×2, Subqueries×3, Filters×1, CASE×2, Aggregations×1, UNIONs×2) with color-coded badges (🟢 Low, 🟡 Medium, 🟠 High, 🔴 Very High). Toggleable via ⚡ button.
89
89
  * **Statistics Panel**: Centered popup with layer distribution bars, edge/source/sink/orphan counts, project/dataset tree, and architecture health validation.
90
90
  * **Schema Preview**: Extracts columns from DDL, CTAS (`CREATE TABLE AS SELECT`), and `CREATE VIEW` statements.
91
91
 
92
+ ### 🎨 Linear-Inspired UI (New in v0.4.0 ✨)
93
+ * **Design Token System**: ~80 CSS custom properties for consistent theming across all components.
94
+ * **Premium Dark Theme**: Deep `#0d0d0d` canvas with warm white text (`#e8e8e6`), never pure white.
95
+ * **Refined Light Theme**: Warm off-white `#f7f6f3` backgrounds — never harsh pure white.
96
+ * **Glassmorphism Toolbars**: `backdrop-filter: blur(16px)` on all floating panels.
97
+ * **Violet-Indigo Accent**: Premium `#7c6aef` accent color replacing generic blues/greens.
98
+ * **Smooth Animations**: `fadeIn` and `slideUp` micro-animations on popovers and modals.
99
+ * **Custom Scrollbars**: Subtle, styled scrollbars matching the theme.
100
+ * **Focus Rings**: Accessible focus indicators using the accent color.
101
+
92
102
  ### ⚙️ Customization
93
103
  * **Premium UI**:
94
104
  * **Themes**: Toggle between Light and Dark modes.
95
- * **Palettes**: Choose from Standard, Vivid, or Pastel color schemes to match your presentation style.
105
+ * **Palettes**: Choose from **Standard**, **Vivid**, **Pastel**, or **Linear** (new muted, LCH-inspired tones) color schemes.
96
106
  * **Styles**: Switch between "Full" (colored body) and "Minimal" (colored border) node styles.
97
107
  * **Export**: Save high-resolution **PNG** or vector **SVG** diagrams for documentation.
98
108
 
@@ -102,14 +112,14 @@ Specially optimized for the **Medallion Architecture** (Bronze, Silver, Gold) an
102
112
 
103
113
  SQL DAG Flow uses distinct colors to identify node types. You can switch between these palettes in the Settings.
104
114
 
105
- | Node Type | Layer / Meaning | Standard | Vivid | Pastel |
106
- | :--- | :--- | :--- | :--- | :--- |
107
- | **Bronze** | Raw Ingestion | 🟤 Brown (`#8B4513`) | 🟠 Orange (`#FF5722`) | 🟤 Pale Brown (`#D7CCC8`) |
108
- | **Silver** | Cleaned / Conformed | ⚪ Gray (`#708090`) | 🔵 Blue (`#29B6F6`) | ⚪ Blue Grey (`#CFD8DC`) |
109
- | **Gold** | Business Aggregates | 🟡 Gold (`#DAA520`) | 🟡 Yellow (`#FFEB3B`) | 🟡 Pale Yellow (`#FFF9C4`) |
110
- | **External** | Missing / Ghost Node | 🟠 Dark Orange (`#D35400`) | 🟠 Neon Orange (`#FF9800`) | 🟠 Peach (`#FFE0B2`) |
111
- | **CTE** | Internal Common Table Expression | 💖 Pink (`#E91E63`) | 💗 Deep Pink (`#F50057`) | 🌸 Light Pink (`#F8BBD0`) |
112
- | **Other** | Uncategorized | 🔵 Teal (`#4CA1AF`) | 💠 Cyan (`#00BCD4`) | 🧊 Pale Cyan (`#B2EBF2`) |
115
+ | Node Type | Layer / Meaning | Standard | Vivid | Pastel | Linear |
116
+ | :--- | :--- | :--- | :--- | :--- | :--- |
117
+ | **Bronze** | Raw Ingestion | 🟤 Brown (`#8B4513`) | 🟠 Orange (`#FF5722`) | 🟤 Pale Brown (`#D7CCC8`) | 🟤 Muted (`#B08968`) |
118
+ | **Silver** | Cleaned / Conformed | ⚪ Gray (`#708090`) | 🔵 Blue (`#29B6F6`) | ⚪ Blue Grey (`#CFD8DC`) | ⚪ Slate (`#8E99A4`) |
119
+ | **Gold** | Business Aggregates | 🟡 Gold (`#DAA520`) | 🟡 Yellow (`#FFEB3B`) | 🟡 Pale Yellow (`#FFF9C4`) | 🟡 Warm (`#D4A843`) |
120
+ | **External** | Missing / Ghost Node | 🟠 Dark Orange (`#D35400`) | 🟠 Neon Orange (`#FF9800`) | 🟠 Peach (`#FFE0B2`) | 🟠 Sand (`#CC8B5E`) |
121
+ | **CTE** | Internal Common Table Expression | 💖 Pink (`#E91E63`) | 💗 Deep Pink (`#F50057`) | 🌸 Light Pink (`#F8BBD0`) | 💜 Mauve (`#C77092`) |
122
+ | **Other** | Uncategorized | 🔵 Teal (`#4CA1AF`) | 💠 Cyan (`#00BCD4`) | 🧊 Pale Cyan (`#B2EBF2`) | 🔵 Ocean (`#6B9DAD`) |
113
123
 
114
124
  ---
115
125
 
@@ -121,7 +131,7 @@ Install easily via `pip`:
121
131
  pip install sql-dag-flow
122
132
  ```
123
133
 
124
- To update to the latest version (**v0.3.0**):
134
+ To update to the latest version (**v0.4.0**):
125
135
 
126
136
  ```bash
127
137
  pip install --upgrade sql-dag-flow
@@ -58,16 +58,26 @@ Specially optimized for the **Medallion Architecture** (Bronze, Silver, Gold) an
58
58
  * **Transparent & Borderless**:Create clean, floating text labels without boxes.
59
59
  * **Groups**: Create visual containers to group related nodes.
60
60
 
61
- ### 📊 Discovery & Analysis Tools (New ✨)
61
+ ### 📊 Discovery & Analysis Tools
62
62
  * **Business Rule Extraction**: Automatically detects and displays WHERE filters, CASE logic, HAVING clauses, and aggregations from each SQL model.
63
63
  * **Complexity Scoring**: Weighted metric per node (JOINs×3, CTEs×2, Subqueries×3, Filters×1, CASE×2, Aggregations×1, UNIONs×2) with color-coded badges (🟢 Low, 🟡 Medium, 🟠 High, 🔴 Very High). Toggleable via ⚡ button.
64
64
  * **Statistics Panel**: Centered popup with layer distribution bars, edge/source/sink/orphan counts, project/dataset tree, and architecture health validation.
65
65
  * **Schema Preview**: Extracts columns from DDL, CTAS (`CREATE TABLE AS SELECT`), and `CREATE VIEW` statements.
66
66
 
67
+ ### 🎨 Linear-Inspired UI (New in v0.4.0 ✨)
68
+ * **Design Token System**: ~80 CSS custom properties for consistent theming across all components.
69
+ * **Premium Dark Theme**: Deep `#0d0d0d` canvas with warm white text (`#e8e8e6`), never pure white.
70
+ * **Refined Light Theme**: Warm off-white `#f7f6f3` backgrounds — never harsh pure white.
71
+ * **Glassmorphism Toolbars**: `backdrop-filter: blur(16px)` on all floating panels.
72
+ * **Violet-Indigo Accent**: Premium `#7c6aef` accent color replacing generic blues/greens.
73
+ * **Smooth Animations**: `fadeIn` and `slideUp` micro-animations on popovers and modals.
74
+ * **Custom Scrollbars**: Subtle, styled scrollbars matching the theme.
75
+ * **Focus Rings**: Accessible focus indicators using the accent color.
76
+
67
77
  ### ⚙️ Customization
68
78
  * **Premium UI**:
69
79
  * **Themes**: Toggle between Light and Dark modes.
70
- * **Palettes**: Choose from Standard, Vivid, or Pastel color schemes to match your presentation style.
80
+ * **Palettes**: Choose from **Standard**, **Vivid**, **Pastel**, or **Linear** (new muted, LCH-inspired tones) color schemes.
71
81
  * **Styles**: Switch between "Full" (colored body) and "Minimal" (colored border) node styles.
72
82
  * **Export**: Save high-resolution **PNG** or vector **SVG** diagrams for documentation.
73
83
 
@@ -77,14 +87,14 @@ Specially optimized for the **Medallion Architecture** (Bronze, Silver, Gold) an
77
87
 
78
88
  SQL DAG Flow uses distinct colors to identify node types. You can switch between these palettes in the Settings.
79
89
 
80
- | Node Type | Layer / Meaning | Standard | Vivid | Pastel |
81
- | :--- | :--- | :--- | :--- | :--- |
82
- | **Bronze** | Raw Ingestion | 🟤 Brown (`#8B4513`) | 🟠 Orange (`#FF5722`) | 🟤 Pale Brown (`#D7CCC8`) |
83
- | **Silver** | Cleaned / Conformed | ⚪ Gray (`#708090`) | 🔵 Blue (`#29B6F6`) | ⚪ Blue Grey (`#CFD8DC`) |
84
- | **Gold** | Business Aggregates | 🟡 Gold (`#DAA520`) | 🟡 Yellow (`#FFEB3B`) | 🟡 Pale Yellow (`#FFF9C4`) |
85
- | **External** | Missing / Ghost Node | 🟠 Dark Orange (`#D35400`) | 🟠 Neon Orange (`#FF9800`) | 🟠 Peach (`#FFE0B2`) |
86
- | **CTE** | Internal Common Table Expression | 💖 Pink (`#E91E63`) | 💗 Deep Pink (`#F50057`) | 🌸 Light Pink (`#F8BBD0`) |
87
- | **Other** | Uncategorized | 🔵 Teal (`#4CA1AF`) | 💠 Cyan (`#00BCD4`) | 🧊 Pale Cyan (`#B2EBF2`) |
90
+ | Node Type | Layer / Meaning | Standard | Vivid | Pastel | Linear |
91
+ | :--- | :--- | :--- | :--- | :--- | :--- |
92
+ | **Bronze** | Raw Ingestion | 🟤 Brown (`#8B4513`) | 🟠 Orange (`#FF5722`) | 🟤 Pale Brown (`#D7CCC8`) | 🟤 Muted (`#B08968`) |
93
+ | **Silver** | Cleaned / Conformed | ⚪ Gray (`#708090`) | 🔵 Blue (`#29B6F6`) | ⚪ Blue Grey (`#CFD8DC`) | ⚪ Slate (`#8E99A4`) |
94
+ | **Gold** | Business Aggregates | 🟡 Gold (`#DAA520`) | 🟡 Yellow (`#FFEB3B`) | 🟡 Pale Yellow (`#FFF9C4`) | 🟡 Warm (`#D4A843`) |
95
+ | **External** | Missing / Ghost Node | 🟠 Dark Orange (`#D35400`) | 🟠 Neon Orange (`#FF9800`) | 🟠 Peach (`#FFE0B2`) | 🟠 Sand (`#CC8B5E`) |
96
+ | **CTE** | Internal Common Table Expression | 💖 Pink (`#E91E63`) | 💗 Deep Pink (`#F50057`) | 🌸 Light Pink (`#F8BBD0`) | 💜 Mauve (`#C77092`) |
97
+ | **Other** | Uncategorized | 🔵 Teal (`#4CA1AF`) | 💠 Cyan (`#00BCD4`) | 🧊 Pale Cyan (`#B2EBF2`) | 🔵 Ocean (`#6B9DAD`) |
88
98
 
89
99
  ---
90
100
 
@@ -96,7 +106,7 @@ Install easily via `pip`:
96
106
  pip install sql-dag-flow
97
107
  ```
98
108
 
99
- To update to the latest version (**v0.3.0**):
109
+ To update to the latest version (**v0.4.0**):
100
110
 
101
111
  ```bash
102
112
  pip install --upgrade sql-dag-flow
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sql-dag-flow"
7
- version = "0.3.0"
7
+ version = "0.4.0"
8
8
  description = "A sophisticated SQL lineage visualization tool for Medallion Architectures."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sql-dag-flow
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: A sophisticated SQL lineage visualization tool for Medallion Architectures.
5
5
  Author-email: Flavio Sandoval <dsandovalflavio@gmail.com>
6
6
  License: MIT
@@ -83,16 +83,26 @@ Specially optimized for the **Medallion Architecture** (Bronze, Silver, Gold) an
83
83
  * **Transparent & Borderless**:Create clean, floating text labels without boxes.
84
84
  * **Groups**: Create visual containers to group related nodes.
85
85
 
86
- ### 📊 Discovery & Analysis Tools (New ✨)
86
+ ### 📊 Discovery & Analysis Tools
87
87
  * **Business Rule Extraction**: Automatically detects and displays WHERE filters, CASE logic, HAVING clauses, and aggregations from each SQL model.
88
88
  * **Complexity Scoring**: Weighted metric per node (JOINs×3, CTEs×2, Subqueries×3, Filters×1, CASE×2, Aggregations×1, UNIONs×2) with color-coded badges (🟢 Low, 🟡 Medium, 🟠 High, 🔴 Very High). Toggleable via ⚡ button.
89
89
  * **Statistics Panel**: Centered popup with layer distribution bars, edge/source/sink/orphan counts, project/dataset tree, and architecture health validation.
90
90
  * **Schema Preview**: Extracts columns from DDL, CTAS (`CREATE TABLE AS SELECT`), and `CREATE VIEW` statements.
91
91
 
92
+ ### 🎨 Linear-Inspired UI (New in v0.4.0 ✨)
93
+ * **Design Token System**: ~80 CSS custom properties for consistent theming across all components.
94
+ * **Premium Dark Theme**: Deep `#0d0d0d` canvas with warm white text (`#e8e8e6`), never pure white.
95
+ * **Refined Light Theme**: Warm off-white `#f7f6f3` backgrounds — never harsh pure white.
96
+ * **Glassmorphism Toolbars**: `backdrop-filter: blur(16px)` on all floating panels.
97
+ * **Violet-Indigo Accent**: Premium `#7c6aef` accent color replacing generic blues/greens.
98
+ * **Smooth Animations**: `fadeIn` and `slideUp` micro-animations on popovers and modals.
99
+ * **Custom Scrollbars**: Subtle, styled scrollbars matching the theme.
100
+ * **Focus Rings**: Accessible focus indicators using the accent color.
101
+
92
102
  ### ⚙️ Customization
93
103
  * **Premium UI**:
94
104
  * **Themes**: Toggle between Light and Dark modes.
95
- * **Palettes**: Choose from Standard, Vivid, or Pastel color schemes to match your presentation style.
105
+ * **Palettes**: Choose from **Standard**, **Vivid**, **Pastel**, or **Linear** (new muted, LCH-inspired tones) color schemes.
96
106
  * **Styles**: Switch between "Full" (colored body) and "Minimal" (colored border) node styles.
97
107
  * **Export**: Save high-resolution **PNG** or vector **SVG** diagrams for documentation.
98
108
 
@@ -102,14 +112,14 @@ Specially optimized for the **Medallion Architecture** (Bronze, Silver, Gold) an
102
112
 
103
113
  SQL DAG Flow uses distinct colors to identify node types. You can switch between these palettes in the Settings.
104
114
 
105
- | Node Type | Layer / Meaning | Standard | Vivid | Pastel |
106
- | :--- | :--- | :--- | :--- | :--- |
107
- | **Bronze** | Raw Ingestion | 🟤 Brown (`#8B4513`) | 🟠 Orange (`#FF5722`) | 🟤 Pale Brown (`#D7CCC8`) |
108
- | **Silver** | Cleaned / Conformed | ⚪ Gray (`#708090`) | 🔵 Blue (`#29B6F6`) | ⚪ Blue Grey (`#CFD8DC`) |
109
- | **Gold** | Business Aggregates | 🟡 Gold (`#DAA520`) | 🟡 Yellow (`#FFEB3B`) | 🟡 Pale Yellow (`#FFF9C4`) |
110
- | **External** | Missing / Ghost Node | 🟠 Dark Orange (`#D35400`) | 🟠 Neon Orange (`#FF9800`) | 🟠 Peach (`#FFE0B2`) |
111
- | **CTE** | Internal Common Table Expression | 💖 Pink (`#E91E63`) | 💗 Deep Pink (`#F50057`) | 🌸 Light Pink (`#F8BBD0`) |
112
- | **Other** | Uncategorized | 🔵 Teal (`#4CA1AF`) | 💠 Cyan (`#00BCD4`) | 🧊 Pale Cyan (`#B2EBF2`) |
115
+ | Node Type | Layer / Meaning | Standard | Vivid | Pastel | Linear |
116
+ | :--- | :--- | :--- | :--- | :--- | :--- |
117
+ | **Bronze** | Raw Ingestion | 🟤 Brown (`#8B4513`) | 🟠 Orange (`#FF5722`) | 🟤 Pale Brown (`#D7CCC8`) | 🟤 Muted (`#B08968`) |
118
+ | **Silver** | Cleaned / Conformed | ⚪ Gray (`#708090`) | 🔵 Blue (`#29B6F6`) | ⚪ Blue Grey (`#CFD8DC`) | ⚪ Slate (`#8E99A4`) |
119
+ | **Gold** | Business Aggregates | 🟡 Gold (`#DAA520`) | 🟡 Yellow (`#FFEB3B`) | 🟡 Pale Yellow (`#FFF9C4`) | 🟡 Warm (`#D4A843`) |
120
+ | **External** | Missing / Ghost Node | 🟠 Dark Orange (`#D35400`) | 🟠 Neon Orange (`#FF9800`) | 🟠 Peach (`#FFE0B2`) | 🟠 Sand (`#CC8B5E`) |
121
+ | **CTE** | Internal Common Table Expression | 💖 Pink (`#E91E63`) | 💗 Deep Pink (`#F50057`) | 🌸 Light Pink (`#F8BBD0`) | 💜 Mauve (`#C77092`) |
122
+ | **Other** | Uncategorized | 🔵 Teal (`#4CA1AF`) | 💠 Cyan (`#00BCD4`) | 🧊 Pale Cyan (`#B2EBF2`) | 🔵 Ocean (`#6B9DAD`) |
113
123
 
114
124
  ---
115
125
 
@@ -121,7 +131,7 @@ Install easily via `pip`:
121
131
  pip install sql-dag-flow
122
132
  ```
123
133
 
124
- To update to the latest version (**v0.3.0**):
134
+ To update to the latest version (**v0.4.0**):
125
135
 
126
136
  ```bash
127
137
  pip install --upgrade sql-dag-flow
File without changes
File without changes
File without changes