The all new “Gooey” GUI for Python API

Loklak Python API is now Windows friendly with the all new GUI.

UI

Thanx to Gooey!  You don’t need to be command prompt or Powershell “specialist” to use the Loklak Python API. Just use the GUI and follow simple steps to fetch results from the powerful Loklak. Gooey provides several UI options for python applications.

examples

After a bit of thought and careful examination of GooeyExamples, it became pretty conclusive that the “Column Layout” would be perfect to capture the detailed options that Loklak API supports.

Earlier code structure of   /bin/loklak did not support the “Column Layout” UI format. UI demanded the use of subparsers(refer this and this) and therefore some tweaking was required. This is how the code transformation looks like!

This slideshow requires JavaScript.

And the best part is that power users can still enjoy the terminal!

terminal

After the API was “Column UI” ready, only two lines are required to integrate Gooey with the API.

from gooey import Gooey
@Gooey

before def main(): in /bin/loklak

And there you go. These are how the results look like!

docwho

result

Pretty sleek isn’t it!

To download and install Gooey please refer this.

The all new “Gooey” GUI for Python API