Packages

ORMs & Query Builders Packages

Object-relational mappers and SQL query builders that turn database access into type-safe, maintainable code (Prisma, SQLAlchemy, Drizzle).

116 packages

Packages in ORMs & Query Builders

75Health
Library npm

Drizzle ORM

A lightweight, zero-dependency TypeScript ORM with full SQL-like query flexibility

36,124
Apache 2.0
Used by 57
67Health
Tool npm

prisma-cli

The unified Prisma CLI — one binary for ORM migrations, Composer apps, and the Prisma Developer Platform.

25
Apache 2.0
Used by 47
91Health
Library npm

Prisma Client

Auto-generated, type-safe database client for Node.js and TypeScript.

47,662
Apache 2.0
Used by 46
94Health
Library PyPI

SQLAlchemy

The Python SQL toolkit and Object Relational Mapper that gives developers the full power and flexibility of SQL.

12,262
MIT
Used by 43
55Health
Library npm

knex

A flexible, portable SQL query builder for Node.js supporting PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3, and Oracle.

20,339
MIT
Used by 29
90Health
Tool PyPI

Alembic

Database migrations tool for SQLAlchemy with autogenerate and transactional DDL

4,456
MIT
Used by 27
87Health
Framework PyPI

Django

The high-level Python web framework that turns database models into secure, working web applications in record time.

91,575
BSD 3
Used by 24
98Health
Framework Composer

Laravel

The expressive, elegant PHP framework for building modern web applications

34,975
MIT
Used by 21
49Health
Library Go

sqlx

General-purpose extensions to Go's database/sql, adding struct scanning, named queries, and more without breaking compatibility.

17,738
MIT
Used by 20
76Health
Library Cargo

SQLx

Async, pure-Rust SQL toolkit with compile-time checked queries and no DSL

17,593
Other
Used by 17
88Health
Library npm

TypeORM

A TypeScript/JavaScript ORM supporting both Active Record and Data Mapper, across more databases than any other JS ORM

36,661
MIT
Used by 16
95Health
Library npm

Mongoose

Schema-based MongoDB object modeling for Node.js, with built-in validation, middleware hooks, and typed models.

27,460
MIT
Used by 15
70Health
Library PyPI

pgvector-python

Python client library for pgvector: vector, halfvec, sparsevec, and bit types across Django, SQLAlchemy, Psycopg, asyncpg, pg8000, and Peewee.

1,538
MIT
Used by 15
93Health
Library Composer

Doctrine DBAL

A PHP database abstraction layer with a fluent query builder and schema introspection across major RDBMS engines

9,700
MIT
Used by 14
57Health
Library npm

node-sql-parser

Parses SQL statements into an AST and converts them back to SQL across a dozen database dialects.

1,043
Apache 2.0
Used by 13
81Health
Library PyPI

SQLGlot

No-dependency SQL parser, transpiler, optimizer, and execution engine

9,716
MIT
Used by 9
46Health
Library Go

Squirrel

A fluent SQL query builder for Go that composes SELECT, INSERT, UPDATE, and DELETE statements from reusable parts, without being an ORM.

7,987
MIT
Used by 9
73Health
Library PyPI

SQLAlchemy-Utils

A grab-bag of extra column types, aggregates, and utility functions for SQLAlchemy models.

1,346
BSD 3
Used by 7
60Health
Library Go

sqlite

A pure-Go SQLite dialect driver for GORM that drops the CGo dependency entirely.

877
MIT
Used by 7
97Health
Library Composer

Doctrine ORM

A mature object-relational mapper for PHP built on Doctrine DBAL

10,167
MIT
Used by 6
59Health
Library npm

umzug

Framework-agnostic migration tool for Node.js with a clean, typed API for running and rolling back migrations.

2,218
MIT
Used by 6
88Health
Library npm

NestJS TypeORM

Official TypeORM integration module for NestJS applications

2,166
MIT
Used by 6
94Health
Library npm

Sequelize

A promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and SQL Server with solid transaction support and rich associations.

30,352
MIT
Used by 5
55Health
Library PyPI

Flask-SQLAlchemy

The official SQLAlchemy integration for Flask, adding scoped sessions, multi-database binds, and Flask-aware model conventions.

4,304
BSD 3
Used by 5

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers