python: add basic ddb_cons_ddb support