Python Implementation fot ISO 6336