Metadata-Version: 2.4
Name: intelligent-text2sql
Version: 0.1.0
Summary: Offline, schema-aware Text-to-SQL engine with optional LLM backends
Author: Vatsal Patel
License-Expression: MIT
Keywords: text-to-sql,nlp,sql,llm,data-science
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: sentence-transformers
Requires-Dist: scikit-learn

 # Intelligent Text-to-SQL

A zero-cost, offline, schema-aware Text-to-SQL engine using local LLMs.

## Features
- No paid APIs
- Works offline (Ollama)
- Schema-aware SQL generation
- Handles ambiguity & hallucinations
- Safe SQL execution
- pip-installable

## Installation
```bash
pip install -e .


from intelligent_text2sql import Text2SQL

engine = Text2SQL("sqlite:///data/sales.db")
result = engine.run("Show top customers by total purchase")

print(result["sql"])
print(result["data"])
