Python client and server library for the Karoo Array Telescope Control Protocol (KATCP)