Where can I find materials for how to use IPython api

43 views
Skip to first unread message

Jeff Zhang

unread,
Dec 19, 2017, 6:51:28 AM12/19/17
to Project Jupyter

I'd like to embed IPython in my project, so I would use the internal api of IPython. The only thing I can find for now is this link https://ipython.readthedocs.io/en/stable/
But what other materials that I can find for using IPython api.


 

Thomas Kluyver

unread,
Dec 19, 2017, 6:56:08 AM12/19/17
to Project Jupyter
Hi Jeff,

You could look at some IPython extensions to see how they use the API: https://github.com/ipython/ipython/wiki/Extensions-Index .

What sort of project are you planning to embed IPython into?

Thomas

On 19 December 2017 at 11:51, Jeff Zhang <zjf...@gmail.com> wrote:

I'd like to embed IPython in my project, so I would use the internal api of IPython. The only thing I can find for now is this link https://ipython.readthedocs.io/en/stable/
But what other materials that I can find for using IPython api.


 

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/7a4b41df-4dab-401e-9c2e-d3dd05e180a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lawrence D’Oliveiro

unread,
Dec 19, 2017, 5:07:48 PM12/19/17
to Project Jupyter
On Wednesday, December 20, 2017 at 12:51:28 AM UTC+13, Jeff Zhang wrote:

I'd like to embed IPython in my project, so I would use the internal api of IPython. The only thing I can find for now is this link https://ipython.readthedocs.io/en/stable/
But what other materials that I can find for using IPython api.
 
 Ones I have also found useful:

Jeff Zhang

unread,
Dec 19, 2017, 8:10:49 PM12/19/17
to Project Jupyter

Thanks Thomas, I'd like to embed ipython into some kind of notebook like jupyter. So I'd like to use Ipython advanced apis for capturing the output, code completion and etc. 

在 2017年12月19日星期二 UTC+8下午7:56:08,takowl写道:
Hi Jeff,

You could look at some IPython extensions to see how they use the API: https://github.com/ipython/ipython/wiki/Extensions-Index .

What sort of project are you planning to embed IPython into?

Thomas
On 19 December 2017 at 11:51, Jeff Zhang <zjf...@gmail.com> wrote:

I'd like to embed IPython in my project, so I would use the internal api of IPython. The only thing I can find for now is this link https://ipython.readthedocs.io/en/stable/
But what other materials that I can find for using IPython api.


 

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

Thomas Kluyver

unread,
Dec 20, 2017, 6:53:54 AM12/20/17
to Project Jupyter
IPython already is embedded in Jupyter! But if you want to use it like that in another notebook interface, probably the best way to use it is as a *kernel*. This is what Jupyter does: it launches a process which it can communicate with using a documented protocol [1] to execute code and get output. This interface is likely to be much more stable than any Python APIs to do the same things.

[1] http://jupyter-client.readthedocs.io/en/latest/messaging.html

To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages