roper

A Python web framework for writing web applications properly.

Opinionated, with everything you need assembled with care, so development is simple and enjoyable. Easy for agents to write, a pleasure for humans to review.

$ proper g resource Post title:str body:text create tests/test_post.py skipped demo/router.py create demo/forms/post.py create demo/controllers/post_controller.py append demo/controllers/__init__.py create demo/views/post/ create demo/views/post/form.jx create demo/views/post/index.jx create demo/views/post/new.jx create demo/views/post/edit.jx create demo/views/post/show.jx append demo/models/__init__.py create demo/models/post.py

Scaffolds, not snippets

Copy-paste is a tax on attention or a waste of tokens. Proper's generators produce complete, idiomatic, pre-tested files - so you read, not reassemble.

One command turns a resource into a model, controller, views, tests, and routes - wired together and ready to run.

- Almost suspicious, really.

Build, side by side, with AI *

Drop the Proper skill into your skills folder and your AI agent will scaffold, edit, and refactor your app the Proper way. The strong conventions will guide it and keep it from making a mess.

# Step one: download the skill. $ curl -LsSfO https://properproject.org/skill.zip $ unzip skill.zip -d ~/.claude # Step two: ask, plainly, for a thing. $ cd myapp $ claude > add an OAuth login

Opinionated by design

These are the ideas the framework will not compromise on, the rules that everything else is built around.

01

Beautiful code

Writing code can, and should, be automated. But making that code easy to read and understand is the framework's reason for being.

02

Convention over configuration

You already know where things go. A Post model lives at models/post.py. Its controller is PostController in controllers/post_controller.py. Its views are at views/post/. This is not a suggestion - it is a feature.

03

CRUD, always

Every controller maps URLs to the same seven actions: index, new, create, show, edit, update, delete. Remove those you don't need. Create another resource if you need more.

04

Sync code, parallel runtime

The code you write is plain, synchronous Python. It runs on free-threaded Python, on the server's own threads, one process for all your workers. You get parallelism without await, and without the colour.

One command, and a new project appears

uvx proper_new myapp

It takes 10 seconds. Then read Getting Started.