characteristic is an MIT-licensed Python package with class decorators.
It's rigorously tested on Python 2.6, 2.7, 3.3+, and PyPy.