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?

Why Tasteful?

Discover the benefits of modular architecture and composable flavors

Quick Start

Start building awesome documentation in under 5 minutes

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

Flavors

Learn about the building blocks of Tasteful applications

Modular Architecture

Understand the clean architecture with flavors, services, and repositories

Services

Business logic and dependency injection patterns

Backends

Authentication, backends, and third-party integrations

Built-in Flavors

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

Identity Management

Identity management with OIDC authentication and user profiles

Worker Tasks

Background job processing and task scheduling