have you considered using an [enum] (http://docs.sqlalchemy.org/en/rel_0_8/core/types.html?#sqlalchemy.types.Enum) for this sort of thing?