You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
I have been trying to install Eel's support for Jinja templates using Python 3.10.0, 3.10.16, and 3.12 using the command: pip install eel[jinja2]; however, I always get a message saying "Not matches found". What can be wrong ?
you have main.py which loads your html and displays it, in the main.py you have methods which receive data from the frontend javacsript and tell it what to do and vice versa. its simple.
The "class Backend(QObject)" holds all the pyqslot methods which are methods you define and call in the javascript code of the html page. So for example to save the game, you call the save_game method which grabs the javascript data from the webview and saves it.
Activity
non-npc commentedon Mar 10, 2025
You can create desktop python/JS/html applications without eel by simply using PyQT6.
Here are several examples:
https://github.com/non-npc/Serverless-Desktop-Python
https://github.com/non-npc/Desktop-Javascript-Python-GameDemo
rubenelias commentedon Mar 10, 2025
@non-npc Thank you. Interesting. Do you know if there is a PySide equivalent?
non-npc commentedon Mar 10, 2025
PySide6=PyQT6, its basically the same thing
rubenelias commentedon Mar 10, 2025
This seems more complex than trying to use eel. I wish there were a simple tutorial...
non-npc commentedon Mar 10, 2025
you have main.py which loads your html and displays it, in the main.py you have methods which receive data from the frontend javacsript and tell it what to do and vice versa. its simple.
non-npc commentedon Mar 10, 2025
If you look at main.py here
https://github.com/non-npc/Desktop-Javascript-Python-GameDemo/blob/main/main.py
The "class Backend(QObject)" holds all the pyqslot methods which are methods you define and call in the javascript code of the html page. So for example to save the game, you call the save_game method which grabs the javascript data from the webview and saves it.