Async Python Refactorer
Converts synchronous Python functions into non-blocking asyncio routines with automated call graph analysis and dependency migration.
Async Python Refactorer simplifies modernizing legacy Python codebases by refactoring synchronous methods into asynchronous coroutines. It scans your repository to locate specified functions, constructs a dependency and communication map, replaces blocking I/O calls (such as requests, boto3, and standard queues) with their modern async counterparts (aiohttp, aiobotocore, asyncio.Queue), and properly updates calling contexts. This skill is invaluable when migrating web backends, message consumers, or data processing pipelines to asynchronous architectures without breaking existing threading boundaries or changing function signatures.