vendredi 2 octobre 2015

Python local desktop application with a web UI

After reading a lot in SO, I encountered a lot of partial solutions but none does not meet my full requirements.

I will describe my problem with an simple application example "Image Processor". This app take an image, process it and returned the processed image.

I know that this example can be achieved much easily in regular desktop app, or in regular "traditional" web app, but this is just an example to grasp the possible solutions.

  1. Programming Languages: js and python only!.

    Any framework based on these are welcomed (node.js, node-webkit. py2web, py2exe, ....)

  2. App will be a desktop windows program (exe).
  3. App should work locally and offline (no remote servers).
  4. App GUI will be web based (html/css/js).
  5. Load button : User will load a local hard drive image file.
  6. Process button: will send the image data to a python code that will process and return a new image to the GUI.
  7. During the python process, it will signal the GUI on its progress and this will be shown as % on the web page.

  8. Save button: to save the new image to the disk.

  9. Closing the window will close all the involved processes (if more than one is need for the solution).

What are the solutions / frameworks / examples?

Thanks, Lior




Aucun commentaire:

Enregistrer un commentaire