zaturn 0.1.7__tar.gz → 0.2.1__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 (57) hide show
  1. zaturn-0.2.1/CHANGELOG.md +17 -0
  2. zaturn-0.2.1/PKG-INFO +129 -0
  3. zaturn-0.2.1/README.md +90 -0
  4. {zaturn-0.1.7 → zaturn-0.2.1}/pyproject.toml +14 -3
  5. {zaturn-0.1.7 → zaturn-0.2.1}/uv.lock +441 -5
  6. zaturn-0.2.1/zaturn/mcp/__init__.py +101 -0
  7. zaturn-0.2.1/zaturn/studio/__init__.py +5 -0
  8. zaturn-0.2.1/zaturn/studio/agent_wrapper.py +131 -0
  9. zaturn-0.2.1/zaturn/studio/app.py +288 -0
  10. zaturn-0.2.1/zaturn/studio/static/fira_code.ttf +0 -0
  11. zaturn-0.2.1/zaturn/studio/static/inter_ital_var.ttf +0 -0
  12. zaturn-0.2.1/zaturn/studio/static/inter_var.ttf +0 -0
  13. zaturn-0.2.1/zaturn/studio/static/js/htmx-multi-swap.js +44 -0
  14. zaturn-0.2.1/zaturn/studio/static/js/htmx.min.js +1 -0
  15. zaturn-0.2.1/zaturn/studio/static/noto_emoji.ttf +0 -0
  16. zaturn-0.2.1/zaturn/studio/storage.py +85 -0
  17. zaturn-0.2.1/zaturn/studio/templates/_shell.html +38 -0
  18. zaturn-0.2.1/zaturn/studio/templates/ai_message.html +4 -0
  19. zaturn-0.2.1/zaturn/studio/templates/c_settings_updated.html +1 -0
  20. zaturn-0.2.1/zaturn/studio/templates/c_source_card.html +19 -0
  21. zaturn-0.2.1/zaturn/studio/templates/chat.html +22 -0
  22. zaturn-0.2.1/zaturn/studio/templates/css/style.css +406 -0
  23. zaturn-0.2.1/zaturn/studio/templates/function_call.html +7 -0
  24. zaturn-0.2.1/zaturn/studio/templates/loader.html +1 -0
  25. zaturn-0.2.1/zaturn/studio/templates/manage_sources.html +45 -0
  26. zaturn-0.2.1/zaturn/studio/templates/nav.html +5 -0
  27. zaturn-0.2.1/zaturn/studio/templates/new_conversation.html +13 -0
  28. zaturn-0.2.1/zaturn/studio/templates/settings.html +29 -0
  29. zaturn-0.2.1/zaturn/studio/templates/setup_prompt.html +6 -0
  30. zaturn-0.2.1/zaturn/studio/templates/user_message.html +4 -0
  31. zaturn-0.2.1/zaturn/tools/__init__.py +13 -0
  32. {zaturn-0.1.7/zaturn → zaturn-0.2.1/zaturn/tools}/config.py +7 -9
  33. zaturn-0.2.1/zaturn/tools/core.py +97 -0
  34. {zaturn-0.1.7/zaturn → zaturn-0.2.1/zaturn/tools}/query_utils.py +64 -2
  35. zaturn-0.2.1/zaturn/tools/visualizations.py +267 -0
  36. zaturn-0.2.1/zaturn.egg-info/PKG-INFO +129 -0
  37. zaturn-0.2.1/zaturn.egg-info/SOURCES.txt +45 -0
  38. zaturn-0.2.1/zaturn.egg-info/entry_points.txt +3 -0
  39. {zaturn-0.1.7 → zaturn-0.2.1}/zaturn.egg-info/requires.txt +10 -0
  40. zaturn-0.1.7/CHANGELOG.md +0 -9
  41. zaturn-0.1.7/PKG-INFO +0 -185
  42. zaturn-0.1.7/README.md +0 -156
  43. zaturn-0.1.7/run_sse_server.py +0 -4
  44. zaturn-0.1.7/zaturn/__init__.py +0 -14
  45. zaturn-0.1.7/zaturn/core.py +0 -140
  46. zaturn-0.1.7/zaturn/visualizations.py +0 -155
  47. zaturn-0.1.7/zaturn.egg-info/PKG-INFO +0 -185
  48. zaturn-0.1.7/zaturn.egg-info/SOURCES.txt +0 -21
  49. zaturn-0.1.7/zaturn.egg-info/entry_points.txt +0 -2
  50. {zaturn-0.1.7 → zaturn-0.2.1}/.gitignore +0 -0
  51. {zaturn-0.1.7 → zaturn-0.2.1}/LICENSE +0 -0
  52. {zaturn-0.1.7 → zaturn-0.2.1}/setup.cfg +0 -0
  53. {zaturn-0.1.7/brand → zaturn-0.2.1/zaturn/studio/static}/logo.png +0 -0
  54. {zaturn-0.1.7/brand → zaturn-0.2.1/zaturn/studio/static}/logo.svg +0 -0
  55. {zaturn-0.1.7/zaturn → zaturn-0.2.1/zaturn/tools}/example_data/all_pokemon_data.csv +0 -0
  56. {zaturn-0.1.7 → zaturn-0.2.1}/zaturn.egg-info/dependency_links.txt +0 -0
  57. {zaturn-0.1.7 → zaturn-0.2.1}/zaturn.egg-info/top_level.txt +0 -0
