Usage Scenarios
Practical guides for specific SmartAsync use cases.
Fundamentals
Essential scenarios for getting started:
01: Sync App → Async Libraries - CLI tools using httpx, aiohttp
02: Async App → Sync Libraries - FastAPI/Django with sync databases
03: Testing Async Code - Simplified async tests
Architecture
Design patterns for larger systems:
04: Unified Library API - Single codebase for sync and async users
05: Gradual Migration - Incremental sync-to-async migration
06: Plugin Systems - Plugins that can be sync or async
Integration
Framework and tool integration:
07: Mixed Frameworks - Flask with async microservices
08: Web Scraping - Async fetch + sync parsing
09: Interactive Environments - Jupyter notebooks
Each scenario includes problem description, solution with SmartAsync, and complete working examples.