Packages

ORMs & Query Builders Packages

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

115 packages

Packages in ORMs & Query Builders

75Health
Library npm

Drizzle ORM

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

36,223
Apache 2.0
Used by 56
68Health
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,659
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,273
MIT
Used by 43
54Health
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 28
88Health
Tool PyPI

Alembic

Database migrations tool for SQLAlchemy with autogenerate and transactional DDL

4,467
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,672
BSD 3
Used by 24
49Health
Library Go

sqlx

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

17,745
MIT
Used by 20
98Health
Framework Composer

Laravel

The expressive, elegant PHP framework for building modern web applications

34,992
MIT
Used by 19
80Health
Library Cargo

SQLx

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

17,631
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,672
MIT
Used by 15
95Health
Library npm

Mongoose

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

27,451
MIT
Used by 15
74Health
Library PyPI

pgvector-python

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

1,542
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
56Health
Library npm

node-sql-parser

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

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

SQLGlot

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

9,765
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,983
MIT
Used by 9
73Health
Library PyPI

SQLAlchemy-Utils

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

1,347
BSD 3
Used by 7
46Health
Library Go

sqlite

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

879
MIT
Used by 7
98Health
Library Composer

Doctrine ORM

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

10,169
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,221
MIT
Used by 6
89Health
Library npm

NestJS TypeORM

Official TypeORM integration module for NestJS applications

2,167
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,347
MIT
Used by 5
54Health
Library PyPI

Flask-SQLAlchemy

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

4,301
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