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.
Commercial Use
Modify
Distribute
Place Warranty
Hold Liable
Use Trademarks
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
There are no reported vulnerabilities
30 Day SummaryJan 17 2025 — Feb 16 2025
|
12 Month SummaryFeb 16 2024 — Feb 16 2025
|