##// END OF EJS Templates
Experimental patch to keep Trio event loop alive between cells...
Experimental patch to keep Trio event loop alive between cells Run Trio in a background thread and use trio.from_thread.run() to schedule cells in that thread. This exports a nursery object named GLOBAL_NURSERY that client code can use to start background tasks without blocking the completion of the current cell. Co-authored-by: Brian Mackintosh <bcmackintosh@gmail.com>

File last commit:

r20278:8f4dcac7
r25425:f724bc82
Show More
Index.ipynb
210 lines | 5.0 KiB | text/plain | TextLexer
No description has been provided for this image

Back to the main Index

Embedding IPython Into Other Applications

The architecture of IPython is built with reusable components. These components include:

  • The configuration system for processing command line arguments and configuration files
  • The IPython InteractiveShell object that provides the core interactive features across the entire code base
  • The IPython kernel, which provides the capabilities of the InteractiveShell object over a ZeroMQ/JSON based message protocol to various frontends
  • The IPython frontends (Notebook, Qt Console, Console, Terminal)

These components can be embedded into other applications.

Tutorials

Coming soon.

Examples

Coming soon.

Non-notebook examples

This directory also contains examples that are regular Python (.py) files.