From 3aebdec146d8388febe25aea523212f03334ba97 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Mon, 23 Jan 2017 17:25:28 +0000 Subject: python/traitlets: Added (lightweight Traits-like module). Signed-off-by: David Spencer --- python/traitlets/README | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 python/traitlets/README (limited to 'python/traitlets/README') diff --git a/python/traitlets/README b/python/traitlets/README new file mode 100644 index 0000000000..67b73cc20d --- /dev/null +++ b/python/traitlets/README @@ -0,0 +1,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. -- cgit v1.2.3