summaryrefslogtreecommitdiff
path: root/python/traitlets/README
blob: 67b73cc20d3bc9ac346ce72e7884ad6011051fb4 (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.