Skip to content

User Guide

Welcome to the Wiverno User Guide! This guide will help you understand and use all the features of the Wiverno framework.

Table of Contents

Getting Started

Start here if you're new to Wiverno:

Core Concepts

Learn the fundamental concepts of Wiverno:

Advanced Topics

Take your Wiverno skills to the next level:

Philosophy

Wiverno is designed with the following principles in mind:

Simplicity First

Wiverno aims to be easy to learn and use. The API is intentionally small and focused on the essentials.

# Simple routing
app = Wiverno()

@app.get("/")
def index(request):
    return "Hello, World!"

@app.get("/about")
def about(request):
    return "About"

Explicit Over Implicit

Wiverno prefers explicit configuration over magic. You always know what's happening:

# Explicit status codes and content
def view(request):
    return "Hello, World!"

Flexibility

Wiverno doesn't force you into a specific way of doing things. Use what you need, ignore what you don't:

# Function-based views
def simple_view(request):
    return "Simple"

# Or class-based views
class ComplexView(BaseView):
    def get(self, request):
        return "Complex"

Next Steps

Ready to get started? Head over to the Installation guide to set up Wiverno, or jump straight to the Quickstart to build your first application!