What to Use for User-Interfaces

This week on the mailing list, there was a neat thread about what to use for writing user-interfaces in Python. Here was a list of recommended graphical user-interface packages:

Chris Barker said the following about coding up text-based command-line interfaces:

I recommend argparse for doing that in python. argparse is MUCH better than writing your own system — but I’d go with docopt — VERY slick:

http://docopt.org/

Oh, another option:

Build it all into a Jupyter Notebook:

https://jupyter.org/

(formerly iPython)

with Interactive widgets!

https://github.com/ipython/ipywidgets/blob/master/examples/Index.ipynb

For more on IPython widgets: https://ipython.org/ipython-doc/dev/whatsnew/version2.0.html#interactive-widgets and http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Interactive%20Widgets/Index.ipynb.

(Hat tips: Ryan Abernathey, T. Arulalan, Heiner Asmus, Chris Barker, Andrea Cimatoribus, Davide Del Vento, and Timothy Lang.)

This entry was posted in Interfaces, Packages, Visualization. Bookmark the permalink.