Posts

Showing posts from July, 2025
Why Use Flask-Nova: Modern APIs on Top of Vanilla Flask Why Use Flask-Nova: Modern APIs on Top of Vanilla Flask If you love Flask but wish it had type hints, automatic OpenAPI docs, dependency injection, and better DX — Flask-Nova is for you. The Problem with Vanilla Flask Let’s say you want to build a simple JSON API with Flask. You’d probably write something like: from flask import Flask, request, jsonify app = Flask(__name__) @app.route("/greet", methods=["POST"]) def greet(): data = request.get_json() name = data.get("name") return jsonify({"message": f"Hello, {name}!"}) It works. But now imagine: You want to validate the request data. You want OpenAPI docs for your frontend team. You want typed parameters from the URL or query. You want better error handling and testing. You want some structure, without rewriting everything. Soon, your simpl...

Introducing Flask-Nova: Zero-Boilerplate APIs with Docs & Type Safety

Flask-Nova 🚀 Flask-Nova Flask is celebrated for its simplicity and flexibility, but building a modern API with authentication, validation, and documentation often becomes a repetitive chore. Flask-Nova is a modern extension for Flask that accelerates API development with automatic OpenAPI documentation and type-safe input models . 🔗 Links PyPI: https://pypi.org/project/flask-nova/ GitHub: https://github.com/manitreasure1/flasknova Example App: https://github.com/manitreasure1/flask-nova-tutorials 🔥 Key Features ✅ Auto-generated Swagger docs at /docs ✅ Typed route inputs using Pydantic-style models ✅ Decorator-based routing with zero boilerplate ✅ Built-in HTTPException for error handling ✅ status helpers (e.g., status.CREATED ) ✅ Depend() for clean dependency injection ✅ Extensible and Pythonic design ✅ Compatible with native Flask ...