luiscarbonel1991/nlp2sql
Enterprise-ready Natural Language to SQL converter with multi-provider AI support (OpenAI, Anthropic, Gemini). Built for production scale databases (1000+ tables) with Clean Architecture.
This tool helps data analysts, business intelligence specialists, or anyone needing quick database insights to get answers from their data without writing complex SQL. You input a natural language question, like "Show active users by region," and it outputs the corresponding SQL query. It's designed for use by data professionals who interact with large PostgreSQL or Redshift databases and need to streamline their data querying process.
Available on PyPI.
Use this if you need to quickly generate accurate SQL queries from plain English questions, especially when dealing with complex or large-scale databases.
Not ideal if you are a software developer building applications where the end-user has no knowledge or need to interact with SQL, as this tool is primarily for generating SQL queries.
Stars
8
Forks
2
Language
Python
License
MIT
Category
Last pushed
Jan 21, 2026
Commits (30d)
0
Dependencies
23
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/vector-db/luiscarbonel1991/nlp2sql"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.