A lightweight integration of FastAPI with PeeWee ORM for building Python web APIs with database models.
FastAPIwee is a Python library that integrates the FastAPI web framework with the PeeWee ORM, enabling developers to build RESTful APIs with database models efficiently. It solves the problem of manually wiring FastAPI endpoints to PeeWee models by providing a lightweight, cohesive interface that reduces boilerplate code and accelerates API development.
Python developers building web APIs with FastAPI who prefer using PeeWee as their ORM for its simplicity and lightweight design.
Developers choose FastAPIwee for its minimal setup, seamless integration between FastAPI and PeeWee, and automatic OpenAPI documentation generation, making it a productive choice for rapid API development without sacrificing flexibility.
FastAPI + PeeWee = <3
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly maps PeeWee models to FastAPI endpoints with minimal boilerplate code, as highlighted in the Key Features, streamlining API development.
Generates comprehensive API docs through FastAPI's built-in support, reducing manual documentation effort and improving developer experience.
Emphasizes simplicity with a minimal installation process (pip install) and Python 3.6+ compatibility, ideal for rapid prototyping.
Works with Python 3.6 and above, ensuring it can be used in modern environments without version constraints.
PeeWee's synchronous nature doesn't leverage FastAPI's async features fully, potentially causing performance issues in I/O-intensive apps.
Tightly couples your project to PeeWee ORM; switching to another ORM would require rewriting model and endpoint logic.
The README is sparse and redirects to external docs, which might be less accessible for quick reference or troubleshooting.