<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: Kumzy</title><link>https://news.ycombinator.com/user?id=Kumzy</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 16 Sep 2026 15:37:11 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=Kumzy" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by Kumzy in "Talk Python in Production"]]></title><description><![CDATA[
<p>Seems interesting, read the online summary. I am curious to read about your part on Chapter 14 (I am part of Litestar maintainer). Thank you for the book anyway !</p>
]]></description><pubDate>Thu, 09 Oct 2025 06:45:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=45524342</link><dc:creator>Kumzy</dc:creator><comments>https://news.ycombinator.com/item?id=45524342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45524342</guid></item><item><title><![CDATA[New comment by Kumzy in "Show HN: Advanced-Alchemy – A framework agnostic library for SQLAlchemy"]]></title><description><![CDATA[
<p>I would acknowledge they have been lacking and if they'd reviewed them recently.  If so, maybe see if they'd offer some improvement areas.
Do you have anything in mind in the documentation that you would like improved?</p>
]]></description><pubDate>Wed, 23 Apr 2025 19:30:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=43775809</link><dc:creator>Kumzy</dc:creator><comments>https://news.ycombinator.com/item?id=43775809</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43775809</guid></item><item><title><![CDATA[New comment by Kumzy in "Show HN: Advanced-Alchemy – A framework agnostic library for SQLAlchemy"]]></title><description><![CDATA[
<p>Hello, OP there, I have many use cases that fall outside of FastAPI or web apps in general, and this pattern allows me to consolidate that logic in a re-usable way.<p>We also have SQLSpec[1] (Work in progress) that could maybe a better use case for you with raw SQL<p>1. <a href="https://github.com/litestar-org/sqlspec">https://github.com/litestar-org/sqlspec</a></p>
]]></description><pubDate>Wed, 23 Apr 2025 18:14:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=43775004</link><dc:creator>Kumzy</dc:creator><comments>https://news.ycombinator.com/item?id=43775004</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43775004</guid></item><item><title><![CDATA[Show HN: Advanced-Alchemy – A framework agnostic library for SQLAlchemy]]></title><description><![CDATA[
<p>Hello HN!<p>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.<p>You can find the repository and documentation here:<p><pre><code>    - GitHub Repository: https://github.com/litestar-org/advanced-alchemy
    - Official Documentation : https://docs.advanced-alchemy.litestar.dev/latest/
</code></pre>
Advanced-Alchemy extends SQLAlchemy with productivity-enhancing features, while keeping full compatibility with the ecosystem you already know.<p>At its core, Advanced-Alchemy offers:<p>- Sync and async repositories, featuring common CRUD and highly optimized bulk operations<p>- Integration with major web frameworks including Litestar, Starlette, FastAPI, Sanic<p>- Custom-built alembic configuration and CLI with optional framework integration<p>- Utility base classes with audit columns, primary keys and utility functions<p>- Built in File Object data type for storing objects:<p><pre><code>    - 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.
</code></pre>
- Optimized JSON types including a custom JSON type for Oracle<p>- Integrated support for UUID6 and UUID7 using uuid-utils<p>- Integrated support for Nano ID using fastnanoid<p>- Pre-configured base classes with audit columns UUID or Big Integer primary keys and a sentinel column.<p>- Synchronous and asynchronous repositories featuring:<p><pre><code>    - 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.
</code></pre>
- Tested support for multiple database backends including:<p><pre><code>    - 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)
</code></pre>
The framework is designed to be lightweight yet powerful, with a clean API that makes it easy to integrate into existing projects.<p>You can find a full example using FastAPI there: <a href="https://docs.advanced-alchemy.litestar.dev/latest/usage/frameworks/fastapi.html" rel="nofollow">https://docs.advanced-alchemy.litestar.dev/latest/usage/fram...</a><p>There are custom datatypes, a service and repository (including optimized bulk operations), and native integration with Flask, FastAPI, Starlette, Litestar and Sanic.<p>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.<p>The library: <a href="https://github.com/litestar-org/advanced-alchemy">https://github.com/litestar-org/advanced-alchemy</a></p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43771816">https://news.ycombinator.com/item?id=43771816</a></p>
<p>Points: 38</p>
<p># Comments: 12</p>
]]></description><pubDate>Wed, 23 Apr 2025 13:17:48 +0000</pubDate><link>https://github.com/litestar-org/advanced-alchemy</link><dc:creator>Kumzy</dc:creator><comments>https://news.ycombinator.com/item?id=43771816</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43771816</guid></item></channel></rss>