A Python library for music theory