python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

Replace gevent & bottle w/ asyncio & aiohttp #383

Open bitnom opened 4 years ago

bitnom commented 4 years ago

In one of the best things to happen in my life, I saw that a fork of Eel (async-Eel) had happened, replacing gevent & bottle with asyncio & aiohttp. IMO, a PR should have happened when that was done.

There are so many of us using asyncio (And aiohttp for that matter) now. I gave async-Eel a try and it worked beautifully for the most part. I think it just needs to be brought current with Eel. I couldn't get jinja templates working for some reason. I'm going to start working on that but I wish it were actually Eel I was working on via asyncio coroutines instead.

This request is now in my night dreams.

bitnom commented 4 years ago

Just a quick update from my side. After having experimented with every python browser UI module, I have to conclude that they all suck. It could be great but it's not. Maybe there isn't enough effort being put into it. I am birthing a new one. There are just so many issues that come up and I can't deal with jumping into a foreign gevent-based (Which I don't like using) codebase.

It will probably be done here: https://github.com/bitnom/Trifecta

When I started that repo, it was just a bit of a dream. It's more than just dreams and talk now because I need it for my work.