Skip to main content
Tasteful Framework

Welcome to Tasteful

Tasteful is a modern Python framework that combines the modularity of microservices with the simplicity of monoliths. Build applications using composable “flavors” that can be deployed together or separately, giving you ultimate flexibility.

Why Tasteful?

Quick Start

Get started with Tasteful in minutes:
from tasteful import TastefulApp
from tasteful.base_flavor import BaseFlavor, BaseController
from tasteful.decorators.controller import Get

class HelloController(BaseController):
    def __init__(self):
        super().__init__(prefix="/hello", tags=["greeting"])
    
    @Get("/")
    async def say_hello(self) -> dict:
        return {"message": "Hello from Tasteful!"}

class HelloFlavor(BaseFlavor):
    def __init__(self):
        super().__init__(
            controller=HelloController,
            services=[],
            repositories=[],
            config=None
        )

app = TastefulApp(
    title="My First Tasteful App",
    version="1.0.0",
    flavors=[HelloFlavor],
    authentication_backends=[]
)

Core Concepts

Built-in Flavors

Tasteful comes with ready-to-use flavors for common functionality:
I