awesome-python icon indicating copy to clipboard operation
awesome-python copied to clipboard

add traitlets

Open norweeg opened this issue 5 years ago • 0 comments

What is this Python project?

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.

Its implementation relies on the descriptor pattern, and it is a lightweight pure-python alternative of the traits library.

What's the difference between this Python project and similar ones?

  • Pure Python
  • configurable from file or CLI arguments

--

Anyone who agrees with this pull request could submit an Approve review to it.

norweeg avatar Jan 22 '21 15:01 norweeg