{"repo":"akutayural/APIException","free":true,"listed":false,"github":"https://github.com/akutayural/APIException","clone":"git clone https://github.com/akutayural/APIException.git","description":"Standardize FastAPI error/exception handling with APIException. Custom error codes, fallback logging, and beautiful Swagger UI integration.","language":"Python","stars":253,"topics":["exception-handling","fastapi","apiexception","api-response","error-handling","openapi","pydantic-v2","python","python3","server-response"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Standardising FastAPI responses with clarity, consistency, and control. APIException: Standardised Exception Handling for FastAPI APIException is a robust, production-ready Python library for FastAPI that simplifies exception handling and ensures consistent, well-structured API responses. Designed for developers who want to eliminate boilerplate error handling and improve Swagger/OpenAPI documentation, APIException makes your FastAPI projects cleaner and easier to maintain. - 🔒 Consistent JSON responses for both success and errors. - 📚 Beautiful Swagger/OpenAPI documentation with clear error cases. - ⚙️ Customizable error codes with BaseExceptionCode . - 🔗 Global fallback for unhandled server-side errors. - 🗂️ Use with multiple FastAPI apps . - 📜 Automatic logging of every exception detail. - ✔️ Production-ready with unit test examples. · View on PyPI · Full Documentation Reading the full documentation is highly recommended — it’s clear, thorough, and helps you get started in minutes. --- [!IMPORTANT] Actively maintained. Highly recommended. APIException is actively maintained and used in real-world, production FastAPI services. It is designed to be integrated as a library , not copied piece by piece into projects. New features, bug fixes, performance improvements, and documentation updates are shipped continuously through releases. If you copy the implementation instead of installing the library, you will miss future improvements , fixes, and enhancements by design. If ","default_branch":null,"files":null,"tree":[],"storefront":"/r/akutayural","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/akutayural/APIException/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}