Natural language to SQL for every database you run
NLQueries ships eight dedicated database connectors plus a generic SQLAlchemy connector for MariaDB, Oracle and anything else with a connection URL. Each engine page covers the install extra, the connect command, where query history comes from, and what the read-only role must look like for safe NL2SQL on that database.
PostgreSQL
Natural language to SQL for Postgres, AWS RDS for PostgreSQL, Supabase, Neon, Cloud SQL and Azure Database for PostgreSQL.
included
MySQL
Natural language to SQL for MySQL 8, Amazon RDS for MySQL, Aurora MySQL and MariaDB.
pip install "nlqueries-core[mysql]"
Snowflake
Natural language to SQL for Snowflake Data Cloud on AWS, Azure or GCP.
pip install "nlqueries-core[snowflake]"
BigQuery
Natural language to SQL for Google BigQuery.
pip install "nlqueries-core[bigquery]"
Amazon Redshift
Natural language to SQL for Redshift provisioned clusters and Redshift Serverless.
pip install "nlqueries-core[redshift]"
SQL Server
Natural language to SQL for Microsoft SQL Server and Azure SQL Database.
pip install "nlqueries-core[mssql]"
DuckDB
Natural language to SQL for DuckDB files and in-memory DuckDB databases.
pip install "nlqueries-core[duckdb]"
SQLite
Natural language to SQL for SQLite files, including app databases and exported datasets.
included
Need another engine? nlqueries connect sqlalchemy --url "..." reaches any database SQLAlchemy can, and the contributing guide explains how to add a dedicated connector.