AsyncPG Database Detection

0•

Scans Python and FastAPI projects to identify asyncpg imports, connection patterns, and query logic for migration to SQLAlchemy.

Simplifies the migration process from raw asyncpg to SQLAlchemy in FastAPI applications by providing automated scanning and detailed reporting. It intelligently identifies imports, connection pools, and various query execution methods—such as fetch and execute—while assessing the complexity of transactions and error handling. This skill provides developers with a clear roadmap for refactoring, ensuring that no legacy database patterns are missed during project modernization by generating actionable reports with specific line numbers and conversion recommendations.

주요 기능

01Detection of specific query execution methods including fetch, execute, and iter
020 GitHub stars
03Mapping of found patterns to recommended SQLAlchemy equivalents
04Identification of complex transaction and error handling scenarios
05Generation of detailed reports with line numbers and complexity assessments
06Comprehensive scanning for asyncpg imports and connection patterns

사용 사례

01Auditing database access patterns across large Python codebases
02Modernizing legacy FastAPI projects from raw SQL to ORM-based architectures
03Preparing a project for migration to SQLAlchemy with asyncpg engine support