Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Text To SQL Python Packages

Python packages with the GitHub topic text-to-sql. Sorted by monthly downloads, with stars and forks.
vanna-ai
vanna

🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval 🔄.

163K 24K 3K
Canner
wren-core-py

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

81K 18K 2K
Canner
wrenai

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

55K 18K 2K
sinaptik-ai
pandasai

Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs and RAG.

37K 24K 2K
naolabs
nao-core

nao Core is your analytics context builder with the best chat interface.

36K 2K 307
agentscope-ai
qwenpaw-data-context

Agentic enterprise data analytics: governed facts (DataBridge), reusable methodology (Skill-Hub), and controllable execution (Host)

19K 207 51
agentscope-ai
qwenpaw-data-host-core

Agentic enterprise data analytics: governed facts (DataBridge), reusable methodology (Skill-Hub), and controllable execution (Host)

19K 207 51
agentscope-ai
qwenpaw-data-skills

Agentic enterprise data analytics: governed facts (DataBridge), reusable methodology (Skill-Hub), and controllable execution (Host)

18K 207 51
agentscope-ai
qwenpaw-data-cli

Agentic enterprise data analytics: governed facts (DataBridge), reusable methodology (Skill-Hub), and controllable execution (Host)

17K 207 51
GetCassis
cassis-cli

Validate, test and eval a Cassis ontology from your terminal, then publish it. The same commands run in CI to gate pull requests.

15K 1 0
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.

11K 127 4
apowerb
apowerb

The open-source agentic framework to build, orchestrate, and operate production AI agents.

10K 150 28
malloydata
malloy-publisher-sdk

Publisher is the open-source analytics engine for Malloy. It lets you define data models once — and use them everywhere.

9K 136 33
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.

9K 30 1
dermatologist
pyomop

Python package for managing OHDSI clinical data models. Includes support for LLM based plain text queries, MCP server and FHIR import.

8K 69 12
sinaptik-ai
pandasai-openai

Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs and RAG.

7K 24K 2K
holoviz
lumen

Illuminate your data. Agent framework turning natural language into SQL, charts, dashboards and reports.

6K 375 95
rasinmuhammed
misata

Declarative synthetic data for Python. State the facts a dataset must hold (monthly revenue, channel shares, balanced ledgers, foreign keys, state machines) and get multi-table data that holds them exactly, with a DuckDB certificate anyone can rerun. From YAML, SQL DDL or a sentence. CLI and MCP server.

6K 80 4
get-dst
dst-core

dst (data serve tool) — open-source semantic layer and MCP server between the AI your team uses and your data warehouse. Governed answers with the SQL, a grade and a receipt.

5K 18 0
jakubro
dbprint

Portable, git-committed snapshot of a database's structure and column-level data distributions, consumable offline by humans, AI coding agents, and CI.

5K 4 0
Canner
wren-langchain

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

5K 18K 2K
semlayer-dev
semlayer

The semantic layer that infers itself. Fair Source; open format.

4K 5 0
QWED-AI
qwed

Open-source AI verification infrastructure for deterministic verification of LLM outputs, tool calls, code, schemas, and agent state before production execution.

4K 81 17
Canner
wren-engine

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

4K 18K 2K
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology