Add python variation of Datagram add_value