# Spellbook configuration basics **🟡 Intermediate · Lesson 19** SpellbookConfiguration - the book's policy object. with_defaults() is easy mode; set_property tunes the knobs; conjure VALIDATES AND FREEZES it (frozen config refuses mutation - fail fast, not drift). ## Before you run Use the [Intermediate guide](../../intermediate/index.md) for prerequisite concepts. Run from a checkout with Melder installed and Python 3.14 free-threading selected. The collection download includes the level's local helper modules. ## Run the saved script ```bash python UX_and_AIX_experiences/02_intermediate/19_spellbook_configuration_basics.py ``` ```powershell py -3.14t UX_and_AIX_experiences/02_intermediate/19_spellbook_configuration_basics.py ``` {download}`Download this collection <../../downloads/intermediate-examples.zip>` · [Source on GitHub](https://github.com/Synaptic724/melder/blob/1211e838099a342c9dde48f064b1e772b6060e13/UX_and_AIX_experiences/02_intermediate/19_spellbook_configuration_basics.py) ## Public surface md.SpellbookConfiguration, set_property, the freeze law ## Code ```{literalinclude} ../../downloads/02_intermediate/19_spellbook_configuration_basics.py :language: python :linenos: ``` ## Check the outcome The script contains its own assertions or demonstrated refusal paths. Run it to evaluate those checks against your installed version. The code above is taken directly from the saved file; no run output is invented here. [More intermediate examples](index.md) · [Level guide](../../intermediate/index.md) ## Related guides - [Configuration before conjure](../../intermediate/configuration.md) ## API contracts - [SpellbookConfiguration](../../reference/api/configuration/spellbookconfiguration.md)