Information you need you can get from Table object:
Ship.__table__.columnswill provide you with columns informationShip.__table__.foreign_keyswill list foreign keysShip.__table__.constraints,Ship.__table__.indexesare other properties you might find useful