Ngl: Standalone NGL viewer (from python?)

Created on 9 Apr 2018  路  3Comments  路  Source: nglviewer/ngl

Sorry if this is the wrong issue tracker (should it go to nglview?).

I was wondering if something has been done on using ngl directly from a python console (without jupyter). I remember discussing it in the past with you and that it was feasible but I haven't kept up with your development and could use a quick update :)

I have no clue from the field, but I know for example that standalone js programs exist like Atom. Also I have seen some python plotting libraries (using some lightweight js server?) pop up browser plots from python console.

Thanks!

discussion

Most helpful comment

Well, this was surprisingly trivial https://github.com/stefdoerr/ElectroNGL
Next I'll try to see how to get IPC working with python to send messages over to the GUI.

All 3 comments

That is more of an nglview issue. It is not supported at the moment.

Oh, ok. I'm tempted to try my luck with Electron as a side-project if it doesn't end up being too complicated.

Well, this was surprisingly trivial https://github.com/stefdoerr/ElectroNGL
Next I'll try to see how to get IPC working with python to send messages over to the GUI.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harryjubb picture harryjubb  路  4Comments

ghost picture ghost  路  4Comments

thomashopf picture thomashopf  路  6Comments

martingraham picture martingraham  路  4Comments

sbliven picture sbliven  路  3Comments