Install & configure

  • Install Pyforms using pip.
pip install pyforms
  • To install the pyforms layers indevidually check the documentation at:
../_images/pyforms-gui.jpg

pyforms-gui.readthedocs.io


../_images/pyforms-web.jpg

pyforms-web.readthedocs.io


../_images/pyforms-terminal.jpg

pyforms-terminal.readthedocs.io



Configure

To switch between execution modes, create the file local_settings.py in application running directory with the content:

# This flag is used by the module confapp to set these settings as high priority.
SETTINGS_PRIORITY = 0

# The variable is used by pyforms to define the mode it will run.
# It can has the value 'GUI', 'WEB' or 'TERMINAL'.
PYFORMS_MODE = 'TERMINAL'