Contract Software Using Python Dictionaries