Pyforms Web documentation!

Pyforms Web is Python 3 framework to create single-page web applications.

The framework aims the boost the development productivity by providing an API in Python that generates HTML Forms amd manages all the clientserver forms communications.

Developers do not require to write any HTML or Javascript code, all the code is done in Python 3.

Source code

The next code produces the next web application.

class DefaultApp(BaseWidget):

  TITLE = 'Demo app'

  def __init__(self, *args, **kwargs):
    super(DefaultApp, self).__init__(*args, **kwargs)

    self._css_btn    = ControlButton('Toggle css')
    self._toggle_btn = ControlButton('Toggle visibility')
    self._copy_btn   = ControlButton('Copy the text')
    self._input      = ControlText('Type something here and press the copy button')
    self._text       = ControlTextArea('Result')
    self._combo      = ControlCombo('Combo')
    self._check      = ControlCheckBox('Check box')
    self._list       = ControlList('List')
    self._label      = ControlLabel('Label', default='Use the label for a dynamic text')

    self.formset = [
      no_columns('_toggle_btn','_copy_btn', '_css_btn'),
      ' ',
        'Free text': [],
        'Segments': [
          'The next example has a segment',


This framework is a software layer part of the Pyforms framework.



Indices and tables