{"library":"traits","type":"library","category":null,"description":"Traits is a Python library that enables the definition of observable typed attributes for Python classes. It provides features like initialization with default values, validation of assigned values, delegation, notification upon value changes, and automatic user interface generation for attribute modification. Traits is a core component of the Enthought Tool Suite and aims to enhance code clarity and reduce boilerplate, particularly in scientific and engineering applications. The current stable version is 7.1.0, and it generally follows a regular release cadence with major updates addressing Python version compatibility and API refinements.","language":"python","status":"active","version":"7.1.0","tags":["type-checking","data-validation","observable-attributes","gui","enthought","scientific-computing"],"last_verified":"Sat May 23","install":[{"cmd":"pip install traits","imports":["from traits.api import HasTraits","from traits.api import Str","from traits.api import Int","from traits.api import Float","from traitsui.api import Color","from traits.api import Union"]}],"homepage":"http://docs.enthought.com/traits","github":"https://github.com/enthought/traits","docs":"https://docs.enthought.com/traits","changelog":null,"pypi":"https://pypi.org/project/traits/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2,"avg_import_s":0.28,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/traits/compatibility"}}