python: Add Analog class.