.. _sphx_glr_school-tutorials_trilmax-2025_2_black-box: Magnopy as a black box ====================== Magnopy can be used without any knowledge of Python programming. In other words it can be used as a black-box software via its command line interface. First, one need to install magnopy. Open a terminal and run the following command (type the command and press enter) .. code-block:: bash pip install "magnopy[visual]" Check that everything is ok by executing the command .. code-block:: bash magnopy There are currently two command line scripts in magnopy. Use |GROGU|_ file that you have obtained to follow the tutorial for each of them. .. hint:: Those scripts can be run from within python as well, see: |magnopy-scenarios|_. One can study the source code of :external:py:func:`magnopy.scenarios.optimize_sd` and :external:py:func:`magnopy.scenarios.solve_lswt` for more advance example of how magnopy can be used as a python library. .. raw:: html