A Python library for analysis of electricity market design problems