ORMs & Query Builders Packages
Object-relational mappers and SQL query builders that turn database access into type-safe, maintainable code (Prisma, SQLAlchemy, Drizzle).
Packages in ORMs & Query Builders
Kind
Sort:Used by Most Apps
Yii2 Nested Sets
A nested sets behavior for Yii 2 ActiveRecord using the Modified Preorder Tree Traversal algorithm.
alembic_utils
Autogenerate Alembic migrations for PostgreSQL views, functions, triggers, and policies straight from your SQLAlchemy models.
@ucast/mongo2js
Evaluate MongoDB-style query conditions against plain JavaScript objects with a single guard() call.
swapper
The unofficial Django API for building swappable, overridable models in reusable apps.
nestjs-query-core
Framework-independent query, filter, sort, and service primitives powering NestJS Query's CRUD API generation.
django-deprecate-fields
Deprecate Django model fields safely and remove them later without breaking production.
SQLAlchemy-JSON
Mutation-tracked JSON column types for SQLAlchemy, including deeply nested changes.
django-picklefield
A Django model field that transparently pickles and unpickles arbitrary Python objects
prisma-ast
Parse, query, and modify Prisma schema files as an AST in JavaScript while preserving comments and formatting.
django-fernet-encrypted-fields
Symmetrically encrypted model fields for Django, backed by Fernet.
CakePHP Migrations
Database migrations plugin for CakePHP to version, apply, and roll back schema changes from the CLI.
sql-formatter-plus
A JavaScript library that pretty-prints Standard SQL, N1QL, DB2, and PL/SQL queries with configurable indentation and dialect-aware tokenization.
scylla-driver
Modern, highly tunable Python client for ScyllaDB and Apache Cassandra over CQL
sql_query_builder
A composable SQL query builder for Rust that lets you build dynamic SELECT, INSERT, UPDATE, and DELETE queries with idiomatic, chainable methods.
yesql
Loads named SQL statements from .sql files and turns named parameters into positional placeholders for PostgreSQL and MySQL prepared statements.
diesel-derive-newtype
A Rust derive macro that makes single-field newtype structs work transparently with Diesel's ORM traits.
sqlalchemy-drill
A SQLAlchemy dialect that lets Python code query Apache Drill over REST, JDBC, or ODBC using standard SQL and the SQLAlchemy engine API.
SQLAlchemy Spanner
SQLAlchemy dialect that lets Python apps run Core and ORM queries, migrations, and schema definitions against Google Cloud Spanner.
Pagerfanta Doctrine ORM Adapter
Pagerfanta adapter that paginates Doctrine ORM Query and QueryBuilder results
FastAPI Users DB SQLAlchemy
SQLAlchemy database adapter for the FastAPI Users auth library.