Implementation of a instruction database in Python