summaryrefslogtreecommitdiff
path: root/python/traitlets/README
blob: b1c1aa907b22c52e83c7927370e8508b84da7cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Traitlets is a pure Python library enabling:

* the enforcement of strong typing for attributes of Python objects
  (typed attributes are called "traits")
* notifications on changes of trait attributes
* automatic validation and coercion of trait attributes when attempting
  a change

Its implementation relies on the descriptor pattern.

Traitlets powers the configuration system of IPython and Jupyter and the
declarative API of IPython interactive widgets.