Manually recreated enums.hpp in Python