zaturn 0.1.0__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
- zaturn/config.py +8 -3
- zaturn/example_data/all_pokemon_data.csv +1185 -0
- {zaturn-0.1.0.dist-info → zaturn-0.1.2.dist-info}/METADATA +22 -18
- zaturn-0.1.2.dist-info/RECORD +12 -0
- zaturn-0.1.0.dist-info/RECORD +0 -11
- {zaturn-0.1.0.dist-info → zaturn-0.1.2.dist-info}/WHEEL +0 -0
- {zaturn-0.1.0.dist-info → zaturn-0.1.2.dist-info}/entry_points.txt +0 -0
- {zaturn-0.1.0.dist-info → zaturn-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {zaturn-0.1.0.dist-info → zaturn-0.1.2.dist-info}/top_level.txt +0 -0
@@ -1,11 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: zaturn
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: AI Data Analysis MCP
|
5
5
|
Author-email: Karthik Devan <krtdvn@gmail.com>
|
6
6
|
Maintainer-email: Karthik Devan <krtdvn@gmail.com>
|
7
7
|
Project-URL: Homepage, https://github.com/kdqed/zaturn
|
8
|
-
Project-URL: Changelog, https://github.com/kdqed/zaturn/releases
|
9
8
|
Project-URL: Issues, https://github.com/kdqed/zaturn/issues
|
10
9
|
Project-URL: CI, https://github.com/kdqed/zaturn/actions
|
11
10
|
Requires-Python: >=3.11
|
@@ -21,12 +20,13 @@ Requires-Dist: pyarrow>=19.0.1
|
|
21
20
|
Requires-Dist: pymysql>=1.1.1
|
22
21
|
Requires-Dist: python-lsp-server>=1.12.2
|
23
22
|
Requires-Dist: seaborn>=0.13.2
|
23
|
+
Requires-Dist: setuptools>=78.1.0
|
24
24
|
Requires-Dist: sqlalchemy>=2.0.40
|
25
25
|
Requires-Dist: tabulate>=0.9.0
|
26
26
|
Dynamic: license-file
|
27
27
|
|
28
28
|
<p align="center">
|
29
|
-
<img src="brand/logo.png" width="128" height="128">
|
29
|
+
<img src="https://github.com/kdqed/zaturn/raw/main/brand/logo.png" width="128" height="128">
|
30
30
|
</p>
|
31
31
|
|
32
32
|
# Zaturn: Your Co-Pilot For Data Analytics & BI
|
@@ -68,23 +68,19 @@ Using an MCP like Zaturn will keep your data where it is, and enable AI to draft
|
|
68
68
|
## Installation & Setup
|
69
69
|
1. Install [uv](https://docs.astral.sh/uv/getting-started/installation/#installation-methods)
|
70
70
|
|
71
|
-
2.
|
71
|
+
2. Install [Zaturn](https://pypi.org/project/zaturn/) with uv:
|
72
72
|
```bash
|
73
|
-
|
73
|
+
uv tool install zaturn
|
74
74
|
```
|
75
75
|
|
76
76
|
3. Add to MCP config, with data sources:
|
77
77
|
```json
|
78
78
|
"mcpServers": {
|
79
79
|
"zaturn": {
|
80
|
-
"command": "
|
80
|
+
"command": "zaturn_mcp",
|
81
81
|
"args": [
|
82
|
-
"run",
|
83
|
-
"--directory",
|
84
|
-
"/path/to/downloaded/folder",
|
85
|
-
"mcp_server.py",
|
86
|
-
"mysql+pymysql://username:password@host:3306/dbname",
|
87
82
|
"postgresql://username:password@host:port/dbname",
|
83
|
+
"mysql+pymysql://username:password@host:3306/dbname",
|
88
84
|
"sqlite:////full/path/to/sample_dbs/northwind.db",
|
89
85
|
"/full/path/to/sample_dbs/titanic.parquet",
|
90
86
|
"/full/path/to/sample_dbs/ny_aq.csv",
|
@@ -94,10 +90,22 @@ $ git clone https://github.com/kdqed/zaturn.git
|
|
94
90
|
}
|
95
91
|
```
|
96
92
|
|
97
|
-
|
93
|
+
OR add a `sources.txt` to the Zaturn config directory:
|
94
|
+
```
|
95
|
+
postgresql://username:password@host:port/dbname
|
96
|
+
mysql+pymysql://username:password@host:3306/dbname
|
97
|
+
sqlite:////full/path/to/sample_dbs/northwind.db
|
98
|
+
/full/path/to/sample_dbs/titanic.parquet
|
99
|
+
/full/path/to/sample_dbs/ny_aq.csv
|
100
|
+
/full/path/to/sample_dbs/duckdb_sample.duckdb
|
101
|
+
```
|
102
|
+
|
103
|
+
This file needs to be at `~/.config/zaturn/sources.txt` on Linux/MacOS and at `%APPDATA%\zaturn\sources.txt` on Windows.
|
104
|
+
|
105
|
+
If your MCP client does not support image rendering, add the `--noimg` argument:
|
98
106
|
```json
|
99
107
|
...
|
100
|
-
|
108
|
+
"args": [
|
101
109
|
"--noimg",
|
102
110
|
"mysql+pymysql://username:password@host:3306/dbname",
|
103
111
|
...
|
@@ -113,10 +121,6 @@ You are a helpful data analysis assistant. Use only the tool provided data sourc
|
|
113
121
|
```
|
114
122
|
User: List the top 5 customers by revenue for Northwind
|
115
123
|
AI:
|
116
|
-
[04/08/25 15:16:47] INFO Processing request of type ListToolsRequest server.py:534
|
117
|
-
[04/08/25 15:16:51] INFO Processing request of type CallToolRequest server.py:534
|
118
|
-
[04/08/25 15:16:53] INFO Processing request of type CallToolRequest server.py:534
|
119
|
-
[04/08/25 15:16:55] INFO Processing request of type CallToolRequest server.py:534
|
120
124
|
The top 5 customers by revenue for Northwind are:
|
121
125
|
|
122
126
|
1. B's Beverages with a revenue of $6,154,115.34
|
@@ -150,4 +154,4 @@ If you have any specific requirements please feel free to raise an issue.
|
|
150
154
|
|
151
155
|
## Example Dataset Credits
|
152
156
|
|
153
|
-
|
157
|
+
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.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
zaturn/__init__.py,sha256=v4t5fkRuIJFE-SBxCa5pBjZv0EoC0eWK75nU9iaa7Rg,267
|
2
|
+
zaturn/config.py,sha256=gF5M6Agmixw2A4vpWqIF3ICVnClPeASA51dhp1bkk04,3221
|
3
|
+
zaturn/core.py,sha256=sn2oliWVDqhYSAwSe5VbhNamaKAsnlrT3oc6uzffzs4,3267
|
4
|
+
zaturn/query_utils.py,sha256=zyQjcRnPKGHZdf0XHzQeMxHw9vieZIwXhBbVGP87ml4,2801
|
5
|
+
zaturn/visualizations.py,sha256=Dj08msgZ_DIMEVvJIlybT3cIA3GNkcXVOa9TJsHK2yo,4551
|
6
|
+
zaturn/example_data/all_pokemon_data.csv,sha256=SUlGHHWbehuLg-ch1YUrQ6-xBtqHGw6rIkyn70fAgCk,130893
|
7
|
+
zaturn-0.1.2.dist-info/licenses/LICENSE,sha256=mZSuFlbEBZGl0-8ULRMLdRDbhau5hrWRNQOjytYeaug,1070
|
8
|
+
zaturn-0.1.2.dist-info/METADATA,sha256=fyeW0ljonWfL4krOO9Wfm_4etUXRRcl47JeZ_KphRI4,5731
|
9
|
+
zaturn-0.1.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
10
|
+
zaturn-0.1.2.dist-info/entry_points.txt,sha256=N1UZC2zvod92_Brs4A2xZiAnt-iGLBNryglXfwhxfj4,43
|
11
|
+
zaturn-0.1.2.dist-info/top_level.txt,sha256=KLUnwQwVZkfd5YCnnqR35MOOs8KLhanPGelvmRo2MVA,7
|
12
|
+
zaturn-0.1.2.dist-info/RECORD,,
|
zaturn-0.1.0.dist-info/RECORD
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
zaturn/__init__.py,sha256=v4t5fkRuIJFE-SBxCa5pBjZv0EoC0eWK75nU9iaa7Rg,267
|
2
|
-
zaturn/config.py,sha256=t11_sJxTsliTGpImveqmgjXWTDeijK8VMqqTPygEY7E,3154
|
3
|
-
zaturn/core.py,sha256=sn2oliWVDqhYSAwSe5VbhNamaKAsnlrT3oc6uzffzs4,3267
|
4
|
-
zaturn/query_utils.py,sha256=zyQjcRnPKGHZdf0XHzQeMxHw9vieZIwXhBbVGP87ml4,2801
|
5
|
-
zaturn/visualizations.py,sha256=Dj08msgZ_DIMEVvJIlybT3cIA3GNkcXVOa9TJsHK2yo,4551
|
6
|
-
zaturn-0.1.0.dist-info/licenses/LICENSE,sha256=mZSuFlbEBZGl0-8ULRMLdRDbhau5hrWRNQOjytYeaug,1070
|
7
|
-
zaturn-0.1.0.dist-info/METADATA,sha256=_NI82YYMcGMc1Jz2OH6XmGwsoLUVpPB5zxvu0d1mCjM,5831
|
8
|
-
zaturn-0.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
9
|
-
zaturn-0.1.0.dist-info/entry_points.txt,sha256=N1UZC2zvod92_Brs4A2xZiAnt-iGLBNryglXfwhxfj4,43
|
10
|
-
zaturn-0.1.0.dist-info/top_level.txt,sha256=KLUnwQwVZkfd5YCnnqR35MOOs8KLhanPGelvmRo2MVA,7
|
11
|
-
zaturn-0.1.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|