Skip to main content

querychat querychat website

PyPI MIT License versions Python Tests

QueryChat facilitates safe and reliable natural language exploration of tabular data, powered by SQL and large language models (LLMs). For analysts, it offers an intuitive web application where they can quickly ask questions of their data and receive verifiable data-driven answers. For software developers, QueryChat provides a comprehensive Python API to access core functionality -- including chat UI, generated SQL statements, resulting data, and more. This capability enables the seamless integration of natural language querying into bespoke data applications.

Installation

Install the latest stable release from PyPI:

pip install querychat

Web Framework Extras

querychat supports Gradio, Dash, and Streamlit. Install with the extras you need:

pip install "querychat[gradio]"
pip install "querychat[dash]"
pip install "querychat[streamlit]"

Or install directly from GitHub:

pip install "querychat[gradio] @ git+https://github.com/posit-dev/querychat"

Quick start

The main entry point is the QueryChat class. It requires a data source (e.g., pandas, polars, etc) and a name for the data.

from querychat import QueryChat
from querychat.data import titanic

qc = QueryChat(titanic(), "titanic")
app = qc.app()
# app.run()

QueryChat interface showing natural language queries

Custom apps

Build your own custom web apps with natural language querying capabilities, such as this one which provides a bespoke interface for exploring Airbnb listings:

A custom app for exploring Airbnb listings, powered by QueryChat.

Learn more

See the website to learn more.

Metadata

Release files for querychat 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for querychat 0.8.0
File Size Uploaded
querychat-0.8.0.tar.gz 149.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for querychat 0.8.0
File Interpreter ABI Platform
querychat-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 327.4 kB

Release files / querychat-0.8.0.tar.gz

Download URL querychat-0.8.0.tar.gz
Size 149.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4cb927baa0f2966c995c821a21bfece99879d045ed4f183372b12bc82ed7e35d
BLAKE2b-256 checksum
How to use checksums
844bf9e9753b1ebce12d4eb58b4f9224d8a6086e5e198f4dca445b72427766d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / querychat-0.8.0-py3-none-any.whl

Download URL querychat-0.8.0-py3-none-any.whl
Size 177.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
403eb04ee80db589280bed317ae9480ccda185e011a5a2852d36a4432af62402
BLAKE2b-256 checksum
How to use checksums
69676e01d29eaf4d358e2f784c429cae0198cc20d130e05238986f0dad305999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.0

2 release files

This release

0.8.0 This release

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page