A lightweight derivative of Enthought Traits for configuring Python objects
Description
Traitlets is a pure Python library enabling:
- the enforcement of strong typing for attributes of Python objects
(typed attributes are called "traits");
- dynamically calculated default values;
- automatic validation and coercion of trait attributes when attempting a change;
- registering for receiving notifications when trait values change;
- reading configuring values from files or from command line arguments -
a distinct layer on top of traitlets, so you may use traitlets without the configuration machinery.