Python library for music theory