##// END OF EJS Templates
Try to elide long completion based on user input....
Try to elide long completion based on user input. If what the user has typed is already in the completion and the completion is really long, try to elide what the user has already typed from the displayed text of the completion. Keep the first 3 and last 3 of what is already present. This will behave weirdly if all the completion have a common prefix as I believe prompt toolkit will insert the common prefix (or do we?). I'll have to check how to consider the common prefix as being typed.

File last commit:

r20278:8f4dcac7
r25689:d5704fdc
Show More
Index.ipynb
210 lines | 5.0 KiB | text/plain | TextLexer
Brian E. Granger
Lots of documentation work.
r16115 {
Min RK
upate exmaple notebooks to nbformat v4
r18669 "cells": [
Brian E. Granger
Adding back links.
r16116 {
Min RK
upate exmaple notebooks to nbformat v4
r18669 "cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"../images/ipython_logo.png\">"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Back to the main [Index](../Index.ipynb)"
]
},
{
"cell_type": "markdown",
"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": "markdown",
"metadata": {},
"source": [
"## Tutorials"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Coming soon."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Examples"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Coming soon."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Non-notebook examples"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This directory also contains examples that are regular Python (`.py`) files."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
Brian E. Granger
Finishing the index files.
r16118 {
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='embed_class_long.py' target='_blank'>embed_class_long.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_long.py"
]
},
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='embed_class_short.py' target='_blank'>embed_class_short.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_class_short.py"
]
},
Brian E. Granger
Adding back links.
r16116 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Finishing the index files.
r16118 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='embed_function.py' target='_blank'>embed_function.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/embed_function.py"
]
},
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='inprocess_qtconsole.py' target='_blank'>inprocess_qtconsole.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_qtconsole.py"
]
},
Brian E. Granger
Finishing the index files.
r16118 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='inprocess_terminal.py' target='_blank'>inprocess_terminal.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/inprocess_terminal.py"
]
},
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='internal_ipkernel.py' target='_blank'>internal_ipkernel.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/internal_ipkernel.py"
]
},
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='ipkernel_qtapp.py' target='_blank'>ipkernel_qtapp.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_qtapp.py"
]
},
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 },
{
Min RK
upate exmaple notebooks to nbformat v4
r18669 "data": {
"text/html": [
"<a href='ipkernel_wxapp.py' target='_blank'>ipkernel_wxapp.py</a><br>"
],
"text/plain": [
"/Users/bgranger/Documents/Computing/IPython/code/ipython/examples/Embedding/ipkernel_wxapp.py"
]
},
Brian E. Granger
Adding lists of .py examples and notes about more "Coming soon."
r16133 "metadata": {},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "output_type": "display_data"
Brian E. Granger
Adding back links.
r16116 }
],
Min RK
upate exmaple notebooks to nbformat v4
r18669 "source": [
"%run ../utils/list_pyfiles.ipy"
]
Brian E. Granger
Adding back links.
r16116 }
Min RK
upate exmaple notebooks to nbformat v4
r18669 ],
Min RK
add kernel metadata to example notebooks
r20278 "metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.2"
}
},
Min RK
upate exmaple notebooks to nbformat v4
r18669 "nbformat": 4,
"nbformat_minor": 0
Min RK
add kernel metadata to example notebooks
r20278 }