OpenChemistry/avogadrolibs

Embedded Python console

Open

#581 opened on May 17, 2021

 (7 comments) (0 reactions) (0 assignees)C++ (232 forks)auto 404
enhancementhelp wantedpython

Repository metrics

Stars
 (662 stars)
PR merge metrics
 (PR metrics pending)

Description

There are two aspects of this:

  • the GUI for the console / interpreter
  • the code to run Python commands inside Avogadro

The latter looks like it already works with pybind11: https://pybind11.readthedocs.io/en/stable/advanced/embedding.html

There's also a PySide example: https://code.qt.io/cgit/pyside/pyside-setup.git/tree/examples/scriptableapplication

Finally, there's a BSD-licensed abstraction layer that allows either PyQt or PySide code: https://github.com/mottosso/Qt.py

Contributor guide