Add Python sources for hardware prototype