musicscore2 is a python library for generating musicxml data in an intuitive and easy but nevertheless exhaustive way. The generated files can be imported in several music notation programs and be processed further if necessary. The preferred software is Finale which seems at the moment to have the best implementation of musicxml format files and supports the newest version 4.0.
musicscore2 consists of two main packages: musicxml and musictree:
For documentation see: https://musicscore2.readthedocs.io
The project can be found on GitHub under: https://github.com/alexgorji/musicscore2
musicscore2 can be installed via pip:
(.venv) $ pip install musicscore2
musicxml can also be found in a separate repository under: <https://github.com/alexgorji/musicxml> and be installed via pip:
(.venv) $ pip install musicxml