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

79Health
Library npm

Drizzle ORM

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

35,907
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.

21
Apache 2.0
Used by 47
91Health
Library npm

Prisma Client

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

47,678
Apache 2.0
Used by 46
93Health
Library PyPI

SQLAlchemy

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

12,189
MIT
Used by 43
56Health
Library npm

knex

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

20,347
MIT
Used by 29
89Health
Tool PyPI

Alembic

Database migrations tool for SQLAlchemy with autogenerate and transactional DDL

4,413
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,218
BSD 3
Used by 24
98Health
Framework Composer

Laravel

The expressive, elegant PHP framework for building modern web applications

34,931
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,744
MIT
Used by 20
73Health
Library Cargo

SQLx

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

17,507
Other
Used by 17
86Health
Library npm

TypeORM

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

36,658
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,470
MIT
Used by 15
67Health
Library PyPI

pgvector-python

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

1,528
MIT
Used by 15
94Health
Library Composer

Doctrine DBAL

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

9,705
MIT
Used by 14
64Health
Library npm

node-sql-parser

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

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

SQLGlot

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

9,641
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,986
MIT
Used by 9
74Health
Library PyPI

SQLAlchemy-Utils

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

1,345
BSD 3
Used by 7
61Health
Library Go

sqlite

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

872
MIT
Used by 7
97Health
Library Composer

Doctrine ORM

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

10,165
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,214
MIT
Used by 6
88Health
Library npm

NestJS TypeORM

Official TypeORM integration module for NestJS applications

2,156
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,362
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,307
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