TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Iceaxe – A modern, fast ORM for Python and Postgres

2 pointsby icyfox7 months ago
Hey HN,<p>I&#x27;ve been writing webapps in Python for 6 years and have been using SQLAlchemy as my ORM for about that same time. As I&#x27;ve recently scaled more products with this stack a few things occurred to me:<p>- It takes really careful session management to avoid idle-in-transaction hanging in the database because objects are still floating around (see: PEP 249 and its prioritization “implicit begin” and “explicit commit”)<p>- Not once have we switched backend databases, we&#x27;ve always stuck with Postgres<p>While it was baking hot in San Francisco a few weekends ago I took a step back to write a ground-up Postgres ORM with modern syntax. It main focuses are typehinted schemas, async support, integrated database migrations, and explicit transaction management. You can certainly do all this with existing solutions but my hope is by making them first class primitives it&#x27;s easier to write correct and performant database code.<p>Give it a try - would love to hear what you think!<p>(More documentation is also at <a href="https:&#x2F;&#x2F;mountaineer.sh&#x2F;iceaxe&#x2F;guides&#x2F;quickstart" rel="nofollow">https:&#x2F;&#x2F;mountaineer.sh&#x2F;iceaxe&#x2F;guides&#x2F;quickstart</a>)

1 comment

odie55337 months ago
How does Iceaxe compare to SQLModel?
评论 #42072297 未加载