Traitlets is a framework that lets Python classes have attributes with type checking, dynamically calculated default values, and 'on change' callbacks. Keeps configuration in a variety of formats, including JSON.