$npx skillfedfor your agent

advanced-alchemy

Ready-to-go SQLAlchemy concoctions.

Worth itPyPI Software DevelopmentReleased May 2026452.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — advanced_alchemy-1.11.0-py3-none-any.whl
v1.11.0 · released 2026-05-31 · Python >=3.9 · 6 runtime deps: alembic, eval-type-backport, exceptiongroup, greenlet, sqlalchemy, typing-extensions

Yes. Advanced Alchemy is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. It's well-suited for web frameworks (FastAPI, Litestar, Starlette) where reducing repository boilerplate is valuable. Install it if you're building a data-driven web application and want structured, tested patterns for database access; skip it if you prefer minimal abstractions over SQLAlchemy or are not using one of its supported frameworks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires SQLAlchemy and a database driver; async operations require an async-compatible database driver and event loop.
  • Low friction install with a pure-Python wheel.
  • Maintenance is active with a release within the last 75 days.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you include the license notice.

last release 2026-05-31 (75 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 451,970 downloads/mo, #6,583 on PyPI

Verify before relying

pip install advanced-alchemy

from advanced_alchemy.repository import SQLAlchemyRepository
from sqlalchemy.orm import Session

repo = SQLAlchemyRepository(session=session, model=YourModel)
await repo.create(data={"field": "value"})
  • Whether composite primary key support works across all database backends listed in the fact sheet.
  • Performance characteristics of bulk operations compared to raw SQLAlchemy queries.
  • Dogpile caching integration requirements and configuration details.
Same gist for agents: .md · .json

What it is and what it does

Advanced Alchemy is a companion library that wraps SQLAlchemy to provide higher-level abstractions for common database patterns. It offers sync and async repository classes that handle CRUD operations and optimized bulk inserts/updates, eliminating boilerplate code for typical web application data access layers. The library integrates directly with popular frameworks like Litestar, FastAPI, Starlette, and Sanic, and includes utilities for audit columns, composite primary keys, and read/write replica routing.

The package is built on top of SQLAlchemy, alembic, greenlet, and typing utilities. It targets developers building web applications who want to reduce repetitive repository and service layer code while maintaining full SQLAlchemy flexibility. The library supports modern Python versions (3.9 through 3.14) and is actively maintained, with an MIT license allowing use in any project type.

Use it for

  • Build a FastAPI or Litestar application with pre-built async repository classes for common CRUD operations without writing boilerplate.
  • Implement read/write database replica routing with automatic query distribution and sticky-primary mode for high-traffic applications.
  • Store file objects in the database using a unified interface across different storage backends (fsspec or obstore).
  • Add audit columns and composite primary key support to your SQLAlchemy models with utility base classes.
  • Cache frequently-accessed query results using Dogpile integration without modifying existing repository code.
  • Perform optimized bulk insert and update operations on large datasets with repository bulk methods.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Advanced Alchemy is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. It's well-suited for web frameworks (FastAPI, Litestar, Starlette) where reducing repository boilerplate is valuable. Install it if you're building a data-driven web application and want structured, tested patterns for database access; skip it if you prefer minimal abstractions over SQLAlchemy or are not using one of its supported frameworks.

Install

advanced-alchemy on PyPI

Before you install

Low friction install with a pure-Python wheel. Maintenance is active with a release within the last 75 days. Six runtime dependencies are all well-established libraries (sqlalchemy, alembic, greenlet, typing-extensions, eval-type-backport, exceptiongroup).

Requires SQLAlchemy and a database driver; async operations require an async-compatible database driver and event loop.

License in practice

MIT license is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you include the license notice.

Quickstart

pip install advanced-alchemy

from advanced_alchemy.repository import SQLAlchemyRepository
from sqlalchemy.orm import Session

repo = SQLAlchemyRepository(session=session, model=YourModel)
await repo.create(data={"field": "value"})

Verify before relying

  • Whether composite primary key support works across all database backends listed in the fact sheet.
  • Performance characteristics of bulk operations compared to raw SQLAlchemy queries.
  • Dogpile caching integration requirements and configuration details.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
alembiceval-type-backportexceptiongroupgreenletsqlalchemytyping-extensions
MaintenanceActively maintained 75 days since the last release
First released
Downloads451,970 / month, #6,583 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: Web EnvironmentIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: DatabaseTopic :: Database :: Database Engines/ServersTopic :: Software DevelopmentTyping :: Typed

Evidence: advanced_alchemy-1.11.0-py3-none-any.whl

Tags

Capabilities
sqlalchemy repository patternasync database crud operationssqlalchemy bulk operationsfastapi sqlalchemy integrationdatabase service layersqlalchemy orm helperslitestar database toolkit
Topics
sqlalchemy-extensionasync-ormrepository-pattern
PyPI keywords
alembicfastapiflasklitestarsanicsqlalchemy

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlalchemy repository pattern”

  • advanced-alchemyAdvanced Alchemy provides sync and async SQLAlchemy repositories with…
  • sqlalchemy-mixinsProvides Active Record-style mixins for SQLAlchemy ORM, enabling…
  • async-factory-boyExtends factory_boy to generate test fixtures asynchronously for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also databases · litestar · sqlalchemy-mixins · fastcrud · sqladmin · casbin-async-sqlalchemy-adapter · FastAPI-SQLAlchemy · sqlalchemy-cockroachdb · validations-engine · starlette-admin