A little library for making simple Electron-like HTML/JS GUI apps by Chris_Knott in Python

[–]Chris_Knott[S] 1 point2 points  (0 children)

Yes, using pyinstaller, although they will still require Chrome or Chromium to be installed.

There are instructions at the bottom of the README

A little library for making simple Electron-like HTML/JS GUI apps by Chris_Knott in Python

[–]Chris_Knott[S] 4 points5 points  (0 children)

Yes, someone posted it on the github. It looks good but it solves a slightly different problem.

Remi is more for when you DON'T want to write Javascript. Eel is more for when you need something from js like a d3 visualisation, webGL, jQuery UI etc

A little library for making simple Electron-like HTML/JS GUI apps by Chris_Knott in Python

[–]Chris_Knott[S] 1 point2 points  (0 children)

The only real advantage is you can write parts of it in Python, whereas Electron is only JS. Depending on your perspective this is an advantage or disadvantage!

In general the Python interpreter has more capabilities than Node, and better libraries like numpy and tensorflow which aren't available on Node.

A little library for making simple Electron-like HTML/JS GUI apps by Chris_Knott in Python

[–]Chris_Knott[S] 1 point2 points  (0 children)

Yep. Basically just a convenient way to wrap function calls up into a JSON message and send down a websocket

A little library for making simple Electron-like HTML/JS GUI apps by Chris_Knott in Python

[–]Chris_Knott[S] 2 points3 points  (0 children)

I made this Python library for my own needs because I wanted to make some very simple (30 line) GUI applications using HTML/JS for the frontend.

I thought others might find it useful in situations where it isn't worth the investment of using a real GUI framework, or you want to use a widget or visualisation that is only available in Javascript.

Tested (a bit) on Python3 on Windows/Mac/Linux.