@@ -0,0 +1,17 @@
1
+ #### v.0.2.1 (2025-07-24)
2
+ - Added Support For Microsoft SQL Server Databases
3
+
4
+ ### v0.2.0 (2025-07-01)
5
+ - The Studio Interface: Now use Zaturn with an inbuilt UI, with your own LLM API.
6
+ - Refactored MCP Code.
7
+ - Removed `show_query_result` tool. Query results will now be returned directly.
8
+
9
+ #### v0.1.7 (2025-05-06)
10
+ - Ensured Read-Only For SQLite and MySQL
11
+
12
+ #### v0.1.6 (2025-04-25)
13
+ - Added Clickhouse Support
14
+
15
+ #### v0.1.5 (2025-04-22)
16
+ - Changed plotting library to plotly instead of seaborn
17
+ - Fixed labeling issues in visualizations
zaturn-0.2.1/PKG-INFO ADDED
@@ -0,0 +1,129 @@
1
+ Metadata-Version: 2.4
2
+ Name: zaturn
3
+ Version: 0.2.1
4
+ Summary: AI Data Analysis MCP & Studio
5
+ Author-email: Karthik Devan <krtdvn@gmail.com>
6
+ Maintainer-email: Karthik Devan <krtdvn@gmail.com>
7
+ Project-URL: Homepage, https://github.com/kdqed/zaturn
8
+ Project-URL: Issues, https://github.com/kdqed/zaturn/issues
9
+ Requires-Python: >=3.11
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: clickhouse-connect>=0.8.17
13
+ Requires-Dist: cryptography>=44.0.2
14
+ Requires-Dist: duckdb>=1.2.1
15
+ Requires-Dist: fastmcp>=0.4.1
16
+ Requires-Dist: flask[async]>=3.1.1
17
+ Requires-Dist: function-schema>=0.4.5
18
+ Requires-Dist: kaleido==0.2.1
19
+ Requires-Dist: mistune>=3.1.3
20
+ Requires-Dist: openai>=1.82.1
21
+ Requires-Dist: openai-agents>=0.0.16
22
+ Requires-Dist: pandas>=2.2.3
23
+ Requires-Dist: pillow>=11.2.1
24
+ Requires-Dist: platformdirs>=4.3.7
25
+ Requires-Dist: plotly[express]>=6.0.1
26
+ Requires-Dist: psycopg2-binary>=2.9.10
27
+ Requires-Dist: pyarrow>=19.0.1
28
+ Requires-Dist: pymssql>=2.3.7
29
+ Requires-Dist: pymysql>=1.1.1
30
+ Requires-Dist: python-lsp-server>=1.12.2
31
+ Requires-Dist: python-slugify>=8.0.4
32
+ Requires-Dist: seaborn>=0.13.2
33
+ Requires-Dist: setuptools>=78.1.0
34
+ Requires-Dist: sqlalchemy>=2.0.40
35
+ Requires-Dist: tabulate>=0.9.0
36
+ Requires-Dist: tomli-w>=1.2.0
37
+ Requires-Dist: werkzeug>=3.1.3
38
+ Dynamic: license-file
39
+
40
+ <h1>
41
+ <img src="https://github.com/kdqed/zaturn/raw/main/zaturn/studio/static/logo.png" width="24" height="24">
42
+ <span>Zaturn: Your Co-Pilot For Data Analytics & Business Insights</span>
43
+ </h1>
44
+
45
+ <a href="https://discord.gg/K8mECeVzpQ">
46
+ <img src="https://zaturn.pro/assets/discord-full.png" height="20" width="133" alt="Discord Logo">
47
+ </a>
48
+
49
+ ## Just Chat With Your Data! No SQL, No Python.
50
+
51
+ Zaturn provides tools that enable AI models to run SQL, so you don't have to. It can be used as an MCP or as a web interface similar to Jupyter Notebook.
52
+
53
+ ## Zaturn in Action
54
+
55
+ https://github.com/user-attachments/assets/d42dc433-e5ec-4b3e-bef0-5cfc097396ab
56
+
57
+ ## Features:
58
+
59
+ ### Multiple Data Sources
60
+
61
+ Zaturn can currently connect to the following data sources:
62
+ - SQL Databases: PostgreSQL, SQLite, DuckDB, MySQL, ClickHouse, SQL Server
63
+ - Files: CSV, Parquet
64
+
65
+ Connectors for more data sources are being added.
66
+
67
+ ### Visualizations
68
+
69
+ In addition to providing tabular and textual summaries, Zaturn can also generate the following image visualizations
70
+
71
+ - Scatter and Line Plots
72
+ - Histograms
73
+ - Strip and Box Plots
74
+ - Bar Plots
75
+
76
+ More visualization capabilities are being added.
77
+
78
+
79
+ ## Installation & Setup
80
+
81
+ See [https://zaturn.pro/install](https://zaturn.pro/install)
82
+
83
+
84
+ ## Roadmap
85
+
86
+ - Support for more data source types
87
+ - More data visualizations
88
+ - Predictive analysis and forecasting, e.g.:
89
+ ```
90
+ Based on the revenue of the last 3 months, forecast next month's revenue.
91
+ ```
92
+ - Generate Presentations & PDFs
93
+ ```
94
+ Manager:
95
+ I need a presentation to show the boss. Can you do it by EOD?
96
+ Analyst:
97
+ EOD?! Are you still in the 2010s?
98
+ I can get it done right now. Actually, you can do it right now.
99
+ You know what? The boss can do it right now.
100
+ ```
101
+ - A native notebook interface
102
+
103
+ ## Help And Feedback
104
+
105
+ [Raise an issue](https://github.com/kdqed/zaturn/issues) or [join the Discord](https://discord.gg/K8mECeVzpQ).
106
+
107
+
108
+ ## Support The Project
109
+
110
+ If you find Zaturn useful, please support this project by:
111
+ - Starring the Project
112
+ - Spreading the word
113
+
114
+ Your support will enable me to dedicate more of my time to Zaturn.
115
+
116
+ ## Example Dataset Credits
117
+
118
+ The [pokemon dataset compiled by Sarah Taha and PokéAPI](https://www.kaggle.com/datasets/sarahtaha/1025-pokemon) has been included under the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license for demonstration purposes.
119
+
120
+ ## Featured on glama.ai
121
+
122
+ <a href="https://glama.ai/mcp/servers/@kdqed/zaturn">
123
+ <img width="380" height="200" src="https://glama.ai/mcp/servers/@kdqed/zaturn/badge" alt="Zaturn MCP server" />
124
+ </a>
125
+
126
+
127
+ ## Star History
128
+
129
+ [![Star History Chart](https://api.star-history.com/svg?repos=kdqed/zaturn&type=Date)](https://www.star-history.com/#kdqed/zaturn&Date)
zaturn-0.2.1/README.md ADDED
@@ -0,0 +1,90 @@
1
+ <h1>
2
+ <img src="https://github.com/kdqed/zaturn/raw/main/zaturn/studio/static/logo.png" width="24" height="24">
3
+ <span>Zaturn: Your Co-Pilot For Data Analytics & Business Insights</span>
4
+ </h1>
5
+
6
+ <a href="https://discord.gg/K8mECeVzpQ">
7
+ <img src="https://zaturn.pro/assets/discord-full.png" height="20" width="133" alt="Discord Logo">
8
+ </a>
9
+
10
+ ## Just Chat With Your Data! No SQL, No Python.
11
+
12
+ Zaturn provides tools that enable AI models to run SQL, so you don't have to. It can be used as an MCP or as a web interface similar to Jupyter Notebook.
13
+
14
+ ## Zaturn in Action
15
+
16
+ https://github.com/user-attachments/assets/d42dc433-e5ec-4b3e-bef0-5cfc097396ab
17
+
18
+ ## Features:
19
+
20
+ ### Multiple Data Sources
21
+
22
+ Zaturn can currently connect to the following data sources:
23
+ - SQL Databases: PostgreSQL, SQLite, DuckDB, MySQL, ClickHouse, SQL Server
24
+ - Files: CSV, Parquet
25
+
26
+ Connectors for more data sources are being added.
27
+
28
+ ### Visualizations
29
+
30
+ In addition to providing tabular and textual summaries, Zaturn can also generate the following image visualizations
31
+
32
+ - Scatter and Line Plots
33
+ - Histograms
34
+ - Strip and Box Plots
35
+ - Bar Plots
36
+
37
+ More visualization capabilities are being added.
38
+
39
+
40
+ ## Installation & Setup
41
+
42
+ See [https://zaturn.pro/install](https://zaturn.pro/install)
43
+
44
+
45
+ ## Roadmap
46
+
47
+ - Support for more data source types
48
+ - More data visualizations
49
+ - Predictive analysis and forecasting, e.g.:
50
+ ```
51
+ Based on the revenue of the last 3 months, forecast next month's revenue.
52
+ ```
53
+ - Generate Presentations & PDFs
54
+ ```
55
+ Manager:
56
+ I need a presentation to show the boss. Can you do it by EOD?
57
+ Analyst:
58
+ EOD?! Are you still in the 2010s?
59
+ I can get it done right now. Actually, you can do it right now.
60
+ You know what? The boss can do it right now.
61
+ ```
62
+ - A native notebook interface
63
+
64
+ ## Help And Feedback
65
+
66
+ [Raise an issue](https://github.com/kdqed/zaturn/issues) or [join the Discord](https://discord.gg/K8mECeVzpQ).
67
+
68
+
69
+ ## Support The Project
70
+
71
+ If you find Zaturn useful, please support this project by:
72
+ - Starring the Project
73
+ - Spreading the word
74
+
75
+ Your support will enable me to dedicate more of my time to Zaturn.
76
+
77
+ ## Example Dataset Credits
78
+
79
+ The [pokemon dataset compiled by Sarah Taha and PokéAPI](https://www.kaggle.com/datasets/sarahtaha/1025-pokemon) has been included under the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license for demonstration purposes.
80
+
81
+ ## Featured on glama.ai
82
+
83
+ <a href="https://glama.ai/mcp/servers/@kdqed/zaturn">
84
+ <img width="380" height="200" src="https://glama.ai/mcp/servers/@kdqed/zaturn/badge" alt="Zaturn MCP server" />
85
+ </a>
86
+
87
+
88
+ ## Star History
89
+
90
+ [![Star History Chart](https://api.star-history.com/svg?repos=kdqed/zaturn&type=Date)](https://www.star-history.com/#kdqed/zaturn&Date)
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "zaturn"
3
- version = "0.1.7"
4
- description = "AI Data Analysis MCP"
3
+ version = "0.2.1"
4
+ description = "AI Data Analysis MCP & Studio"
5
5
  authors = [
6
6
  {name = "Karthik Devan", email = "krtdvn@gmail.com"},
7
7
  ]
@@ -15,22 +15,33 @@ dependencies = [
15
15
  "cryptography>=44.0.2",
16
16
  "duckdb>=1.2.1",
17
17
  "fastmcp>=0.4.1",
18
+ "flask[async]>=3.1.1",
19
+ "function-schema>=0.4.5",
18
20
  "kaleido==0.2.1",
21
+ "mistune>=3.1.3",
22
+ "openai>=1.82.1",
23
+ "openai-agents>=0.0.16",
19
24
  "pandas>=2.2.3",
25
+ "pillow>=11.2.1",
20
26
  "platformdirs>=4.3.7",
21
27
  "plotly[express]>=6.0.1",
22
28
  "psycopg2-binary>=2.9.10",
23
29
  "pyarrow>=19.0.1",
30
+ "pymssql>=2.3.7",
24
31
  "pymysql>=1.1.1",
25
32
  "python-lsp-server>=1.12.2",
33
+ "python-slugify>=8.0.4",
26
34
  "seaborn>=0.13.2",
27
35
  "setuptools>=78.1.0",
28
36
  "sqlalchemy>=2.0.40",
29
37
  "tabulate>=0.9.0",
38
+ "tomli-w>=1.2.0",
39
+ "werkzeug>=3.1.3",
30
40
  ]
31
41
 
32
42
  [project.scripts]
33
- zaturn_mcp = "zaturn:main"
43
+ zaturn_mcp = "zaturn.mcp:main"
44
+ zaturn_studio = "zaturn.studio:main"
34
45
 
35
46
  [project.urls]
36
47
  Homepage = "https://github.com/kdqed/zaturn"