HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
litestar-org
advanced-alchemy
Python2025–2025
litestar-org / advanced-alchemy

advanced-alchemy

A carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy

2Distinct people
2Mentions
0Explicit recommenders
817GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-04-23 13:17:48 UTC to 2025-04-23 19:37:03 UTC.

012025-04-23 13:00:00 UTC to 2025-04-23 14:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 23, 13:002025-04-23 14:00:00 UTC to 2025-04-23 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-04-23 15:00:00 UTC to 2025-04-23 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-04-23 16:00:00 UTC to 2025-04-23 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsApr 23, 16:002025-04-23 17:00:00 UTC to 2025-04-23 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-04-23 18:00:00 UTC to 2025-04-23 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-04-23 19:00:00 UTC to 2025-04-23 20:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 23, 19:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Apr 23, 13:002025-04-23 13:00:00 UTC2025-04-23 14:00:00 UTC110
Apr 23, 14:002025-04-23 14:00:00 UTC2025-04-23 15:00:00 UTC000
Apr 23, 15:002025-04-23 15:00:00 UTC2025-04-23 16:00:00 UTC000
Apr 23, 16:002025-04-23 16:00:00 UTC2025-04-23 17:00:00 UTC000
Apr 23, 17:002025-04-23 17:00:00 UTC2025-04-23 18:00:00 UTC000
Apr 23, 18:002025-04-23 18:00:00 UTC2025-04-23 19:00:00 UTC000
Apr 23, 19:002025-04-23 19:00:00 UTC2025-04-23 20:00:00 UTC101

What Hacker News says

2 sources
Kumzy·Apr 23, 2025Submission

Show HN: Advanced-Alchemy – A framework agnostic library for SQLAlchemy

Hello HN! Advanced Alchemy is an optimized companion library for SQLAlchemy, designed to supercharge your database models with powerful tooling for migrations, asynchronous support, lifecycle hook and more. You can find the repository and documentation here: - GitHub Repository: https://github.com/litestar-org/advanced-alchemy - Official Documentation : https://docs.advanced-alchemy.litestar.dev/latest/ Advanced-Alchemy extends SQLAlchemy with productivity-enhancing features, while keeping full compatibility with the ecosystem you already know. At its core, Advanced-Alchemy offers: - Sync and async repositories, featuring common CRUD and highly optimized bulk operations - Integration with major web frameworks including Litestar, Starlette, FastAPI, Sanic - Custom-built alembic configuration and CLI with optional framework integra
Read the rest
tion - Utility base classes with audit columns, primary keys and utility functions - Built in File Object data type for storing objects: - Unified interface for various storage backends fsspec and obstore - Optional lifecycle event hooks integrated with SQLAlchemy's event system to automatically save and delete files as records are inserted, updated, or deleted. - Optimized JSON types including a custom JSON type for Oracle - Integrated support for UUID6 and UUID7 using uuid-utils - Integrated support for Nano ID using fastnanoid - Pre-configured base classes with audit columns UUID or Big Integer primary keys and a sentinel column. - Synchronous and asynchronous repositories featuring: - Common CRUD operations for SQLAlchemy models - Bulk inserts, updates, upserts, and deletes with dialect-specific enhancements - Integrated counts, pagination, sorting, filtering with LIKE, IN, and dates before and/or after. - Tested support for multiple database backends including: - SQLite via aiosqlite or sqlite - Postgres via asyncpg or psycopg3 (async or sync) - MySQL via asyncmy - Oracle via oracledb (async or sync) (tested on 18c and 23c) - Google Spanner via spanner-sqlalchemy - DuckDB via duckdb_engine - Microsoft SQL Server via pyodbc or aioodbc - CockroachDB via sqlalchemy-cockroachdb (async or sync) The framework is designed to be lightweight yet powerful, with a clean API that makes it easy to integrate into existing projects. You can find a full example using FastAPI there: https://docs.advanced-alchemy.litestar.dev/latest/usage/fram... There are custom datatypes, a service and repository (including optimized bulk operations), and native integration with Flask, FastAPI, Starlette, Litestar and Sanic. Feedback and enhancements are always welcomed! We have an active discord community, so if you don't get a response on an issue or would like to chat directly with the dev team, please reach out. The library: https://github.com/litestar-org/advanced-alchemy
38 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.