Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipython widget #197

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Ipython widget #197

wants to merge 3 commits into from

Conversation

cjtitus
Copy link
Contributor

@cjtitus cjtitus commented Oct 30, 2024

Description

I am sharing an IPython console widget that I have been using for several months in my GUI. It has the same API as all the other QtRe-widgets, in that it takes a run engine client model. It then uses this to connect to the underlying ipython kernel that QueueServer is using. Then, you can run commands in the QueueServer's ipython kernel directly from your GUI.

Motivation and Context

Having an IPython console embedded in a GUI means that you no longer need to switch to a terminal version of Bluesky in order to do debugging, define custom scans, or run plans that aren't included in the GUI. It has been a great way to do development.

How Has This Been Tested?

I have been using this code for several months. It's pretty simple, I'm not sure how you would really test it in an automated fashion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant