groundsql 0.2.1__py3-none-any.whl → 0.2.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.
groundsql/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """groundsql: schema-grounded, read-only Text-to-SQL agent with an MCP server."""
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.2"
4
4
 
5
5
  from .agent import Agent, Answer, format_table # noqa: E402
6
6
  from .db import ( # noqa: E402
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: groundsql
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Schema-grounded, read-only Text-to-SQL agent for SQLite and PostgreSQL: repair loop, layered SQL safety, execution-accuracy evals (incl. Spider), MCP server.
5
5
  Author-email: Aryan Sinha <aryan.sinha1212@gmail.com>
6
6
  License: MIT
@@ -9,6 +9,12 @@ Project-URL: Issues, https://github.com/aryansinha16/groundsql/issues
9
9
  Keywords: text-to-sql,llm,agents,mcp,sqlite,postgresql,evals,spider
10
10
  Classifier: Development Status :: 4 - Beta
11
11
  Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
12
18
  Classifier: License :: OSI Approved :: MIT License
13
19
  Classifier: Operating System :: OS Independent
14
20
  Classifier: Topic :: Database
@@ -26,6 +32,8 @@ Dynamic: license-file
26
32
  # groundsql
27
33
 
28
34
  [![tests](https://github.com/aryansinha16/groundsql/actions/workflows/tests.yml/badge.svg)](https://github.com/aryansinha16/groundsql/actions/workflows/tests.yml)
35
+ [![PyPI](https://img.shields.io/pypi/v/groundsql?label=pypi&cacheSeconds=3600)](https://pypi.org/project/groundsql/)
36
+ [![Python](https://img.shields.io/pypi/pyversions/groundsql?cacheSeconds=3600)](https://pypi.org/project/groundsql/)
29
37
 
30
38
  **Ask a SQLite or PostgreSQL database questions in plain English, safely.** A schema-grounded Text-to-SQL agent with a repair loop, layered read-only safety, execution-accuracy evals (including the Spider benchmark), and an MCP server for Claude, Cursor or any MCP client.
31
39
 
@@ -72,7 +80,7 @@ On **PostgreSQL** the same four, in Postgres terms: the static check plus a bloc
72
80
  ## Quick start
73
81
 
74
82
  ```bash
75
- pip install -e . # or: pip install -e ".[postgres]"
83
+ pip install groundsql # or: pip install "groundsql[postgres]"
76
84
  groundsql sample shop.db # deterministic 6-table retail database
77
85
 
78
86
  # any of these model specs work
@@ -1,4 +1,4 @@
1
- groundsql/__init__.py,sha256=i2xFY-j8gFyLO8aY2TucFGWI3QxhOzpgVC9_-7TbT78,453
1
+ groundsql/__init__.py,sha256=pk6ba660WLIHSzHnxuV5gMo3kbCQT5mOvIFJ9IVn3oY,453
2
2
  groundsql/__main__.py,sha256=E6Gls0DNz8GQK2K-kOUIx8cYhgANW_CH54VKrfCfs14,52
3
3
  groundsql/agent.py,sha256=HRiJMzqQgb8SK-e2LcYCgaVIU62hD5i7DU8VTj-EO2U,5460
4
4
  groundsql/cli.py,sha256=lfN5Pbe8VD1J_NlAChVjMoNTRffpmyKaQorbpqpVUVo,7197
@@ -11,9 +11,9 @@ groundsql/sample.py,sha256=oy05WMcC0pK-3Z0nw0FQ-TVHxATcwcKn4n-h9tfH9ak,6678
11
11
  groundsql/schema.py,sha256=ZNNDbykhU0rHb_YcU5KpQM7mpFkfRjx8Z2zThqD6lGA,5983
12
12
  groundsql/spider.py,sha256=B2bGjQOonlcUim0ySVYLgCMaMZifSuxQujYaabqaKcE,5464
13
13
  groundsql/data/questions.jsonl,sha256=vuHWRDpR60PHzWD-dhLNx0WrdBspNctyOCflxk6-wcw,3577
14
- groundsql-0.2.1.dist-info/licenses/LICENSE,sha256=IFAjTcNDr1W4gLJ9nJQygFe9DOUvougfN7ym_4rNS5Q,1068
15
- groundsql-0.2.1.dist-info/METADATA,sha256=9p_bN24rP_2T2YOUx7bbeghCt8NaTN9tdIFMvgzrOEM,11947
16
- groundsql-0.2.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
17
- groundsql-0.2.1.dist-info/entry_points.txt,sha256=Iq_4E_RTRzpuG1ius5r59x_k-EfFdfG3SxbBoIE2kcA,49
18
- groundsql-0.2.1.dist-info/top_level.txt,sha256=UwzlLu5_kEuC5GJMHnM53q68Bz9r9_YvQtlz0hqn0ms,10
19
- groundsql-0.2.1.dist-info/RECORD,,
14
+ groundsql-0.2.2.dist-info/licenses/LICENSE,sha256=IFAjTcNDr1W4gLJ9nJQygFe9DOUvougfN7ym_4rNS5Q,1068
15
+ groundsql-0.2.2.dist-info/METADATA,sha256=AP5EiQGy6jfefPHwMdaMHpUUYHBVulmToWHtgnUfMWE,12497
16
+ groundsql-0.2.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
17
+ groundsql-0.2.2.dist-info/entry_points.txt,sha256=Iq_4E_RTRzpuG1ius5r59x_k-EfFdfG3SxbBoIE2kcA,49
18
+ groundsql-0.2.2.dist-info/top_level.txt,sha256=UwzlLu5_kEuC5GJMHnM53q68Bz9r9_YvQtlz0hqn0ms,10
19
+ groundsql-0.2.2.dist-info/RECORD,,