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

SQL Python Packages

Python packages with the GitHub topic sql. Sorted by monthly downloads, with stars and forks.
sqlalchemy
sqlalchemy

The Database Toolkit for Python

424M 12K 2K
sqlalchemy
alembic

A database migrations tool for SQLAlchemy.

236.6M 4K 396
andialbrecht
sqlparse

A non-validating SQL parser module for Python

126.4M 4K 783
snowflakedb
snowflake-connector-python

Snowflake drivers monorepo

107.8M 15 17
tobymao
sqlglot

Python SQL Parser and Transpiler

96.2M 10K 1K
apache
pyspark

Apache Spark - A unified analytics engine for large-scale data processing

47.9M 45K 30K
databricks
databricks-sql-connector

Databricks SQL Connector for Python

37.5M 235 161
fastapi
sqlmodel

SQL databases in Python, designed for simplicity, compatibility, and robustness.

28M 19K 900
snowflakedb
snowflake-sqlalchemy

Snowflake SQLAlchemy

22.8M 271 169
snowflakedb
snowflake-snowpark-python

Snowflake Snowpark Python API

11.8M 339 162
sqlfluff
sqlfluff

A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

11.3M 10K 1K
kayak
pypika

PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.

9.5M 3K 364
baztian
jaydebeapi

JayDeBeApi module allows you to connect from Python code to databases using Java JDBC. It provides a Python DB-API v2.0 to that database.

8.9M 381 144
macbre
sql-metadata

Uses tokenized query returned by python-sqlparse and generates query metadata

4.5M 889 138
tobymao
sqlglotrs

Python SQL Parser and Transpiler

4.4M 10K 1K
dpgaspar
flask-appbuilder

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/

4.3M 5K 1K
chdb-io
chdb

chDB is an in-process OLAP SQL Engine 🚀 powered by ClickHouse

4.3M 3K 140
databricks
dbt-databricks

A dbt adapter for Databricks.

4.3M 392 235
tobymao
sqlglotc

Python SQL Parser and Transpiler

3.5M 10K 1K
ibis-project
ibis-framework

the portable Python dataframe library

3.3M 7K 797
sqlfluff
sqlfluff-templater-dbt

A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

3M 10K 1K
sbdchd
squawk-cli

🐘 Linter, Code Formatter, and Language Server for Postgres migrations & SQL

3M 1K 77
marimo-team
marimo

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

2.9M 24K 1K
jazzband
django-silk

Silky smooth profiling for Django

2.4M 5K 383
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology