PyFly Adapters¶
Adapters are the concrete implementations that fulfill PyFly's port contracts. Each adapter doc covers setup, configuration, and adapter-specific features.
For the shared port APIs (RepositoryPort, Page, Pageable, QueryMethodParser, Mapper), see the Data Commons Guide. For adapter-specific usage patterns, see the linked module guides.
Data Adapters¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| SQLAlchemy | Data Relational | PostgreSQL, MySQL, SQLite | Module Guide |
| MongoDB | Data Document | MongoDB (Beanie ODM) | Module Guide |
Web Adapters¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| Starlette | Web | Starlette / Uvicorn | Module Guide |
| FastAPI | Web | FastAPI + Uvicorn / Granian | Module Guide |
Server Adapter¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| Granian | Server | Granian (Rust/tokio ASGI server) | Module Guide |
Messaging Adapters¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| Kafka | Messaging | Apache Kafka (aiokafka) | Module Guide |
| RabbitMQ | Messaging | RabbitMQ (aio-pika) | Module Guide |
Cache Adapter¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| Redis | Caching | Redis (async) | Module Guide |
HTTP Client Adapter¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| HTTPX | Client | HTTPX | Module Guide |
Shell Adapter¶
| Adapter | Module | Backend | Guide |
|---|---|---|---|
| Click | Shell | Click 8.1+ | Module Guide |