{ "metadata": { "name": "", "signature": "sha256:78b90d18791f32ff5abbbf5b4a9846ad8fad0a46af65125faac15f86f68da57f" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Back to the main [Index](../Index.ipynb)" ] }, { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Embedding IPython Into Other Applications" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "The architecture of IPython is built with reusable components. These components include:\n", "\n", "* The configuration system for processing command line arguments and configuration files\n", "* The IPython `InteractiveShell` object that provides the core interactive features across the entire code base\n", "* The IPython kernel, which provides the capabilities of the `InteractiveShell` object over a ZeroMQ/JSON based message protocol to various frontends\n", "* The IPython frontends (Notebook, Qt Console, Console, Terminal)\n", "\n", "These components can be embedded into other applications." ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Tutorials" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Coming soon." ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Examples" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Coming soon." ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Non-notebook examples" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This directory also contains examples that are regular Python (`.py`) files." ] }, { "cell_type": "code", "collapsed": false, "input": [ "from IPython.display import FileLink, display" ], "language": "python", "metadata": {}, "outputs": [], "prompt_number": 2 }, { "cell_type": "code", "collapsed": false, "input": [ "files =!ls *.py\n", "for f in files:\n", " display(FileLink(f))" ], "language": "python", "metadata": {}, "outputs": [ { "html": [ "embed_class_long.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_long.py" ] }, { "html": [ "embed_class_short.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_short.py" ] }, { "html": [ "embed_function.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_function.py" ] }, { "html": [ "inprocess_qtconsole.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_qtconsole.py" ] }, { "html": [ "inprocess_terminal.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_terminal.py" ] }, { "html": [ "internal_ipkernel.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/internal_ipkernel.py" ] }, { "html": [ "ipkernel_qtapp.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_qtapp.py" ] }, { "html": [ "ipkernel_wxapp.py
" ], "metadata": {}, "output_type": "display_data", "text": [ "/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_wxapp.py" ] } ], "prompt_number": 3 } ], "metadata": {} } ] }