Adapters inspired by Enthought Traits for Python