Note

This documentation is for a development version of Traitlets. There may be significant differences from the latest stable release.

Traitlets

Release:5.0.0.dev
Date:Nov 14, 2017
home:https://github.com/ipython/traitlets
pypi-repo:https://pypi.org/project/traitlets/
docs:https://traitlets.readthedocs.io/
license:Modified BSD License

Traitlets is a framework that lets Python classes have attributes with type checking, dynamically calculated default values, and ‘on change’ callbacks.

The package also includes a mechanism to use traitlets for configuration, loading values from files or from command line arguments. This is a distinct layer on top of traitlets, so you can use traitlets in your code without using the configuration machinery.