Start here
Welcome. This section takes you from nothing installed to a working app you understand, in five short steps. Do them in order; each one builds on the last.
| Step | What you will do | Time |
|---|---|---|
| 1. Get Drafter running | Install Drafter and verify it works | 10 min |
| 2. Build your first app | Build and run a working counter site | 20 min |
| 3. Make one visible change | Edit a running app, break it, and fix it | 10 min |
| 4. See inside your app | Read state, history, and tests in the debugger | 10 min |
| 5. How Drafter works | Understand what you have been doing | 5 min |
What you should already know
Drafter uses Python you have already learned:
- writing and calling functions
- dataclasses (defining a class with fields using
@dataclass) - lists and
forloops
If dataclasses feel shaky, that is fine. The first app walks through the one pattern you need.
Already comfortable with code?
If you have built software before, skim How Drafter works for the runtime model, then go straight to Add to Your App for task recipes and the component reference for the API.
-
Next: Get Drafter running
Install Drafter in Thonny or with pip, and verify it worked.