Re:Natively visualize NetworkX graphs using D3.js and pywebv...
by _frkl on Sunday January 17, 2021 @06:50AM
(#25809997)
I haven't looked at pywebview at all, and my experience with electron is also not very good. Apart from the 'native' misnomer, assuming the general concept of such a 'website-as-app' is an acceptable tradeoff in a certain situation, what exactly is bad with pywebview?
Re:Natively visualize NetworkX graphs using D3.js and pywebv...
by strken on Sunday January 17, 2021 @08:59AM
(#25810665)
It uses a platform-native renderer instead of embedding most of Chromium like Electron does, so it's not the same thing. I'd imagine it's better in some ways (executable size) and worse in others (dealing with 4 different renderers).
> pywebview is a lightweight cross-platform wrapper around a webview component that allows to display HTML content in its own native GUI window. You may think of as Electron for Python (minus huge executable sizes). It gives you power of web technologies in your desktop application, hiding the fact that GUI is browser based.
It's still as bad as electron and calling it native is a stretch.