Using Asyncpg with FastAPI and Air
A guide on integrating Asyncpg with FastAPI and Air for direct PostgreSQL database access, bypassing heavier ORMs like SQLAlchemy.
A guide on integrating Asyncpg with FastAPI and Air for direct PostgreSQL database access, bypassing heavier ORMs like SQLAlchemy.
Explains how to implement streaming updates for long-running tasks in Google's Agent2Agent (A2A) framework using asynchronous generators and SSE.
A reflection on Python's evolution over 12 years, focusing on its decline in server-side development due to performance and concurrency challenges.
Livestream notes on refactoring the kr8s Python library by replacing aiohttp with httpx to add trio support.
Explains how to create awaitable objects and async context managers in Python's asyncio, covering __await__, __aenter__, and __aexit__ methods.
Benchmark analysis shows async Python web frameworks often have worse throughput and higher latency variance than synchronous alternatives under realistic conditions.
Explores various methods for waiting on concurrent coroutines in Python's asyncio, comparing await, tasks, gather(), wait(), and TaskGroup.
Analyzes how major software changes like Python 3 and asyncio can be 'traumatic' for developer communities, causing wasted effort and code rot.
A developer explains how to create a simple mock service with delayed webhooks using the Starlette framework in Python.
A summary of recent blog posts and presentations by Guido van Rossum, the creator of Python, covering topics like 0-based indexing and Python 3.