Master tutorial¶
Target magnopy's version: 0.4.3
Last updated: 9 January 2026
Magnopy as a python library¶
Every page of the tutorial explains some concepts about the magnopy. There is a list of exercises on top of each tutorial page. Exercises are connected to the content that you find in each page.
Magnopy as a black box¶
Alternative way to use magnopy, that does not require knowledge of Python is through its command line interface.
Hint
The command line scripts can be run from within python as well, see:
magnopy.scenarios. One can study the source code of
magnopy.scenarios.optimize_sd() and
magnopy.scenarios.solve_lswt() for more advance example of how
magnopy can be used as a python library.