PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Nl2sql Python Packages

Python packages with the GitHub topic nl2sql. Sorted by monthly downloads, with stars and forks.
ashishsinha1602
schemagate

Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.

19K 102 0
AgamiAI
agami-core

The trust layer between AI and your data. Turns your database schema - messy joins, undocumented tables, into a governed semantic model so AI answers with correct SQL and a receipt on every answer. Run it locally, or self-host a shared team server with Docker.

12K 28 1
buhtig47
asksql

Maintained, security-patched drop-in successor to Vanna (archived). Text-to-SQL with LLMs: pip install asksql, keep import vanna.

947 0 0
nadeem4
nl2sql-adapter-sdk

Ask your database questions in English. The model emits a typed query plan, never SQL text - validated against the real schema and the caller's role before any SQL is generated.

904 4 1
nadeem4
nl2sql-engine

Ask your database questions in English. The model emits a typed query plan, never SQL text - validated against the real schema and the caller's role before any SQL is generated.

883 4 1
nadeem4
nl2sql-api

Ask your database questions in English. The model emits a typed query plan, never SQL text - validated against the real schema and the caller's role before any SQL is generated.

835 4 1
nlqueries
nlqueries-core

Open source natural language to SQL (NL2SQL) engine with schema validation and an MCP server for Claude and Cursor

521 4 0
boxed-dev
cognidb

CogniDB is a Python-powered Natural Language to SQL interface that enables users to query databases like MySQL, PostgreSQL, MongoDB, and AWS RDS using plain English. It parses questions, understands schema, generates safe SQL, and returns results, empowering non-technical users to gain database insights without writing SQL.

334 215 19
ashishsinha1602
ashiq

Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.

297 102 0
abhijithneilabraham
tableqa

AI Tool for querying natural language on tabular data.

234 320 45
sathninduk
chatwithsql

ChatWithSQL: Secure, Schema-Validated Text-to-SQL Data Extraction, Eliminating Arbitrary Query Risks from LLMs

193 2 2
WajeehAlamoudi
queryguard-sql

🛡️ SQL guardrails for LLMs and NL2SQL. Deterministic validation, read-only enforcement, and schema-based column filtering.

191 1 0
smartql
smartql

Smart Query Language - Natural Language to SQL, DB agnostic

184 4 0
Text2SqlAgent
text2sql-framework

Agentic text-to-SQL SDK: hand the LLM one execute_sql tool and let it explore the schema, test queries, and self-correct — no RAG, no semantic layer. 20/20 on an 80-table Spider run. Built-in tracing and scenario support.

182 160 20
Cyberfilo
promptquery

Natural-language SQL for production-scale Postgres schemas

154 2 2
ashfrnndz21
ora-sql

The NL2SQL Agentic Runtime

119 11 1
debabsah
sqlproctor

Deterministic semantic verification for agent-generated SQL.

68 0 0
nlqueries
nlqueries

Open source natural language to SQL (NL2SQL) engine with schema validation and an MCP server for Claude and Cursor

63 4 0
Nitin-Gupta1109
talkdb-ai

MCP-native autonomous data analyst. Natural language → validated SQL, with multi-turn conversation, statistical insight agent, proactive watchdog, dual-path verification, and a community registry of semantic models.

61 1 0
saya-ashen
danticsql

A powerful Python utility designed to efficiently reconstruct nested SQLModel object graphs from a flat Pandas DataFrame

58 1 0
chigwell
tailwind-sql

A new package that allows users to write SQL queries using a simplified, Tailwind CSS-like syntax. It takes natural language or abbreviated input from the user and converts it into valid, structured S

49 4 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology