From takowl at gmail.com  Sun Feb  1 13:15:27 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sun, 1 Feb 2015 10:15:27 -0800
Subject: [IPython-dev] Two basic Notebook questions (Python focus)
In-Reply-To: <CAEen6uyY6u=z95stNyJ5qxk=h=T62NWJoqdrA5S2_5RoJmCb1w@mail.gmail.com>
References: <CAEen6uyY6u=z95stNyJ5qxk=h=T62NWJoqdrA5S2_5RoJmCb1w@mail.gmail.com>
Message-ID: <CAOvn4qhk8S7OVyY1ZfnUSzwkK51EYX-XiFBvk+q2EK+0o17DCg@mail.gmail.com>

On 31 January 2015 at 19:41, Jean Bigboute <jeanbigboute at gmail.com> wrote:

> [TerminalIPythonApp] WARNING | Error in loading extension: kernmagic
> Check your config files in /{PATH}/.ipython/profile_default
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> /{PATH}/anaconda/lib/python2.7/site-packages/IPython/core/extensions.pyc
> in load_extension(self, module_str)
>      96             if module_str not in sys.modules:
>      97                 with
> prepended_to_syspath(self.ipython_extension_dir):
> ---> 98                     __import__(module_str)
>      99             mod = sys.modules[module_str]
>     100             if self._call_load_ipython_extension(mod):
>
> ImportError: No module named kernmagic
>

This error message looks very much like your config specifies the kernmagic
extension, and that's not installed. That should be orthogonal to your
problem, however.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150201/d0600c7b/attachment.html>

From jeanbigboute at gmail.com  Mon Feb  2 12:25:10 2015
From: jeanbigboute at gmail.com (Jean Bigboute)
Date: Mon, 2 Feb 2015 09:25:10 -0800
Subject: [IPython-dev] IPython-dev Digest, Vol 133, Issue 1
In-Reply-To: <mailman.3.1422813601.1463.ipython-dev@scipy.org>
References: <mailman.3.1422813601.1463.ipython-dev@scipy.org>
Message-ID: <CAEen6uyaF7f=WxRHoz+jSc--a0vxf+Mzw4PjzdC=ZDmiN02png@mail.gmail.com>

[ deletia ]

Thomas's solution worked on both Anaconda and Enthought Canopy for
Windows.  A fresh installation of Anaconda fixed the kernmagic problem
on the Mac.  A couple of minor tweaks were needed to the code itself
to get it to go on all three.  I think I didn't understand the error
messages generated when the code loaded.

import inspect
def source(func):
     print inspect.getsource(func)

does the job via the startup file.

Thanks for the advice.

JBB

> Message: 4
> Date: Sat, 31 Jan 2015 19:41:41 -0800
> From: Jean Bigboute <jeanbigboute at gmail.com>
> Subject: Re: [IPython-dev] Two basic Notebook questions (Python focus)
> To: ipython-dev at scipy.org
> Message-ID:
>         <CAEen6uyY6u=z95stNyJ5qxk=h=T62NWJoqdrA5S2_5RoJmCb1w at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, Jan 31, 2015 at 10:00 AM,  <ipython-dev-request at scipy.org> wrote:
>
>>
>> Message: 4
>> Date: Fri, 30 Jan 2015 15:48:59 -0800
>> From: Thomas Kluyver <takowl at gmail.com>
>> Subject: Re: [IPython-dev] Two basic Notebook questions (Python focus)
>
>> On 30 January 2015 at 15:26, Jean Bigboute <jeanbigboute at gmail.com> wrote:
>>
>>> b) Is it possible to pass arguments to a magic function?
>>> e.g.
>>> import inspect
>>> print inspect.getsource(function)
>>>
>>
>> This is probably easiest to do in a plain Python function. Create a file
>> ~/.ipython/profile_default/startup/printsource.py (which IPython will
>> automatically run when it starts, and put in it:
>>
>> import inspect
>> def source(func)
>>     print inspect.getsource(function)
>>
>> Now you can just type 'source(f)' to see a function in your notebook. Be
>> aware, though, that if you share that notebook, other people won't have the
>> source() function defined. You could also define it at the top of the
>> notebook if you prefer.
>>
>> Thomas
>>
>


From mark.voorhies at ucsf.edu  Mon Feb  2 14:11:37 2015
From: mark.voorhies at ucsf.edu (Mark Voorhies)
Date: Mon, 2 Feb 2015 11:11:37 -0800
Subject: [IPython-dev] Concise citations for the Scipy stack
Message-ID: <54CFCBE9.5030506@ucsf.edu>

I'm putting together a set of "software tools" references for a paper that we are preparing to submit.
I am trying to balance acknowledging as much of our infrastructure as possible, while minimizing the
number of references that have no direct (i.e., unambiguously obvious to the reader) connection to the
methods section of the paper (e.g., citing Tornado, git, h5py, or MySQL is probably going too far; likewise,
I think it's reasonable to cite R but not rpy2).

Based on http://www.scipy.org/citing.html, I think a good minimal set (for a paper with heavy use of
IPython for matplotlib-based plotting, including KDEs from scipy.stats, and a lot of vanilla python
sequence/expression analysis code) is:

NumPy & SciPy
St?fan van der Walt, S. Chris Colbert and Ga?l Varoquaux. The NumPy Array: A Structure for Efficient Numerical Computation, Computing in Science & Engineering, 13, 22-30 (2011), DOI:10.1109/MCSE.2011.37

Matplotlib
John D. Hunter. Matplotlib: A 2D Graphics Environment, Computing in Science & Engineering, 9, 90-95 (2007), DOI:10.1109/MCSE.2007.55

IPython
Fernando P?rez and Brian E. Granger. IPython: A System for Interactive Scientific Computing, Computing in Science & Engineering, 9, 21-29 (2007), DOI:10.1109/MCSE.2007.53

Thoughts?

--Mark


From wes.turner at gmail.com  Mon Feb  2 14:33:13 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Mon, 2 Feb 2015 13:33:13 -0600
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <CACfEFw8dccDV+zEz0dSs0_9mxCZzUHnpo-n4DBj1-QMcLE3Hbg@mail.gmail.com>
References: <54CFCBE9.5030506@ucsf.edu>
	<CACfEFw_z_gEjhJCHBS_CtGYLMc4fPQQOCKJq1R8ig8Zk8jz7JA@mail.gmail.com>
	<CACfEFw8dccDV+zEz0dSs0_9mxCZzUHnpo-n4DBj1-QMcLE3Hbg@mail.gmail.com>
Message-ID: <CACfEFw-QeBXVMJwv0ewxR=kZ65dMQg57q8N0MhdAYJA1x4PP3Q@mail.gmail.com>

There sem to varying definitions of "Scipy Stack"

http://www.scipy.org/stackspec.html

https://registry.hub.docker.com/u/ipython/scipystack/dockerfile/

https://github.com/ipython/docker-notebook/tree/master/scipystack

http://docs.continuum.io/anaconda/pkg-docs.html

...  http://westurner.github.io/tools/#scipy-stack
On Feb 2, 2015 1:11 PM, "Mark Voorhies" <mark.voorhies at ucsf.edu> wrote:

I'm putting together a set of "software tools" references for a paper that
we are preparing to submit.
I am trying to balance acknowledging as much of our infrastructure as
possible, while minimizing the
number of references that have no direct (i.e., unambiguously obvious to
the reader) connection to the
methods section of the paper (e.g., citing Tornado, git, h5py, or MySQL is
probably going too far; likewise,
I think it's reasonable to cite R but not rpy2).

Based on http://www.scipy.org/citing.html, I think a good minimal set (for
a paper with heavy use of
IPython for matplotlib-based plotting, including KDEs from scipy.stats, and
a lot of vanilla python
sequence/expression analysis code) is:

NumPy & SciPy
St?fan van der Walt, S. Chris Colbert and Ga?l Varoquaux. The NumPy Array:
A Structure for Efficient Numerical Computation, Computing in Science &
Engineering, 13, 22-30 (2011), DOI:10.1109/MCSE.2011.37

Matplotlib
John D. Hunter. Matplotlib: A 2D Graphics Environment, Computing in Science
& Engineering, 9, 90-95 (2007), DOI:10.1109/MCSE.2007.55

IPython
Fernando P?rez and Brian E. Granger. IPython: A System for Interactive
Scientific Computing, Computing in Science & Engineering, 9, 21-29 (2007),
DOI:10.1109/MCSE.2007.53

Thoughts?

--Mark
_______________________________________________
IPython-dev mailing list
IPython-dev at scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150202/9079624f/attachment.html>

From aron at ahmadia.net  Mon Feb  2 14:50:15 2015
From: aron at ahmadia.net (Aron Ahmadia)
Date: Mon, 2 Feb 2015 14:50:15 -0500
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <54CFCBE9.5030506@ucsf.edu>
References: <54CFCBE9.5030506@ucsf.edu>
Message-ID: <CAPhiW4iX-ae5e+EzTnNgTxmVR9JyKjDJzY0-dVs7FS03NvgajA@mail.gmail.com>

On Mon, Feb 2, 2015 at 2:11 PM, Mark Voorhies <mark.voorhies at ucsf.edu>
wrote:

> I'm putting together a set of "software tools" references for a paper that
> we are preparing to submit.
> I am trying to balance acknowledging as much of our infrastructure as
> possible, while minimizing the
> number of references that have no direct (i.e., unambiguously obvious to
> the reader) connection to the
> methods section of the paper (e.g., citing Tornado, git, h5py, or MySQL is
> probably going too far; likewise,
> I think it's reasonable to cite R but not rpy2).
>
> Based on http://www.scipy.org/citing.html, I think a good minimal set
> (for a paper with heavy use of
> IPython for matplotlib-based plotting, including KDEs from scipy.stats,
> and a lot of vanilla python
> sequence/expression analysis code) is:
>
> NumPy & SciPy
> St?fan van der Walt, S. Chris Colbert and Ga?l Varoquaux. The NumPy Array:
> A Structure for Efficient Numerical Computation, Computing in Science &
> Engineering, 13, 22-30 (2011), DOI:10.1109/MCSE.2011.37
>
> Matplotlib
> John D. Hunter. Matplotlib: A 2D Graphics Environment, Computing in
> Science & Engineering, 9, 90-95 (2007), DOI:10.1109/MCSE.2007.55
>
> IPython
> Fernando P?rez and Brian E. Granger. IPython: A System for Interactive
> Scientific Computing, Computing in Science & Engineering, 9, 21-29 (2007),
> DOI:10.1109/MCSE.2007.53
>
> Thoughts?
>
> --Mark
>

Hi Mark,

As I'm guessing you know, there are a number of reasons to cite academic
software.  I think first and foremost, you have a responsibility to
acknowledge contributions that were not your own.  Secondly, you also have
a responsibility to improve the credibility of your work by enabling others
to reproduce your analysis.  I agree that you should cite any software
package that implements algorithms you use for your work, as well as any
environments that are "transformational."  If you would like others to be
able to reuse or reproduce your work, it is also important to identify the
specific versions of software that you used.  In this case, I argue that
you should cite an identifier (such as release tag or git commit) as well
as a URL for obtaining that software.

The advantage of citing Git commits/tags in particular is that they also
contain complete records tracking authorship.

So my specific advice here would be to cite any papers that you found
helpful or were requested by the authors, but that you also provide a
description of the major components of the software environment (Python
libraries, sub-libraries such as HDF5) you used.

Regards,
Aron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150202/d475403f/attachment.html>

From wes.turner at gmail.com  Mon Feb  2 16:06:14 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Mon, 2 Feb 2015 15:06:14 -0600
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <CAPhiW4iX-ae5e+EzTnNgTxmVR9JyKjDJzY0-dVs7FS03NvgajA@mail.gmail.com>
References: <54CFCBE9.5030506@ucsf.edu>
	<CAPhiW4iX-ae5e+EzTnNgTxmVR9JyKjDJzY0-dVs7FS03NvgajA@mail.gmail.com>
Message-ID: <CACfEFw-su-vuKSakXmWSJ3vzOa=0tm=qhyikB_T56RyDPybSSQ@mail.gmail.com>

On Mon, Feb 2, 2015 at 1:50 PM, Aron Ahmadia <aron at ahmadia.net> wrote:

> [...]
>
>
> Hi Mark,
>
> As I'm guessing you know, there are a number of reasons to cite academic
> software.  I think first and foremost, you have a responsibility to
> acknowledge contributions that were not your own.  Secondly, you also have
> a responsibility to improve the credibility of your work by enabling others
> to reproduce your analysis.  I agree that you should cite any software
> package that implements algorithms you use for your work, as well as any
> environments that are "transformational."  If you would like others to be
> able to reuse or reproduce your work, it is also important to identify the
> specific versions of software that you used.  In this case, I argue that
> you should cite an identifier (such as release tag or git commit) as well
> as a URL for obtaining that software.
>
> The advantage of citing Git commits/tags in particular is that they also
> contain complete records tracking authorship.
>
>
http://figshare.com and https://zenodo.org/ (CERN) allow authors to
generate archives and citable DOIs for specific revisions of [GitHub]
repositories.

https://en.wikipedia.org/wiki/BibTeX could also be useful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150202/1ee7bb6b/attachment.html>

From aron at ahmadia.net  Mon Feb  2 16:11:33 2015
From: aron at ahmadia.net (Aron Ahmadia)
Date: Mon, 2 Feb 2015 16:11:33 -0500
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <CACfEFw-su-vuKSakXmWSJ3vzOa=0tm=qhyikB_T56RyDPybSSQ@mail.gmail.com>
References: <54CFCBE9.5030506@ucsf.edu>
	<CAPhiW4iX-ae5e+EzTnNgTxmVR9JyKjDJzY0-dVs7FS03NvgajA@mail.gmail.com>
	<CACfEFw-su-vuKSakXmWSJ3vzOa=0tm=qhyikB_T56RyDPybSSQ@mail.gmail.com>
Message-ID: <CAPhiW4j8vzPSoQDCO9Ysx-VcdkV9MhqCE9G6Q0nVnMauz-atxg@mail.gmail.com>

On Mon, Feb 2, 2015 at 4:06 PM, Wes Turner <wes.turner at gmail.com> wrote:

>
> http://figshare.com and https://zenodo.org/ (CERN) allow authors to
> generate archives and citable DOIs for specific revisions of [GitHub]
> repositories.
>

Agreed.  I don't see a problem with citing the Git commit itself, as Git
commits are just as useful for provenance/reproducibility as DOIs, and both
of the services you list above require you to license your code to them (if
you are depositing the code, as opposed to just providing a Stodden-style
compendium).  Figshare, the last time I checked, required CC BY licenses,
which aren't particularly code compatible.

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150202/2c385229/attachment.html>

From simoncropper at fossworkflowguides.com  Mon Feb  2 16:54:55 2015
From: simoncropper at fossworkflowguides.com (Simon Cropper)
Date: Tue, 03 Feb 2015 08:54:55 +1100
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <54CFCBE9.5030506@ucsf.edu>
References: <54CFCBE9.5030506@ucsf.edu>
Message-ID: <54CFF22F.8050008@fossworkflowguides.com>

Hi Mark

My personal view when publishing work done with any software is...

1. Each bit of software used, its version and who released/sold it and
    if it is readily available on the Internet, a URL to the release
    should be cited. All foss software have specific attribution
    requirements so care should be made to ensure these are met.
2. In the methodology you need to outline the specific configuration
    or setup for any program that is able to vary the output of an
    algorithm based on different settings; and any work/papers that help
    justify these settings.
3. Where appropriate, as you are publishing in the academic arena,
    cite vanilla background papers -- like you suggested in your
    original post -- supporting the framework/library methodology.
4. Finally, to avoid problems with varying definitions of what actually
    constitutes the Scipy stack, outline only those software packages or
    libraries used. As pointed out by Aron the objective is to give
    enough information to the reader that your analysis can be
    reproduced.

The problem is however that journals don't like gray literature or web 
references, let alone software or data sinks references. This can be 
clearly seen by the lack of any advice on how to cite this type of 
information in author guidelines on most reputable peer-reviewed 
journals. My suggestion here is to err on the side of providing too much 
information rather than brevity -- especially in the description of the 
software (include name, version, etc) and when pointing to the 
publisher/distributor (include name of publisher and URL). That said, 
assume the URL is transitory and include enough data that someone could 
search the web for a particular foss or dataset using the text you 
provided).


On 03/02/15 06:11, Mark Voorhies wrote:
> I'm putting together a set of "software tools" references for a paper that we are preparing to submit.
> I am trying to balance acknowledging as much of our infrastructure as possible, while minimizing the
> number of references that have no direct (i.e., unambiguously obvious to the reader) connection to the
> methods section of the paper (e.g., citing Tornado, git, h5py, or MySQL is probably going too far; likewise,
> I think it's reasonable to cite R but not rpy2).
>
> Based on http://www.scipy.org/citing.html, I think a good minimal set (for a paper with heavy use of
> IPython for matplotlib-based plotting, including KDEs from scipy.stats, and a lot of vanilla python
> sequence/expression analysis code) is:
>
> NumPy & SciPy
> St?fan van der Walt, S. Chris Colbert and Ga?l Varoquaux. The NumPy Array: A Structure for Efficient Numerical Computation, Computing in Science & Engineering, 13, 22-30 (2011), DOI:10.1109/MCSE.2011.37
>
> Matplotlib
> John D. Hunter. Matplotlib: A 2D Graphics Environment, Computing in Science & Engineering, 9, 90-95 (2007), DOI:10.1109/MCSE.2007.55
>
> IPython
> Fernando P?rez and Brian E. Granger. IPython: A System for Interactive Scientific Computing, Computing in Science & Engineering, 9, 21-29 (2007), DOI:10.1109/MCSE.2007.53
>
> Thoughts?
>
> --Mark
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>

-- 
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting


From wes.turner at gmail.com  Mon Feb  2 17:20:04 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Mon, 2 Feb 2015 16:20:04 -0600
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <54CFF22F.8050008@fossworkflowguides.com>
References: <54CFCBE9.5030506@ucsf.edu>
	<54CFF22F.8050008@fossworkflowguides.com>
Message-ID: <CACfEFw86Jaxuf5g2fDTnMhfS9yXLcr0E_nPVB9NASX3N3WuRKg@mail.gmail.com>

On Mon, Feb 2, 2015 at 3:54 PM, Simon Cropper <
simoncropper at fossworkflowguides.com> wrote:

> Hi Mark
>
> My personal view when publishing work done with any software is...
>
> 1. Each bit of software used, its version and who released/sold it and
>     if it is readily available on the Internet, a URL to the release
>     should be cited. All foss software have specific attribution
>     requirements so care should be made to ensure these are met.
> 2. In the methodology you need to outline the specific configuration
>     or setup for any program that is able to vary the output of an
>     algorithm based on different settings; and any work/papers that help
>     justify these settings.
> 3. Where appropriate, as you are publishing in the academic arena,
>     cite vanilla background papers -- like you suggested in your
>     original post -- supporting the framework/library methodology.
> 4. Finally, to avoid problems with varying definitions of what actually
>     constitutes the Scipy stack, outline only those software packages or
>     libraries used. As pointed out by Aron the objective is to give
>     enough information to the reader that your analysis can be
>     reproduced.
>

http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285#s4

"Rule 3: Archive the Exact Versions of All External Programs Used"


>
> The problem is however that journals don't like gray literature or web
> references, let alone software or data sinks references.


http://www.plos.org/policies/#sharing

"7. Sharing of Data, Materials, and Software"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150202/dc451a54/attachment.html>

From simoncropper at fossworkflowguides.com  Mon Feb  2 17:36:33 2015
From: simoncropper at fossworkflowguides.com (Simon Cropper)
Date: Tue, 03 Feb 2015 09:36:33 +1100
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <CACfEFw86Jaxuf5g2fDTnMhfS9yXLcr0E_nPVB9NASX3N3WuRKg@mail.gmail.com>
References: <54CFCBE9.5030506@ucsf.edu>	<54CFF22F.8050008@fossworkflowguides.com>
	<CACfEFw86Jaxuf5g2fDTnMhfS9yXLcr0E_nPVB9NASX3N3WuRKg@mail.gmail.com>
Message-ID: <54CFFBF1.4000808@fossworkflowguides.com>


PLOS is just one journal and one specifically marketing the open source 
community. That said, liberal as it might be the author guidelines for 
referencing don't include any information on software (e.g.)...

http://www.plosone.org/static/guidelines#references

http://www.plosmedicine.org/static/guidelines#references


On 03/02/15 09:20, Wes Turner wrote:
>
>
> On Mon, Feb 2, 2015 at 3:54 PM, Simon Cropper
> <simoncropper at fossworkflowguides.com
> <mailto:simoncropper at fossworkflowguides.com>> wrote:
>
>     Hi Mark
>
>     My personal view when publishing work done with any software is...
>
>     1. Each bit of software used, its version and who released/sold it and
>          if it is readily available on the Internet, a URL to the release
>          should be cited. All foss software have specific attribution
>          requirements so care should be made to ensure these are met.
>     2. In the methodology you need to outline the specific configuration
>          or setup for any program that is able to vary the output of an
>          algorithm based on different settings; and any work/papers that
>     help
>          justify these settings.
>     3. Where appropriate, as you are publishing in the academic arena,
>          cite vanilla background papers -- like you suggested in your
>          original post -- supporting the framework/library methodology.
>     4. Finally, to avoid problems with varying definitions of what actually
>          constitutes the Scipy stack, outline only those software
>     packages or
>          libraries used. As pointed out by Aron the objective is to give
>          enough information to the reader that your analysis can be
>          reproduced.
>
>
> http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1003285#s4
>
> "Rule 3: Archive the Exact Versions of All External Programs Used"
>
>
>     The problem is however that journals don't like gray literature or web
>     references, let alone software or data sinks references.
>
>
> http://www.plos.org/policies/#sharing
>
> "7. Sharing of Data, Materials, and Software"
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


-- 
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting


From john at omernik.com  Mon Feb  2 18:18:16 2015
From: john at omernik.com (John Omernik)
Date: Mon, 2 Feb 2015 17:18:16 -0600
Subject: [IPython-dev] Way to "hide" results
Message-ID: <CAKOFcwqUzdR+qQBjyF5-y3v6obn+a6QYQf1GU5zmX32zJo2VcQ@mail.gmail.com>

Is there a simple way in iPython notebook to take any results window
and "collapse" it. In a way that still shows the command ran, and
still keeps the data in the output, but in a way that can easily show
or hide? It could help on long notebooks.

Thanks!


From moritz.beber at gmail.com  Mon Feb  2 19:33:49 2015
From: moritz.beber at gmail.com (Moritz Beber)
Date: Tue, 3 Feb 2015 01:33:49 +0100
Subject: [IPython-dev] Way to "hide" results
In-Reply-To: <CAKOFcwqUzdR+qQBjyF5-y3v6obn+a6QYQf1GU5zmX32zJo2VcQ@mail.gmail.com>
References: <CAKOFcwqUzdR+qQBjyF5-y3v6obn+a6QYQf1GU5zmX32zJo2VcQ@mail.gmail.com>
Message-ID: <CAFOFTpRU2Tq8dXEVJscZ2pPJ659V_Q_xV5qoZi-nw2n5dScf_g@mail.gmail.com>

Toggle output doesn't achieve what you want? Double click the area to the
left of the output or use the menu.

On Tue, Feb 3, 2015 at 12:18 AM, John Omernik <john at omernik.com> wrote:

> Is there a simple way in iPython notebook to take any results window
> and "collapse" it. In a way that still shows the command ran, and
> still keeps the data in the output, but in a way that can easily show
> or hide? It could help on long notebooks.
>
> Thanks!
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/806f945b/attachment.html>

From wes.turner at gmail.com  Mon Feb  2 20:21:12 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Mon, 2 Feb 2015 19:21:12 -0600
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <54CFFBF1.4000808@fossworkflowguides.com>
References: <54CFCBE9.5030506@ucsf.edu>
	<54CFF22F.8050008@fossworkflowguides.com>
	<CACfEFw86Jaxuf5g2fDTnMhfS9yXLcr0E_nPVB9NASX3N3WuRKg@mail.gmail.com>
	<54CFFBF1.4000808@fossworkflowguides.com>
Message-ID: <CACfEFw-dcADcey+cQ6YM47Kxz=MyVXUjNw9yzUJnyoxcsP+T9Q@mail.gmail.com>

On Feb 2, 2015 4:37 PM, "Simon Cropper" <simoncropper at fossworkflowguides.com>
wrote:
>
>
> PLOS is just one journal and one specifically marketing the open source
> community. That said, liberal as it might be the author guidelines for
> referencing don't include any information on software (e.g.)...
>
> http://www.plosone.org/static/guidelines#references
>
> http://www.plosmedicine.org/static/guidelines#references

That would be a helpful policy addition.

For purposes of systematic analysis, I feel it is appropriate to exclude
unrepeatable, unreproducible studies (e.g. that do not include raw data or
software versions).

What a waste.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150202/bd7f19cd/attachment.html>

From simoncropper at fossworkflowguides.com  Mon Feb  2 20:31:36 2015
From: simoncropper at fossworkflowguides.com (Simon Cropper)
Date: Tue, 03 Feb 2015 12:31:36 +1100
Subject: [IPython-dev] Concise citations for the Scipy stack
In-Reply-To: <CACfEFw-dcADcey+cQ6YM47Kxz=MyVXUjNw9yzUJnyoxcsP+T9Q@mail.gmail.com>
References: <54CFCBE9.5030506@ucsf.edu>	<54CFF22F.8050008@fossworkflowguides.com>	<CACfEFw86Jaxuf5g2fDTnMhfS9yXLcr0E_nPVB9NASX3N3WuRKg@mail.gmail.com>	<54CFFBF1.4000808@fossworkflowguides.com>
	<CACfEFw-dcADcey+cQ6YM47Kxz=MyVXUjNw9yzUJnyoxcsP+T9Q@mail.gmail.com>
Message-ID: <54D024F8.2000806@fossworkflowguides.com>

On 03/02/15 12:21, Wes Turner wrote:
>
> On Feb 2, 2015 4:37 PM, "Simon Cropper"
> <simoncropper at fossworkflowguides.com
> <mailto:simoncropper at fossworkflowguides.com>> wrote:
>  >
>  >
>  > PLOS is just one journal and one specifically marketing the open source
>  > community. That said, liberal as it might be the author guidelines for
>  > referencing don't include any information on software (e.g.)...
>  >
>  > http://www.plosone.org/static/guidelines#references
>  >
>  > http://www.plosmedicine.org/static/guidelines#references
>
> That would be a helpful policy addition.
>
> For purposes of systematic analysis, I feel it is appropriate to exclude
> unrepeatable, unreproducible studies (e.g. that do not include raw data
> or software versions).
>
> What a waste.
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>

I agree on all three points.

-- 
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting


From john at omernik.com  Tue Feb  3 05:10:22 2015
From: john at omernik.com (John Omernik)
Date: Tue, 3 Feb 2015 04:10:22 -0600
Subject: [IPython-dev] Way to "hide" results
In-Reply-To: <CAFOFTpRU2Tq8dXEVJscZ2pPJ659V_Q_xV5qoZi-nw2n5dScf_g@mail.gmail.com>
References: <CAKOFcwqUzdR+qQBjyF5-y3v6obn+a6QYQf1GU5zmX32zJo2VcQ@mail.gmail.com>
	<CAFOFTpRU2Tq8dXEVJscZ2pPJ659V_Q_xV5qoZi-nw2n5dScf_g@mail.gmail.com>
Message-ID: <CAKOFcwonuWhR3nauiYTHFdjo1VkJMDQAnMhOWewuAbgLP9LNEw@mail.gmail.com>

Perfect. Thank you. It was non-obvious to me, a simple hover over the
blank space gave me the instructions I needed...

On Mon, Feb 2, 2015 at 6:33 PM, Moritz Beber <moritz.beber at gmail.com> wrote:
> Toggle output doesn't achieve what you want? Double click the area to the
> left of the output or use the menu.
>
> On Tue, Feb 3, 2015 at 12:18 AM, John Omernik <john at omernik.com> wrote:
>>
>> Is there a simple way in iPython notebook to take any results window
>> and "collapse" it. In a way that still shows the command ran, and
>> still keeps the data in the output, but in a way that can easily show
>> or hide? It could help on long notebooks.
>>
>> Thanks!
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From bussonniermatthias at gmail.com  Tue Feb  3 10:56:29 2015
From: bussonniermatthias at gmail.com (Matthias BUSSONNIER)
Date: Tue, 3 Feb 2015 16:56:29 +0100
Subject: [IPython-dev] Jupyter-Drive (integration with google drive) beta.
Message-ID: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>

Hi all, 

You might all have seen that IPython 3.0 Beta was released not so long ago.
First, thanks for the feedback !
 
For those unaware, we are working on integration with google
drive as an extension. 
Thanks to Google and especially to Kester Tong for helping a lot. 

You can find the package on PyPI :

https://pypi.python.org/pypi/jupyterdrive

And of course on github :

https://github.com/jupyter/jupyter-drive/issues

You can consider this 0.9 version as a 1.0 Beta, 
there are still a few missing things like duplication of file, 
but the  core functionality will mostly be there. 

For now you also still need a **separate** IPython server to run with the google-drive
profile. Cf readme.md.

This version **does not** include real-time collaboration. It will need some refactor 
that will be done in IPython during the following year. So do expect next version 
of jupyterdrive to probably only be compatible with IPython 4.0. 

For those interested there is draft branch on github that start to implement a "mixed" content
manager, that would allow with the same IPython server to access both local hard drive content
and google drive one. 

As usual, back up your data, Jupyter-drive is much less battle tested than IPython itself.

-- 
Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/89e663fa/attachment.html>

From doug.blank at gmail.com  Tue Feb  3 11:55:02 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Tue, 3 Feb 2015 11:55:02 -0500
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
	kernel_info_request properly
Message-ID: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>

IPython devs,

Having a problem trying to get an external C# kernel to work with the
notebook. Everything appears to work fine, except for the
kernel_info_request. "kernel_info_request" seems to work fine with the
console, but not from the notebook.

Can you think of a reason that the kernel_info_reply wouldn't get back to
the right receiver in the notebook? Could it be the identities? Do they
play a role in this?

The code is here:

https://github.com/dsblank/simple_kernel/blob/master/SimpleKernel.cs

Any ideas appreciated... I've tried to follow why it wouldn't get routed
back to the handler, but haven't found the problem yet.

-Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/959b3e55/attachment.html>

From ellisonbg at gmail.com  Tue Feb  3 13:46:50 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Tue, 3 Feb 2015 10:46:50 -0800
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
	drive) beta.
In-Reply-To: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
Message-ID: <CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>

Are we still planning on merging the branch that enabled "mixed" content
before 3.0?

On Tue, Feb 3, 2015 at 7:56 AM, Matthias BUSSONNIER <
bussonniermatthias at gmail.com> wrote:

> Hi all,
>
> You might all have seen that IPython 3.0 Beta was released not so long ago.
> First, thanks for the feedback !
>
> For those unaware, we are working on integration with google
> drive as an extension.
> Thanks to Google and especially to Kester Tong for helping a lot.
>
> You can find the package on PyPI :
>
> https://pypi.python.org/pypi/jupyterdrive
>
> And of course on github :
>
> https://github.com/jupyter/jupyter-drive/issues
>
> You can consider this 0.9 version as a 1.0 Beta,
> there are still a few missing things like duplication of file,
> but the  core functionality will mostly be there.
>
> For now you also still need a **separate** IPython server to run with the
> google-drive
> profile. Cf readme.md.
>
> This version **does not** include real-time collaboration. It will need
> some refactor
> that will be done in IPython during the following year. So do expect next
> version
> of jupyterdrive to probably only be compatible with IPython 4.0.
>
> For those interested there is draft branch on github that start to
> implement a "mixed" content
> manager, that would allow with the same IPython server to access both
> local hard drive content
> and google drive one.
>
> As usual, back up your data, Jupyter-drive is much less battle tested than
> IPython itself.
>
> --
> Matthias
>
>  --
> 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 at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com
> <https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/242f104c/attachment.html>

From takowl at gmail.com  Tue Feb  3 13:53:02 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 3 Feb 2015 10:53:02 -0800
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
	drive) beta.
In-Reply-To: <CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
Message-ID: <CAOvn4qgpdsHY9HMvWZEL3Fgqn=E73EBXMbvALAxsR3n7PwJqUQ@mail.gmail.com>

On 3 February 2015 at 10:46, Brian Granger <ellisonbg at gmail.com> wrote:

> Are we still planning on merging the branch that enabled "mixed" content
> before 3.0?


That sounds like a much bigger change than I would expect to land between
now and 3.0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/a76e14b6/attachment.html>

From ellisonbg at gmail.com  Tue Feb  3 14:08:58 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Tue, 3 Feb 2015 11:08:58 -0800
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
 drive) beta.
In-Reply-To: <CAOvn4qgpdsHY9HMvWZEL3Fgqn=E73EBXMbvALAxsR3n7PwJqUQ@mail.gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<CAOvn4qgpdsHY9HMvWZEL3Fgqn=E73EBXMbvALAxsR3n7PwJqUQ@mail.gmail.com>
Message-ID: <CAH4pYpSjVo_4Qv5Kr69Q4oBZHNyGHWDNzvE5=OZT8PHM4vioDA@mail.gmail.com>

Matthias - can you detail what is involved in this?

On Tue, Feb 3, 2015 at 10:53 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 3 February 2015 at 10:46, Brian Granger <ellisonbg at gmail.com> wrote:
>
>> Are we still planning on merging the branch that enabled "mixed" content
>> before 3.0?
>
>
> That sounds like a much bigger change than I would expect to land between
> now and 3.0.
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/e85b0674/attachment.html>

From takowl at gmail.com  Tue Feb  3 17:49:14 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 3 Feb 2015 14:49:14 -0800
Subject: [IPython-dev] Meetings back to 1800 UTC
Message-ID: <CAOvn4qieeYE+nKGnmwxuq2tbGXtJ75i7RhnRCHHn2et3AHD74g@mail.gmail.com>

>From the next meeting (this Thursday, if there's enough on the Hackpad to
need a meeting, next Tuesday otherwise), we'll be moving the time of our
regular meetings back to 1800 UTC (10am California/6pm UK/7pm Western
Europe). Matthias is moving from Paris to Berkeley, so there's less
pressure to push the meeting earlier, and several of us, not least me,
don't reliably show up by 9.30, so we often ended up starting 15 minutes
late.

As always, we'll have the meetings using Google Hangouts, with a live
stream on Youtube for anyone who's interested. If you want to watch, join
our chat room (https://gitter.im/ipython/ipython ) and watch for the links.
We meet every Tuesday, and Thursdays when there's more we want to discuss.

Thanks,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/25b65e0b/attachment.html>

From benjaminrk at gmail.com  Tue Feb  3 23:58:09 2015
From: benjaminrk at gmail.com (MinRK)
Date: Tue, 3 Feb 2015 20:58:09 -0800
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
Message-ID: <CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>

I've looked through the code and I don't see any of the likely culprits. It
is definitely the identities that determine the destination of a message,
so that's where I would start to debug. I don't have a C# dev environment,
so I can't dig much deeper myself.

-MinRK

On Tue, Feb 3, 2015 at 8:55 AM, Doug Blank <doug.blank at gmail.com> wrote:

> IPython devs,
>
> Having a problem trying to get an external C# kernel to work with the
> notebook. Everything appears to work fine, except for the
> kernel_info_request. "kernel_info_request" seems to work fine with the
> console, but not from the notebook.
>
> Can you think of a reason that the kernel_info_reply wouldn't get back to
> the right receiver in the notebook? Could it be the identities? Do they
> play a role in this?
>
> The code is here:
>
> https://github.com/dsblank/simple_kernel/blob/master/SimpleKernel.cs
>
> Any ideas appreciated... I've tried to follow why it wouldn't get routed
> back to the handler, but haven't found the problem yet.
>
> -Doug
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150203/7d96ab8a/attachment.html>

From the.gerenuk at googlemail.com  Wed Feb  4 01:41:16 2015
From: the.gerenuk at googlemail.com (Ant Super)
Date: Wed, 4 Feb 2015 07:41:16 +0100
Subject: [IPython-dev] Move output scrollbar to top?
Message-ID: <CAD5p-O4wR-D1DzvNT1P1fTfa4Lwp1wNFFPd225RLQdYDbukdjA@mail.gmail.com>

Hi!
do you guys know a way to move the output scrollbar of (HTML) output in the
IPython notebook to the top of the cell?

When you output wide pandas dataframes with no limit on columns (because
you want to
see them all), it produces an HTML output cell with scrollbars. The
annoying thing is that the horizontal scrollbar is at the bottom, so that
you have to scroll down on the page, then scroll right and finally scroll
up again to see the header of the dataframe.

Is there a hack to place the horizontal scrollbar top? Is this a sensible
default option?

Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/d15c7f62/attachment.html>

From bussonniermatthias at gmail.com  Wed Feb  4 03:44:41 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Wed, 4 Feb 2015 09:44:41 +0100
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
	drive) beta.
In-Reply-To: <CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
Message-ID: <B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>

Quick from the airport.

No and it was not planned, it was "best effort", "would be great to have synced release". Jupyter drive is not Ipython. Release schedule is decoupled. 

Though release of IPython 3.0 is needed for me to actually release JDrive because it needs it, I can do whatever with JDrive.

If there are interest in mixed content 
And I have time, it might got in before 3.0. But if the use is low I'll focus on real time API. 

Envoy? de mon iPhone

> Le 3 f?vr. 2015 ? 19:46, Brian Granger <ellisonbg at gmail.com> a ?crit :
> 
> Are we still planning on merging the branch that enabled "mixed" content before 3.0?
> 
>> On Tue, Feb 3, 2015 at 7:56 AM, Matthias BUSSONNIER <bussonniermatthias at gmail.com> wrote:
>> Hi all, 
>> 
>> You might all have seen that IPython 3.0 Beta was released not so long ago.
>> First, thanks for the feedback !
>>  
>> For those unaware, we are working on integration with google
>> drive as an extension. 
>> Thanks to Google and especially to Kester Tong for helping a lot. 
>> 
>> You can find the package on PyPI :
>> 
>> https://pypi.python.org/pypi/jupyterdrive
>> 
>> And of course on github :
>> 
>> https://github.com/jupyter/jupyter-drive/issues
>> 
>> You can consider this 0.9 version as a 1.0 Beta, 
>> there are still a few missing things like duplication of file, 
>> but the  core functionality will mostly be there. 
>> 
>> For now you also still need a **separate** IPython server to run with the google-drive
>> profile. Cf readme.md.
>> 
>> This version **does not** include real-time collaboration. It will need some refactor 
>> that will be done in IPython during the following year. So do expect next version 
>> of jupyterdrive to probably only be compatible with IPython 4.0. 
>> 
>> For those interested there is draft branch on github that start to implement a "mixed" content
>> manager, that would allow with the same IPython server to access both local hard drive content
>> and google drive one. 
>> 
>> As usual, back up your data, Jupyter-drive is much less battle tested than IPython itself.
>> 
>> -- 
>> Matthias
>> 
>> -- 
>> 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 at googlegroups.com.
>> To post to this group, send email to jupyter at googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
> -- 
> 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 at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/576e0f5d/attachment.html>

From doug.blank at gmail.com  Wed Feb  4 06:23:05 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Wed, 4 Feb 2015 06:23:05 -0500
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
Message-ID: <CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>

On Tue, Feb 3, 2015 at 11:58 PM, MinRK <benjaminrk at gmail.com> wrote:

> I've looked through the code and I don't see any of the likely culprits.
> It is definitely the identities that determine the destination of a
> message, so that's where I would start to debug. I don't have a C# dev
> environment, so I can't dig much deeper myself.
>

Thanks for looking at this. Where in the IPython code do identities get
decoded and then routed? Maybe I can see there what the notebook is
actually receiving from the kernel and what it actually should be.

-Doug



>
> -MinRK
>
> On Tue, Feb 3, 2015 at 8:55 AM, Doug Blank <doug.blank at gmail.com> wrote:
>
>> IPython devs,
>>
>> Having a problem trying to get an external C# kernel to work with the
>> notebook. Everything appears to work fine, except for the
>> kernel_info_request. "kernel_info_request" seems to work fine with the
>> console, but not from the notebook.
>>
>> Can you think of a reason that the kernel_info_reply wouldn't get back to
>> the right receiver in the notebook? Could it be the identities? Do they
>> play a role in this?
>>
>> The code is here:
>>
>> https://github.com/dsblank/simple_kernel/blob/master/SimpleKernel.cs
>>
>> Any ideas appreciated... I've tried to follow why it wouldn't get routed
>> back to the handler, but haven't found the problem yet.
>>
>> -Doug
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/65644741/attachment.html>

From kikocorreoso at gmail.com  Wed Feb  4 06:27:14 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Wed, 4 Feb 2015 12:27:14 +0100
Subject: [IPython-dev] Disable the nb shortcuts temporaly
Message-ID: <CAB-sx61_8qT_QtzcgeD-MetSBvqjKAncX-g2AmjRXcASZrvhqw@mail.gmail.com>

Hi all,

I am working on an extension that involves a dialog form. The problem is
that when I try to write in the inputs of the form I interact with some
shortcuts and I can't write correctly.

Is there a way to do that without a conflict with shorcuts or is there an
easy way to disable and enable the nb shortcuts on demand?

I tried to find something on IPython.keyboard_manager.[]...

Thanks.

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/a67e6008/attachment.html>

From mmckerns at caltech.edu  Wed Feb  4 08:53:53 2015
From: mmckerns at caltech.edu (Michael McKerns)
Date: Wed, 4 Feb 2015 08:53:53 -0500
Subject: [IPython-dev] IPython parallel and objects
In-Reply-To: <CAFOFTpSke6Oiwd3p4KOMPdbPjrGPD4qNHxEAZcoCG-79Q4Fr=g@mail.gmail.com>
References: <1422448825555-5084497.post@n6.nabble.com>
	<CAFOFTpSke6Oiwd3p4KOMPdbPjrGPD4qNHxEAZcoCG-79Q4Fr=g@mail.gmail.com>
Message-ID: <e2411a4be1f5b73a6f780350a3f52071.squirrel@webmail.caltech.edu>

If you are looking to convert nested for-loops to hierarchical parallel maps,
this is the kind of thing that `pathos` is built to do.  If you are
interested
in an optimizer that can utilize hierarchical parallelism to compute
expectation
values, this is the kind of thing that `mystic` is designed to do.

If you want to get the code, the best place to get them is here:
https://github.com/uqfoundation

Examples:
http://stackoverflow.com/questions/28203774/how-to-do-hierarchical-parallelism-in-ipython-parallel
http://stackoverflow.com/questions/27751023/converting-serial-to-parallel-to-multi-machine

Neither `pathos` nor `mystic` use IPython-parallel, but I hope to make them
more compatible with it in the near future.


> Hi,
>
> On Wed, Jan 28, 2015 at 1:40 PM, thwiouz <maidos93 at laposte.net> wrote:
>
>> Hi guys,
>>
>> I'd like to parallelize the following loop:
>>
>> m1 = np.arange(0, 10, 100)
>> m2 = np.arange(0, 10, 100)
>>
>> for m_ in m1:
>>     for n_2 in m2:
>>         tmp = optimizer.compute_expectation([m_, n_])
>>         res.append(tmp)
>>
>> with type(optimizer) some class that I've defined. How could I handle
>> it?
>>
>> I tried to do the same as in
>>
>> http://stackoverflow.com/questions/9363118/parallelise-nested-for-loop-in-ipython
>> so I created a lambda function f
>>
>> f = lambda x, y: optimizer.compute_expectation([x, y])
>>
>> but it's not working with a load balanced view, saying that optimizer is
>> not
>> defined.
>>
>
> IPython only automatically transmits the function definition used in a
> `map` call or similar. Your optimizer is inside your lambda function and
> thus unknown on the remote kernels. In order to overcome this, take a look
> here:
>
> http://ipython.org/ipython-doc/2/parallel/parallel_multiengine.html#remote-function-decorators
>
> and here:
>
> http://ipython.org/ipython-doc/2/parallel/parallel_task.html#dependencies
>
> this could be helpful, too:
>
> http://ipython.org/ipython-doc/2/parallel/parallel_multiengine.html#moving-python-objects-around
>
>
> HTH,
> Moritz
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


---

Mike McKerns
California Institute of Technology
TEL: (626)395-5773 or (626)590-8470
http://www.its.caltech.edu/~mmckerns
mmckerns at caltech.edu



From nick.bollweg at gmail.com  Wed Feb  4 09:26:12 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Wed, 4 Feb 2015 09:26:12 -0500
Subject: [IPython-dev] Disable the nb shortcuts temporaly
In-Reply-To: <CAB-sx61_8qT_QtzcgeD-MetSBvqjKAncX-g2AmjRXcASZrvhqw@mail.gmail.com>
References: <CAB-sx61_8qT_QtzcgeD-MetSBvqjKAncX-g2AmjRXcASZrvhqw@mail.gmail.com>
Message-ID: <CACejjWy=wf2V_orTFEaA__uDu-qhOKCetkkrJg_yyZxbwgSdbw@mail.gmail.com>

Yeah, that's tripped me up, too!

IPython.keyboard_manager.register_events($(your element))

Here are some examples of it:
https://github.com/ipython/ipython/search?utf8=%E2%9C%93&q=register_events
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/34bbf5a2/attachment.html>

From nick.bollweg at gmail.com  Wed Feb  4 09:28:20 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Wed, 4 Feb 2015 09:28:20 -0500
Subject: [IPython-dev] Move output scrollbar to top?
In-Reply-To: <CAD5p-O4wR-D1DzvNT1P1fTfa4Lwp1wNFFPd225RLQdYDbukdjA@mail.gmail.com>
References: <CAD5p-O4wR-D1DzvNT1P1fTfa4Lwp1wNFFPd225RLQdYDbukdjA@mail.gmail.com>
Message-ID: <CACejjWwH_ch59TLuSRFz5L7uqnDe1ay_jKKoFLr1LD_Y+io4uA@mail.gmail.com>

Looks like a 0-height div and some event ninjitsu would work.
http://aburt.com/topscrollbar/

On Wed, Feb 4, 2015 at 1:41 AM, Ant Super <the.gerenuk at googlemail.com>
wrote:

> Hi!
> do you guys know a way to move the output scrollbar of (HTML) output in
> the IPython notebook to the top of the cell?
>
> When you output wide pandas dataframes with no limit on columns (because
> you want to
> see them all), it produces an HTML output cell with scrollbars. The
> annoying thing is that the horizontal scrollbar is at the bottom, so that
> you have to scroll down on the page, then scroll right and finally scroll
> up again to see the header of the dataframe.
>
> Is there a hack to place the horizontal scrollbar top? Is this a sensible
> default option?
>
> Anton
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/74fce862/attachment.html>

From cedric.gestes at gmail.com  Wed Feb  4 09:32:16 2015
From: cedric.gestes at gmail.com (Cedric GESTES)
Date: Wed, 4 Feb 2015 15:32:16 +0100
Subject: [IPython-dev] Dockable widgets for IPython
In-Reply-To: <DF2B4B6D-485D-496A-80DB-017C1D923A39@gmail.com>
References: <1422550665175-5084622.post@n6.nabble.com>
	<CACejjWw+vbe=OU9X-c2VaWHne8HJ36Kt-hJjHJ8Fdy+0OEw71w@mail.gmail.com>
	<DF2B4B6D-485D-496A-80DB-017C1D923A39@gmail.com>
Message-ID: <CAENT2b+wCR8eT4=fh97_SOyzSRraLAPqGrM8mJFnxC4o_Mtpww@mail.gmail.com>

Thanks for your advices.

I made an IPython notebook extension out of my hack.

I started by applying some of your comments. Each dock now has a cell. The
input part of the cell can be toggled to only display output. (ie widgets)

The code can be found here:
https://github.com/kwikteam/ipython-nbdock

I plan to use bootstrap and FA as advertised.

I have an issue with cells, they do not belong to the main notebook.

I wonder if it is better to use cell directly, or to use a full notebook in
each dock?
Issues are: saving/reloading/cell focus/...

a screenshot is attached.?


On Fri, Jan 30, 2015 at 11:30 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Hi,
>
> To add to what Nicholas said,
> After IPython 3.0 we will split the widget in a separate repository.
> It will be easier to contribute/discuss than just before 3.0 release
> or while widget are still tightly entangled with IPython code.
> --
> M
>
>
> Le 29 janv. 2015 ? 19:32, Nicholas Bollweg <nick.bollweg at gmail.com> a
> ?crit :
>
> cedric:
>
> this looks very cool: as the "ipython is not a platform" party line
> softens, ideas like this are important for pushing what "interactive
> computing" can be like. My immediate concern would be in not knowing which
> cell a particular widget came from. Additionally, from a purely stylistic
> sense, try using bootstrap panels and fontawesome to make it flow more
> seamlessly with the notebook UI.
>
> I think several folks have been looking for this in the past, especially
> with creating such controls at notebook load time:
>
> http://python.6.x6.nabble.com/How-To-create-persistent-interactive-UI-elements-outside-cells-td5079080.html#a5079562
>
> I'd say near-term, see if you can repackage this into an nbextension that
> someone can optionally add at profile config/run-time. If it can be made
> into pure javascript that stores its data in the notebook/cell metadata,
> that lowers the barrier to entry... and makes it more feasible to use with
> other kernels.
>
> Otherwise, if you need the python part, there is the approach taken by
> cite2c <https://github.com/takluyver/cite2c>. Specifically, allowing the
> configuration of the web app (not the kernel) to include loading custom
> extensions
> <https://github.com/takluyver/cite2c/blob/master/install.py#L11>.
>
> i have been interested in alternate editable layouts for some time: of
> them i think live_reveal <https://github.com/damianavila/live_reveal>,
> while still a little fiddly to install, has the most potential for becoming
> something that would make sense to ship with the notebook experience,
> especially as it is cell-based, (really) front-end only and its metadata is
> already integrated into nvconvert and (soon, hopefully!) nbviewer. If your
> widgets could survive nbviewer (either with or without help from a custom
> converter) that would be really cool... once static widgets are supported.
>
> i have a bit of python widget code that will populate widgets on top of
> SVG regions (as defined by layers in inkscape): this makes it easy to build
> up full-screen capable dashboards without requiring a lot of CSS/JS
> knowledge.
>
> SVGLayout(svg="dashboard.svg",
>           children={"chart": SomeChartWidget()})
>
> i want to refactor it into pure javascript as well.
>
> keep the list posted!
>
> On Thu, Jan 29, 2015 at 11:57 AM, cedric gestes <ctaf42 at gmail.com> wrote:
>
>> I hacked a prototype of dockable widgets using DockSpawn.
>>
>> see
>>
>> http://www.hostingpics.net/viewer.php?id=990121201501291741191600x900scrot.png
>> for a screenshot.
>>
>> Before going further I would like to take your advice on the subject.
>>
>> Is that something wanted in IPython?
>>
>> We can imagine having cells and widgets in docks.
>>
>> The prototype is hackish and just a proof of concept.
>>
>> You can find it github on the branch dockspawn of:
>> github.com/ctaf42/ipython and github.com/ctaf42/ipython-components
>>
>> just checkout, run IPython and open a notebook like this one:
>> http://nbviewer.ipython.org/gist/ctaf42/e029c475b08bdfe43f6a
>>
>> Cedric
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://python.6.x6.nabble.com/Dockable-widgets-for-IPython-tp5084622.html
>> Sent from the IPython - Development mailing list archive at Nabble.com.
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/a7acd824/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2015-02-04-151423_1600x900_scrot.png
Type: image/png
Size: 161246 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/a7acd824/attachment.png>

From hughesadam87 at gmail.com  Wed Feb  4 11:43:16 2015
From: hughesadam87 at gmail.com (Adam Hughes)
Date: Wed, 4 Feb 2015 11:43:16 -0500
Subject: [IPython-dev] Dockable widgets for IPython
In-Reply-To: <CAENT2b+wCR8eT4=fh97_SOyzSRraLAPqGrM8mJFnxC4o_Mtpww@mail.gmail.com>
References: <1422550665175-5084622.post@n6.nabble.com>
	<CACejjWw+vbe=OU9X-c2VaWHne8HJ36Kt-hJjHJ8Fdy+0OEw71w@mail.gmail.com>
	<DF2B4B6D-485D-496A-80DB-017C1D923A39@gmail.com>
	<CAENT2b+wCR8eT4=fh97_SOyzSRraLAPqGrM8mJFnxC4o_Mtpww@mail.gmail.com>
Message-ID: <CAMHV+dAQJAXRXA8LKi8QebRv1ecap4fXDM9UTtu81qvFYffu+A@mail.gmail.com>

Just from a pure user standpoint, I am certainly interested in something
like this.  Looks cool!
On Feb 4, 2015 9:33 AM, "Cedric GESTES" <cedric.gestes at gmail.com> wrote:

> Thanks for your advices.
>
> I made an IPython notebook extension out of my hack.
>
> I started by applying some of your comments. Each dock now has a cell. The
> input part of the cell can be toggled to only display output. (ie widgets)
>
> The code can be found here:
> https://github.com/kwikteam/ipython-nbdock
>
> I plan to use bootstrap and FA as advertised.
>
> I have an issue with cells, they do not belong to the main notebook.
>
> I wonder if it is better to use cell directly, or to use a full notebook
> in each dock?
> Issues are: saving/reloading/cell focus/...
>
> a screenshot is attached.?
>
>
> On Fri, Jan 30, 2015 at 11:30 AM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>> Hi,
>>
>> To add to what Nicholas said,
>> After IPython 3.0 we will split the widget in a separate repository.
>> It will be easier to contribute/discuss than just before 3.0 release
>> or while widget are still tightly entangled with IPython code.
>> --
>> M
>>
>>
>> Le 29 janv. 2015 ? 19:32, Nicholas Bollweg <nick.bollweg at gmail.com> a
>> ?crit :
>>
>> cedric:
>>
>> this looks very cool: as the "ipython is not a platform" party line
>> softens, ideas like this are important for pushing what "interactive
>> computing" can be like. My immediate concern would be in not knowing which
>> cell a particular widget came from. Additionally, from a purely stylistic
>> sense, try using bootstrap panels and fontawesome to make it flow more
>> seamlessly with the notebook UI.
>>
>> I think several folks have been looking for this in the past, especially
>> with creating such controls at notebook load time:
>>
>> http://python.6.x6.nabble.com/How-To-create-persistent-interactive-UI-elements-outside-cells-td5079080.html#a5079562
>>
>> I'd say near-term, see if you can repackage this into an nbextension that
>> someone can optionally add at profile config/run-time. If it can be made
>> into pure javascript that stores its data in the notebook/cell metadata,
>> that lowers the barrier to entry... and makes it more feasible to use with
>> other kernels.
>>
>> Otherwise, if you need the python part, there is the approach taken by
>> cite2c <https://github.com/takluyver/cite2c>. Specifically, allowing the
>> configuration of the web app (not the kernel) to include loading custom
>> extensions
>> <https://github.com/takluyver/cite2c/blob/master/install.py#L11>.
>>
>> i have been interested in alternate editable layouts for some time: of
>> them i think live_reveal <https://github.com/damianavila/live_reveal>,
>> while still a little fiddly to install, has the most potential for becoming
>> something that would make sense to ship with the notebook experience,
>> especially as it is cell-based, (really) front-end only and its metadata is
>> already integrated into nvconvert and (soon, hopefully!) nbviewer. If your
>> widgets could survive nbviewer (either with or without help from a custom
>> converter) that would be really cool... once static widgets are supported.
>>
>> i have a bit of python widget code that will populate widgets on top of
>> SVG regions (as defined by layers in inkscape): this makes it easy to build
>> up full-screen capable dashboards without requiring a lot of CSS/JS
>> knowledge.
>>
>> SVGLayout(svg="dashboard.svg",
>>           children={"chart": SomeChartWidget()})
>>
>> i want to refactor it into pure javascript as well.
>>
>> keep the list posted!
>>
>> On Thu, Jan 29, 2015 at 11:57 AM, cedric gestes <ctaf42 at gmail.com> wrote:
>>
>>> I hacked a prototype of dockable widgets using DockSpawn.
>>>
>>> see
>>>
>>> http://www.hostingpics.net/viewer.php?id=990121201501291741191600x900scrot.png
>>> for a screenshot.
>>>
>>> Before going further I would like to take your advice on the subject.
>>>
>>> Is that something wanted in IPython?
>>>
>>> We can imagine having cells and widgets in docks.
>>>
>>> The prototype is hackish and just a proof of concept.
>>>
>>> You can find it github on the branch dockspawn of:
>>> github.com/ctaf42/ipython and github.com/ctaf42/ipython-components
>>>
>>> just checkout, run IPython and open a notebook like this one:
>>> http://nbviewer.ipython.org/gist/ctaf42/e029c475b08bdfe43f6a
>>>
>>> Cedric
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://python.6.x6.nabble.com/Dockable-widgets-for-IPython-tp5084622.html
>>> Sent from the IPython - Development mailing list archive at Nabble.com.
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/f9bab41d/attachment.html>

From benjaminrk at gmail.com  Wed Feb  4 12:00:33 2015
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 4 Feb 2015 09:00:33 -0800
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
	<CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
Message-ID: <CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>

On Wed, Feb 4, 2015 at 3:23 AM, Doug Blank <doug.blank at gmail.com> wrote:

On Tue, Feb 3, 2015 at 11:58 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>> I've looked through the code and I don't see any of the likely culprits.
>> It is definitely the identities that determine the destination of a
>> message, so that's where I would start to debug. I don't have a C# dev
>> environment, so I can't dig much deeper myself.
>>
>
> Thanks for looking at this. Where in the IPython code do identities get
> decoded and then routed? Maybe I can see there what the notebook is
> actually receiving from the kernel and what it actually should be.
>
They don?t get decoded at all, but they are gathered from the message
content in Session.feed_identities
<https://github.com/ipython/ipython/blob/master/IPython/kernel/zmq/session.py#L732>,
and then used unmodified to route the reply.

I think I might know what?s going on, though. I see UTF8 used on every
send/recv, but identities are not UTF8, they are binary blobs (uint32 by
default). So if it?s coercing those to UTF8, the value of the identity will
be lost in encoding errors.

This could be why it works in some places and not others - we set a manual
identity on *most* sockets, which we use to associate the stdin channel
with a given request. These happen to be ASCII, but could jut as easily be
random binary values. We don?t set an identity on the socket used for the
kernel_info_request that starts off the notebook connection, though.

-MinRK


> -Doug
>
>
>
>>
>> -MinRK
>>
>> On Tue, Feb 3, 2015 at 8:55 AM, Doug Blank <doug.blank at gmail.com> wrote:
>>
>>> IPython devs,
>>>
>>> Having a problem trying to get an external C# kernel to work with the
>>> notebook. Everything appears to work fine, except for the
>>> kernel_info_request. "kernel_info_request" seems to work fine with the
>>> console, but not from the notebook.
>>>
>>> Can you think of a reason that the kernel_info_reply wouldn't get back
>>> to the right receiver in the notebook? Could it be the identities? Do they
>>> play a role in this?
>>>
>>> The code is here:
>>>
>>> https://github.com/dsblank/simple_kernel/blob/master/SimpleKernel.cs
>>>
>>> Any ideas appreciated... I've tried to follow why it wouldn't get routed
>>> back to the handler, but haven't found the problem yet.
>>>
>>> -Doug
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/f28d8475/attachment.html>

From doug.blank at gmail.com  Wed Feb  4 12:13:47 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Wed, 4 Feb 2015 12:13:47 -0500
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
	<CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
	<CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>
Message-ID: <CAAusYChpNOZ6cLoMvuzeeQv8U71zJJyePqcLWZ_U1BaaMiqprA@mail.gmail.com>

On Wed, Feb 4, 2015 at 12:00 PM, MinRK <benjaminrk at gmail.com> wrote:

> On Wed, Feb 4, 2015 at 3:23 AM, Doug Blank <doug.blank at gmail.com> wrote:
>
> On Tue, Feb 3, 2015 at 11:58 PM, MinRK <benjaminrk at gmail.com> wrote:
>>
>>> I've looked through the code and I don't see any of the likely culprits.
>>> It is definitely the identities that determine the destination of a
>>> message, so that's where I would start to debug. I don't have a C# dev
>>> environment, so I can't dig much deeper myself.
>>>
>>
>> Thanks for looking at this. Where in the IPython code do identities get
>> decoded and then routed? Maybe I can see there what the notebook is
>> actually receiving from the kernel and what it actually should be.
>>
> They don?t get decoded at all, but they are gathered from the message
> content in Session.feed_identities
> <https://github.com/ipython/ipython/blob/master/IPython/kernel/zmq/session.py#L732>,
> and then used unmodified to route the reply.
>
> I think I might know what?s going on, though. I see UTF8 used on every
> send/recv, but identities are not UTF8, they are binary blobs (uint32 by
> default). So if it?s coercing those to UTF8, the value of the identity will
> be lost in encoding errors.
>
Ok, thanks... that gives me some things to try. Perhaps if I just change
the way that the sockets read/write it may work?

This could be why it works in some places and not others - we set a manual
> identity on *most* sockets, which we use to associate the stdin channel
> with a given request. These happen to be ASCII, but could jut as easily be
> random binary values. We don?t set an identity on the socket used for the
> kernel_info_request that starts off the notebook connection, though.
>
Hmmm... but I am getting a 5 to 8 byte identity string on the
kernel_info_request... what does that imply? It is a ZMQ identity? It could
be ignored? Or, I must respect it, and send it back (in proper form) with
the response?

-Doug



> -MinRK
>
>
>> -Doug
>>
>>
>>
>>>
>>> -MinRK
>>>
>>> On Tue, Feb 3, 2015 at 8:55 AM, Doug Blank <doug.blank at gmail.com> wrote:
>>>
>>>> IPython devs,
>>>>
>>>> Having a problem trying to get an external C# kernel to work with the
>>>> notebook. Everything appears to work fine, except for the
>>>> kernel_info_request. "kernel_info_request" seems to work fine with the
>>>> console, but not from the notebook.
>>>>
>>>> Can you think of a reason that the kernel_info_reply wouldn't get back
>>>> to the right receiver in the notebook? Could it be the identities? Do they
>>>> play a role in this?
>>>>
>>>> The code is here:
>>>>
>>>> https://github.com/dsblank/simple_kernel/blob/master/SimpleKernel.cs
>>>>
>>>> Any ideas appreciated... I've tried to follow why it wouldn't get
>>>> routed back to the handler, but haven't found the problem yet.
>>>>
>>>> -Doug
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>> ?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/32bdf300/attachment.html>

From benjaminrk at gmail.com  Wed Feb  4 13:15:42 2015
From: benjaminrk at gmail.com (MinRK)
Date: Wed, 4 Feb 2015 10:15:42 -0800
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAAusYChpNOZ6cLoMvuzeeQv8U71zJJyePqcLWZ_U1BaaMiqprA@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
	<CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
	<CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>
	<CAAusYChpNOZ6cLoMvuzeeQv8U71zJJyePqcLWZ_U1BaaMiqprA@mail.gmail.com>
Message-ID: <CAHNn8BVk+oc98nVxx4J7bVKtJMVpRA=qa5N=u5kvWOzNvmGszA@mail.gmail.com>

On Wed, Feb 4, 2015 at 9:13 AM, Doug Blank <doug.blank at gmail.com> wrote:


>
> On Wed, Feb 4, 2015 at 12:00 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>> On Wed, Feb 4, 2015 at 3:23 AM, Doug Blank <doug.blank at gmail.com> wrote:
>>
>> On Tue, Feb 3, 2015 at 11:58 PM, MinRK <benjaminrk at gmail.com> wrote:
>>>
>>>> I've looked through the code and I don't see any of the likely
>>>> culprits. It is definitely the identities that determine the destination of
>>>> a message, so that's where I would start to debug. I don't have a C# dev
>>>> environment, so I can't dig much deeper myself.
>>>>
>>>
>>> Thanks for looking at this. Where in the IPython code do identities get
>>> decoded and then routed? Maybe I can see there what the notebook is
>>> actually receiving from the kernel and what it actually should be.
>>>
>> They don?t get decoded at all, but they are gathered from the message
>> content in Session.feed_identities
>> <https://github.com/ipython/ipython/blob/master/IPython/kernel/zmq/session.py#L732>,
>> and then used unmodified to route the reply.
>>
>> I think I might know what?s going on, though. I see UTF8 used on every
>> send/recv, but identities are not UTF8, they are binary blobs (uint32 by
>> default). So if it?s coercing those to UTF8, the value of the identity will
>> be lost in encoding errors.
>>
> Ok, thanks... that gives me some things to try. Perhaps if I just change
> the way that the sockets read/write it may work?
>
I?m not familiar with C# or the API for the C# zmq bindings, but you will
want to treat the identity prefix as binary blobs, not text.


> This could be why it works in some places and not others - we set a manual
>> identity on *most* sockets, which we use to associate the stdin channel
>> with a given request. These happen to be ASCII, but could jut as easily be
>> random binary values. We don?t set an identity on the socket used for the
>> kernel_info_request that starts off the notebook connection, though.
>>
> Hmmm... but I am getting a 5 to 8 byte identity string on the
> kernel_info_request... what does that imply? It is a ZMQ identity? It could
> be ignored? Or, I must respect it, and send it back (in proper form) with
> the response?
>
The first N frames of the message (typically 1) are the identity prefix.
These should be treated as opaque binary blobs. They will be followed by
the delimiter (should really have been an empty string, but I never removed
my toy delimiter before it was too late). The reply must be sent with the
exact same identity prefix in order to arrive at the correct destination.A
reply should always be identical to its request, up to and including the
delimiter frame. This is how ZeroMQ decides where messages should be routed.

In IPython, the identity prefix is either 1 or 2 frames, but it can
technically 0-many (1-many for ROUTER sockets). They should be treated as
opaque bytestrings, and never interpreted as text, even though some subset
of them may happen to be valid ASCII. You don?t have to do anything with
these frames other than collect them until you hit the delimiter, and make
sure to send them back unmodified as the prefix for the reply.

-MinRK


> -Doug
>
>
>
>> -MinRK
>>
>>
>>> -Doug
>>>
>>>
>>>
>>>>
>>>> -MinRK
>>>>
>>>> On Tue, Feb 3, 2015 at 8:55 AM, Doug Blank <doug.blank at gmail.com>
>>>> wrote:
>>>>
>>>>> IPython devs,
>>>>>
>>>>> Having a problem trying to get an external C# kernel to work with the
>>>>> notebook. Everything appears to work fine, except for the
>>>>> kernel_info_request. "kernel_info_request" seems to work fine with the
>>>>> console, but not from the notebook.
>>>>>
>>>>> Can you think of a reason that the kernel_info_reply wouldn't get back
>>>>> to the right receiver in the notebook? Could it be the identities? Do they
>>>>> play a role in this?
>>>>>
>>>>> The code is here:
>>>>>
>>>>> https://github.com/dsblank/simple_kernel/blob/master/SimpleKernel.cs
>>>>>
>>>>> Any ideas appreciated... I've tried to follow why it wouldn't get
>>>>> routed back to the handler, but haven't found the problem yet.
>>>>>
>>>>> -Doug
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>> ?
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> ?
?
?
?
?
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150204/f5a6eced/attachment.html>

From kikocorreoso at gmail.com  Thu Feb  5 03:28:07 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Thu, 5 Feb 2015 09:28:07 +0100
Subject: [IPython-dev] Disable the nb shortcuts temporaly
In-Reply-To: <CACejjWy=wf2V_orTFEaA__uDu-qhOKCetkkrJg_yyZxbwgSdbw@mail.gmail.com>
References: <CAB-sx61_8qT_QtzcgeD-MetSBvqjKAncX-g2AmjRXcASZrvhqw@mail.gmail.com>
	<CACejjWy=wf2V_orTFEaA__uDu-qhOKCetkkrJg_yyZxbwgSdbw@mail.gmail.com>
Message-ID: <CAB-sx6140Ww+tqP12R0Kc8g4OuN4CPi8M0NQHG-ih6xp5YVDWw@mail.gmail.com>

2015-02-04 15:26 GMT+01:00 Nicholas Bollweg <nick.bollweg at gmail.com>:

> Yeah, that's tripped me up, too!
>
> IPython.keyboard_manager.register_events($(your element))
>
> Here are some examples of it:
> https://github.com/ipython/ipython/search?utf8=%E2%9C%93&q=register_events
>
>
>
Thanks, Nicholas.
That was really useful!!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150205/925f5339/attachment.html>

From kikocorreoso at gmail.com  Thu Feb  5 04:18:02 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Thu, 5 Feb 2015 10:18:02 +0100
Subject: [IPython-dev] Move output scrollbar to top?
In-Reply-To: <CACejjWwH_ch59TLuSRFz5L7uqnDe1ay_jKKoFLr1LD_Y+io4uA@mail.gmail.com>
References: <CAD5p-O4wR-D1DzvNT1P1fTfa4Lwp1wNFFPd225RLQdYDbukdjA@mail.gmail.com>
	<CACejjWwH_ch59TLuSRFz5L7uqnDe1ay_jKKoFLr1LD_Y+io4uA@mail.gmail.com>
Message-ID: <CAB-sx60-9TX5k_YB0=ooCLTxR+HDFUj_sAZ0zjesYdOqrkBBFg@mail.gmail.com>

2015-02-04 15:28 GMT+01:00 Nicholas Bollweg <nick.bollweg at gmail.com>:

> Looks like a 0-height div and some event ninjitsu would work.
> http://aburt.com/topscrollbar/
>
> On Wed, Feb 4, 2015 at 1:41 AM, Ant Super <the.gerenuk at googlemail.com>
> wrote:
>
>> Hi!
>> do you guys know a way to move the output scrollbar of (HTML) output in
>> the IPython notebook to the top of the cell?
>>
>> When you output wide pandas dataframes with no limit on columns (because
>> you want to
>> see them all), it produces an HTML output cell with scrollbars. The
>> annoying thing is that the horizontal scrollbar is at the bottom, so that
>> you have to scroll down on the page, then scroll right and finally scroll
>> up again to see the header of the dataframe.
>>
>> Is there a hack to place the horizontal scrollbar top? Is this a sensible
>> default option?
>>
>>
You could always use the third button of your mouse as an easy and cheap
solution.


> Anton
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150205/b29980fa/attachment.html>

From doug.blank at gmail.com  Thu Feb  5 06:59:55 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Thu, 5 Feb 2015 06:59:55 -0500
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAHNn8BVk+oc98nVxx4J7bVKtJMVpRA=qa5N=u5kvWOzNvmGszA@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
	<CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
	<CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>
	<CAAusYChpNOZ6cLoMvuzeeQv8U71zJJyePqcLWZ_U1BaaMiqprA@mail.gmail.com>
	<CAHNn8BVk+oc98nVxx4J7bVKtJMVpRA=qa5N=u5kvWOzNvmGszA@mail.gmail.com>
Message-ID: <CAAusYCg1GjQu-uRRj66ytT5Fwbmxq9mrK9dTt63mw4Qsuu+itA@mail.gmail.com>

Thank you so much for the time and energy to look at this! Solved! Yes, it
was the encoding of the identities. I was able to use an 8-bit character
encoding (System.Text.Encoding.GetEncoding("windows-1252")) on read, and
those bytes to reply. I'll update the simple_kernel C# example [1].

-Doug

[1] - https://github.com/dsblank/simple_kernel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150205/e21137ad/attachment.html>

From max_linke at gmx.de  Thu Feb  5 10:55:21 2015
From: max_linke at gmx.de (Max Linke)
Date: Thu, 05 Feb 2015 16:55:21 +0100
Subject: [IPython-dev] always use online version of mathjax for nbconvert
Message-ID: <54D39269.3010901@gmx.de>

Hi

I have installed a local copy of mathjax to use the notebooks on the go 
while I have no Internet connection. Today I wanted to share a notebook 
as a html file with a colleague and noticed that non of my formulas are 
rendered in the HTML. Looking into the html I couldn't find any 
instructions to load the mathjax code. Is there a template that always 
uses the online version of mathjax for html exports independent of the 
setup from my local machine?

best Max


From takowl at gmail.com  Thu Feb  5 11:27:16 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 5 Feb 2015 08:27:16 -0800
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAAusYCg1GjQu-uRRj66ytT5Fwbmxq9mrK9dTt63mw4Qsuu+itA@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
	<CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
	<CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>
	<CAAusYChpNOZ6cLoMvuzeeQv8U71zJJyePqcLWZ_U1BaaMiqprA@mail.gmail.com>
	<CAHNn8BVk+oc98nVxx4J7bVKtJMVpRA=qa5N=u5kvWOzNvmGszA@mail.gmail.com>
	<CAAusYCg1GjQu-uRRj66ytT5Fwbmxq9mrK9dTt63mw4Qsuu+itA@mail.gmail.com>
Message-ID: <CAOvn4qgN8_=7MV5L3B0PjG+-R+Gj0DmFKtC5xYrRzL4q0KsF2g@mail.gmail.com>

Really, they shouldn't be decoded at all - can't you just store the
identities as plain bytes?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150205/652803a6/attachment.html>

From doug.blank at gmail.com  Thu Feb  5 11:39:01 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Thu, 5 Feb 2015 11:39:01 -0500
Subject: [IPython-dev] Notebook doesn't respond to external kernel's
 kernel_info_request properly
In-Reply-To: <CAOvn4qgN8_=7MV5L3B0PjG+-R+Gj0DmFKtC5xYrRzL4q0KsF2g@mail.gmail.com>
References: <CAAusYCiH0wp=t3_gkBmxq5iKPKmpgYO7p5B6JNk84pOBExMX=A@mail.gmail.com>
	<CAHNn8BWG0Zh9d7Yp7vs+PC+2LqDDLFTA0G=N13CwZJr2UdyY4g@mail.gmail.com>
	<CAAusYCh0omM6ELQRSdhasiintNDPCM60S2x8AHhOD_-QkXm02Q@mail.gmail.com>
	<CAHNn8BV8sfszoLzZi8UiXhq55EpF1L7-Dj+3x6jbJtV2Me0Caw@mail.gmail.com>
	<CAAusYChpNOZ6cLoMvuzeeQv8U71zJJyePqcLWZ_U1BaaMiqprA@mail.gmail.com>
	<CAHNn8BVk+oc98nVxx4J7bVKtJMVpRA=qa5N=u5kvWOzNvmGszA@mail.gmail.com>
	<CAAusYCg1GjQu-uRRj66ytT5Fwbmxq9mrK9dTt63mw4Qsuu+itA@mail.gmail.com>
	<CAOvn4qgN8_=7MV5L3B0PjG+-R+Gj0DmFKtC5xYrRzL4q0KsF2g@mail.gmail.com>
Message-ID: <CAAusYCh2u8Kt669-_f2UKJJWfwhCjk1aY3=gU4gM7Y1j-iBeiQ@mail.gmail.com>

On Thu, Feb 5, 2015 at 11:27 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> Really, they shouldn't be decoded at all - can't you just store the
> identities as plain bytes?
>
Sorry, I was a bit vague on the solution. The part about 8-bit decoding was
in reference to converting the bytes so to compare with the delimiter
string "<IDS|MSG>". But, yes, the solution is largely to just treat them as
bytes.

-Doug



>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150205/88da09d2/attachment.html>

From benjaminrk at gmail.com  Thu Feb  5 13:22:09 2015
From: benjaminrk at gmail.com (MinRK)
Date: Thu, 5 Feb 2015 10:22:09 -0800
Subject: [IPython-dev] always use online version of mathjax for nbconvert
In-Reply-To: <54D39269.3010901@gmx.de>
References: <54D39269.3010901@gmx.de>
Message-ID: <CAHNn8BWxONVP0OWZywfHkxE5EVnFFVg6w+aEwE4Ji5S60LBPuw@mail.gmail.com>

What version of IPython? nbconvert html export should include mathjax from
their CDN by default, unless you are using a custom template.

-MinRK

On Thu, Feb 5, 2015 at 7:55 AM, Max Linke <max_linke at gmx.de> wrote:

> Hi
>
> I have installed a local copy of mathjax to use the notebooks on the go
> while I have no Internet connection. Today I wanted to share a notebook
> as a html file with a colleague and noticed that non of my formulas are
> rendered in the HTML. Looking into the html I couldn't find any
> instructions to load the mathjax code. Is there a template that always
> uses the online version of mathjax for html exports independent of the
> setup from my local machine?
>
> best Max
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150205/7ec42d2c/attachment.html>

From matthew.brett at gmail.com  Thu Feb  5 13:31:15 2015
From: matthew.brett at gmail.com (Matthew Brett)
Date: Thu, 5 Feb 2015 10:31:15 -0800
Subject: [IPython-dev] always use online version of mathjax for nbconvert
In-Reply-To: <CAHNn8BWxONVP0OWZywfHkxE5EVnFFVg6w+aEwE4Ji5S60LBPuw@mail.gmail.com>
References: <54D39269.3010901@gmx.de>
	<CAHNn8BWxONVP0OWZywfHkxE5EVnFFVg6w+aEwE4Ji5S60LBPuw@mail.gmail.com>
Message-ID: <CAH6Pt5rYRxSHfMsLS+fZtrwkSAPG9GKc+MuQpuxhrGDsioGBBQ@mail.gmail.com>

Hi,

On Thu, Feb 5, 2015 at 10:22 AM, MinRK <benjaminrk at gmail.com> wrote:
> What version of IPython? nbconvert html export should include mathjax from
> their CDN by default, unless you are using a custom template.
>
> -MinRK
>
> On Thu, Feb 5, 2015 at 7:55 AM, Max Linke <max_linke at gmx.de> wrote:
>>
>> Hi
>>
>> I have installed a local copy of mathjax to use the notebooks on the go
>> while I have no Internet connection. Today I wanted to share a notebook
>> as a html file with a colleague and noticed that non of my formulas are
>> rendered in the HTML. Looking into the html I couldn't find any
>> instructions to load the mathjax code. Is there a template that always
>> uses the online version of mathjax for html exports independent of the
>> setup from my local machine?

I noticed some problems when I started serving mathjax from my own
machine, which I put down to mathjax loading much more quickly and
therefore beating the page load in a race.  I ended up putting in some
custom HTML that I believed was forcing a mathjax load:

https://github.com/matthew-brett/perrin-academy/blob/master/sphinxext/notebook_sphinxext.py#L220

Unfortunately I'm a complete novice with javascript, and mathjax, so I
don't know whether that is a reasonable solution.

Cheers,

Matthew


From edsrahn at gmail.com  Fri Feb  6 04:51:20 2015
From: edsrahn at gmail.com (Ed Rahn)
Date: Fri, 06 Feb 2015 04:51:20 -0500
Subject: [IPython-dev] wait_interactive()
Message-ID: <54D48E98.70409@gmail.com>

Do you have to do anything special to get wait_interactive() to work?

If I have a trace back in my calling function it works, but otherwise 
I've been waiting almost a hour and I see nothing.

Here is the relevant code:

rc = Client()
lview = rc.load_balanced_view()
ma = lview.map_async(get_fields, entries)
ma.wait_interactive()



thanks
Ed


From max_linke at gmx.de  Fri Feb  6 05:01:37 2015
From: max_linke at gmx.de (Max Linke)
Date: Fri, 06 Feb 2015 11:01:37 +0100
Subject: [IPython-dev] always use online version of mathjax for nbconvert
In-Reply-To: <CAHNn8BWxONVP0OWZywfHkxE5EVnFFVg6w+aEwE4Ji5S60LBPuw@mail.gmail.com>
References: <54D39269.3010901@gmx.de>
	<CAHNn8BWxONVP0OWZywfHkxE5EVnFFVg6w+aEwE4Ji5S60LBPuw@mail.gmail.com>
Message-ID: <54D49101.70905@gmx.de>

I noticed I made a mistake myself. I started using noscript a few days 
ago and hadn't noticed that I didn't allow mathjax to be loaded.

Thanks for the help anyway.

best Max

On 02/05/2015 07:22 PM, MinRK wrote:
> What version of IPython? nbconvert html export should include mathjax from
> their CDN by default, unless you are using a custom template.
>
> -MinRK
>
> On Thu, Feb 5, 2015 at 7:55 AM, Max Linke <max_linke at gmx.de> wrote:
>
>> Hi
>>
>> I have installed a local copy of mathjax to use the notebooks on the go
>> while I have no Internet connection. Today I wanted to share a notebook
>> as a html file with a colleague and noticed that non of my formulas are
>> rendered in the HTML. Looking into the html I couldn't find any
>> instructions to load the mathjax code. Is there a template that always
>> uses the online version of mathjax for html exports independent of the
>> setup from my local machine?
>>
>> best Max
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From seb at wilzba.ch  Fri Feb  6 08:48:33 2015
From: seb at wilzba.ch (Sebastian Wilzbach)
Date: Fri, 06 Feb 2015 14:48:33 +0100
Subject: [IPython-dev] [GSoC 2015]: BioJS components pluggable into IPython
Message-ID: <54D4C631.8060904@wilzba.ch>

Dear IPython developers,

(I don't know whether this mailing list is the correct place for this question - I am happy to proceed with this discussion on the appropriate place)

I am one of the developers of BioJS.
If you never heard about BioJS: It is a very young project that aims to build reusable JavaScript components for life sciences.
One of the coolest projects that we have built lately is the BioJS registry at biojs.io

So why do I write you? 
----------------------

Python and IPython are very popular among Bioinformaticians (e.g. BioPython) and we would like to make our visualizations components easily accessible for IPython users.
One example is that instead of showing raw sequences in JSON or a "pre"-block, we could use an interactive multiple sequence alignment viewer.

We have started to work on a similar project for Galaxy [1] and some time ago I opened a Github issue about the IPython inclusion on the BioJS github repo [2].
Unfortunately we currently lack the resources to concentrate fully on shipping widgets to IPython.
Hence we consider to propose a GSoC project which at least partially will be about this integration.
(As 3 months even with a learning period is a long time we could wrap some other widget-related issues from IPython into this project)

So here is my question:

Is there anyone on this list interested in this project and maybe even in providing guidance as a GSoC mentor from the IPython team?
(I imagine that we would have one BioJS & one IPython mentor)

If you have a spontaneous idea or remark(s) related to this project, don't hesitate to let me know.

Cheers,

Seb

[1] https://github.com/biojs/biojs2galaxy
[2] https://github.com/biojs/biojs/issues/111

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3958 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/0047d6a8/attachment.bin>

From john at omernik.com  Fri Feb  6 11:05:12 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 10:05:12 -0600
Subject: [IPython-dev] Different users - Auto Save - Clobbering
Message-ID: <CAKOFcwpjJ42R0dQB503FgfvSB2uYNG6pPBeX1ftgqefYz7k0XQ@mail.gmail.com>

Hey all, I know iPython Notebooks isn't quite multiuser, but in the
mean time, I have a question I am having a hard time answering.

I have a process right now where someone will be going in and editing
and creating notebooks.  This is my "writer"   (at this point we are
in a trusted env, therefore we are just using the same iPython
Notebook server)

If he opens a notebook, and then adds a bunch of stuff and keeps it
open.  Then someone else connects to the same notebook, but just
observers... will the autosave on the "quasi" read only person's
computer clobber changes made by the first? Should I setup a system to
allow on read only access of the other users?

Until iPython gets true multiusers, how could I approach this?

Thanks!

John


From doug.blank at gmail.com  Fri Feb  6 11:20:40 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Fri, 6 Feb 2015 11:20:40 -0500
Subject: [IPython-dev] [GSoC 2015]: BioJS components pluggable into
	IPython
In-Reply-To: <54D4C631.8060904@wilzba.ch>
References: <54D4C631.8060904@wilzba.ch>
Message-ID: <CAAusYCgf_vvbf+WdiUu8rYT=a-yxRcbPqW=MSSR4uhgqqWyvow@mail.gmail.com>

Seb,

I suspect that there will be a few people interested in your project, for
using and for helping!

I will be co-teaching a Bio + CS intro (a course that serves as both an
intro to CS and an intro to Biology) in two semesters, and these sound very
useful in the classroom.

If you find yourself still looking for someone as a mentor, please contact
me.

-Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/7b21ec1e/attachment.html>

From bussonniermatthias at gmail.com  Fri Feb  6 12:37:54 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Feb 2015 09:37:54 -0800
Subject: [IPython-dev] Different users - Auto Save - Clobbering
In-Reply-To: <CAKOFcwpjJ42R0dQB503FgfvSB2uYNG6pPBeX1ftgqefYz7k0XQ@mail.gmail.com>
References: <CAKOFcwpjJ42R0dQB503FgfvSB2uYNG6pPBeX1ftgqefYz7k0XQ@mail.gmail.com>
Message-ID: <EBD0181F-64F2-4AD3-BC8B-91FD2AF3D439@gmail.com>

Hi John, 


Le 6 f?vr. 2015 ? 08:05, John Omernik <john at omernik.com> a ?crit :

> Hey all, I know iPython Notebooks isn't quite multiuser, but in the
> mean time, I have a question I am having a hard time answering.
> 
> I have a process right now where someone will be going in and editing
> and creating notebooks.  This is my "writer"   (at this point we are
> in a trusted env, therefore we are just using the same iPython
> Notebook server)
> 
> If he opens a notebook, and then adds a bunch of stuff and keeps it
> open.  Then someone else connects to the same notebook, but just
> observers... will the autosave on the "quasi" read only person's
> computer clobber changes made by the first?

Yes. Though the auto save might not trigger if the notebook is really not changed. 


> Should I setup a system to
> allow on read only access of the other users?


Probably, have  a look at Jupyterhub: 

https://github.com/jupyter/jupyterhub

Which is multi-user in a ro/rw fashion. 
you can also add an extension that auto reaload for the "reader" 

Hope that helps until we have true live collaboration. 
-- 
M

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/230e3d2f/attachment.html>

From doug.blank at gmail.com  Fri Feb  6 12:43:17 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Fri, 6 Feb 2015 12:43:17 -0500
Subject: [IPython-dev] Different users - Auto Save - Clobbering
In-Reply-To: <CAKOFcwpjJ42R0dQB503FgfvSB2uYNG6pPBeX1ftgqefYz7k0XQ@mail.gmail.com>
References: <CAKOFcwpjJ42R0dQB503FgfvSB2uYNG6pPBeX1ftgqefYz7k0XQ@mail.gmail.com>
Message-ID: <CAAusYCh9T1Ex2o61_sAiSpU1Jyp81TEgyF_Y-_Gvh1K0tQc7qw@mail.gmail.com>

I think that this will help in IPython 3:

https://github.com/ipython/ipython/pull/7576

-Doug

On Fri, Feb 6, 2015 at 11:05 AM, John Omernik <john at omernik.com> wrote:

> Hey all, I know iPython Notebooks isn't quite multiuser, but in the
> mean time, I have a question I am having a hard time answering.
>
> I have a process right now where someone will be going in and editing
> and creating notebooks.  This is my "writer"   (at this point we are
> in a trusted env, therefore we are just using the same iPython
> Notebook server)
>
> If he opens a notebook, and then adds a bunch of stuff and keeps it
> open.  Then someone else connects to the same notebook, but just
> observers... will the autosave on the "quasi" read only person's
> computer clobber changes made by the first? Should I setup a system to
> allow on read only access of the other users?
>
> Until iPython gets true multiusers, how could I approach this?
>
> Thanks!
>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/dc9a17ca/attachment.html>

From bussonniermatthias at gmail.com  Fri Feb  6 13:45:19 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Feb 2015 10:45:19 -0800
Subject: [IPython-dev] [GSoC 2015]: BioJS components pluggable into
	IPython
In-Reply-To: <54D4C631.8060904@wilzba.ch>
References: <54D4C631.8060904@wilzba.ch>
Message-ID: <C9D5609B-F6F6-4205-A4C1-FC93934EF963@gmail.com>

Hi Sebastian


Le 6 f?vr. 2015 ? 05:48, Sebastian Wilzbach <seb at wilzba.ch> a ?crit :

> Dear IPython developers,
> 
> (I don't know whether this mailing list is the correct place for this question - I am happy to proceed with this discussion on the appropriate place)

Yes this is a really good place to ask, I'll have more comment about that bellow though.

> 
> I am one of the developers of BioJS.
> If you never heard about BioJS: It is a very young project that aims to build reusable JavaScript components for life sciences.
> One of the coolest projects that we have built lately is the BioJS registry at biojs.io
> 
> So why do I write you? 
> ----------------------
> 
> Python and IPython are very popular among Bioinformaticians (e.g. BioPython) and we would like to make our visualizations components easily accessible for IPython users.
> One example is that instead of showing raw sequences in JSON or a "pre"-block, we could use an interactive multiple sequence alignment viewer.

From what I can tell, your component are mostly javascript, though I guess they could be use with non-python kernels. Hence I would suggest reaching wider like on the jupyter mailing list/google group (though it's still young) 
an directly with other kernels. 

(https://groups.google.com/forum/#!forum/jupyter) 

> We have started to work on a similar project for Galaxy [1] and some time ago I opened a Github issue about the IPython inclusion on the BioJS github repo [2].
> Unfortunately we currently lack the resources to concentrate fully on shipping widgets to IPython.
> Hence we consider to propose a GSoC project which at least partially will be about this integration.
> (As 3 months even with a learning period is a long time we could wrap some other widget-related issues from IPython into this project)

I think we are more or less in the same state, with a limited resource. 
We will be splitting the widget repository as a standalone project in the next few month, 
which should make contributing easier. 

> So here is my question:
> 
> Is there anyone on this list interested in this project and maybe even in providing guidance as a GSoC mentor from the IPython team?
> (I imagine that we would have one BioJS & one IPython mentor)

We wil be happy to help, I can't definitively  say wether or not we can have a mentor, 
but the situation have not changed a lot since the last requests we had, so I would expect a no. 

> If you have a spontaneous idea or remark(s) related to this project, don't hesitate to let me know.

I'll add that to our regular meeting, to see if we think of something.

Thanks, 
-- 
Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/50b975a1/attachment.html>

From john at omernik.com  Fri Feb  6 14:54:55 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 13:54:55 -0600
Subject: [IPython-dev] iPython 3 vs Jupyter etc
Message-ID: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>

Is there a clear strategy for how iPython will or won't be merging
with Jupyterhub. I'd like to start doing some dev/testing work with
non-released builds but want to make sure I understand how the
progression will occur. Is iPython going to be just another shell for
the Jupyterhub and thus without Jupyterhub iPython support will fall
away? is it a renaming with a broader focus? etc etc


Thanks!

John


From takowl at gmail.com  Fri Feb  6 15:09:40 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Feb 2015 12:09:40 -0800
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
Message-ID: <CAOvn4qhwUnZsiDvcAtvcgMBYFqsNx1n=xKTuFTbh05N=bmvigw@mail.gmail.com>

Jupyter is going to be a suite of related projects for interactive
computing in multiple languages. *Jupyterhub* is one of the first projects
using that naming umbrella, and is responsible for running what we
currently call IPython Notebook servers for multiple users.

We will be splitting up the code currently called IPython into several
parts, most of which will be called Jupyter. The IPython Notebook (the
application) will become the Jupyter Notebook. There is no plan to merge
this into Jupyterhub - that is a separate project under the Jupyter name.
So you will definitely still be able to run the notebook server without
Jupyterhub.

The Notebook application will be able to work with notebooks written in
different programming languages (this is already working in master). After
we split up the project currently called IPython, the bits specific to
running and interacting with Python code will continue to be called
IPython, while the parts that work for any language will be called Jupyter.

I hope that clarifies the changes a bit.

Thomas

On 6 February 2015 at 11:54, John Omernik <john at omernik.com> wrote:

> Is there a clear strategy for how iPython will or won't be merging
> with Jupyterhub. I'd like to start doing some dev/testing work with
> non-released builds but want to make sure I understand how the
> progression will occur. Is iPython going to be just another shell for
> the Jupyterhub and thus without Jupyterhub iPython support will fall
> away? is it a renaming with a broader focus? etc etc
>
>
> Thanks!
>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/dede97b1/attachment.html>

From john at omernik.com  Fri Feb  6 15:12:54 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 14:12:54 -0600
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <CAOvn4qhwUnZsiDvcAtvcgMBYFqsNx1n=xKTuFTbh05N=bmvigw@mail.gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
	<CAOvn4qhwUnZsiDvcAtvcgMBYFqsNx1n=xKTuFTbh05N=bmvigw@mail.gmail.com>
Message-ID: <CAKOFcwo4n70J8GOt_WBD2r6a+dO1RFwvkZbfP+psN5Ym6aqM9w@mail.gmail.com>

So Jupyter isn't a fork or something that's going to force historic
users of iPython to choose one or the other at some point. I guess
that's my biggest issue, I don't want to be going down the road and
have to pick a fork, or I guess, if I do HAVE to pick a fork, I want
to know which one to take. It sounds like with what you said, that
these projects are going to working to integrate rather than divest.
That sounds good to me :)



On Fri, Feb 6, 2015 at 2:09 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> Jupyter is going to be a suite of related projects for interactive computing
> in multiple languages. *Jupyterhub* is one of the first projects using that
> naming umbrella, and is responsible for running what we currently call
> IPython Notebook servers for multiple users.
>
> We will be splitting up the code currently called IPython into several
> parts, most of which will be called Jupyter. The IPython Notebook (the
> application) will become the Jupyter Notebook. There is no plan to merge
> this into Jupyterhub - that is a separate project under the Jupyter name. So
> you will definitely still be able to run the notebook server without
> Jupyterhub.
>
> The Notebook application will be able to work with notebooks written in
> different programming languages (this is already working in master). After
> we split up the project currently called IPython, the bits specific to
> running and interacting with Python code will continue to be called IPython,
> while the parts that work for any language will be called Jupyter.
>
> I hope that clarifies the changes a bit.
>
> Thomas
>
> On 6 February 2015 at 11:54, John Omernik <john at omernik.com> wrote:
>>
>> Is there a clear strategy for how iPython will or won't be merging
>> with Jupyterhub. I'd like to start doing some dev/testing work with
>> non-released builds but want to make sure I understand how the
>> progression will occur. Is iPython going to be just another shell for
>> the Jupyterhub and thus without Jupyterhub iPython support will fall
>> away? is it a renaming with a broader focus? etc etc
>>
>>
>> Thanks!
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From bussonniermatthias at gmail.com  Fri Feb  6 15:16:20 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Feb 2015 12:16:20 -0800
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
Message-ID: <0AC2596E-05C1-4B2F-9452-334ECCE7F75B@gmail.com>

Hi John, 

No, IPython will not merge with Jupyterhub. 
Jupyterhub will be the way to use Jupyter in  multiuser environment. 

IPython will be split into many sub projects. You will be able to use 
ipython terminal shell without Jupyter. 

Basically after 3.0 is released we will create (roughly) the following repo. 

Jupyterhub
Jupyter-notebook
Nbconvert
Nbformat
Qtconsole
IPython (the terminal shell) 
IPython (the kernel that works with Notebook, qtconsole)
Widgets, 
Traitlets
Config

I wrote a bit about that :
http://carreau.github.io/posts/15-Jupyter.html


Thomas already responded to you while I was writing that. 
So no, Jupyter is not a fork. We are Jupyter.
As you need to install tornado to have IPython notebook, 
you will just need more dependencies. 

The "renaming"  is just here to make people understand that
we are not only Python, we have ~26 kernels (cf ipython wiki)


Does that make sens ? 

-- 
M



Le 6 f?vr. 2015 ? 11:54, John Omernik <john at omernik.com> a ?crit :

> Is there a clear strategy for how iPython will or won't be merging
> with Jupyterhub. I'd like to start doing some dev/testing work with
> non-released builds but want to make sure I understand how the
> progression will occur. Is iPython going to be just another shell for
> the Jupyterhub and thus without Jupyterhub iPython support will fall
> away? is it a renaming with a broader focus? etc etc
> 
> 
> Thanks!
> 
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/c0b101bd/attachment.html>

From john at omernik.com  Fri Feb  6 15:18:27 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 14:18:27 -0600
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <0AC2596E-05C1-4B2F-9452-334ECCE7F75B@gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
	<0AC2596E-05C1-4B2F-9452-334ECCE7F75B@gmail.com>
Message-ID: <CAKOFcwowW3s65_VGLTss3x1yQ=xfhrtZvHJOwCo+24jBdqB+1w@mail.gmail.com>

Yep a bit. I will say that it may be worth someone's effort to put
that on the iPython.org website or something. Just clarifying what is
what and what is on the roadmap. I think there may be a number of
people who want to dip their foot in the water, but may hesitate out
of confusion.

Thanks for the clarification.



On Fri, Feb 6, 2015 at 2:16 PM, Matthias Bussonnier
<bussonniermatthias at gmail.com> wrote:
> Hi John,
>
> No, IPython will not merge with Jupyterhub.
> Jupyterhub will be the way to use Jupyter in  multiuser environment.
>
> IPython will be split into many sub projects. You will be able to use
> ipython terminal shell without Jupyter.
>
> Basically after 3.0 is released we will create (roughly) the following repo.
>
> Jupyterhub
> Jupyter-notebook
> Nbconvert
> Nbformat
> Qtconsole
> IPython (the terminal shell)
> IPython (the kernel that works with Notebook, qtconsole)
> Widgets,
> Traitlets
> Config
>
> I wrote a bit about that :
> http://carreau.github.io/posts/15-Jupyter.html
>
>
> Thomas already responded to you while I was writing that.
> So no, Jupyter is not a fork. We are Jupyter.
> As you need to install tornado to have IPython notebook,
> you will just need more dependencies.
>
> The "renaming"  is just here to make people understand that
> we are not only Python, we have ~26 kernels (cf ipython wiki)
>
>
> Does that make sens ?
>
> --
> M
>
>
>
> Le 6 f?vr. 2015 ? 11:54, John Omernik <john at omernik.com> a ?crit :
>
> Is there a clear strategy for how iPython will or won't be merging
> with Jupyterhub. I'd like to start doing some dev/testing work with
> non-released builds but want to make sure I understand how the
> progression will occur. Is iPython going to be just another shell for
> the Jupyterhub and thus without Jupyterhub iPython support will fall
> away? is it a renaming with a broader focus? etc etc
>
>
> Thanks!
>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From john at omernik.com  Fri Feb  6 15:19:34 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 14:19:34 -0600
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
Message-ID: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>

In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I am getting

[C 14:16:28.361 NotebookApp] Bad config encountered during initialization:

[C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'

Any thoughts? Do I need to change something to have the same affect?

Thanks

John


From benjaminrk at gmail.com  Fri Feb  6 15:24:57 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 6 Feb 2015 12:24:57 -0800
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
In-Reply-To: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>
References: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>
Message-ID: <CAHNn8BUu5imQOhAW0LVywQJ2gEvM0bBpzGbGJ+rk5egP3sBQHg@mail.gmail.com>

Passing kernel arguments on the notebook server CLI was deprecated in 2.0,
and removed in 3.0. You can use the `%matplotlib inline` magic in your
notebook to set up matplotlib, or enable matplotlib in your
`ipython_config.py` or startup files in your IPython profile.

-MinRK

On Fri, Feb 6, 2015 at 12:19 PM, John Omernik <john at omernik.com> wrote:

> In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I am
> getting
>
> [C 14:16:28.361 NotebookApp] Bad config encountered during initialization:
>
> [C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'
>
> Any thoughts? Do I need to change something to have the same affect?
>
> Thanks
>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/ef1d3431/attachment.html>

From benjaminrk at gmail.com  Fri Feb  6 15:27:28 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 6 Feb 2015 12:27:28 -0800
Subject: [IPython-dev] iPython 3.0-dev --matplotlib inline
In-Reply-To: <CAHNn8BUu5imQOhAW0LVywQJ2gEvM0bBpzGbGJ+rk5egP3sBQHg@mail.gmail.com>
References: <CAKOFcwr=OyD4b0YL_xvHSexzqNjPvLn5ABykYxv1veWLORXXMg@mail.gmail.com>
	<CAHNn8BUu5imQOhAW0LVywQJ2gEvM0bBpzGbGJ+rk5egP3sBQHg@mail.gmail.com>
Message-ID: <CAHNn8BXOGp0CZ7Y4iZ+_bt_v5Zn7h0FRiRuGtf-e342pNC2E7A@mail.gmail.com>

For completeness, you can create a startup file that always enables inline
matplotlib with:

echo "get_ipython().enable_matplotlib('inline')" >
~/.ipython/profile_default/startup/matplotlib_inline.py

?

On Fri, Feb 6, 2015 at 12:24 PM, MinRK <benjaminrk at gmail.com> wrote:

> Passing kernel arguments on the notebook server CLI was deprecated in 2.0,
> and removed in 3.0. You can use the `%matplotlib inline` magic in your
> notebook to set up matplotlib, or enable matplotlib in your
> `ipython_config.py` or startup files in your IPython profile.
>
> -MinRK
>
> On Fri, Feb 6, 2015 at 12:19 PM, John Omernik <john at omernik.com> wrote:
>
>> In 2.3, I would run my ipython with --matplotlib inline, in the 3.0 I am
>> getting
>>
>> [C 14:16:28.361 NotebookApp] Bad config encountered during initialization:
>>
>> [C 14:16:28.362 NotebookApp] Unrecognized flag: '--matplotlib'
>>
>> Any thoughts? Do I need to change something to have the same affect?
>>
>> Thanks
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/ee3476be/attachment.html>

From john at omernik.com  Fri Feb  6 15:38:46 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 14:38:46 -0600
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <CAKOFcwowW3s65_VGLTss3x1yQ=xfhrtZvHJOwCo+24jBdqB+1w@mail.gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
	<0AC2596E-05C1-4B2F-9452-334ECCE7F75B@gmail.com>
	<CAKOFcwowW3s65_VGLTss3x1yQ=xfhrtZvHJOwCo+24jBdqB+1w@mail.gmail.com>
Message-ID: <CAKOFcwrjxyYPmf7VSuaS1SN2O7sU=wxyryTdeOmrQezUx_5qiw@mail.gmail.com>

One silly question:

I've install iPython 3.0 Dev. (First let me say nice work folks, looks
great). I am still running Python 2.7 as my shell, and for analytics,
it's where I am comfortable. for Jupyterhub, it requires iPython 3.0
and Python 3.  Is that requirement only to run the hub itself, or will
I need to run all my iPython kernals as python 3 as well?  I installed
python3 with apt-get, and that was my next "step"



On Fri, Feb 6, 2015 at 2:18 PM, John Omernik <john at omernik.com> wrote:
> Yep a bit. I will say that it may be worth someone's effort to put
> that on the iPython.org website or something. Just clarifying what is
> what and what is on the roadmap. I think there may be a number of
> people who want to dip their foot in the water, but may hesitate out
> of confusion.
>
> Thanks for the clarification.
>
>
>
> On Fri, Feb 6, 2015 at 2:16 PM, Matthias Bussonnier
> <bussonniermatthias at gmail.com> wrote:
>> Hi John,
>>
>> No, IPython will not merge with Jupyterhub.
>> Jupyterhub will be the way to use Jupyter in  multiuser environment.
>>
>> IPython will be split into many sub projects. You will be able to use
>> ipython terminal shell without Jupyter.
>>
>> Basically after 3.0 is released we will create (roughly) the following repo.
>>
>> Jupyterhub
>> Jupyter-notebook
>> Nbconvert
>> Nbformat
>> Qtconsole
>> IPython (the terminal shell)
>> IPython (the kernel that works with Notebook, qtconsole)
>> Widgets,
>> Traitlets
>> Config
>>
>> I wrote a bit about that :
>> http://carreau.github.io/posts/15-Jupyter.html
>>
>>
>> Thomas already responded to you while I was writing that.
>> So no, Jupyter is not a fork. We are Jupyter.
>> As you need to install tornado to have IPython notebook,
>> you will just need more dependencies.
>>
>> The "renaming"  is just here to make people understand that
>> we are not only Python, we have ~26 kernels (cf ipython wiki)
>>
>>
>> Does that make sens ?
>>
>> --
>> M
>>
>>
>>
>> Le 6 f?vr. 2015 ? 11:54, John Omernik <john at omernik.com> a ?crit :
>>
>> Is there a clear strategy for how iPython will or won't be merging
>> with Jupyterhub. I'd like to start doing some dev/testing work with
>> non-released builds but want to make sure I understand how the
>> progression will occur. Is iPython going to be just another shell for
>> the Jupyterhub and thus without Jupyterhub iPython support will fall
>> away? is it a renaming with a broader focus? etc etc
>>
>>
>> Thanks!
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>


From bussonniermatthias at gmail.com  Fri Feb  6 16:40:32 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Feb 2015 13:40:32 -0800
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <CAKOFcwrjxyYPmf7VSuaS1SN2O7sU=wxyryTdeOmrQezUx_5qiw@mail.gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
	<0AC2596E-05C1-4B2F-9452-334ECCE7F75B@gmail.com>
	<CAKOFcwowW3s65_VGLTss3x1yQ=xfhrtZvHJOwCo+24jBdqB+1w@mail.gmail.com>
	<CAKOFcwrjxyYPmf7VSuaS1SN2O7sU=wxyryTdeOmrQezUx_5qiw@mail.gmail.com>
Message-ID: <5EB30D9F-E95F-43D9-B806-B27B39F45756@gmail.com>


Le 6 f?vr. 2015 ? 12:18, John Omernik <john at omernik.com> a ?crit :

> Yep a bit. I will say that it may be worth someone's effort to put
> that on the iPython.org website or something. Just clarifying what is
> what and what is on the roadmap. I think there may be a number of
> people who want to dip their foot in the water, but may hesitate out
> of confusion.
> 
> Thanks for the clarification.

Yes, there or on jupyter.org
We know we are bad at communicating. If anyone reading
want to contribute and is afraid of coding, writing things like
that on the website would be a perfect way to contribute
and would be of great help to everyone. 

Le 6 f?vr. 2015 ? 12:38, John Omernik <john at omernik.com> a ?crit :

> One silly question:
> 
> I've install iPython 3.0 Dev. (First let me say nice work folks, looks
> great). I am still running Python 2.7 as my shell, and for analytics,
> it's where I am comfortable. for Jupyterhub, it requires iPython 3.0
> and Python 3.  Is that requirement only to run the hub itself, or will
> I need to run all my iPython kernals as python 3 as well?  I installed
> python3 with apt-get, and that was my next "step"

Not silly at all. 

You can perfectly run IPython 3 with Python 3 and kernels on Python 2. 
for the time being you will need to install IPython notebook with python 2 and issue a

$ ipython2 kernelspec install-self

This will make the IPython2 kernel available with IPython3 server running on python 3.
-- 
M




From takowl at gmail.com  Fri Feb  6 16:42:56 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Feb 2015 13:42:56 -0800
Subject: [IPython-dev] iPython 3 vs Jupyter etc
In-Reply-To: <CAKOFcwrjxyYPmf7VSuaS1SN2O7sU=wxyryTdeOmrQezUx_5qiw@mail.gmail.com>
References: <CAKOFcwqnfTeQDcDOSyz8zAWodrv-54V3d9P+hogBLD08=fw-Fg@mail.gmail.com>
	<0AC2596E-05C1-4B2F-9452-334ECCE7F75B@gmail.com>
	<CAKOFcwowW3s65_VGLTss3x1yQ=xfhrtZvHJOwCo+24jBdqB+1w@mail.gmail.com>
	<CAKOFcwrjxyYPmf7VSuaS1SN2O7sU=wxyryTdeOmrQezUx_5qiw@mail.gmail.com>
Message-ID: <CAOvn4qhZB3e7dnn0Fu-UiE78X90Fg1P_+xuNT+1gJE8O2CoqGw@mail.gmail.com>

On 6 February 2015 at 12:38, John Omernik <john at omernik.com> wrote:

> I am still running Python 2.7 as my shell, and for analytics,
> it's where I am comfortable. for Jupyterhub, it requires iPython 3.0
> and Python 3.  Is that requirement only to run the hub itself, or will
> I need to run all my iPython kernals as python 3 as well?
>

It's only for the hub - you can still run kernels and the notebook server
itself using Python 2.

At some point, we might make the notebook server require Python 3, but even
then, you will be able to run Python 2 kernels inside it. And we haven't
decided if/when we're doing that, anyway.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/c6816225/attachment.html>

From kikocorreoso at gmail.com  Fri Feb  6 17:31:38 2015
From: kikocorreoso at gmail.com (Kiko)
Date: Fri, 6 Feb 2015 23:31:38 +0100
Subject: [IPython-dev] ipy2wp extension update
Message-ID: <CAB-sx6286ZWTRcJs-6cky9-Bh-E+WkEachVN_CEXLgr1Kt0QLA@mail.gmail.com>

Hi all,

I updated a little bit ipy2wp (https://github.com/Pybonacci/ipy2wp) to make
it more useful.

What is ipy2wp? It is a command line tool or a Jupyter extension that helps
you to publish a notebook on a wordpress site.

As stated before, the updates allow  you to publish a notebook from Jupyter
frontend in your wordpress site directly from the notebook itself but I
found some issues. It works on Linux (and maybe on MacOS) but not in
windows. I want the available templates are in the nnbextensions folder in
the .ipython dir but there is a problem to use templates from there. I read
what MinRK wrote here(
https://github.com/ipython/ipython/issues/5529#issuecomment-63016268) and I
solved the issue on Linux adding the line
https://github.com/Pybonacci/ipy2wp/blob/master/ipy2wp/ipy2wp.py#L20

Is there a correct way to specify the path of the templates in order to
make it easily installable and usable by others and to make it work on
windows?

Thanks.

Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/bc0c55d7/attachment.html>

From takowl at gmail.com  Fri Feb  6 19:09:11 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Feb 2015 16:09:11 -0800
Subject: [IPython-dev] [GSoC 2015]: BioJS components pluggable into
	IPython
In-Reply-To: <C9D5609B-F6F6-4205-A4C1-FC93934EF963@gmail.com>
References: <54D4C631.8060904@wilzba.ch>
	<C9D5609B-F6F6-4205-A4C1-FC93934EF963@gmail.com>
Message-ID: <CAOvn4qgUDm6o-8Hb++OaDTv++NTNDY-FXAg4DHdWRTUbcrNZig@mail.gmail.com>

On 6 February 2015 at 10:45, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> We wil be happy to help, I can't definitively  say wether or not we can
> have a mentor,
> but the situation have not changed a lot since the last requests we had,
> so I would expect a no.
>

Previously, though, we've considered mentoring someone on a purely IPython
project, and decided that it was too big a time commitment. We may be more
amenable to co-mentoring someone on a task that's related to IPython but
largely under another project, such as BioJS.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/85012f1a/attachment.html>

From john at omernik.com  Fri Feb  6 20:59:54 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 19:59:54 -0600
Subject: [IPython-dev] iPython 3.0 Creating a new notebook programatically.
Message-ID: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>

Hey all, I have been through the API docs for iPython 3, but I can't
figure out how to reproduce this in iPython 3. (It worked in iPython
2.3)

http://nbviewer.ipython.org/gist/fperez/9716279

In iPython 3, I get an error at
nb['worksheets'].append(nbf.new_worksheet(cells=cells))

I tried some different stuff win imports. I.e. instead of

from IPython.nbformat import current as nbf

I did from iPython.nbformat import v4 as nbf and some other stuff to
get write. But that's where I am currently stuck.  Any pointers would
be helpful. Basically I want a code that will create a new notebook,
and pre fill the few lines.

Thanks!

John


From doug.blank at gmail.com  Fri Feb  6 21:13:57 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Fri, 6 Feb 2015 21:13:57 -0500
Subject: [IPython-dev] iPython 3.0 Creating a new notebook
	programatically.
In-Reply-To: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>
References: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>
Message-ID: <CAAusYCir5W7BaD1KWxNZ7vjsX84M56VnDg6Qqf962OB=s0KEtw@mail.gmail.com>

Two changes:

1) You should use a particular notebook format version:

nb = IPython.nbformat.v4.new_notebook()

2) Worksheet has been removed; so:

nb["cells"].append(IPython.nbformat.v4.new_code_cell("x = 1"))

Hope that helps,

-Doug

On Fri, Feb 6, 2015 at 8:59 PM, John Omernik <john at omernik.com> wrote:

> Hey all, I have been through the API docs for iPython 3, but I can't
> figure out how to reproduce this in iPython 3. (It worked in iPython
> 2.3)
>
> http://nbviewer.ipython.org/gist/fperez/9716279
>
> In iPython 3, I get an error at
> nb['worksheets'].append(nbf.new_worksheet(cells=cells))
>
> I tried some different stuff win imports. I.e. instead of
>
> from IPython.nbformat import current as nbf
>
> I did from iPython.nbformat import v4 as nbf and some other stuff to
> get write. But that's where I am currently stuck.  Any pointers would
> be helpful. Basically I want a code that will create a new notebook,
> and pre fill the few lines.
>
> Thanks!
>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/53cbb87a/attachment.html>

From ellisonbg at gmail.com  Fri Feb  6 21:38:17 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Fri, 6 Feb 2015 18:38:17 -0800
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
	drive) beta.
In-Reply-To: <B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
Message-ID: <CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>

My only concern is that not having the full integration done that folks
won't really use this much as they will have to create a separate profile
and start a new server. If we can get this into 3.1, that would enable a
lot more people to try this. As with all of our MVPs, we want to get as
many people using it as possible to get feedback.

Think about it this way - we have a hypothesis: "lots of current notebook
users would like to be able to store notebook on Google Drive."

For us to test that hypothesis, we need as much data as possible (even if
it is qualitative feedback). If not many people try it out, we can't make
any conclusions about what we have built...

Cheers,

Brian

On Wed, Feb 4, 2015 at 12:44 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Quick from the airport.
>
> No and it was not planned, it was "best effort", "would be great to have
> synced release". Jupyter drive is not Ipython. Release schedule is
> decoupled.
>
> Though release of IPython 3.0 is needed for me to actually release JDrive
> because it needs it, I can do whatever with JDrive.
>
> If there are interest in mixed content
> And I have time, it might got in before 3.0. But if the use is low I'll
> focus on real time API.
>
> Envoy? de mon iPhone
>
> Le 3 f?vr. 2015 ? 19:46, Brian Granger <ellisonbg at gmail.com> a ?crit :
>
> Are we still planning on merging the branch that enabled "mixed" content
> before 3.0?
>
> On Tue, Feb 3, 2015 at 7:56 AM, Matthias BUSSONNIER <
> bussonniermatthias at gmail.com> wrote:
>
>> Hi all,
>>
>> You might all have seen that IPython 3.0 Beta was released not so long
>> ago.
>> First, thanks for the feedback !
>>
>> For those unaware, we are working on integration with google
>> drive as an extension.
>> Thanks to Google and especially to Kester Tong for helping a lot.
>>
>> You can find the package on PyPI :
>>
>> https://pypi.python.org/pypi/jupyterdrive
>>
>> And of course on github :
>>
>> https://github.com/jupyter/jupyter-drive/issues
>>
>> You can consider this 0.9 version as a 1.0 Beta,
>> there are still a few missing things like duplication of file,
>> but the  core functionality will mostly be there.
>>
>> For now you also still need a **separate** IPython server to run with the
>> google-drive
>> profile. Cf readme.md.
>>
>> This version **does not** include real-time collaboration. It will need
>> some refactor
>> that will be done in IPython during the following year. So do expect next
>> version
>> of jupyterdrive to probably only be compatible with IPython 4.0.
>>
>> For those interested there is draft branch on github that start to
>> implement a "mixed" content
>> manager, that would allow with the same IPython server to access both
>> local hard drive content
>> and google drive one.
>>
>> As usual, back up your data, Jupyter-drive is much less battle tested
>> than IPython itself.
>>
>> --
>> Matthias
>>
>>  --
>> 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 at googlegroups.com.
>> To post to this group, send email to jupyter at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com
>> <https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
>
> --
> 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 at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>  --
> 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 at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/B963F274-56C5-4F71-B85A-D6F8217FDD04%40gmail.com
> <https://groups.google.com/d/msgid/jupyter/B963F274-56C5-4F71-B85A-D6F8217FDD04%40gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/a04be144/attachment.html>

From john at omernik.com  Fri Feb  6 21:43:04 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 20:43:04 -0600
Subject: [IPython-dev] iPython 3.0 Creating a new notebook
	programatically.
In-Reply-To: <CAAusYCir5W7BaD1KWxNZ7vjsX84M56VnDg6Qqf962OB=s0KEtw@mail.gmail.com>
References: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>
	<CAAusYCir5W7BaD1KWxNZ7vjsX84M56VnDg6Qqf962OB=s0KEtw@mail.gmail.com>
Message-ID: <CAKOFcwrHSoyWhKhK+d_qMK1tqVUhJpaKmJxGB0Tqt87_1Ed1fg@mail.gmail.com>

Cool, that worked,  thank you. Is there a place that I could have
derived that from docs? I guess, I don't mind asking on list,
especially if others gain benefit, but I also try to figure things out
myself, and my research really led me nowhere. If there was a place
that wasn't coming up in my searches that would have helped, I'd like
to bookmark it.



On Fri, Feb 6, 2015 at 8:13 PM, Doug Blank <doug.blank at gmail.com> wrote:
> Two changes:
>
> 1) You should use a particular notebook format version:
>
> nb = IPython.nbformat.v4.new_notebook()
>
> 2) Worksheet has been removed; so:
>
> nb["cells"].append(IPython.nbformat.v4.new_code_cell("x = 1"))
>
> Hope that helps,
>
> -Doug
>
> On Fri, Feb 6, 2015 at 8:59 PM, John Omernik <john at omernik.com> wrote:
>>
>> Hey all, I have been through the API docs for iPython 3, but I can't
>> figure out how to reproduce this in iPython 3. (It worked in iPython
>> 2.3)
>>
>> http://nbviewer.ipython.org/gist/fperez/9716279
>>
>> In iPython 3, I get an error at
>> nb['worksheets'].append(nbf.new_worksheet(cells=cells))
>>
>> I tried some different stuff win imports. I.e. instead of
>>
>> from IPython.nbformat import current as nbf
>>
>> I did from iPython.nbformat import v4 as nbf and some other stuff to
>> get write. But that's where I am currently stuck.  Any pointers would
>> be helpful. Basically I want a code that will create a new notebook,
>> and pre fill the few lines.
>>
>> Thanks!
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From kestert at google.com  Fri Feb  6 21:53:01 2015
From: kestert at google.com (Kester Tong)
Date: Fri, 6 Feb 2015 21:53:01 -0500
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
 drive) beta.
In-Reply-To: <CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
	<CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>
Message-ID: <CAGT7SkX=cjtgQj3vgVdEDC2K0M_4N3cEet0HO7t2p_FOD3RRMA@mail.gmail.com>

Brian,

These are all really good points you make.  I'm going to see what's missing
from the current mixed contents branch, so we can figure out if it's
realistic to release with 3.0 or 3.1.  The only change in IPython needed is
some kind of special folder icon for the Drive mount point (which is
/gdrive right now).  But I'll try and figure out if any other changes on
the IPython side are needed.

Kester

On Fri, Feb 6, 2015 at 9:38 PM, Brian Granger <ellisonbg at gmail.com> wrote:

> My only concern is that not having the full integration done that folks
> won't really use this much as they will have to create a separate profile
> and start a new server. If we can get this into 3.1, that would enable a
> lot more people to try this. As with all of our MVPs, we want to get as
> many people using it as possible to get feedback.
>
> Think about it this way - we have a hypothesis: "lots of current notebook
> users would like to be able to store notebook on Google Drive."
>
> For us to test that hypothesis, we need as much data as possible (even if
> it is qualitative feedback). If not many people try it out, we can't make
> any conclusions about what we have built...
>
> Cheers,
>
> Brian
>
> On Wed, Feb 4, 2015 at 12:44 AM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>> Quick from the airport.
>>
>> No and it was not planned, it was "best effort", "would be great to have
>> synced release". Jupyter drive is not Ipython. Release schedule is
>> decoupled.
>>
>> Though release of IPython 3.0 is needed for me to actually release JDrive
>> because it needs it, I can do whatever with JDrive.
>>
>> If there are interest in mixed content
>> And I have time, it might got in before 3.0. But if the use is low I'll
>> focus on real time API.
>>
>> Envoy? de mon iPhone
>>
>> Le 3 f?vr. 2015 ? 19:46, Brian Granger <ellisonbg at gmail.com> a ?crit :
>>
>> Are we still planning on merging the branch that enabled "mixed" content
>> before 3.0?
>>
>> On Tue, Feb 3, 2015 at 7:56 AM, Matthias BUSSONNIER <
>> bussonniermatthias at gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> You might all have seen that IPython 3.0 Beta was released not so long
>>> ago.
>>> First, thanks for the feedback !
>>>
>>> For those unaware, we are working on integration with google
>>> drive as an extension.
>>> Thanks to Google and especially to Kester Tong for helping a lot.
>>>
>>> You can find the package on PyPI :
>>>
>>> https://pypi.python.org/pypi/jupyterdrive
>>>
>>> And of course on github :
>>>
>>> https://github.com/jupyter/jupyter-drive/issues
>>>
>>> You can consider this 0.9 version as a 1.0 Beta,
>>> there are still a few missing things like duplication of file,
>>> but the  core functionality will mostly be there.
>>>
>>> For now you also still need a **separate** IPython server to run with
>>> the google-drive
>>> profile. Cf readme.md.
>>>
>>> This version **does not** include real-time collaboration. It will need
>>> some refactor
>>> that will be done in IPython during the following year. So do expect
>>> next version
>>> of jupyterdrive to probably only be compatible with IPython 4.0.
>>>
>>> For those interested there is draft branch on github that start to
>>> implement a "mixed" content
>>> manager, that would allow with the same IPython server to access both
>>> local hard drive content
>>> and google drive one.
>>>
>>> As usual, back up your data, Jupyter-drive is much less battle tested
>>> than IPython itself.
>>>
>>> --
>>> Matthias
>>>
>>>  --
>>> 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 at googlegroups.com.
>>> To post to this group, send email to jupyter at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> @ellisonbg on Twitter and GitHub
>> bgranger at calpoly.edu and ellisonbg at gmail.com
>>
>> --
>> 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 at googlegroups.com.
>> To post to this group, send email to jupyter at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>  --
>> 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 at googlegroups.com.
>> To post to this group, send email to jupyter at googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/B963F274-56C5-4F71-B85A-D6F8217FDD04%40gmail.com
>> <https://groups.google.com/d/msgid/jupyter/B963F274-56C5-4F71-B85A-D6F8217FDD04%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/85ee28dc/attachment.html>

From john at omernik.com  Fri Feb  6 21:59:57 2015
From: john at omernik.com (John Omernik)
Date: Fri, 6 Feb 2015 20:59:57 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
Message-ID: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>

In the Jupyter Hub, there's

JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.

You will need nodejs/npm, which you can get from your package manager:

sudo apt-get install npm nodejs-legacy

(The nodejs-legacy package installs the node executable, which is
required for npm to work on Debian/Ubuntu at this point)

Then install javascript dependencies:


However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
How do I meet that requirement?

Thanks!


From kestert at google.com  Fri Feb  6 22:32:21 2015
From: kestert at google.com (Kester Tong)
Date: Fri, 6 Feb 2015 22:32:21 -0500
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
 drive) beta.
In-Reply-To: <CAGT7SkX=cjtgQj3vgVdEDC2K0M_4N3cEet0HO7t2p_FOD3RRMA@mail.gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
	<CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>
	<CAGT7SkX=cjtgQj3vgVdEDC2K0M_4N3cEet0HO7t2p_FOD3RRMA@mail.gmail.com>
Message-ID: <CAGT7SkW++mQoMDOq5kYFmj=vs0Vbnt7a66HgmqBb=kQPmXP=ng@mail.gmail.com>

After rebasing, the mixedcontents branch seems to work.  It seems realistic
to me to have this by 3.0.  There may be some polishing needed, but the
basic functionality is there now.

Kester

On Fri, Feb 6, 2015 at 9:53 PM, Kester Tong <kestert at google.com> wrote:

> Brian,
>
> These are all really good points you make.  I'm going to see what's
> missing from the current mixed contents branch, so we can figure out if
> it's realistic to release with 3.0 or 3.1.  The only change in IPython
> needed is some kind of special folder icon for the Drive mount point (which
> is /gdrive right now).  But I'll try and figure out if any other changes on
> the IPython side are needed.
>
> Kester
>
> On Fri, Feb 6, 2015 at 9:38 PM, Brian Granger <ellisonbg at gmail.com> wrote:
>
>> My only concern is that not having the full integration done that folks
>> won't really use this much as they will have to create a separate profile
>> and start a new server. If we can get this into 3.1, that would enable a
>> lot more people to try this. As with all of our MVPs, we want to get as
>> many people using it as possible to get feedback.
>>
>> Think about it this way - we have a hypothesis: "lots of current notebook
>> users would like to be able to store notebook on Google Drive."
>>
>> For us to test that hypothesis, we need as much data as possible (even if
>> it is qualitative feedback). If not many people try it out, we can't make
>> any conclusions about what we have built...
>>
>> Cheers,
>>
>> Brian
>>
>> On Wed, Feb 4, 2015 at 12:44 AM, Matthias Bussonnier <
>> bussonniermatthias at gmail.com> wrote:
>>
>>> Quick from the airport.
>>>
>>> No and it was not planned, it was "best effort", "would be great to have
>>> synced release". Jupyter drive is not Ipython. Release schedule is
>>> decoupled.
>>>
>>> Though release of IPython 3.0 is needed for me to actually release
>>> JDrive because it needs it, I can do whatever with JDrive.
>>>
>>> If there are interest in mixed content
>>> And I have time, it might got in before 3.0. But if the use is low I'll
>>> focus on real time API.
>>>
>>> Envoy? de mon iPhone
>>>
>>> Le 3 f?vr. 2015 ? 19:46, Brian Granger <ellisonbg at gmail.com> a ?crit :
>>>
>>> Are we still planning on merging the branch that enabled "mixed" content
>>> before 3.0?
>>>
>>> On Tue, Feb 3, 2015 at 7:56 AM, Matthias BUSSONNIER <
>>> bussonniermatthias at gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> You might all have seen that IPython 3.0 Beta was released not so long
>>>> ago.
>>>> First, thanks for the feedback !
>>>>
>>>> For those unaware, we are working on integration with google
>>>> drive as an extension.
>>>> Thanks to Google and especially to Kester Tong for helping a lot.
>>>>
>>>> You can find the package on PyPI :
>>>>
>>>> https://pypi.python.org/pypi/jupyterdrive
>>>>
>>>> And of course on github :
>>>>
>>>> https://github.com/jupyter/jupyter-drive/issues
>>>>
>>>> You can consider this 0.9 version as a 1.0 Beta,
>>>> there are still a few missing things like duplication of file,
>>>> but the  core functionality will mostly be there.
>>>>
>>>> For now you also still need a **separate** IPython server to run with
>>>> the google-drive
>>>> profile. Cf readme.md.
>>>>
>>>> This version **does not** include real-time collaboration. It will need
>>>> some refactor
>>>> that will be done in IPython during the following year. So do expect
>>>> next version
>>>> of jupyterdrive to probably only be compatible with IPython 4.0.
>>>>
>>>> For those interested there is draft branch on github that start to
>>>> implement a "mixed" content
>>>> manager, that would allow with the same IPython server to access both
>>>> local hard drive content
>>>> and google drive one.
>>>>
>>>> As usual, back up your data, Jupyter-drive is much less battle tested
>>>> than IPython itself.
>>>>
>>>> --
>>>> Matthias
>>>>
>>>>  --
>>>> 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 at googlegroups.com.
>>>> To post to this group, send email to jupyter at googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com
>>>> <https://groups.google.com/d/msgid/jupyter/523B928E-4BC9-47DC-9514-4EB0F5CF3DDE%40gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Brian E. Granger
>>> Cal Poly State University, San Luis Obispo
>>> @ellisonbg on Twitter and GitHub
>>> bgranger at calpoly.edu and ellisonbg at gmail.com
>>>
>>> --
>>> 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 at googlegroups.com.
>>> To post to this group, send email to jupyter at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>  --
>>> 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 at googlegroups.com.
>>> To post to this group, send email to jupyter at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/B963F274-56C5-4F71-B85A-D6F8217FDD04%40gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/B963F274-56C5-4F71-B85A-D6F8217FDD04%40gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> @ellisonbg on Twitter and GitHub
>> bgranger at calpoly.edu and ellisonbg at gmail.com
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/7d616de0/attachment.html>

From wes.turner at gmail.com  Sat Feb  7 00:03:51 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Fri, 6 Feb 2015 23:03:51 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
Message-ID: <CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>

https://github.com/joyent/node/wiki/installing-node.js-via-package-manager

https://github.com/saltstack-formulas/node-formula

https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit

https://registry.hub.docker.com/u/jupyter/jupyterhub/
On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:

> In the Jupyter Hub, there's
>
> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
>
> You will need nodejs/npm, which you can get from your package manager:
>
> sudo apt-get install npm nodejs-legacy
>
> (The nodejs-legacy package installs the node executable, which is
> required for npm to work on Debian/Ubuntu at this point)
>
> Then install javascript dependencies:
>
>
> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
> How do I meet that requirement?
>
> Thanks!
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/34d1ca0f/attachment.html>

From wes.turner at gmail.com  Sat Feb  7 00:05:50 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Fri, 6 Feb 2015 23:05:50 -0600
Subject: [IPython-dev] iPython 3.0 Creating a new notebook
	programatically.
In-Reply-To: <CAKOFcwrHSoyWhKhK+d_qMK1tqVUhJpaKmJxGB0Tqt87_1Ed1fg@mail.gmail.com>
References: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>
	<CAAusYCir5W7BaD1KWxNZ7vjsX84M56VnDg6Qqf962OB=s0KEtw@mail.gmail.com>
	<CAKOFcwrHSoyWhKhK+d_qMK1tqVUhJpaKmJxGB0Tqt87_1Ed1fg@mail.gmail.com>
Message-ID: <CACfEFw9bUFF4vNjRK_OyuFJ=Kb_7vxbwgT2FhVENsC-RuvokFw@mail.gmail.com>

On Feb 6, 2015 8:43 PM, "John Omernik" <john at omernik.com> wrote:
>
> Cool, that worked,  thank you. Is there a place that I could have
> derived that from docs?

https://github.com/ipython/ipython/tree/master/docs/source
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/f1e91972/attachment.html>

From bussonniermatthias at gmail.com  Sat Feb  7 01:00:51 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 6 Feb 2015 22:00:51 -0800
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
	drive) beta.
In-Reply-To: <CAGT7SkW++mQoMDOq5kYFmj=vs0Vbnt7a66HgmqBb=kQPmXP=ng@mail.gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
	<CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>
	<CAGT7SkX=cjtgQj3vgVdEDC2K0M_4N3cEet0HO7t2p_FOD3RRMA@mail.gmail.com>
	<CAGT7SkW++mQoMDOq5kYFmj=vs0Vbnt7a66HgmqBb=kQPmXP=ng@mail.gmail.com>
Message-ID: <70ED894B-E84A-488A-9646-EA0FD418B4A1@gmail.com>


Le 6 f?vr. 2015 ? 18:38, Brian Granger <ellisonbg at gmail.com> a ?crit :

> My only concern is that not having the full integration done that folks won't really use this much as they will have to create a separate profile and start a new server. If we can get this into 3.1, that would enable a lot more people to try this. As with all of our MVPs, we want to get as many people using it as possible to get feedback.

I'll re-have a look then, but I still believe the schedule is unrelated to IPython. 
We don't need to release a 3.1 for mixed content to work. 

Le 6 f?vr. 2015 ? 19:32, 'Kester Tong' via Project Jupyter <jupyter at googlegroups.com> a ?crit :

> After rebasing, the mixedcontents branch seems to work.  It seems realistic to me to have this by 3.0.  There may be some polishing needed, but the basic functionality is there now.

I'll have a look tomorrow. 
I'll re-look at the implementation but I think we could even have an even
more generic mixed content manager than takes N contents manager and prefixes
and exposes each of them.

I suppose we could probably try with Scott (IIRC) postgres backend
as an exercise.

-- 
M








From takowl at gmail.com  Sat Feb  7 02:12:01 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 6 Feb 2015 23:12:01 -0800
Subject: [IPython-dev] iPython 3.0 Creating a new notebook
	programatically.
In-Reply-To: <CACfEFw9bUFF4vNjRK_OyuFJ=Kb_7vxbwgT2FhVENsC-RuvokFw@mail.gmail.com>
References: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>
	<CAAusYCir5W7BaD1KWxNZ7vjsX84M56VnDg6Qqf962OB=s0KEtw@mail.gmail.com>
	<CAKOFcwrHSoyWhKhK+d_qMK1tqVUhJpaKmJxGB0Tqt87_1Ed1fg@mail.gmail.com>
	<CACfEFw9bUFF4vNjRK_OyuFJ=Kb_7vxbwgT2FhVENsC-RuvokFw@mail.gmail.com>
Message-ID: <CAOvn4qhC0m-frrvmAF7sceD4oG3UoVwx9LeZbM9x+pmStj6T2Q@mail.gmail.com>

I don't think a link to the entire docs folder is what he was asking for.

John, the nbformat APIs have the generated API docs, but I don't think we
have any narrative docs about programmatically creating notebooks, or a
summary of how the nbformat API has changed. Both of those would be good to
have.

Thomas
On 6 Feb 2015 21:05, "Wes Turner" <wes.turner at gmail.com> wrote:

>
> On Feb 6, 2015 8:43 PM, "John Omernik" <john at omernik.com> wrote:
> >
> > Cool, that worked,  thank you. Is there a place that I could have
> > derived that from docs?
>
> https://github.com/ipython/ipython/tree/master/docs/source
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150206/f2187e4a/attachment.html>

From john at omernik.com  Sat Feb  7 05:52:25 2015
From: john at omernik.com (John Omernik)
Date: Sat, 7 Feb 2015 04:52:25 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
Message-ID: <CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>

Thank you Wes I am trying that.

That said, when the documentation says do this "nodejs-legacy" and it
doesn't work, as an end user you wonder "well, wait, that isn't what I
was told to install, yes I could just install from this other
repository,but  that isn't what the documentation calls for, but will
it be what the Jupyter Hub requires? Will it sorta work and possibly
provide me other issues that I have to spend time on, etc.   Just an
observation as an end user.

On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com> wrote:
> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
>
> https://github.com/saltstack-formulas/node-formula
>
> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
>
> https://registry.hub.docker.com/u/jupyter/jupyterhub/
>
> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
>>
>> In the Jupyter Hub, there's
>>
>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
>>
>> You will need nodejs/npm, which you can get from your package manager:
>>
>> sudo apt-get install npm nodejs-legacy
>>
>> (The nodejs-legacy package installs the node executable, which is
>> required for npm to work on Debian/Ubuntu at this point)
>>
>> Then install javascript dependencies:
>>
>>
>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
>> How do I meet that requirement?
>>
>> Thanks!
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From john at omernik.com  Sat Feb  7 05:55:47 2015
From: john at omernik.com (John Omernik)
Date: Sat, 7 Feb 2015 04:55:47 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
Message-ID: <CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>

As a follow-up, I did the above top link to install repository, now
when I try to do npm, I get:

sudo apt-get install npm

Reading package lists... Done

Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:


The following packages have unmet dependencies:

 npm : Depends: nodejs but it is not going to be installed

       Depends: nodejs-dev

       Depends: node-request but it is not going to be installed

       Depends: node-mkdirp but it is not going to be installed

       Depends: node-minimatch but it is not going to be installed

       Depends: node-semver but it is not going to be installed

       Depends: node-ini but it is not going to be installed

       Depends: node-graceful-fs but it is not going to be installed

       Depends: node-abbrev but it is not going to be installed

       Depends: node-nopt but it is not going to be installed

       Depends: node-fstream but it is not going to be installed

       Depends: node-rimraf but it is not going to be installed

       Depends: node-tar but it is not going to be installed

       Depends: node-which but it is not going to be installed

E: Unable to correct problems, you have held broken packages.



On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
> Thank you Wes I am trying that.
>
> That said, when the documentation says do this "nodejs-legacy" and it
> doesn't work, as an end user you wonder "well, wait, that isn't what I
> was told to install, yes I could just install from this other
> repository,but  that isn't what the documentation calls for, but will
> it be what the Jupyter Hub requires? Will it sorta work and possibly
> provide me other issues that I have to spend time on, etc.   Just an
> observation as an end user.
>
> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com> wrote:
>> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
>>
>> https://github.com/saltstack-formulas/node-formula
>>
>> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
>>
>> https://registry.hub.docker.com/u/jupyter/jupyterhub/
>>
>> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
>>>
>>> In the Jupyter Hub, there's
>>>
>>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
>>>
>>> You will need nodejs/npm, which you can get from your package manager:
>>>
>>> sudo apt-get install npm nodejs-legacy
>>>
>>> (The nodejs-legacy package installs the node executable, which is
>>> required for npm to work on Debian/Ubuntu at this point)
>>>
>>> Then install javascript dependencies:
>>>
>>>
>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
>>> How do I meet that requirement?
>>>
>>> Thanks!
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>


From wes.turner at gmail.com  Sat Feb  7 07:10:24 2015
From: wes.turner at gmail.com (Wes Turner)
Date: Sat, 7 Feb 2015 06:10:24 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
	<CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
Message-ID: <CACfEFw9BxnfaamE=HuZ0SsgqLRknWsiRpjknJ4-PKH6bzKysHQ@mail.gmail.com>

Have you tried the already-configured docker image?
On Feb 7, 2015 4:56 AM, "John Omernik" <john at omernik.com> wrote:

> As a follow-up, I did the above top link to install repository, now
> when I try to do npm, I get:
>
> sudo apt-get install npm
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> Some packages could not be installed. This may mean that you have
>
> requested an impossible situation or if you are using the unstable
>
> distribution that some required packages have not yet been created
>
> or been moved out of Incoming.
>
> The following information may help to resolve the situation:
>
>
> The following packages have unmet dependencies:
>
>  npm : Depends: nodejs but it is not going to be installed
>
>        Depends: nodejs-dev
>
>        Depends: node-request but it is not going to be installed
>
>        Depends: node-mkdirp but it is not going to be installed
>
>        Depends: node-minimatch but it is not going to be installed
>
>        Depends: node-semver but it is not going to be installed
>
>        Depends: node-ini but it is not going to be installed
>
>        Depends: node-graceful-fs but it is not going to be installed
>
>        Depends: node-abbrev but it is not going to be installed
>
>        Depends: node-nopt but it is not going to be installed
>
>        Depends: node-fstream but it is not going to be installed
>
>        Depends: node-rimraf but it is not going to be installed
>
>        Depends: node-tar but it is not going to be installed
>
>        Depends: node-which but it is not going to be installed
>
> E: Unable to correct problems, you have held broken packages.
>
>
>
> On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
> > Thank you Wes I am trying that.
> >
> > That said, when the documentation says do this "nodejs-legacy" and it
> > doesn't work, as an end user you wonder "well, wait, that isn't what I
> > was told to install, yes I could just install from this other
> > repository,but  that isn't what the documentation calls for, but will
> > it be what the Jupyter Hub requires? Will it sorta work and possibly
> > provide me other issues that I have to spend time on, etc.   Just an
> > observation as an end user.
> >
> > On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com>
> wrote:
> >>
> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
> >>
> >> https://github.com/saltstack-formulas/node-formula
> >>
> >>
> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
> >>
> >> https://registry.hub.docker.com/u/jupyter/jupyterhub/
> >>
> >> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
> >>>
> >>> In the Jupyter Hub, there's
> >>>
> >>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
> >>>
> >>> You will need nodejs/npm, which you can get from your package manager:
> >>>
> >>> sudo apt-get install npm nodejs-legacy
> >>>
> >>> (The nodejs-legacy package installs the node executable, which is
> >>> required for npm to work on Debian/Ubuntu at this point)
> >>>
> >>> Then install javascript dependencies:
> >>>
> >>>
> >>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
> >>> How do I meet that requirement?
> >>>
> >>> Thanks!
> >>> _______________________________________________
> >>> IPython-dev mailing list
> >>> IPython-dev at scipy.org
> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>
> >>
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150207/1d27c74e/attachment.html>

From doug.blank at gmail.com  Sat Feb  7 07:23:02 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Sat, 7 Feb 2015 07:23:02 -0500
Subject: [IPython-dev] iPython 3.0 Creating a new notebook
	programatically.
In-Reply-To: <CAKOFcwrHSoyWhKhK+d_qMK1tqVUhJpaKmJxGB0Tqt87_1Ed1fg@mail.gmail.com>
References: <CAKOFcwoq1EfJadw5Dz_QCuYp5Rh2W70G6AEom_G5zq22eK9=UA@mail.gmail.com>
	<CAAusYCir5W7BaD1KWxNZ7vjsX84M56VnDg6Qqf962OB=s0KEtw@mail.gmail.com>
	<CAKOFcwrHSoyWhKhK+d_qMK1tqVUhJpaKmJxGB0Tqt87_1Ed1fg@mail.gmail.com>
Message-ID: <CAAusYChBymZLFQ_0-dNtjbWt+ROxf+xA8EMnh=QeNMuP8OZ-LA@mail.gmail.com>

On Fri, Feb 6, 2015 at 9:43 PM, John Omernik <john at omernik.com> wrote:

> Cool, that worked,  thank you. Is there a place that I could have
> derived that from docs? I guess, I don't mind asking on list,
> especially if others gain benefit, but I also try to figure things out
> myself, and my research really led me nowhere. If there was a place
> that wasn't coming up in my searches that would have helped, I'd like
> to bookmark it.
>

I spend a bit of time interactively exploring what is available by just
pressing TAB. For example, if you import the library:

In[ ]: import IPython.nbformat

And then type:

In[ ]: IPython.nbformat.

... and press TAB, you'll see all of the methods available, Type a few
letters and then press TAB again and it will complete the name. Put a
question mark after the function (or press Shift+TAB in the notebook) and
you'll see a brief explanation. Two question marks on the end will show the
source code.

-Doug


>
>
>
> On Fri, Feb 6, 2015 at 8:13 PM, Doug Blank <doug.blank at gmail.com> wrote:
> > Two changes:
> >
> > 1) You should use a particular notebook format version:
> >
> > nb = IPython.nbformat.v4.new_notebook()
> >
> > 2) Worksheet has been removed; so:
> >
> > nb["cells"].append(IPython.nbformat.v4.new_code_cell("x = 1"))
> >
> > Hope that helps,
> >
> > -Doug
> >
> > On Fri, Feb 6, 2015 at 8:59 PM, John Omernik <john at omernik.com> wrote:
> >>
> >> Hey all, I have been through the API docs for iPython 3, but I can't
> >> figure out how to reproduce this in iPython 3. (It worked in iPython
> >> 2.3)
> >>
> >> http://nbviewer.ipython.org/gist/fperez/9716279
> >>
> >> In iPython 3, I get an error at
> >> nb['worksheets'].append(nbf.new_worksheet(cells=cells))
> >>
> >> I tried some different stuff win imports. I.e. instead of
> >>
> >> from IPython.nbformat import current as nbf
> >>
> >> I did from iPython.nbformat import v4 as nbf and some other stuff to
> >> get write. But that's where I am currently stuck.  Any pointers would
> >> be helpful. Basically I want a code that will create a new notebook,
> >> and pre fill the few lines.
> >>
> >> Thanks!
> >>
> >> John
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150207/4d4dfd89/attachment.html>

From odewahn at oreilly.com  Sat Feb  7 07:43:58 2015
From: odewahn at oreilly.com (Andrew Odewahn)
Date: Sat, 7 Feb 2015 07:43:58 -0500
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CACfEFw9BxnfaamE=HuZ0SsgqLRknWsiRpjknJ4-PKH6bzKysHQ@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
	<CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
	<CACfEFw9BxnfaamE=HuZ0SsgqLRknWsiRpjknJ4-PKH6bzKysHQ@mail.gmail.com>
Message-ID: <CAO5K8EvRS4W7=Pnxfv+b6byN4GpPnB7POAs+MSfHOaeP1h=asA@mail.gmail.com>

>
> Have you tried the already-configured docker image?
>

If you're new to Docker, you might find this short tutorial I wrote on
running notebooks with Docker:

http://odewahn.github.io/docker-jumpstart/ipython-notebook.html




> On Feb 7, 2015 4:56 AM, "John Omernik" <john at omernik.com> wrote:
>
>> As a follow-up, I did the above top link to install repository, now
>> when I try to do npm, I get:
>>
>> sudo apt-get install npm
>>
>> Reading package lists... Done
>>
>> Building dependency tree
>>
>> Reading state information... Done
>>
>> Some packages could not be installed. This may mean that you have
>>
>> requested an impossible situation or if you are using the unstable
>>
>> distribution that some required packages have not yet been created
>>
>> or been moved out of Incoming.
>>
>> The following information may help to resolve the situation:
>>
>>
>> The following packages have unmet dependencies:
>>
>>  npm : Depends: nodejs but it is not going to be installed
>>
>>        Depends: nodejs-dev
>>
>>        Depends: node-request but it is not going to be installed
>>
>>        Depends: node-mkdirp but it is not going to be installed
>>
>>        Depends: node-minimatch but it is not going to be installed
>>
>>        Depends: node-semver but it is not going to be installed
>>
>>        Depends: node-ini but it is not going to be installed
>>
>>        Depends: node-graceful-fs but it is not going to be installed
>>
>>        Depends: node-abbrev but it is not going to be installed
>>
>>        Depends: node-nopt but it is not going to be installed
>>
>>        Depends: node-fstream but it is not going to be installed
>>
>>        Depends: node-rimraf but it is not going to be installed
>>
>>        Depends: node-tar but it is not going to be installed
>>
>>        Depends: node-which but it is not going to be installed
>>
>> E: Unable to correct problems, you have held broken packages.
>>
>>
>>
>> On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
>> > Thank you Wes I am trying that.
>> >
>> > That said, when the documentation says do this "nodejs-legacy" and it
>> > doesn't work, as an end user you wonder "well, wait, that isn't what I
>> > was told to install, yes I could just install from this other
>> > repository,but  that isn't what the documentation calls for, but will
>> > it be what the Jupyter Hub requires? Will it sorta work and possibly
>> > provide me other issues that I have to spend time on, etc.   Just an
>> > observation as an end user.
>> >
>> > On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com>
>> wrote:
>> >>
>> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
>> >>
>> >> https://github.com/saltstack-formulas/node-formula
>> >>
>> >>
>> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
>> >>
>> >> https://registry.hub.docker.com/u/jupyter/jupyterhub/
>> >>
>> >> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
>> >>>
>> >>> In the Jupyter Hub, there's
>> >>>
>> >>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
>> >>>
>> >>> You will need nodejs/npm, which you can get from your package manager:
>> >>>
>> >>> sudo apt-get install npm nodejs-legacy
>> >>>
>> >>> (The nodejs-legacy package installs the node executable, which is
>> >>> required for npm to work on Debian/Ubuntu at this point)
>> >>>
>> >>> Then install javascript dependencies:
>> >>>
>> >>>
>> >>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
>> >>> How do I meet that requirement?
>> >>>
>> >>> Thanks!
>> >>> _______________________________________________
>> >>> IPython-dev mailing list
>> >>> IPython-dev at scipy.org
>> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >>
>> >>
>> >> _______________________________________________
>> >> IPython-dev mailing list
>> >> IPython-dev at scipy.org
>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150207/9d780dfa/attachment.html>

From john at omernik.com  Sat Feb  7 08:34:10 2015
From: john at omernik.com (John Omernik)
Date: Sat, 7 Feb 2015 07:34:10 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
	<CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
Message-ID: <CAKOFcwpqQB-Ky=z2tXVsJRoEg0uUUA7duPZZM_R43sLE2tZa0A@mail.gmail.com>

After more research (not in the jupyter docs) I realized that the link
Wes provided actually contradicts the Jupyter Hub documentation. Hence
why I posted. For anyone having issues with the Jupyter Docs, you
nodejs-legacy doesn't work on Ubuntu 12.04, so you have to add the PPA
in the link Wes provided.  However then, there is a note about apt-get
install npm, which will not work with the PPA Wes provided, because of
a version conflict and because npm is included in the nodejs package
from Wes' link.

Wes: Appreciate the reply, but I think the documentation could use
some work, and throwing links at people who ask questions based on the
current documentation may produce more frustration especially when the
links you provide don't line up with the documentation the user is
trying to install.  I am not upset, I am just pointing out that some
users may get frustrated (I am not one of those, but I have worked
with many like that).

Thanks!

John



On Sat, Feb 7, 2015 at 4:55 AM, John Omernik <john at omernik.com> wrote:
> As a follow-up, I did the above top link to install repository, now
> when I try to do npm, I get:
>
> sudo apt-get install npm
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> Some packages could not be installed. This may mean that you have
>
> requested an impossible situation or if you are using the unstable
>
> distribution that some required packages have not yet been created
>
> or been moved out of Incoming.
>
> The following information may help to resolve the situation:
>
>
> The following packages have unmet dependencies:
>
>  npm : Depends: nodejs but it is not going to be installed
>
>        Depends: nodejs-dev
>
>        Depends: node-request but it is not going to be installed
>
>        Depends: node-mkdirp but it is not going to be installed
>
>        Depends: node-minimatch but it is not going to be installed
>
>        Depends: node-semver but it is not going to be installed
>
>        Depends: node-ini but it is not going to be installed
>
>        Depends: node-graceful-fs but it is not going to be installed
>
>        Depends: node-abbrev but it is not going to be installed
>
>        Depends: node-nopt but it is not going to be installed
>
>        Depends: node-fstream but it is not going to be installed
>
>        Depends: node-rimraf but it is not going to be installed
>
>        Depends: node-tar but it is not going to be installed
>
>        Depends: node-which but it is not going to be installed
>
> E: Unable to correct problems, you have held broken packages.
>
>
>
> On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
>> Thank you Wes I am trying that.
>>
>> That said, when the documentation says do this "nodejs-legacy" and it
>> doesn't work, as an end user you wonder "well, wait, that isn't what I
>> was told to install, yes I could just install from this other
>> repository,but  that isn't what the documentation calls for, but will
>> it be what the Jupyter Hub requires? Will it sorta work and possibly
>> provide me other issues that I have to spend time on, etc.   Just an
>> observation as an end user.
>>
>> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com> wrote:
>>> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
>>>
>>> https://github.com/saltstack-formulas/node-formula
>>>
>>> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
>>>
>>> https://registry.hub.docker.com/u/jupyter/jupyterhub/
>>>
>>> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
>>>>
>>>> In the Jupyter Hub, there's
>>>>
>>>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
>>>>
>>>> You will need nodejs/npm, which you can get from your package manager:
>>>>
>>>> sudo apt-get install npm nodejs-legacy
>>>>
>>>> (The nodejs-legacy package installs the node executable, which is
>>>> required for npm to work on Debian/Ubuntu at this point)
>>>>
>>>> Then install javascript dependencies:
>>>>
>>>>
>>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
>>>> How do I meet that requirement?
>>>>
>>>> Thanks!
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>


From doug.blank at gmail.com  Sat Feb  7 09:04:43 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Sat, 7 Feb 2015 09:04:43 -0500
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAKOFcwpqQB-Ky=z2tXVsJRoEg0uUUA7duPZZM_R43sLE2tZa0A@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
	<CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
	<CAKOFcwpqQB-Ky=z2tXVsJRoEg0uUUA7duPZZM_R43sLE2tZa0A@mail.gmail.com>
Message-ID: <CAAusYCh1MfeP_GTa8tSi5iVuf3G_zjnnuU=nk3aw=PitOGMO6Q@mail.gmail.com>

On Sat, Feb 7, 2015 at 8:34 AM, John Omernik <john at omernik.com> wrote:

> After more research (not in the jupyter docs) I realized that the link
> Wes provided actually contradicts the Jupyter Hub documentation. Hence
> why I posted. For anyone having issues with the Jupyter Docs, you
> nodejs-legacy doesn't work on Ubuntu 12.04, so you have to add the PPA
> in the link Wes provided.  However then, there is a note about apt-get
> install npm, which will not work with the PPA Wes provided, because of
> a version conflict and because npm is included in the nodejs package
> from Wes' link.
>
> Wes: Appreciate the reply, but I think the documentation could use
> some work, and throwing links at people who ask questions based on the
> current documentation may produce more frustration especially when the
> links you provide don't line up with the documentation the user is
> trying to install.  I am not upset, I am just pointing out that some
> users may get frustrated (I am not one of those, but I have worked
> with many like that).
>

The jupyterhub docs are a wiki, so do please contribute and add to those.

Jupyterhub is a bit different from other IPython projects in that it can be
an exposed server application. Deploying it incorrectly can open your
system up in unwanted ways.  On one hand, one needs to have some experience
in running a web server.

On the other hand, it is also "fairly easy" to get setup for us non-admins.
However, there are a million variations depending on OS and local setup.

So, the docs will never be complete. I think I good goal would be to make
it as comprehensive as possible for a limited set of standard operating
systems/distributions. I suggest targeting Ubuntu 14.04 Long Term Service
(LTS) for documentation would be a good compromise. Of course, it could be
deployed in many more ways, but having a single well-documented example
might provide hints for others.

-Doug


>
> Thanks!
>
> John
>
>
>
> On Sat, Feb 7, 2015 at 4:55 AM, John Omernik <john at omernik.com> wrote:
> > As a follow-up, I did the above top link to install repository, now
> > when I try to do npm, I get:
> >
> > sudo apt-get install npm
> >
> > Reading package lists... Done
> >
> > Building dependency tree
> >
> > Reading state information... Done
> >
> > Some packages could not be installed. This may mean that you have
> >
> > requested an impossible situation or if you are using the unstable
> >
> > distribution that some required packages have not yet been created
> >
> > or been moved out of Incoming.
> >
> > The following information may help to resolve the situation:
> >
> >
> > The following packages have unmet dependencies:
> >
> >  npm : Depends: nodejs but it is not going to be installed
> >
> >        Depends: nodejs-dev
> >
> >        Depends: node-request but it is not going to be installed
> >
> >        Depends: node-mkdirp but it is not going to be installed
> >
> >        Depends: node-minimatch but it is not going to be installed
> >
> >        Depends: node-semver but it is not going to be installed
> >
> >        Depends: node-ini but it is not going to be installed
> >
> >        Depends: node-graceful-fs but it is not going to be installed
> >
> >        Depends: node-abbrev but it is not going to be installed
> >
> >        Depends: node-nopt but it is not going to be installed
> >
> >        Depends: node-fstream but it is not going to be installed
> >
> >        Depends: node-rimraf but it is not going to be installed
> >
> >        Depends: node-tar but it is not going to be installed
> >
> >        Depends: node-which but it is not going to be installed
> >
> > E: Unable to correct problems, you have held broken packages.
> >
> >
> >
> > On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
> >> Thank you Wes I am trying that.
> >>
> >> That said, when the documentation says do this "nodejs-legacy" and it
> >> doesn't work, as an end user you wonder "well, wait, that isn't what I
> >> was told to install, yes I could just install from this other
> >> repository,but  that isn't what the documentation calls for, but will
> >> it be what the Jupyter Hub requires? Will it sorta work and possibly
> >> provide me other issues that I have to spend time on, etc.   Just an
> >> observation as an end user.
> >>
> >> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com>
> wrote:
> >>>
> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
> >>>
> >>> https://github.com/saltstack-formulas/node-formula
> >>>
> >>>
> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
> >>>
> >>> https://registry.hub.docker.com/u/jupyter/jupyterhub/
> >>>
> >>> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
> >>>>
> >>>> In the Jupyter Hub, there's
> >>>>
> >>>> JupyterHub requires IPython >= 3.0 (current master) and Python >= 3.3.
> >>>>
> >>>> You will need nodejs/npm, which you can get from your package manager:
> >>>>
> >>>> sudo apt-get install npm nodejs-legacy
> >>>>
> >>>> (The nodejs-legacy package installs the node executable, which is
> >>>> required for npm to work on Debian/Ubuntu at this point)
> >>>>
> >>>> Then install javascript dependencies:
> >>>>
> >>>>
> >>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
> >>>> How do I meet that requirement?
> >>>>
> >>>> Thanks!
> >>>> _______________________________________________
> >>>> IPython-dev mailing list
> >>>> IPython-dev at scipy.org
> >>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>
> >>>
> >>> _______________________________________________
> >>> IPython-dev mailing list
> >>> IPython-dev at scipy.org
> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150207/12e0fc1a/attachment.html>

From john at omernik.com  Sat Feb  7 09:33:17 2015
From: john at omernik.com (John Omernik)
Date: Sat, 7 Feb 2015 08:33:17 -0600
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAAusYCh1MfeP_GTa8tSi5iVuf3G_zjnnuU=nk3aw=PitOGMO6Q@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
	<CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
	<CAKOFcwpqQB-Ky=z2tXVsJRoEg0uUUA7duPZZM_R43sLE2tZa0A@mail.gmail.com>
	<CAAusYCh1MfeP_GTa8tSi5iVuf3G_zjnnuU=nk3aw=PitOGMO6Q@mail.gmail.com>
Message-ID: <CAKOFcwrT1on+1wdhWW0+BGaRz_YHHCe_7wQ=9DuK5SOKRpQCNA@mail.gmail.com>

That makes sense. I am trying to get a sense for things from a infosec
standpoint, as to contributing to the wiki, I would very much be in
favor of this, however, I don't feel I have the expertise right now to
contribute to it. The reason I post here, is I can toss out what I
did, and my assumptions and even if that's wrong, someone will likely
call me out, that way I can learn from it, and anyone facing the same
issues can learn too. I don't want my assumptions to be taken as word
in the documentation.

On Sat, Feb 7, 2015 at 8:04 AM, Doug Blank <doug.blank at gmail.com> wrote:
> On Sat, Feb 7, 2015 at 8:34 AM, John Omernik <john at omernik.com> wrote:
>>
>> After more research (not in the jupyter docs) I realized that the link
>> Wes provided actually contradicts the Jupyter Hub documentation. Hence
>> why I posted. For anyone having issues with the Jupyter Docs, you
>> nodejs-legacy doesn't work on Ubuntu 12.04, so you have to add the PPA
>> in the link Wes provided.  However then, there is a note about apt-get
>> install npm, which will not work with the PPA Wes provided, because of
>> a version conflict and because npm is included in the nodejs package
>> from Wes' link.
>>
>> Wes: Appreciate the reply, but I think the documentation could use
>> some work, and throwing links at people who ask questions based on the
>> current documentation may produce more frustration especially when the
>> links you provide don't line up with the documentation the user is
>> trying to install.  I am not upset, I am just pointing out that some
>> users may get frustrated (I am not one of those, but I have worked
>> with many like that).
>
>
> The jupyterhub docs are a wiki, so do please contribute and add to those.
>
> Jupyterhub is a bit different from other IPython projects in that it can be
> an exposed server application. Deploying it incorrectly can open your system
> up in unwanted ways.  On one hand, one needs to have some experience in
> running a web server.
>
> On the other hand, it is also "fairly easy" to get setup for us non-admins.
> However, there are a million variations depending on OS and local setup.
>
> So, the docs will never be complete. I think I good goal would be to make it
> as comprehensive as possible for a limited set of standard operating
> systems/distributions. I suggest targeting Ubuntu 14.04 Long Term Service
> (LTS) for documentation would be a good compromise. Of course, it could be
> deployed in many more ways, but having a single well-documented example
> might provide hints for others.
>
> -Doug
>
>>
>>
>> Thanks!
>>
>> John
>>
>>
>>
>> On Sat, Feb 7, 2015 at 4:55 AM, John Omernik <john at omernik.com> wrote:
>> > As a follow-up, I did the above top link to install repository, now
>> > when I try to do npm, I get:
>> >
>> > sudo apt-get install npm
>> >
>> > Reading package lists... Done
>> >
>> > Building dependency tree
>> >
>> > Reading state information... Done
>> >
>> > Some packages could not be installed. This may mean that you have
>> >
>> > requested an impossible situation or if you are using the unstable
>> >
>> > distribution that some required packages have not yet been created
>> >
>> > or been moved out of Incoming.
>> >
>> > The following information may help to resolve the situation:
>> >
>> >
>> > The following packages have unmet dependencies:
>> >
>> >  npm : Depends: nodejs but it is not going to be installed
>> >
>> >        Depends: nodejs-dev
>> >
>> >        Depends: node-request but it is not going to be installed
>> >
>> >        Depends: node-mkdirp but it is not going to be installed
>> >
>> >        Depends: node-minimatch but it is not going to be installed
>> >
>> >        Depends: node-semver but it is not going to be installed
>> >
>> >        Depends: node-ini but it is not going to be installed
>> >
>> >        Depends: node-graceful-fs but it is not going to be installed
>> >
>> >        Depends: node-abbrev but it is not going to be installed
>> >
>> >        Depends: node-nopt but it is not going to be installed
>> >
>> >        Depends: node-fstream but it is not going to be installed
>> >
>> >        Depends: node-rimraf but it is not going to be installed
>> >
>> >        Depends: node-tar but it is not going to be installed
>> >
>> >        Depends: node-which but it is not going to be installed
>> >
>> > E: Unable to correct problems, you have held broken packages.
>> >
>> >
>> >
>> > On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com> wrote:
>> >> Thank you Wes I am trying that.
>> >>
>> >> That said, when the documentation says do this "nodejs-legacy" and it
>> >> doesn't work, as an end user you wonder "well, wait, that isn't what I
>> >> was told to install, yes I could just install from this other
>> >> repository,but  that isn't what the documentation calls for, but will
>> >> it be what the Jupyter Hub requires? Will it sorta work and possibly
>> >> provide me other issues that I have to spend time on, etc.   Just an
>> >> observation as an end user.
>> >>
>> >> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com>
>> >> wrote:
>> >>>
>> >>> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
>> >>>
>> >>> https://github.com/saltstack-formulas/node-formula
>> >>>
>> >>>
>> >>> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
>> >>>
>> >>> https://registry.hub.docker.com/u/jupyter/jupyterhub/
>> >>>
>> >>> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
>> >>>>
>> >>>> In the Jupyter Hub, there's
>> >>>>
>> >>>> JupyterHub requires IPython >= 3.0 (current master) and Python >=
>> >>>> 3.3.
>> >>>>
>> >>>> You will need nodejs/npm, which you can get from your package
>> >>>> manager:
>> >>>>
>> >>>> sudo apt-get install npm nodejs-legacy
>> >>>>
>> >>>> (The nodejs-legacy package installs the node executable, which is
>> >>>> required for npm to work on Debian/Ubuntu at this point)
>> >>>>
>> >>>> Then install javascript dependencies:
>> >>>>
>> >>>>
>> >>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
>> >>>> How do I meet that requirement?
>> >>>>
>> >>>> Thanks!
>> >>>> _______________________________________________
>> >>>> IPython-dev mailing list
>> >>>> IPython-dev at scipy.org
>> >>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> IPython-dev mailing list
>> >>> IPython-dev at scipy.org
>> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From kestert at google.com  Sat Feb  7 14:23:08 2015
From: kestert at google.com (Kester Tong)
Date: Sat, 7 Feb 2015 14:23:08 -0500
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
 drive) beta.
In-Reply-To: <70ED894B-E84A-488A-9646-EA0FD418B4A1@gmail.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
	<CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>
	<CAGT7SkX=cjtgQj3vgVdEDC2K0M_4N3cEet0HO7t2p_FOD3RRMA@mail.gmail.com>
	<CAGT7SkW++mQoMDOq5kYFmj=vs0Vbnt7a66HgmqBb=kQPmXP=ng@mail.gmail.com>
	<70ED894B-E84A-488A-9646-EA0FD418B4A1@gmail.com>
Message-ID: <CAGT7SkXdt=zOZCSjTOk8jgpVGdv374jcbvGwCMXEEpeyzgBOSQ@mail.gmail.com>

>
> I'll have a look tomorrow.
> I'll re-look at the implementation but I think we could even have an even
> more generic mixed content manager than takes N contents manager and
> prefixes
> and exposes each of them.
>
> I suppose we could probably try with Scott (IIRC) postgres backend
> as an exercise.
>

I like this idea.  It would be slightly more general and consistent than
what we currently use.  The implementation would be simpler since the first
path component will always tell you which content manager to use.  Maybe
the mixed content manager could be part of IPython?  We could test it out
in Jupyter Drive first and move it later (still using regular contents
manager by default).

Kester


>
> --
> M
>
>
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150207/9eaecca4/attachment.html>

From benjaminrk at gmail.com  Sat Feb  7 18:08:18 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sat, 7 Feb 2015 15:08:18 -0800
Subject: [IPython-dev] Jupyter Hub Doc Issue
In-Reply-To: <CAKOFcwrT1on+1wdhWW0+BGaRz_YHHCe_7wQ=9DuK5SOKRpQCNA@mail.gmail.com>
References: <CAKOFcwogccr1yNMV-t81bpQ2ronNP37w7RFQO2EPhQ3TSorwdA@mail.gmail.com>
	<CACfEFw_kG2T=_SnROVF2+YfUCf4av5dJbRz6DyVSX7dNXU_QRw@mail.gmail.com>
	<CAKOFcwpL_2bYn=wzUTn826yr6uA4_r2HUNyZn9+XFMRDgetazw@mail.gmail.com>
	<CAKOFcwpMDGN6cJoeYsQLKhgw6WSVTg+uV7sEdhHUn2XwNXr43A@mail.gmail.com>
	<CAKOFcwpqQB-Ky=z2tXVsJRoEg0uUUA7duPZZM_R43sLE2tZa0A@mail.gmail.com>
	<CAAusYCh1MfeP_GTa8tSi5iVuf3G_zjnnuU=nk3aw=PitOGMO6Q@mail.gmail.com>
	<CAKOFcwrT1on+1wdhWW0+BGaRz_YHHCe_7wQ=9DuK5SOKRpQCNA@mail.gmail.com>
Message-ID: <CAHNn8BXS4g3E_kzN-C3Dz2M_gB52gTaDfRaOXFzELA-NbQMc0A@mail.gmail.com>

I haven?t tried setting up JupyterHub on old Ubuntu, but I would expect it
to be a bit of a pain, given the requirements of recent versions of things.
I would expect Ubuntu 12.04 to need one or more PPAs, or to use non-apt
installations for more recent dependencies.

The reason for the nodejs-legacy package is that the node executable was
taken by a package nobody uses, and debian renamed the executable nodejs
instead of node. This actually results in a totally non-functional node
environment, so a bit of an odd choice. The nodejs-legacy is a separate
package that makes the node executable point to nodejs. It is probably that
a nodejs PPA installs the more standard node executable, obviating the need
for nodejs-legacy.

I think adding caveats for installation on older or less common systems is
worthwhile as people come across them. Perhaps the better content for our
docs is to be more terse, and say ?require nodejs >= 0.10?, and just link
to node?s own docs for installation, since we are no experts on getting a
nodejs environment set up, just like I don?t think it?s the responsibility
of every Python package to have detailed docs on how to install Python.
Certainly explaining *why* the nodejs-legacy package is required on recent
Ubuntu/Debian should make it clearer that it may not be relevant if you
choose a different path to installing node.

-MinRK
?

On Sat, Feb 7, 2015 at 6:33 AM, John Omernik <john at omernik.com> wrote:

> That makes sense. I am trying to get a sense for things from a infosec
> standpoint, as to contributing to the wiki, I would very much be in
> favor of this, however, I don't feel I have the expertise right now to
> contribute to it. The reason I post here, is I can toss out what I
> did, and my assumptions and even if that's wrong, someone will likely
> call me out, that way I can learn from it, and anyone facing the same
> issues can learn too. I don't want my assumptions to be taken as word
> in the documentation.
>
> On Sat, Feb 7, 2015 at 8:04 AM, Doug Blank <doug.blank at gmail.com> wrote:
> > On Sat, Feb 7, 2015 at 8:34 AM, John Omernik <john at omernik.com> wrote:
> >>
> >> After more research (not in the jupyter docs) I realized that the link
> >> Wes provided actually contradicts the Jupyter Hub documentation. Hence
> >> why I posted. For anyone having issues with the Jupyter Docs, you
> >> nodejs-legacy doesn't work on Ubuntu 12.04, so you have to add the PPA
> >> in the link Wes provided.  However then, there is a note about apt-get
> >> install npm, which will not work with the PPA Wes provided, because of
> >> a version conflict and because npm is included in the nodejs package
> >> from Wes' link.
> >>
> >> Wes: Appreciate the reply, but I think the documentation could use
> >> some work, and throwing links at people who ask questions based on the
> >> current documentation may produce more frustration especially when the
> >> links you provide don't line up with the documentation the user is
> >> trying to install.  I am not upset, I am just pointing out that some
> >> users may get frustrated (I am not one of those, but I have worked
> >> with many like that).
> >
> >
> > The jupyterhub docs are a wiki, so do please contribute and add to those.
> >
> > Jupyterhub is a bit different from other IPython projects in that it can
> be
> > an exposed server application. Deploying it incorrectly can open your
> system
> > up in unwanted ways.  On one hand, one needs to have some experience in
> > running a web server.
> >
> > On the other hand, it is also "fairly easy" to get setup for us
> non-admins.
> > However, there are a million variations depending on OS and local setup.
> >
> > So, the docs will never be complete. I think I good goal would be to
> make it
> > as comprehensive as possible for a limited set of standard operating
> > systems/distributions. I suggest targeting Ubuntu 14.04 Long Term Service
> > (LTS) for documentation would be a good compromise. Of course, it could
> be
> > deployed in many more ways, but having a single well-documented example
> > might provide hints for others.
> >
> > -Doug
> >
> >>
> >>
> >> Thanks!
> >>
> >> John
> >>
> >>
> >>
> >> On Sat, Feb 7, 2015 at 4:55 AM, John Omernik <john at omernik.com> wrote:
> >> > As a follow-up, I did the above top link to install repository, now
> >> > when I try to do npm, I get:
> >> >
> >> > sudo apt-get install npm
> >> >
> >> > Reading package lists... Done
> >> >
> >> > Building dependency tree
> >> >
> >> > Reading state information... Done
> >> >
> >> > Some packages could not be installed. This may mean that you have
> >> >
> >> > requested an impossible situation or if you are using the unstable
> >> >
> >> > distribution that some required packages have not yet been created
> >> >
> >> > or been moved out of Incoming.
> >> >
> >> > The following information may help to resolve the situation:
> >> >
> >> >
> >> > The following packages have unmet dependencies:
> >> >
> >> >  npm : Depends: nodejs but it is not going to be installed
> >> >
> >> >        Depends: nodejs-dev
> >> >
> >> >        Depends: node-request but it is not going to be installed
> >> >
> >> >        Depends: node-mkdirp but it is not going to be installed
> >> >
> >> >        Depends: node-minimatch but it is not going to be installed
> >> >
> >> >        Depends: node-semver but it is not going to be installed
> >> >
> >> >        Depends: node-ini but it is not going to be installed
> >> >
> >> >        Depends: node-graceful-fs but it is not going to be installed
> >> >
> >> >        Depends: node-abbrev but it is not going to be installed
> >> >
> >> >        Depends: node-nopt but it is not going to be installed
> >> >
> >> >        Depends: node-fstream but it is not going to be installed
> >> >
> >> >        Depends: node-rimraf but it is not going to be installed
> >> >
> >> >        Depends: node-tar but it is not going to be installed
> >> >
> >> >        Depends: node-which but it is not going to be installed
> >> >
> >> > E: Unable to correct problems, you have held broken packages.
> >> >
> >> >
> >> >
> >> > On Sat, Feb 7, 2015 at 4:52 AM, John Omernik <john at omernik.com>
> wrote:
> >> >> Thank you Wes I am trying that.
> >> >>
> >> >> That said, when the documentation says do this "nodejs-legacy" and it
> >> >> doesn't work, as an end user you wonder "well, wait, that isn't what
> I
> >> >> was told to install, yes I could just install from this other
> >> >> repository,but  that isn't what the documentation calls for, but will
> >> >> it be what the Jupyter Hub requires? Will it sorta work and possibly
> >> >> provide me other issues that I have to spend time on, etc.   Just an
> >> >> observation as an end user.
> >> >>
> >> >> On Fri, Feb 6, 2015 at 11:03 PM, Wes Turner <wes.turner at gmail.com>
> >> >> wrote:
> >> >>>
> >> >>>
> https://github.com/joyent/node/wiki/installing-node.js-via-package-manager
> >> >>>
> >> >>> https://github.com/saltstack-formulas/node-formula
> >> >>>
> >> >>>
> >> >>>
> https://docs.docker.com/installation/ubuntulinux/#ubuntu-precise-1204-lts-64-bit
> >> >>>
> >> >>> https://registry.hub.docker.com/u/jupyter/jupyterhub/
> >> >>>
> >> >>> On Feb 6, 2015 9:00 PM, "John Omernik" <john at omernik.com> wrote:
> >> >>>>
> >> >>>> In the Jupyter Hub, there's
> >> >>>>
> >> >>>> JupyterHub requires IPython >= 3.0 (current master) and Python >=
> >> >>>> 3.3.
> >> >>>>
> >> >>>> You will need nodejs/npm, which you can get from your package
> >> >>>> manager:
> >> >>>>
> >> >>>> sudo apt-get install npm nodejs-legacy
> >> >>>>
> >> >>>> (The nodejs-legacy package installs the node executable, which is
> >> >>>> required for npm to work on Debian/Ubuntu at this point)
> >> >>>>
> >> >>>> Then install javascript dependencies:
> >> >>>>
> >> >>>>
> >> >>>> However, I am running Ubuntu 12.04, and there is no nodejs-legacy.
> >> >>>> How do I meet that requirement?
> >> >>>>
> >> >>>> Thanks!
> >> >>>> _______________________________________________
> >> >>>> IPython-dev mailing list
> >> >>>> IPython-dev at scipy.org
> >> >>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >> >>>
> >> >>>
> >> >>> _______________________________________________
> >> >>> IPython-dev mailing list
> >> >>> IPython-dev at scipy.org
> >> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >> >>>
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150207/5c017f40/attachment.html>

From john at omernik.com  Mon Feb  9 08:56:22 2015
From: john at omernik.com (John Omernik)
Date: Mon, 9 Feb 2015 07:56:22 -0600
Subject: [IPython-dev] Jupyter Hub and Users
Message-ID: <CAKOFcwp66RNZ3TbkY1VkJMv5e3pT4V_YhMgafxfRHoy_z-7Z1g@mail.gmail.com>

I have Jupyter Hub working great with my users.  (I surprise myself
sometimes, although I have to give credit to list here :)

Now, that I have it setup with multiple users, I was wondering: Given
a root of "shared notebooks" i.e. notebooks that any users may use, is
it possible to to see in Jupyter Hub when someone else may have a
notebook open in their spawned environment? Ideally, I'd love to set
it up so any notebook say User Z open sthat is opened by say user X
would notify the user Z trying to open it i.e. "X.ipynb is opened
currently by user Y" and then put that notebook into read only mode
for user Z.

I know the goals for the project are to have this be seamless down the
road, perhaps even collaborative editing! In the short term, are there
any links or anything that could help me at a minimum, prevent the
situation where one user has a notebook open and another user
inadvertently opens it and starts making changes, thereby clobbering
the changes of the first user.

I do have one situation that is already made easier by Jupyter hub,
that's whereI have a set of notebooks that is Read/Write for one user,
but read to all the others.  That's easy with Unix permissions now.

Any thoughts, or links on where to get started would be appreciated!

John


From benjaminrk at gmail.com  Mon Feb  9 13:56:19 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 9 Feb 2015 10:56:19 -0800
Subject: [IPython-dev] Jupyter Hub and Users
In-Reply-To: <CAKOFcwp66RNZ3TbkY1VkJMv5e3pT4V_YhMgafxfRHoy_z-7Z1g@mail.gmail.com>
References: <CAKOFcwp66RNZ3TbkY1VkJMv5e3pT4V_YhMgafxfRHoy_z-7Z1g@mail.gmail.com>
Message-ID: <CAHNn8BUzVj2cRnCyvY0RfYv3JorEwFGt_Ov0tSHdY2ijVfhNZg@mail.gmail.com>

On Mon, Feb 9, 2015 at 5:56 AM, John Omernik <john at omernik.com> wrote:

> I have Jupyter Hub working great with my users.  (I surprise myself
> sometimes, although I have to give credit to list here :)
>
> Now, that I have it setup with multiple users, I was wondering: Given
> a root of "shared notebooks" i.e. notebooks that any users may use, is
> it possible to to see in Jupyter Hub when someone else may have a
> notebook open in their spawned environment? Ideally, I'd love to set
> it up so any notebook say User Z open sthat is opened by say user X
> would notify the user Z trying to open it i.e. "X.ipynb is opened
> currently by user Y" and then put that notebook into read only mode
> for user Z.
>
> I know the goals for the project are to have this be seamless down the
> road, perhaps even collaborative editing! In the short term, are there
> any links or anything that could help me at a minimum, prevent the
> situation where one user has a notebook open and another user
> inadvertently opens it and starts making changes, thereby clobbering
> the changes of the first user.
>
> I do have one situation that is already made easier by Jupyter hub,
> that's whereI have a set of notebooks that is Read/Write for one user,
> but read to all the others.  That's easy with Unix permissions now.
>
> Any thoughts, or links on where to get started would be appreciated!
>

At this point, JupyterHub doesn't offer anything beyond what you can do
with filesystem permissions - no cross-user notifications, or anything. The
multi-user context has no awareness of what notebooks are open or by whom.
We do plan to add some amount of sharing functionality to it, but we have
not yet decided how that should look or what we can/should provide
before/in addition to live collaboration.

-MinRK


>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/152bd5ec/attachment.html>

From bussonniermatthias at gmail.com  Mon Feb  9 14:11:01 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 9 Feb 2015 11:11:01 -0800
Subject: [IPython-dev] Jupyter Hub and Users
In-Reply-To: <CAHNn8BUzVj2cRnCyvY0RfYv3JorEwFGt_Ov0tSHdY2ijVfhNZg@mail.gmail.com>
References: <CAKOFcwp66RNZ3TbkY1VkJMv5e3pT4V_YhMgafxfRHoy_z-7Z1g@mail.gmail.com>
	<CAHNn8BUzVj2cRnCyvY0RfYv3JorEwFGt_Ov0tSHdY2ijVfhNZg@mail.gmail.com>
Message-ID: <FD6E8B48-2363-433E-8CC0-5786543F652A@gmail.com>

> 
> At this point, JupyterHub doesn't offer anything beyond what you can do with filesystem permissions - no cross-user notifications, or anything. The multi-user context has no awareness of what notebooks are open or by whom. We do plan to add some amount of sharing functionality to it, but we have not yet decided how that should look or what we can/should provide before/in addition to live collaboration.


Though IPython3 should warn you if you try to save a notebook that has been modified on Disk, 
and confirm save. 
Right ? 
-- 
m

> 
> -MinRK
>  
> 
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/a7998fee/attachment.html>

From john at omernik.com  Mon Feb  9 15:34:38 2015
From: john at omernik.com (John Omernik)
Date: Mon, 9 Feb 2015 14:34:38 -0600
Subject: [IPython-dev] Default Kernel for Jupyter
Message-ID: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>

As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
converting them to the format, but sometimes it changes the kernel to
python3.  We were using all Python2, and that's what I'd like to keep
using in Jupyter. Is there away to set a default Kernel to be Python2,
both for new notebooks and converted notebooks?

Thanks

John


From takowl at gmail.com  Mon Feb  9 16:41:07 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 9 Feb 2015 13:41:07 -0800
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
Message-ID: <CAOvn4qh58hnUESdtDrD8Usy79HTOa=w435DbOWrNNQkBQ4qOSQ@mail.gmail.com>

The default is the version of Python you're using to run the server, I
believe. You can override that by setting
c.MultiKernelManager.default_kernel_name = 'python2' in your
ipython_notebook_config.py.

On 9 February 2015 at 12:34, John Omernik <john at omernik.com> wrote:

> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
> converting them to the format, but sometimes it changes the kernel to
> python3.  We were using all Python2, and that's what I'd like to keep
> using in Jupyter. Is there away to set a default Kernel to be Python2,
> both for new notebooks and converted notebooks?
>
> Thanks
>
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/5b151235/attachment.html>

From bussonniermatthias at gmail.com  Mon Feb  9 16:57:59 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 9 Feb 2015 13:57:59 -0800
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
Message-ID: <7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>

Hey, 


Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :

> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
> converting them to the format, but sometimes it changes the kernel to
> python3.  We were using all Python2, and that's what I'd like to keep
> using in Jupyter. Is there away to set a default Kernel to be Python2,
> both for new notebooks and converted notebooks?


$ jupyter notebook --help-all

... 
MappingKernelManager options
----------------------------
--MappingKernelManager.default_kernel_name=<Unicode>
    Default: 'python3'
    The name of the default kernel to start
...


So c.MappingKernelManager.default_kernel_name='python2'
Or equivalent should work for you. 

Have you still considered migrating to Python 3 ? 
-- 
M



> Thanks
> 
> John
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From john at omernik.com  Mon Feb  9 17:05:18 2015
From: john at omernik.com (John Omernik)
Date: Mon, 9 Feb 2015 16:05:18 -0600
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
	<7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
Message-ID: <CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>

No, using Python2 just because of the comfortable syntax and that's
what the data science team uses.  I guess I could encourage it, but
it's frustrating for the data guys who just want things to be easy an
intuitive :)

With ipython (jupyter) I don't have a jupyter command, so I figured
that the command is actualy ipython notebook --help-all?  Should I
just set the profile for each user to use python2?  I guess, here's a
dumb question, how do we set profile config items in Ipython3? I don't
see the py file in the profile_default, just a sqllite file. (*feels
dumb right now)



On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
<bussonniermatthias at gmail.com> wrote:
> Hey,
>
>
> Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :
>
>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
>> converting them to the format, but sometimes it changes the kernel to
>> python3.  We were using all Python2, and that's what I'd like to keep
>> using in Jupyter. Is there away to set a default Kernel to be Python2,
>> both for new notebooks and converted notebooks?
>
>
> $ jupyter notebook --help-all
>
> ...
> MappingKernelManager options
> ----------------------------
> --MappingKernelManager.default_kernel_name=<Unicode>
>     Default: 'python3'
>     The name of the default kernel to start
> ...
>
>
> So c.MappingKernelManager.default_kernel_name='python2'
> Or equivalent should work for you.
>
> Have you still considered migrating to Python 3 ?
> --
> M
>
>
>
>> Thanks
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


From john at omernik.com  Mon Feb  9 17:11:19 2015
From: john at omernik.com (John Omernik)
Date: Mon, 9 Feb 2015 16:11:19 -0600
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
	<7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
	<CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
Message-ID: <CAKOFcwr+s+ZOxg=sUuFsZARb+JzxpiqsrZi1RHivymOQoDaiOQ@mail.gmail.com>

Derp, I got it, I had to create a new profile, and then copy the .py
files into the default. (you may question why I am using the default
like that, and it's mainly because I can't figure out how to tell
jupyterhub to use a specific profile)

On Mon, Feb 9, 2015 at 4:05 PM, John Omernik <john at omernik.com> wrote:
> No, using Python2 just because of the comfortable syntax and that's
> what the data science team uses.  I guess I could encourage it, but
> it's frustrating for the data guys who just want things to be easy an
> intuitive :)
>
> With ipython (jupyter) I don't have a jupyter command, so I figured
> that the command is actualy ipython notebook --help-all?  Should I
> just set the profile for each user to use python2?  I guess, here's a
> dumb question, how do we set profile config items in Ipython3? I don't
> see the py file in the profile_default, just a sqllite file. (*feels
> dumb right now)
>
>
>
> On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
> <bussonniermatthias at gmail.com> wrote:
>> Hey,
>>
>>
>> Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :
>>
>>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
>>> converting them to the format, but sometimes it changes the kernel to
>>> python3.  We were using all Python2, and that's what I'd like to keep
>>> using in Jupyter. Is there away to set a default Kernel to be Python2,
>>> both for new notebooks and converted notebooks?
>>
>>
>> $ jupyter notebook --help-all
>>
>> ...
>> MappingKernelManager options
>> ----------------------------
>> --MappingKernelManager.default_kernel_name=<Unicode>
>>     Default: 'python3'
>>     The name of the default kernel to start
>> ...
>>
>>
>> So c.MappingKernelManager.default_kernel_name='python2'
>> Or equivalent should work for you.
>>
>> Have you still considered migrating to Python 3 ?
>> --
>> M
>>
>>
>>
>>> Thanks
>>>
>>> John
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev


From benjaminrk at gmail.com  Mon Feb  9 17:17:15 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 9 Feb 2015 14:17:15 -0800
Subject: [IPython-dev] Jupyter Hub and Users
In-Reply-To: <FD6E8B48-2363-433E-8CC0-5786543F652A@gmail.com>
References: <CAKOFcwp66RNZ3TbkY1VkJMv5e3pT4V_YhMgafxfRHoy_z-7Z1g@mail.gmail.com>
	<CAHNn8BUzVj2cRnCyvY0RfYv3JorEwFGt_Ov0tSHdY2ijVfhNZg@mail.gmail.com>
	<FD6E8B48-2363-433E-8CC0-5786543F652A@gmail.com>
Message-ID: <CAHNn8BX2_tBS+=uMx_nDP+aVAgKdFfSA6YQeh+dzT3cDarBs9A@mail.gmail.com>

On Mon, Feb 9, 2015 at 11:11 AM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> At this point, JupyterHub doesn't offer anything beyond what you can do
> with filesystem permissions - no cross-user notifications, or anything. The
> multi-user context has no awareness of what notebooks are open or by whom.
> We do plan to add some amount of sharing functionality to it, but we have
> not yet decided how that should look or what we can/should provide
> before/in addition to live collaboration.
>
>
>
> Though IPython3 should warn you if you try to save a notebook that has
> been modified on Disk,
> and confirm save.
> Right ?
>


Yes, that's true. At this point, it should behave roughly comparably to
users with their own independent text editors editing files on a shared
filesystem. You will get notified on save if the file has changed out from
under you. The notification happens when you try to save, though, not when
the changes happen. That's something we probably could support, but is
perhaps unlikely.

-MinRK

-- 
> m
>
>
> -MinRK
>
>
>>
>> John
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/a6a16a43/attachment.html>

From takowl at gmail.com  Mon Feb  9 17:18:10 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 9 Feb 2015 14:18:10 -0800
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAKOFcwr+s+ZOxg=sUuFsZARb+JzxpiqsrZi1RHivymOQoDaiOQ@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
	<7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
	<CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
	<CAKOFcwr+s+ZOxg=sUuFsZARb+JzxpiqsrZi1RHivymOQoDaiOQ@mail.gmail.com>
Message-ID: <CAOvn4qiTrs6L5ejS6C8EoobYaRSGobrvWfSrZhynp+voGOqPYA@mail.gmail.com>

We don't create the config files until you ask for them - running 'ipython
profile create' will create them for the default profile.

On 9 February 2015 at 14:11, John Omernik <john at omernik.com> wrote:

> Derp, I got it, I had to create a new profile, and then copy the .py
> files into the default. (you may question why I am using the default
> like that, and it's mainly because I can't figure out how to tell
> jupyterhub to use a specific profile)
>
> On Mon, Feb 9, 2015 at 4:05 PM, John Omernik <john at omernik.com> wrote:
> > No, using Python2 just because of the comfortable syntax and that's
> > what the data science team uses.  I guess I could encourage it, but
> > it's frustrating for the data guys who just want things to be easy an
> > intuitive :)
> >
> > With ipython (jupyter) I don't have a jupyter command, so I figured
> > that the command is actualy ipython notebook --help-all?  Should I
> > just set the profile for each user to use python2?  I guess, here's a
> > dumb question, how do we set profile config items in Ipython3? I don't
> > see the py file in the profile_default, just a sqllite file. (*feels
> > dumb right now)
> >
> >
> >
> > On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
> > <bussonniermatthias at gmail.com> wrote:
> >> Hey,
> >>
> >>
> >> Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :
> >>
> >>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
> >>> converting them to the format, but sometimes it changes the kernel to
> >>> python3.  We were using all Python2, and that's what I'd like to keep
> >>> using in Jupyter. Is there away to set a default Kernel to be Python2,
> >>> both for new notebooks and converted notebooks?
> >>
> >>
> >> $ jupyter notebook --help-all
> >>
> >> ...
> >> MappingKernelManager options
> >> ----------------------------
> >> --MappingKernelManager.default_kernel_name=<Unicode>
> >>     Default: 'python3'
> >>     The name of the default kernel to start
> >> ...
> >>
> >>
> >> So c.MappingKernelManager.default_kernel_name='python2'
> >> Or equivalent should work for you.
> >>
> >> Have you still considered migrating to Python 3 ?
> >> --
> >> M
> >>
> >>
> >>
> >>> Thanks
> >>>
> >>> John
> >>> _______________________________________________
> >>> IPython-dev mailing list
> >>> IPython-dev at scipy.org
> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/e51189b6/attachment.html>

From john at omernik.com  Mon Feb  9 17:19:38 2015
From: john at omernik.com (John Omernik)
Date: Mon, 9 Feb 2015 16:19:38 -0600
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAOvn4qiTrs6L5ejS6C8EoobYaRSGobrvWfSrZhynp+voGOqPYA@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
	<7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
	<CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
	<CAKOFcwr+s+ZOxg=sUuFsZARb+JzxpiqsrZi1RHivymOQoDaiOQ@mail.gmail.com>
	<CAOvn4qiTrs6L5ejS6C8EoobYaRSGobrvWfSrZhynp+voGOqPYA@mail.gmail.com>
Message-ID: <CAKOFcwpWpkHX1Xktfs-J_Y=NjNbt9EzDqR_m=i_kyntbnHNUpw@mail.gmail.com>

Cool, I created a new profile, "profile_test" and copied the py files
to the default, will that work to, or will that break something?

John


On Mon, Feb 9, 2015 at 4:18 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> We don't create the config files until you ask for them - running 'ipython
> profile create' will create them for the default profile.
>
> On 9 February 2015 at 14:11, John Omernik <john at omernik.com> wrote:
>>
>> Derp, I got it, I had to create a new profile, and then copy the .py
>> files into the default. (you may question why I am using the default
>> like that, and it's mainly because I can't figure out how to tell
>> jupyterhub to use a specific profile)
>>
>> On Mon, Feb 9, 2015 at 4:05 PM, John Omernik <john at omernik.com> wrote:
>> > No, using Python2 just because of the comfortable syntax and that's
>> > what the data science team uses.  I guess I could encourage it, but
>> > it's frustrating for the data guys who just want things to be easy an
>> > intuitive :)
>> >
>> > With ipython (jupyter) I don't have a jupyter command, so I figured
>> > that the command is actualy ipython notebook --help-all?  Should I
>> > just set the profile for each user to use python2?  I guess, here's a
>> > dumb question, how do we set profile config items in Ipython3? I don't
>> > see the py file in the profile_default, just a sqllite file. (*feels
>> > dumb right now)
>> >
>> >
>> >
>> > On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
>> > <bussonniermatthias at gmail.com> wrote:
>> >> Hey,
>> >>
>> >>
>> >> Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :
>> >>
>> >>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
>> >>> converting them to the format, but sometimes it changes the kernel to
>> >>> python3.  We were using all Python2, and that's what I'd like to keep
>> >>> using in Jupyter. Is there away to set a default Kernel to be Python2,
>> >>> both for new notebooks and converted notebooks?
>> >>
>> >>
>> >> $ jupyter notebook --help-all
>> >>
>> >> ...
>> >> MappingKernelManager options
>> >> ----------------------------
>> >> --MappingKernelManager.default_kernel_name=<Unicode>
>> >>     Default: 'python3'
>> >>     The name of the default kernel to start
>> >> ...
>> >>
>> >>
>> >> So c.MappingKernelManager.default_kernel_name='python2'
>> >> Or equivalent should work for you.
>> >>
>> >> Have you still considered migrating to Python 3 ?
>> >> --
>> >> M
>> >>
>> >>
>> >>
>> >>> Thanks
>> >>>
>> >>> John
>> >>> _______________________________________________
>> >>> IPython-dev mailing list
>> >>> IPython-dev at scipy.org
>> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >>
>> >> _______________________________________________
>> >> IPython-dev mailing list
>> >> IPython-dev at scipy.org
>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From benjaminrk at gmail.com  Mon Feb  9 17:21:45 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 9 Feb 2015 14:21:45 -0800
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAKOFcwpWpkHX1Xktfs-J_Y=NjNbt9EzDqR_m=i_kyntbnHNUpw@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
	<7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
	<CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
	<CAKOFcwr+s+ZOxg=sUuFsZARb+JzxpiqsrZi1RHivymOQoDaiOQ@mail.gmail.com>
	<CAOvn4qiTrs6L5ejS6C8EoobYaRSGobrvWfSrZhynp+voGOqPYA@mail.gmail.com>
	<CAKOFcwpWpkHX1Xktfs-J_Y=NjNbt9EzDqR_m=i_kyntbnHNUpw@mail.gmail.com>
Message-ID: <CAHNn8BWsosjiDmKaCjrBhUC08s7+BQ6BRcH3+8cOZFc9dMCsBg@mail.gmail.com>

That should be fine. Profile's don't know their own name, so you can move
them around however you like.

On Mon, Feb 9, 2015 at 2:19 PM, John Omernik <john at omernik.com> wrote:

> Cool, I created a new profile, "profile_test" and copied the py files
> to the default, will that work to, or will that break something?
>
> John
>
>
> On Mon, Feb 9, 2015 at 4:18 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> > We don't create the config files until you ask for them - running
> 'ipython
> > profile create' will create them for the default profile.
> >
> > On 9 February 2015 at 14:11, John Omernik <john at omernik.com> wrote:
> >>
> >> Derp, I got it, I had to create a new profile, and then copy the .py
> >> files into the default. (you may question why I am using the default
> >> like that, and it's mainly because I can't figure out how to tell
> >> jupyterhub to use a specific profile)
> >>
> >> On Mon, Feb 9, 2015 at 4:05 PM, John Omernik <john at omernik.com> wrote:
> >> > No, using Python2 just because of the comfortable syntax and that's
> >> > what the data science team uses.  I guess I could encourage it, but
> >> > it's frustrating for the data guys who just want things to be easy an
> >> > intuitive :)
> >> >
> >> > With ipython (jupyter) I don't have a jupyter command, so I figured
> >> > that the command is actualy ipython notebook --help-all?  Should I
> >> > just set the profile for each user to use python2?  I guess, here's a
> >> > dumb question, how do we set profile config items in Ipython3? I don't
> >> > see the py file in the profile_default, just a sqllite file. (*feels
> >> > dumb right now)
> >> >
> >> >
> >> >
> >> > On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
> >> > <bussonniermatthias at gmail.com> wrote:
> >> >> Hey,
> >> >>
> >> >>
> >> >> Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :
> >> >>
> >> >>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
> >> >>> converting them to the format, but sometimes it changes the kernel
> to
> >> >>> python3.  We were using all Python2, and that's what I'd like to
> keep
> >> >>> using in Jupyter. Is there away to set a default Kernel to be
> Python2,
> >> >>> both for new notebooks and converted notebooks?
> >> >>
> >> >>
> >> >> $ jupyter notebook --help-all
> >> >>
> >> >> ...
> >> >> MappingKernelManager options
> >> >> ----------------------------
> >> >> --MappingKernelManager.default_kernel_name=<Unicode>
> >> >>     Default: 'python3'
> >> >>     The name of the default kernel to start
> >> >> ...
> >> >>
> >> >>
> >> >> So c.MappingKernelManager.default_kernel_name='python2'
> >> >> Or equivalent should work for you.
> >> >>
> >> >> Have you still considered migrating to Python 3 ?
> >> >> --
> >> >> M
> >> >>
> >> >>
> >> >>
> >> >>> Thanks
> >> >>>
> >> >>> John
> >> >>> _______________________________________________
> >> >>> IPython-dev mailing list
> >> >>> IPython-dev at scipy.org
> >> >>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >> >>
> >> >> _______________________________________________
> >> >> IPython-dev mailing list
> >> >> IPython-dev at scipy.org
> >> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/1688fcf9/attachment.html>

From bussonniermatthias at gmail.com  Mon Feb  9 17:22:27 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 9 Feb 2015 14:22:27 -0800
Subject: [IPython-dev] Default Kernel for Jupyter
In-Reply-To: <CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
References: <CAKOFcwpU+KUp=E2zQpotfmz5QEW0SqNGBMHH712XzE7Ov4=aAw@mail.gmail.com>
	<7729589D-CB27-45B6-9FC7-31DB66F93278@gmail.com>
	<CAKOFcwpuBforEkuqrMe37=+cJL8bQ0x10DabbMra7wcSy+dZqg@mail.gmail.com>
Message-ID: <23D2D0C7-C2F1-400C-9B44-F094C479EC13@gmail.com>


Le 9 f?vr. 2015 ? 14:05, John Omernik <john at omernik.com> a ?crit :

> No, using Python2 just because of the comfortable syntax and that's
> what the data science team uses.  I guess I could encourage it, but
> it's frustrating for the data guys who just want things to be easy an
> intuitive :)

Frankly, now python3 is completely usable, 
syntax is the same beyond print, and __future__ make most code
compatible with python2. 

I had to sprinkle my PhD with a few explicit list() to avoid iterator on plotting, 
but that's about it. 



> With ipython (jupyter) I don't have a jupyter command, so I figured
> that the command is actualy ipython notebook --help-all?  

Yeah, I have an alias. 

> Should I
> just set the profile for each user to use python2?  I guess, here's a
> dumb question, how do we set profile config items in Ipython3? I don't
> see the py file in the profile_default, just a sqllite file. (*feels
> dumb right now)

Yeah, python config file might not be here, 
You don't need to copy file from other default profile, 
you can create them from scratch also. 

You can ale make json config file if you like. 




> Le 9 f?vr. 2015 ? 14:11, John Omernik <john at omernik.com> a ?crit :

> Derp, I got it, I had to create a new profile, and then copy the .py
> files into the default. (you may question why I am using the default
> like that, and it's mainly because I can't figure out how to tell
> jupyterhub to use a specific profile)

Not sure about that, if you install only IPython3 through python 2 it should work,
or you can set the command I guess. 
-- 
M




> 
> On Mon, Feb 9, 2015 at 3:57 PM, Matthias Bussonnier
> <bussonniermatthias at gmail.com> wrote:
>> Hey,
>> 
>> 
>> Le 9 f?vr. 2015 ? 12:34, John Omernik <john at omernik.com> a ?crit :
>> 
>>> As I am opening my old iPython notebooks for 2.3 in Jupyter, it's
>>> converting them to the format, but sometimes it changes the kernel to
>>> python3.  We were using all Python2, and that's what I'd like to keep
>>> using in Jupyter. Is there away to set a default Kernel to be Python2,
>>> both for new notebooks and converted notebooks?
>> 
>> 
>> $ jupyter notebook --help-all
>> 
>> ...
>> MappingKernelManager options
>> ----------------------------
>> --MappingKernelManager.default_kernel_name=<Unicode>
>>    Default: 'python3'
>>    The name of the default kernel to start
>> ...
>> 
>> 
>> So c.MappingKernelManager.default_kernel_name='python2'
>> Or equivalent should work for you.
>> 
>> Have you still considered migrating to Python 3 ?
>> --
>> M
>> 
>> 
>> 
>>> Thanks
>>> 
>>> John
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From zaki.mughal at gmail.com  Mon Feb  9 18:08:51 2015
From: zaki.mughal at gmail.com (Zakariyya Mughal)
Date: Mon, 9 Feb 2015 17:08:51 -0600
Subject: [IPython-dev] Custom cell types for markup
Message-ID: <20150209230851.GJ13270@janus.cbl.uh.edu>

Hi!

I would like to add a custom cell type for formatted documentation.
Instead of just Markdown, I would like to be able to use POD
<http://en.wikipedia.org/wiki/Plain_Old_Documentation>.

Now, I understand that having a custom format will lead to portability
issues, but would it be possible to have something where the cell type
is POD, but the notebook contains both the POD source and pre-generated
HTML output that can be rendered by nbviewer?

Is there an example of something similar? Perhaps I can do this all in
JavaScript, but I don't know of any JavaScript POD parsers.

Regards,
- Zaki Mughal


From benjaminrk at gmail.com  Mon Feb  9 18:13:25 2015
From: benjaminrk at gmail.com (MinRK)
Date: Mon, 9 Feb 2015 15:13:25 -0800
Subject: [IPython-dev] IPython 2.4, 3.0b1
In-Reply-To: <CAHNn8BXm6xtXNv2o0jf5uxgYrp1WUAtsYWqWCh_XnVadx=qu_w@mail.gmail.com>
References: <CAHNn8BXm6xtXNv2o0jf5uxgYrp1WUAtsYWqWCh_XnVadx=qu_w@mail.gmail.com>
Message-ID: <CAHNn8BWHveSKPrODoi85EfgiEeV=BPWcngK-bppWCRwneTPaZg@mail.gmail.com>

The 2.4.0 release was missing a few of the backports targeted for 2.4,
including changes required for the qtconsole to run with pygments 2.0. We
released 2.4.1 today, which is accurately described by the 2.4 release
notes, unlike 2.4.0.

-MinRK

On Fri, Jan 30, 2015 at 3:30 PM, MinRK <benjaminrk at gmail.com> wrote:

> Hello,
>
> It?s been a long time coming, but we have begun the release cycle for
> IPython 3.0, with the first beta. You can take it for a spin with:
>
> pip install --pre 'ipython[all]'
>
> IPython 3.0 brings a lot of changes - optional terminals in the browser,
> editing non-notebook text files, major notebook format and message spec
> revisions, UI overhaul, etc. Take it for a spin, and let us know what you
> find. Check out the release notes
> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0>
> for more info. We still have a few known bugs and UI issues to address
> before we get to 3.0 final, but we?ll get there soon.
>
> We also released IPython 2.4 today, which adds to 2.x the ability to
> *read* the new notebook format coming in IPython 3.0. 2.4 also fixes some
> compatibility issues with PyQt5 and pygments 2.
>
> With your help, 3.0 final will see the light of day before too long.
>
> -MinRK, on behalf of the IPython team
> ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/2f7b05bb/attachment.html>

From bussonniermatthias at gmail.com  Mon Feb  9 20:31:08 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 9 Feb 2015 17:31:08 -0800
Subject: [IPython-dev] Custom cell types for markup
In-Reply-To: <20150209230851.GJ13270@janus.cbl.uh.edu>
References: <20150209230851.GJ13270@janus.cbl.uh.edu>
Message-ID: <6443FFC2-4B51-4D23-A6C7-DD4F82A75E7C@gmail.com>

Hi, 

Unfortunately there is no easy way to use an alternative
markup language for the notebook. 
It was considered, but was considered too complicated 
to support. 

It should be possible but far from easy, and I'm not sure we are
ready yet to re-consider. 

Cheers, 
-- 
M


Le 9 f?vr. 2015 ? 15:08, Zakariyya Mughal <zaki.mughal at gmail.com> a ?crit :

> Hi!
> 
> I would like to add a custom cell type for formatted documentation.
> Instead of just Markdown, I would like to be able to use POD
> <http://en.wikipedia.org/wiki/Plain_Old_Documentation>.
> 
> Now, I understand that having a custom format will lead to portability
> issues, but would it be possible to have something where the cell type
> is POD, but the notebook contains both the POD source and pre-generated
> HTML output that can be rendered by nbviewer?
> 
> Is there an example of something similar? Perhaps I can do this all in
> JavaScript, but I don't know of any JavaScript POD parsers.
> 
> Regards,
> - Zaki Mughal
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From takowl at gmail.com  Mon Feb  9 20:40:00 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 9 Feb 2015 17:40:00 -0800
Subject: [IPython-dev] Custom cell types for markup
In-Reply-To: <6443FFC2-4B51-4D23-A6C7-DD4F82A75E7C@gmail.com>
References: <20150209230851.GJ13270@janus.cbl.uh.edu>
	<6443FFC2-4B51-4D23-A6C7-DD4F82A75E7C@gmail.com>
Message-ID: <CAOvn4qhNsOkoC7oaJe5QLOupH3PiPbg_gGwcFpZgH=Y5qBSaPw@mail.gmail.com>

You can have raw cells with a specified mime type. By default, these will
display in the notebook as plain, unhighlighted text, but you could write
an extension that watched for raw cells with a specific mime type and then
rendered them. A JS POD parser would be required for that, though.

Exporting them with nbconvert should be easier, though - you can write
Jinja templates and filters that will, for instance, run those output cells
through a command line program to render them.

Thomas

On 9 February 2015 at 17:31, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Hi,
>
> Unfortunately there is no easy way to use an alternative
> markup language for the notebook.
> It was considered, but was considered too complicated
> to support.
>
> It should be possible but far from easy, and I'm not sure we are
> ready yet to re-consider.
>
> Cheers,
> --
> M
>
>
> Le 9 f?vr. 2015 ? 15:08, Zakariyya Mughal <zaki.mughal at gmail.com> a ?crit
> :
>
> > Hi!
> >
> > I would like to add a custom cell type for formatted documentation.
> > Instead of just Markdown, I would like to be able to use POD
> > <http://en.wikipedia.org/wiki/Plain_Old_Documentation>.
> >
> > Now, I understand that having a custom format will lead to portability
> > issues, but would it be possible to have something where the cell type
> > is POD, but the notebook contains both the POD source and pre-generated
> > HTML output that can be rendered by nbviewer?
> >
> > Is there an example of something similar? Perhaps I can do this all in
> > JavaScript, but I don't know of any JavaScript POD parsers.
> >
> > Regards,
> > - Zaki Mughal
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150209/b0f04b4a/attachment.html>

From john at omernik.com  Tue Feb 10 10:43:33 2015
From: john at omernik.com (John Omernik)
Date: Tue, 10 Feb 2015 09:43:33 -0600
Subject: [IPython-dev] Ability to Create other Windows
Message-ID: <CAKOFcwoPuG+obQ2FZVj7EsLLOCB8-krYLqHPOgmmOq-uOKxssQ@mail.gmail.com>

This is a weird question I think.

I am trying to write a magic function that does something simple with
a widget. Basically I want to be able to query a database and when the
query is returned have a button that "contains" results.  Like this:


%%sql
select * from table where field = 1


When that is is done, a Button widget appears, with the word results
on it. The data is "in there" likely a panda dataframe to_html.  But
basically I'd like to be able to, when I press the button have a new
window spawned (maybe with a a javascript new window) That has the
data in a different window that I can move to a different screen and
look at as I am writing more code in my iPython notebooks. (Further
enhancements may come out of that down the line)

What I have is below.  What happens is when I add a variable to the
callback function it seems to click it right away, and there are no
results.  I am trying a bunch of stuff here, and still hacking on it,
but I thought I'd toss it out here. I am using Jupyter (iPython 3)
with Python2 Shell.

Note, once the new window is filled with data, and good to go, iPython
has no more connection (back and forth data) Basically it's a fly away
window, it can stay open, closed etc, it's  independent of the iPython
(in my head at least)

@register_cell_magic
def sql(line, cell):
    pd.set_option('max_colwidth', 100000)
    pd.set_option('display.max_rows', None)
    out = runSQL(cell)
    df = pd.DataFrame(out)
    # Assume this is a working happy Pandas Dataframe
    gridhtml = df.to_html()

    JS = """
var newwindow=window.open();
newwindow.document.open()
newwindow.document.write(`%~%`);
newwindow.close();
"""
    JS = JS.replace('%~%', gridhtml)

    button = widgets.Button(description="Results")
    display(button)

    button.on_click(on_button_clicked(button, JS))
def on_button_clicked(b, JS):
    print "I've been clicked"
    createWindow(JS)
def createWindow(JS)
    j = Javascript(JS)
    display(k)


From john at omernik.com  Tue Feb 10 12:28:51 2015
From: john at omernik.com (John Omernik)
Date: Tue, 10 Feb 2015 11:28:51 -0600
Subject: [IPython-dev] Ability to Create other Windows
In-Reply-To: <CAKOFcwoPuG+obQ2FZVj7EsLLOCB8-krYLqHPOgmmOq-uOKxssQ@mail.gmail.com>
References: <CAKOFcwoPuG+obQ2FZVj7EsLLOCB8-krYLqHPOgmmOq-uOKxssQ@mail.gmail.com>
Message-ID: <CAKOFcwqML4irS0tYwTGT7JrOV_shXkCWPZRcFXy+O+ey4MG39g@mail.gmail.com>

So here is an example of it working without the button, just having
the window pop up when the the magic is run. So, the idea here is when
the data query is loaded, the button is added, and every time the
button is pressed, the window can be reopened. Now it's just a matter
of playing with the widgets... how do I pass a variable to the button
on_click event? :)


On Tue, Feb 10, 2015 at 9:43 AM, John Omernik <john at omernik.com> wrote:
> This is a weird question I think.
>
> I am trying to write a magic function that does something simple with
> a widget. Basically I want to be able to query a database and when the
> query is returned have a button that "contains" results.  Like this:
>
>
> %%sql
> select * from table where field = 1
>
>
> When that is is done, a Button widget appears, with the word results
> on it. The data is "in there" likely a panda dataframe to_html.  But
> basically I'd like to be able to, when I press the button have a new
> window spawned (maybe with a a javascript new window) That has the
> data in a different window that I can move to a different screen and
> look at as I am writing more code in my iPython notebooks. (Further
> enhancements may come out of that down the line)
>
> What I have is below.  What happens is when I add a variable to the
> callback function it seems to click it right away, and there are no
> results.  I am trying a bunch of stuff here, and still hacking on it,
> but I thought I'd toss it out here. I am using Jupyter (iPython 3)
> with Python2 Shell.
>
> Note, once the new window is filled with data, and good to go, iPython
> has no more connection (back and forth data) Basically it's a fly away
> window, it can stay open, closed etc, it's  independent of the iPython
> (in my head at least)
>
> @register_cell_magic
> def sql(line, cell):
>     pd.set_option('max_colwidth', 100000)
>     pd.set_option('display.max_rows', None)
>     out = runSQL(cell)
>     df = pd.DataFrame(out)
>     # Assume this is a working happy Pandas Dataframe
>     gridhtml = df.to_html()
>
>     JS = """
> var newwindow=window.open();
> newwindow.document.open()
> newwindow.document.write(`%~%`);
> newwindow.close();
> """
>     JS = JS.replace('%~%', gridhtml)
>
>     button = widgets.Button(description="Results")
>     display(button)
>
>     button.on_click(on_button_clicked(button, JS))
> def on_button_clicked(b, JS):
>     print "I've been clicked"
>     createWindow(JS)
> def createWindow(JS)
>     j = Javascript(JS)
>     display(k)


From ndbecker2 at gmail.com  Tue Feb 10 14:02:11 2015
From: ndbecker2 at gmail.com (Neal Becker)
Date: Tue, 10 Feb 2015 14:02:11 -0500
Subject: [IPython-dev] IPython 2.4, 3.0b1
References: <CAHNn8BXm6xtXNv2o0jf5uxgYrp1WUAtsYWqWCh_XnVadx=qu_w@mail.gmail.com>
	<CAHNn8BWHveSKPrODoi85EfgiEeV=BPWcngK-bppWCRwneTPaZg@mail.gmail.com>
Message-ID: <mbdkjk$tgb$1@ger.gmane.org>

MinRK wrote:

> The 2.4.0 release was missing a few of the backports targeted for 2.4,
> including changes required for the qtconsole to run with pygments 2.0. We
> released 2.4.1 today, which is accurately described by the 2.4 release
> notes, unlike 2.4.0.
> 
> -MinRK
> 
> On Fri, Jan 30, 2015 at 3:30 PM, MinRK <benjaminrk at gmail.com> wrote:
> 
>> Hello,
>>
>> It?s been a long time coming, but we have begun the release cycle for
>> IPython 3.0, with the first beta. You can take it for a spin with:
>>
>> pip install --pre 'ipython[all]'
>>
>> IPython 3.0 brings a lot of changes - optional terminals in the browser,
>> editing non-notebook text files, major notebook format and message spec
>> revisions, UI overhaul, etc. Take it for a spin, and let us know what you
>> find. Check out the release notes
>> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0>
>> for more info. We still have a few known bugs and UI issues to address
>> before we get to 3.0 final, but we?ll get there soon.
>>
>> We also released IPython 2.4 today, which adds to 2.x the ability to
>> *read* the new notebook format coming in IPython 3.0. 2.4 also fixes some
>> compatibility issues with PyQt5 and pygments 2.
>>
>> With your help, 3.0 final will see the light of day before too long.
>>
>> -MinRK, on behalf of the IPython team
>> ?
>>

Did pip install --up --user --pre ipython[all] on
fedora 21 x86_64.

So far everything working beautifully!


-- 
-- Those who don't understand recursion are doomed to repeat it



From bussonniermatthias at gmail.com  Tue Feb 10 14:24:24 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 10 Feb 2015 11:24:24 -0800
Subject: [IPython-dev] IPython 2.4, 3.0b1
In-Reply-To: <mbdkjk$tgb$1@ger.gmane.org>
References: <CAHNn8BXm6xtXNv2o0jf5uxgYrp1WUAtsYWqWCh_XnVadx=qu_w@mail.gmail.com>
	<CAHNn8BWHveSKPrODoi85EfgiEeV=BPWcngK-bppWCRwneTPaZg@mail.gmail.com>
	<mbdkjk$tgb$1@ger.gmane.org>
Message-ID: <9E37D8B1-8B96-448C-8214-2B6755434448@gmail.com>


Le 10 f?vr. 2015 ? 11:02, Neal Becker <ndbecker2 at gmail.com> a ?crit :


> Did pip install --up --user --pre ipython[all] on
> fedora 21 x86_64.
> 
> So far everything working beautifully!

Thanks for the nobug report ! 
It always nice when we get feedback that things work. 

We should open a nobug-tracker ! 

-- 
M




From doug.blank at gmail.com  Tue Feb 10 14:28:41 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Tue, 10 Feb 2015 14:28:41 -0500
Subject: [IPython-dev] IPython 2.4, 3.0b1
In-Reply-To: <9E37D8B1-8B96-448C-8214-2B6755434448@gmail.com>
References: <CAHNn8BXm6xtXNv2o0jf5uxgYrp1WUAtsYWqWCh_XnVadx=qu_w@mail.gmail.com>
	<CAHNn8BWHveSKPrODoi85EfgiEeV=BPWcngK-bppWCRwneTPaZg@mail.gmail.com>
	<mbdkjk$tgb$1@ger.gmane.org>
	<9E37D8B1-8B96-448C-8214-2B6755434448@gmail.com>
Message-ID: <CAAusYChrtZqQV_AGL8EudkiRxKotb-qAfbAf0R30WCCXx7HXGA@mail.gmail.com>

On Tue, Feb 10, 2015 at 2:24 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 10 f?vr. 2015 ? 11:02, Neal Becker <ndbecker2 at gmail.com> a ?crit :
>
>
> > Did pip install --up --user --pre ipython[all] on
> > fedora 21 x86_64.
> >
> > So far everything working beautifully!
>
> Thanks for the nobug report !
> It always nice when we get feedback that things work.
>
> We should open a nobug-tracker !
>

Oh, good... I have a long list of things that ARE working :) And I keep
finding more...

Is there a beta2 on the way?

-Doug


>
> --
> M
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150210/5d8520d9/attachment.html>

From zaki.mughal at gmail.com  Tue Feb 10 14:32:29 2015
From: zaki.mughal at gmail.com (Zakariyya Mughal)
Date: Tue, 10 Feb 2015 13:32:29 -0600
Subject: [IPython-dev] Custom cell types for markup
In-Reply-To: <CAOvn4qhNsOkoC7oaJe5QLOupH3PiPbg_gGwcFpZgH=Y5qBSaPw@mail.gmail.com>
	<6443FFC2-4B51-4D23-A6C7-DD4F82A75E7C@gmail.com>
Message-ID: <20150210193229.GB5692@simulo>

On 2015-02-09 at 17:31:08 -0800, Matthias Bussonnier wrote:
> Hi, 
> 
> It should be possible but far from easy, and I'm not sure we are
> ready yet to re-consider. 

Hehe, sounds like something right up my alley.

> 
> Cheers, 
> -- 
> M

On 2015-02-09 at 17:40:00 -0800, Thomas Kluyver wrote:
> You can have raw cells with a specified mime type. By default, these will
> display in the notebook as plain, unhighlighted text, but you could write
> an extension that watched for raw cells with a specific mime type and then
> rendered them. A JS POD parser would be required for that, though.
> 
> Exporting them with nbconvert should be easier, though - you can write
> Jinja templates and filters that will, for instance, run those output cells
> through a command line program to render them.

OK, that seems do-able. I'll report back if I get it all working.

Thank you both for the info!

Regards,
- Zaki Mughal

> 
> Thomas


From benjaminrk at gmail.com  Tue Feb 10 14:34:18 2015
From: benjaminrk at gmail.com (MinRK)
Date: Tue, 10 Feb 2015 11:34:18 -0800
Subject: [IPython-dev] IPython 2.4, 3.0b1
In-Reply-To: <CAAusYChrtZqQV_AGL8EudkiRxKotb-qAfbAf0R30WCCXx7HXGA@mail.gmail.com>
References: <CAHNn8BXm6xtXNv2o0jf5uxgYrp1WUAtsYWqWCh_XnVadx=qu_w@mail.gmail.com>
	<CAHNn8BWHveSKPrODoi85EfgiEeV=BPWcngK-bppWCRwneTPaZg@mail.gmail.com>
	<mbdkjk$tgb$1@ger.gmane.org>
	<9E37D8B1-8B96-448C-8214-2B6755434448@gmail.com>
	<CAAusYChrtZqQV_AGL8EudkiRxKotb-qAfbAf0R30WCCXx7HXGA@mail.gmail.com>
Message-ID: <CAHNn8BVbAFO92SpHpayvbWU5AXTb6ee8HfSOLPYWuKtcfocJXw@mail.gmail.com>

On Tue, Feb 10, 2015 at 11:28 AM, Doug Blank <doug.blank at gmail.com> wrote:

> On Tue, Feb 10, 2015 at 2:24 PM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>>
>> Le 10 f?vr. 2015 ? 11:02, Neal Becker <ndbecker2 at gmail.com> a ?crit :
>>
>>
>> > Did pip install --up --user --pre ipython[all] on
>> > fedora 21 x86_64.
>> >
>> > So far everything working beautifully!
>>
>> Thanks for the nobug report !
>> It always nice when we get feedback that things work.
>>
>> We should open a nobug-tracker !
>>
>
> Oh, good... I have a long list of things that ARE working :) And I keep
> finding more...
>
> Is there a beta2 on the way?
>

Sorting a few things out. I think we should have b2 or rc at the end of
this week.

Thanks for testing!

-MinRK


>
> -Doug
>
>
>>
>> --
>> M
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150210/e2967b3d/attachment.html>

From rnelsonchem at gmail.com  Wed Feb 11 09:34:19 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Wed, 11 Feb 2015 09:34:19 -0500
Subject: [IPython-dev] Move output scrollbar to top?
In-Reply-To: <CAB-sx60-9TX5k_YB0=ooCLTxR+HDFUj_sAZ0zjesYdOqrkBBFg@mail.gmail.com>
References: <CAD5p-O4wR-D1DzvNT1P1fTfa4Lwp1wNFFPd225RLQdYDbukdjA@mail.gmail.com>
	<CACejjWwH_ch59TLuSRFz5L7uqnDe1ay_jKKoFLr1LD_Y+io4uA@mail.gmail.com>
	<CAB-sx60-9TX5k_YB0=ooCLTxR+HDFUj_sAZ0zjesYdOqrkBBFg@mail.gmail.com>
Message-ID: <CAFbt6dfkKdn8M9=cEcd36P2nxi6czoNTWxnSfLb7cXoTBjMhbA@mail.gmail.com>

Anton,

Sorry a little late here... I don't have an direct solution to your
problem, but I found that Pandas has a number of output settings which
helped me with this same problem. For example, you can set
`pandas.set_option('max_rows', 10)` and it will limit the number of rows
printed. You can set this to whatever is sensible to keep the output in
your screen window. Not perfect, but hope it helps.
http://pandas.pydata.org/pandas-docs/stable/options.html#frequently-used-options

Ryan

On Thu, Feb 5, 2015 at 4:18 AM, Kiko <kikocorreoso at gmail.com> wrote:

>
>
> 2015-02-04 15:28 GMT+01:00 Nicholas Bollweg <nick.bollweg at gmail.com>:
>
>> Looks like a 0-height div and some event ninjitsu would work.
>> http://aburt.com/topscrollbar/
>>
>> On Wed, Feb 4, 2015 at 1:41 AM, Ant Super <the.gerenuk at googlemail.com>
>> wrote:
>>
>>> Hi!
>>> do you guys know a way to move the output scrollbar of (HTML) output in
>>> the IPython notebook to the top of the cell?
>>>
>>> When you output wide pandas dataframes with no limit on columns (because
>>> you want to
>>> see them all), it produces an HTML output cell with scrollbars. The
>>> annoying thing is that the horizontal scrollbar is at the bottom, so that
>>> you have to scroll down on the page, then scroll right and finally scroll
>>> up again to see the header of the dataframe.
>>>
>>> Is there a hack to place the horizontal scrollbar top? Is this a
>>> sensible default option?
>>>
>>>
> You could always use the third button of your mouse as an easy and cheap
> solution.
>
>
>> Anton
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150211/e85bffa4/attachment.html>

From john at omernik.com  Wed Feb 11 11:17:55 2015
From: john at omernik.com (John Omernik)
Date: Wed, 11 Feb 2015 10:17:55 -0600
Subject: [IPython-dev] Ability to Create other Windows
In-Reply-To: <CAKOFcwqML4irS0tYwTGT7JrOV_shXkCWPZRcFXy+O+ey4MG39g@mail.gmail.com>
References: <CAKOFcwoPuG+obQ2FZVj7EsLLOCB8-krYLqHPOgmmOq-uOKxssQ@mail.gmail.com>
	<CAKOFcwqML4irS0tYwTGT7JrOV_shXkCWPZRcFXy+O+ey4MG39g@mail.gmail.com>
Message-ID: <CAKOFcwpeBJw+MOEsdXTTYiq7LgJ2QBH5ZzO7MpXUoM6mibtWmg@mail.gmail.com>

So after some hacking around this is what I came up with. I'd be
interested on feed back if this is doing something fundamentally
"wrong" I was able to achieve what I was looking for though, which was
a pandas outputted data frame in a new window so I could resize and
scroll through .


from IPython.display import Javascript
from IPython.html import widgets # Widget definitions

 # Used to display widgets in the notebook
from IPython.display import display, HTML, display_pretty,
display_html, display_jpeg, display_png, display_json, display_latex,
display_svg

results = {}
@register_cell_magic
def sql(line, cell):
    global results
    pd.set_option('max_colwidth', 100000)
    pd.set_option('display.max_rows', None)
    out = runSQL(cell)
    df = pd.DataFrame(out)
    # Assume this is a working happy Pandas Dataframe
    gridhtml = df.to_html()
    window_options = "toolbar=no, location=no, directories=no,
status=no, menubar=no, scrollbars=yes, resizable=yes, width=780,
height=200, top=0, left=0"
    fmd5 = md5(gridhtml) #I've imported the hashlib hexdigest into my own md5()
    base = """var win = window.open("", "&~&", "*~*");
    win.document.body.innerHTML = `%~%`;
    """
    JS = base.replace('%~%', gridhtml) # Put the results in the output
    JS = JS.replace('&~&', fmd5) # Set the title to be the md5
    JS = JS.replace('*~*', window_options) # Include the window options
    results[fmd5] = JS # Store the results in a global dictionary by
using an MD5 key


    button = widgets.Button(description="Results")
    button.tooltip = fmd5 # Set the tool tip to be the Md5 so we can
"pass" this to the call back
    button.on_click(on_button_clicked) # Set the call back

    display(button)


def on_button_clicked(b):
    global results
    fmd5 = b.tooltip # get the md5 from the tooltop
    createwindow(results[fmd5]) #Call the create window

def createwindow(JS):
    j = Javascript(JS)
    display(j)

On Tue, Feb 10, 2015 at 11:28 AM, John Omernik <john at omernik.com> wrote:
> So here is an example of it working without the button, just having
> the window pop up when the the magic is run. So, the idea here is when
> the data query is loaded, the button is added, and every time the
> button is pressed, the window can be reopened. Now it's just a matter
> of playing with the widgets... how do I pass a variable to the button
> on_click event? :)
>
>
> On Tue, Feb 10, 2015 at 9:43 AM, John Omernik <john at omernik.com> wrote:
>> This is a weird question I think.
>>
>> I am trying to write a magic function that does something simple with
>> a widget. Basically I want to be able to query a database and when the
>> query is returned have a button that "contains" results.  Like this:
>>
>>
>> %%sql
>> select * from table where field = 1
>>
>>
>> When that is is done, a Button widget appears, with the word results
>> on it. The data is "in there" likely a panda dataframe to_html.  But
>> basically I'd like to be able to, when I press the button have a new
>> window spawned (maybe with a a javascript new window) That has the
>> data in a different window that I can move to a different screen and
>> look at as I am writing more code in my iPython notebooks. (Further
>> enhancements may come out of that down the line)
>>
>> What I have is below.  What happens is when I add a variable to the
>> callback function it seems to click it right away, and there are no
>> results.  I am trying a bunch of stuff here, and still hacking on it,
>> but I thought I'd toss it out here. I am using Jupyter (iPython 3)
>> with Python2 Shell.
>>
>> Note, once the new window is filled with data, and good to go, iPython
>> has no more connection (back and forth data) Basically it's a fly away
>> window, it can stay open, closed etc, it's  independent of the iPython
>> (in my head at least)
>>
>> @register_cell_magic
>> def sql(line, cell):
>>     pd.set_option('max_colwidth', 100000)
>>     pd.set_option('display.max_rows', None)
>>     out = runSQL(cell)
>>     df = pd.DataFrame(out)
>>     # Assume this is a working happy Pandas Dataframe
>>     gridhtml = df.to_html()
>>
>>     JS = """
>> var newwindow=window.open();
>> newwindow.document.open()
>> newwindow.document.write(`%~%`);
>> newwindow.close();
>> """
>>     JS = JS.replace('%~%', gridhtml)
>>
>>     button = widgets.Button(description="Results")
>>     display(button)
>>
>>     button.on_click(on_button_clicked(button, JS))
>> def on_button_clicked(b, JS):
>>     print "I've been clicked"
>>     createWindow(JS)
>> def createWindow(JS)
>>     j = Javascript(JS)
>>     display(k)


From ssanderson at quantopian.com  Wed Feb 11 13:30:51 2015
From: ssanderson at quantopian.com (ssanderson)
Date: Wed, 11 Feb 2015 10:30:51 -0800 (PST)
Subject: [IPython-dev] Launching Jupyter Notebook Sharing on Quantopian
Message-ID: <1423679451758-5085970.post@n6.nabble.com>

Hi All,

At the dev meeting last week we talked a bit about the future of indexing
and sharing IPython/Jupyter notebooks publicly, and I mentioned that we've
been working on adding sharing of notebooks to Quantopian's research
platform alpha.  We launched that system this week, so I thought it might be
helpful to walk through our design as an example of what sharing might look
like in the main notebook project.  I'm also just super proud of our team
for building this and want to show off all their hard work :)

The backend is basically just nbconvert plus S3 bucket storage and some 
custom sanitization logic <https://github.com/ipython/ipython/pull/7595>  
to guard against XSS.  

The frontend consists of an nbextension that adds a share button to each
cell on mouseover.

<http://python.6.x6.nabble.com/file/n5085970/14.png> 

On hitting the share button we create a window where you can add a title and
description in markdown (the javascript for this is in the same
nbextension):

<http://python.6.x6.nabble.com/file/n5085970/36.png> 

Upon submission, we mark the shared cell as a "preview cell" in its metadata
and then post it to an NBConvert handler that creates a full HTML rendering
of the notebook, plus a stripped down preview of just the selected cell. 
These get stored in S3 and are used by our main application to create new
forum posts.  Here's an example of a notebook that we shared today with our
community:

https://www.quantopian.com/posts/research-investing-in-women-led-fortune-1000-companies

Thanks to the IPython/Jupyter team for building an amazing tool upon which
we can build something like this.  I'm incredibly excited to see how much
the project has progressed in the short time that I've been working on our
integration.

-Scott






--
View this message in context: http://python.6.x6.nabble.com/Launching-Jupyter-Notebook-Sharing-on-Quantopian-tp5085970.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From rgbkrk at gmail.com  Wed Feb 11 14:17:25 2015
From: rgbkrk at gmail.com (Kyle Kelley)
Date: Wed, 11 Feb 2015 13:17:25 -0600
Subject: [IPython-dev] Launching Jupyter Notebook Sharing on Quantopian
In-Reply-To: <1423679451758-5085970.post@n6.nabble.com>
References: <1423679451758-5085970.post@n6.nabble.com>
Message-ID: <CA+tbMaUfT+EsNcWzvqD2+K_qSq0cjueWp5Gp-M1LVc=e56vE4Q@mail.gmail.com>

This is super slick!

Thank YOU and Quantopian for being such great stewards of Open Source,
contributing back to the main project in ways that help everyone.

On Wed, Feb 11, 2015 at 12:30 PM, ssanderson <ssanderson at quantopian.com>
wrote:

> Hi All,
>
> At the dev meeting last week we talked a bit about the future of indexing
> and sharing IPython/Jupyter notebooks publicly, and I mentioned that we've
> been working on adding sharing of notebooks to Quantopian's research
> platform alpha.  We launched that system this week, so I thought it might
> be
> helpful to walk through our design as an example of what sharing might look
> like in the main notebook project.  I'm also just super proud of our team
> for building this and want to show off all their hard work :)
>
> The backend is basically just nbconvert plus S3 bucket storage and some
> custom sanitization logic <https://github.com/ipython/ipython/pull/7595>
> to guard against XSS.
>
> The frontend consists of an nbextension that adds a share button to each
> cell on mouseover.
>
> <http://python.6.x6.nabble.com/file/n5085970/14.png>
>
> On hitting the share button we create a window where you can add a title
> and
> description in markdown (the javascript for this is in the same
> nbextension):
>
> <http://python.6.x6.nabble.com/file/n5085970/36.png>
>
> Upon submission, we mark the shared cell as a "preview cell" in its
> metadata
> and then post it to an NBConvert handler that creates a full HTML rendering
> of the notebook, plus a stripped down preview of just the selected cell.
> These get stored in S3 and are used by our main application to create new
> forum posts.  Here's an example of a notebook that we shared today with our
> community:
>
>
> https://www.quantopian.com/posts/research-investing-in-women-led-fortune-1000-companies
>
> Thanks to the IPython/Jupyter team for building an amazing tool upon which
> we can build something like this.  I'm incredibly excited to see how much
> the project has progressed in the short time that I've been working on our
> integration.
>
> -Scott
>
>
>
>
>
>
> --
> View this message in context:
> http://python.6.x6.nabble.com/Launching-Jupyter-Notebook-Sharing-on-Quantopian-tp5085970.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
developer.rackspace.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150211/0ac70c32/attachment.html>

From fperez.net at gmail.com  Wed Feb 11 14:58:27 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Wed, 11 Feb 2015 11:58:27 -0800
Subject: [IPython-dev] Launching Jupyter Notebook Sharing on Quantopian
In-Reply-To: <1423679451758-5085970.post@n6.nabble.com>
References: <1423679451758-5085970.post@n6.nabble.com>
Message-ID: <CAHAreOru3p8ErVFV2vq3dLBcXVWVgUum3TjPdfESmGDV3qiNBg@mail.gmail.com>

This is awesome, Scott! Absolutely thrilled to see this...

As we look at the integration of Fabian's gallery with nbviewer (as per
last week's meeting), we should definitely follow with this kind of tool...

Thanks for sharing this, great job by you and the whole Quantopian team!

Cheers

f

On Wed, Feb 11, 2015 at 10:30 AM, ssanderson <ssanderson at quantopian.com>
wrote:

> Hi All,
>
> At the dev meeting last week we talked a bit about the future of indexing
> and sharing IPython/Jupyter notebooks publicly, and I mentioned that we've
> been working on adding sharing of notebooks to Quantopian's research
> platform alpha.  We launched that system this week, so I thought it might
> be
> helpful to walk through our design as an example of what sharing might look
> like in the main notebook project.  I'm also just super proud of our team
> for building this and want to show off all their hard work :)
>
> The backend is basically just nbconvert plus S3 bucket storage and some
> custom sanitization logic <https://github.com/ipython/ipython/pull/7595>
> to guard against XSS.
>
> The frontend consists of an nbextension that adds a share button to each
> cell on mouseover.
>
> <http://python.6.x6.nabble.com/file/n5085970/14.png>
>
> On hitting the share button we create a window where you can add a title
> and
> description in markdown (the javascript for this is in the same
> nbextension):
>
> <http://python.6.x6.nabble.com/file/n5085970/36.png>
>
> Upon submission, we mark the shared cell as a "preview cell" in its
> metadata
> and then post it to an NBConvert handler that creates a full HTML rendering
> of the notebook, plus a stripped down preview of just the selected cell.
> These get stored in S3 and are used by our main application to create new
> forum posts.  Here's an example of a notebook that we shared today with our
> community:
>
>
> https://www.quantopian.com/posts/research-investing-in-women-led-fortune-1000-companies
>
> Thanks to the IPython/Jupyter team for building an amazing tool upon which
> we can build something like this.  I'm incredibly excited to see how much
> the project has progressed in the short time that I've been working on our
> integration.
>
> -Scott
>
>
>
>
>
>
> --
> View this message in context:
> http://python.6.x6.nabble.com/Launching-Jupyter-Notebook-Sharing-on-Quantopian-tp5085970.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150211/a8743db3/attachment.html>

From anton.akhmerov at gmail.com  Thu Feb 12 11:42:33 2015
From: anton.akhmerov at gmail.com (Anton Akhmerov)
Date: Thu, 12 Feb 2015 17:42:33 +0100
Subject: [IPython-dev] Developing a mooc with IPython (continued)
Message-ID: <CADr1H-8FwC=rCpXXOGuNvjfu8UW-CUoDHZMySEZDJndjNip_TQ@mail.gmail.com>

Hi everyone,

This is a follow-up on a message I wrote some time ago about
developing an edx mooc using IPython notebooks and nbconvert.

The course is now live, and here's the repository with the course
materials and the converter ipython -> edx:
https://github.com/topocm/topocm_content/

The very much boilerplate file that does the conversion is scripts/converter.py.

The converted course is available here: http://tiny.cc/topocm (sorry,
edx only shows content to registered users).

It works out quite nicely, except for some image alignment issues.

Thanks to the IPython team for developing ipython and for advice on
gitter. A separate thanks goes also to Jake Vanderplas for ipywidgets,
an unsupported but a very useful package for creating static widgets.

Best,
Anton Akhmerov


From bussonniermatthias at gmail.com  Thu Feb 12 12:16:48 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 12 Feb 2015 09:16:48 -0800
Subject: [IPython-dev] [jupyter] [ANN] IJavascript v4.1.3 released
In-Reply-To: <a87f6cf7-8be9-4312-b294-20d0fc6ba4a3@googlegroups.com>
References: <a87f6cf7-8be9-4312-b294-20d0fc6ba4a3@googlegroups.com>
Message-ID: <3C042062-C904-43DB-B37F-8020C73A3708@gmail.com>

Hi Nico ! 

Really nice, I'll cc IPython-dev as not everyone is on Jupyter-ml yet, 
and take the time to tell people that this is exactly the kind of reason we had to create 
Jupyter and this mailing list. 

To respond to your question, we try to push people to use the last version of the protocol, 
as with each new version that is released the old one becomes un-maintained. 

That being said, if you respond with v4 message format to v5 query we will automatically 
add a middleware adapter. and with v5 the protocol version should be in the headers. 
Thus if the first request you receive is (kernel-info request IIRC) is v5 then you can assume the all
session will be v5.

Does that make sens ? 

Thanks ! 

-- 
M

Le 12 f?vr. 2015 ? 04:16, N. Riesco <enquiries at nicolasriesco.net> a ?crit :

> Hello Jovyans,
> 
> 
> I would like to announce the last release of IJavascript (a Javascript kernel for IPython/Jupyter).
> 
> It can be installed using npm:
>     npm install ijavascript
> and/or cloned from github:
>     git clone https://github.com/n-riesco/ijavascript
> 
> In this release, I have implemented a new Javascript session server, and now the kernel is not only able to respond with the results of a piece of code, but also stream stdout and stderr. I hope this provides enough functionality to be useful to others.
> 
> I've also documented the code. The documentation generated by JSDoc is located in folder `doc/jsdoc`.
> 
> Help and advice are welcome.
> 
> All the best,
> 
> 
> Nico
> 
> 
> PS: At the moment, IJavascript implements version 4.1 of the IPython protocol. In the future I'd like for IJavascript to implement version 5.0. Is there a way for kernel to determine what protocol versions are understood by a frontend?
> 
> -- 
> 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 at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/a87f6cf7-8be9-4312-b294-20d0fc6ba4a3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150212/b5e09dd4/attachment.html>

From bussonniermatthias at gmail.com  Thu Feb 12 12:46:35 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 12 Feb 2015 09:46:35 -0800
Subject: [IPython-dev] Developing a mooc with IPython (continued)
In-Reply-To: <CADr1H-8FwC=rCpXXOGuNvjfu8UW-CUoDHZMySEZDJndjNip_TQ@mail.gmail.com>
References: <CADr1H-8FwC=rCpXXOGuNvjfu8UW-CUoDHZMySEZDJndjNip_TQ@mail.gmail.com>
Message-ID: <D93D378B-95E7-4235-AA5F-F200B6DFD432@gmail.com>

Thanks Anton,

This looks great !

Did you ever meet, or have you been in contact with Lorena Barba and her group that
make a AeroPython Class [1] ? 

I guess there mitt be some part of infrastructure that you might share.

Cheers,
-- 
M


[1] http://lorenabarba.com/news/announcing-practical-numerical-methods-with-python-mooc/





Le 12 f?vr. 2015 ? 08:42, Anton Akhmerov <anton.akhmerov at gmail.com> a ?crit :

> Hi everyone,
> 
> This is a follow-up on a message I wrote some time ago about
> developing an edx mooc using IPython notebooks and nbconvert.
> 
> The course is now live, and here's the repository with the course
> materials and the converter ipython -> edx:
> https://github.com/topocm/topocm_content/
> 
> The very much boilerplate file that does the conversion is scripts/converter.py.
> 
> The converted course is available here: http://tiny.cc/topocm (sorry,
> edx only shows content to registered users).
> 
> It works out quite nicely, except for some image alignment issues.
> 
> Thanks to the IPython team for developing ipython and for advice on
> gitter. A separate thanks goes also to Jake Vanderplas for ipywidgets,
> an unsupported but a very useful package for creating static widgets.
> 
> Best,
> Anton Akhmerov
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150212/04dad147/attachment.html>

From ian.h.bell at gmail.com  Fri Feb 13 11:06:50 2015
From: ian.h.bell at gmail.com (Ian Bell)
Date: Fri, 13 Feb 2015 09:06:50 -0700
Subject: [IPython-dev] Installation docs out of date
Message-ID: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>

I tried to install ipython+dependencies on a new machine, and it dies when
it tries to install the dependencies:

C:\Users\ihb>pip install ipython[all]
Requirement already satisfied (use --upgrade to upgrade): ipython[all] in
c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
  Exception:
  Traceback (most recent call last):
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
line 232, in main
      status = self.run(options, args)
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
line 339, in run
      requirement_set.prepare_files(finder)
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
line 436, in prepare_files
      req_to_install.extras):
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
line 2504, in requires
      "%s has no such extra feature %r" % (self, ext)
  UnknownExtra: ipython 2.4.1 has no such extra feature 'all'

My python:

Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014, 15:12:11)
[MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/a1c655ff/attachment.html>

From rnelsonchem at gmail.com  Fri Feb 13 11:12:45 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Fri, 13 Feb 2015 11:12:45 -0500
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
Message-ID: <CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>

With Anaconda, you can use `conda` to install these packages.


$ source activate your_env # Not necessary for root environment
$ conda install ipython ipython-notebook ipython-qtconsole

On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com> wrote:

> I tried to install ipython+dependencies on a new machine, and it dies when
> it tries to install the dependencies:
>
> C:\Users\ihb>pip install ipython[all]
> Requirement already satisfied (use --upgrade to upgrade): ipython[all] in
> c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>   Exception:
>   Traceback (most recent call last):
>     File
> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
> line 232, in main
>       status = self.run(options, args)
>     File
> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
> line 339, in run
>       requirement_set.prepare_files(finder)
>     File
> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
> line 436, in prepare_files
>       req_to_install.extras):
>     File
> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
> line 2504, in requires
>       "%s has no such extra feature %r" % (self, ext)
>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>
> My python:
>
> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014, 15:12:11)
> [MSC v.1500 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> Anaconda is brought to you by Continuum Analytics.
> Please check out: http://continuum.io/thanks and https://binstar.org
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/2319fc7a/attachment.html>

From vasco+python at tenner.nl  Fri Feb 13 11:19:50 2015
From: vasco+python at tenner.nl (Vasco)
Date: Fri, 13 Feb 2015 17:19:50 +0100
Subject: [IPython-dev] nbviewer down?
Message-ID: <54DE2426.9050008@tenner.nl>

When I try to visit the nbviewer, I get this message:


Error 503 No healthy backends

No healthy backends
Guru Mediation:

Details: cache-fra1220-FRA 1423844339 3917985856

Varnish cache server


From lev at columbia.edu  Fri Feb 13 11:43:33 2015
From: lev at columbia.edu (Lev Givon)
Date: Fri, 13 Feb 2015 11:43:33 -0500
Subject: [IPython-dev] symbols loaded during startup not displayed by
	%who/%whos
Message-ID: <20150213164333.GN4194@avicenna.ee.columbia.edu>

I have ipython 2.4.1 configured to import several modules during startup via a
Python file in ~/.ipython/profile_default/startup/. Although the imported
modules are immediately accessible when I start an ipython console session, the
imported modules are not displayed when I run the %who or
%whos magics. Is this behavior expected?
-- 
Lev Givon
Bionet Group | Neurokernel Project
http://www.columbia.edu/~lev/
http://lebedov.github.io/
http://neurokernel.github.io/



From john at omernik.com  Fri Feb 13 11:43:36 2015
From: john at omernik.com (John Omernik)
Date: Fri, 13 Feb 2015 10:43:36 -0600
Subject: [IPython-dev] set_next_input() multiple times
Message-ID: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>

I am trying to use set_next_input to add two cells below the cell I am
executing in.  I can do one cell no problem, but when I do the
following code, only Hello2 gets added, there is only a single cell.
How do set two subsequent cells in my currently running notebook (I
don't want to save off and reopen or anything)

Thanks!


myIPython = get_ipython()

cmd = 'Hello1"

myIPython.set_next_input(cmd)

cmd = 'Hello2"

myIPython.set_next_input(cmd)



John


From takowl at gmail.com  Fri Feb 13 12:15:57 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 13 Feb 2015 09:15:57 -0800
Subject: [IPython-dev] nbviewer down?
In-Reply-To: <54DE2426.9050008@tenner.nl>
References: <54DE2426.9050008@tenner.nl>
Message-ID: <CAOvn4qgx_hW7+PNPCCZ5H5E0r753FVK6TkKC1CfeR4SnoWmpRA@mail.gmail.com>

It seems to be working for me now - do you still see a problem?

On 13 February 2015 at 08:19, Vasco <vasco+python at tenner.nl> wrote:

> When I try to visit the nbviewer, I get this message:
>
>
> Error 503 No healthy backends
>
> No healthy backends
> Guru Mediation:
>
> Details: cache-fra1220-FRA 1423844339 3917985856
>
> Varnish cache server
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/fa622d53/attachment.html>

From takowl at gmail.com  Fri Feb 13 12:25:51 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 13 Feb 2015 09:25:51 -0800
Subject: [IPython-dev] symbols loaded during startup not displayed by
	%who/%whos
In-Reply-To: <20150213164333.GN4194@avicenna.ee.columbia.edu>
References: <20150213164333.GN4194@avicenna.ee.columbia.edu>
Message-ID: <CAOvn4qhR=DrzCOassRkPXsd1q51rU8HPGUUMFbiRqoJ+zLkcpg@mail.gmail.com>

On 13 February 2015 at 08:43, Lev Givon <lev at columbia.edu> wrote:

> the
> imported modules are not displayed when I run the %who or
> %whos magics. Is this behavior expected?
>

Yes, I think so. The idea is that you can pre-fill the namespace with a lot
of things automatically (as e.g. pylab mode does), and it will only show
you things that you have actually defined yourself in the shell. There are
also some IPython features exposed in the namespace (like Out) which are
hidden from %who.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/204ca958/attachment.html>

From takowl at gmail.com  Fri Feb 13 12:30:45 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 13 Feb 2015 09:30:45 -0800
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
Message-ID: <CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>

Hi John,

On 13 February 2015 at 08:43, John Omernik <john at omernik.com> wrote:

> I am trying to use set_next_input to add two cells below the cell I am
> executing in.  I can do one cell no problem, but when I do the
> following code, only Hello2 gets added, there is only a single cell.
> How do set two subsequent cells in my currently running notebook (I
> don't want to save off and reopen or anything)
>

set_next_input() originated with the console interface, where it doesn't
really make sense to set anything beyond the next input. So it can
currently add only one cell per user execution.

If you really need your code to modify the notebook document, you can have
it display javascript to do so - but be careful that that JS doesn't get
rerun every time you open the notebook.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/b8872101/attachment.html>

From takowl at gmail.com  Fri Feb 13 12:54:51 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 13 Feb 2015 09:54:51 -0800
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
Message-ID: <CAOvn4qgehyDm2E9LycSDfrY3CUU4qUBA8XodiP8UGOwYCEAnjA@mail.gmail.com>

On 13 February 2015 at 08:06, Ian Bell <ian.h.bell at gmail.com> wrote:

> UnknownExtra: ipython 2.4.1 has no such extra feature 'all'


I can't reproduce this locally in a conda env or a virtualenv.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/46cb0303/attachment.html>

From benjaminrk at gmail.com  Fri Feb 13 12:57:51 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 13 Feb 2015 09:57:51 -0800
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAOvn4qgehyDm2E9LycSDfrY3CUU4qUBA8XodiP8UGOwYCEAnjA@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAOvn4qgehyDm2E9LycSDfrY3CUU4qUBA8XodiP8UGOwYCEAnjA@mail.gmail.com>
Message-ID: <CAHNn8BUnpD4A7LBM=WDXYVhFLf5mpfLtjt9MBdSqBDK32Ak+tA@mail.gmail.com>

Can you try

pip install --upgrade ipython[all]

If IPython is installed without setuptools (likely for the conda package),
then pip install ipython[all] doesn?t make sense after the fact.

-MinRK
?

On Fri, Feb 13, 2015 at 9:54 AM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 13 February 2015 at 08:06, Ian Bell <ian.h.bell at gmail.com> wrote:
>
>> UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>
>
> I can't reproduce this locally in a conda env or a virtualenv.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/285ae30e/attachment.html>

From ian.h.bell at gmail.com  Fri Feb 13 13:15:00 2015
From: ian.h.bell at gmail.com (Ian Bell)
Date: Fri, 13 Feb 2015 11:15:00 -0700
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAHNn8BUnpD4A7LBM=WDXYVhFLf5mpfLtjt9MBdSqBDK32Ak+tA@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAOvn4qgehyDm2E9LycSDfrY3CUU4qUBA8XodiP8UGOwYCEAnjA@mail.gmail.com>
	<CAHNn8BUnpD4A7LBM=WDXYVhFLf5mpfLtjt9MBdSqBDK32Ak+tA@mail.gmail.com>
Message-ID: <CAJQnXJe575DFjYiATsWOH9+Nrv60K=tQ3tD993GOPUJt_aUPCA@mail.gmail.com>

I do use conda, but the docs should be compatible with conda usage

C:\Users\ihb>pip install --upgrade ipython[all]
Requirement already up-to-date: ipython[all] in
c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
  Exception:
  Traceback (most recent call last):
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
line 232, in main
      status = self.run(options, args)
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
line 339, in run
      requirement_set.prepare_files(finder)
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
line 436, in prepare_files
      req_to_install.extras):
    File
"C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
line 2504, in requires
      "%s has no such extra feature %r" % (self, ext)
  UnknownExtra: ipython 2.4.1 has no such extra feature 'all'

I used pip to manually install the required packages for the notebook.

On Fri, Feb 13, 2015 at 10:57 AM, MinRK <benjaminrk at gmail.com> wrote:

> Can you try
>
> pip install --upgrade ipython[all]
>
> If IPython is installed without setuptools (likely for the conda package),
> then pip install ipython[all] doesn?t make sense after the fact.
>
> -MinRK
> ?
>
> On Fri, Feb 13, 2015 at 9:54 AM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> On 13 February 2015 at 08:06, Ian Bell <ian.h.bell at gmail.com> wrote:
>>
>>> UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>
>>
>> I can't reproduce this locally in a conda env or a virtualenv.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/c5692713/attachment.html>

From ian.h.bell at gmail.com  Fri Feb 13 13:16:38 2015
From: ian.h.bell at gmail.com (Ian Bell)
Date: Fri, 13 Feb 2015 11:16:38 -0700
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
Message-ID: <CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>

On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com> wrote:

> With Anaconda, you can use `conda` to install these packages.
>
>
> $ source activate your_env # Not necessary for root environment
> $ conda install ipython ipython-notebook ipython-qtconsole
>

Exactly this should be on the website.  Its not obvious what conda package
is required to get full notebook support.  The

conda update ipython

command doesn't do it.


>
> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com> wrote:
>
>> I tried to install ipython+dependencies on a new machine, and it dies
>> when it tries to install the dependencies:
>>
>> C:\Users\ihb>pip install ipython[all]
>> Requirement already satisfied (use --upgrade to upgrade): ipython[all] in
>> c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>   Exception:
>>   Traceback (most recent call last):
>>     File
>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>> line 232, in main
>>       status = self.run(options, args)
>>     File
>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>> line 339, in run
>>       requirement_set.prepare_files(finder)
>>     File
>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>> line 436, in prepare_files
>>       req_to_install.extras):
>>     File
>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>> line 2504, in requires
>>       "%s has no such extra feature %r" % (self, ext)
>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>
>> My python:
>>
>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014, 15:12:11)
>> [MSC v.1500 64 bit (AMD64)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> Anaconda is brought to you by Continuum Analytics.
>> Please check out: http://continuum.io/thanks and https://binstar.org
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/b35d4d2b/attachment.html>

From rnelsonchem at gmail.com  Fri Feb 13 13:59:43 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Fri, 13 Feb 2015 13:59:43 -0500
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
Message-ID: <CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>

Yeah. The docs (http://ipython.org/install.html) should probably mention
this if they are going to reference conda specifically. However, it is a
conda-specific issue, so it might be more appropriate to point users to the
continuum documentation instead. Especially, given that the IPython docs
suggest installing the full Anaconda package (which has notebook) and do
not mention Miniconda, which it looks like you are using. You can search
the conda package repository pretty easily:
http://conda.pydata.org/docs/examples/search.html
But I agree that this it is not well documented.

I have miniconda on a Linux distro, and fresh environments don't install
pip. This caused some problems for me at first because it was using the
system pip, which was no good. Do you have another Python install on your
computer? You could do a `conda install pip` and make sure you have the
Continuum version.

Just out of curiosity, why would use want to use pip at all? It might be
safer to install things using conda exclusively. You might run into
problems with pip when you are trying to install modules that require
compiled components such as Qt4/5. For example, the command `conda install
ipython ipython-notebook ipython-qtconsole` will install ipython and all
the dependencies, including a precompiled version of the Qt libraries. I
don't think a `pip install pyqt4` will do that. (?)  See here for more:
http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
However, the answer here is a little misleading because the conda-installed
pip will install packages that are conda-aware. That is, I've installed
packages with the conda version of pip, and `conda list` will show these
packages as being installed.

On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com> wrote:

>
>
> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
> wrote:
>
>> With Anaconda, you can use `conda` to install these packages.
>>
>>
>> $ source activate your_env # Not necessary for root environment
>> $ conda install ipython ipython-notebook ipython-qtconsole
>>
>
> Exactly this should be on the website.  Its not obvious what conda package
> is required to get full notebook support.  The
>
> conda update ipython
>
> command doesn't do it.
>
>
>>
>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>
>>> I tried to install ipython+dependencies on a new machine, and it dies
>>> when it tries to install the dependencies:
>>>
>>> C:\Users\ihb>pip install ipython[all]
>>> Requirement already satisfied (use --upgrade to upgrade): ipython[all]
>>> in c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>   Exception:
>>>   Traceback (most recent call last):
>>>     File
>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>> line 232, in main
>>>       status = self.run(options, args)
>>>     File
>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>> line 339, in run
>>>       requirement_set.prepare_files(finder)
>>>     File
>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>> line 436, in prepare_files
>>>       req_to_install.extras):
>>>     File
>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>> line 2504, in requires
>>>       "%s has no such extra feature %r" % (self, ext)
>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>
>>> My python:
>>>
>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> Anaconda is brought to you by Continuum Analytics.
>>> Please check out: http://continuum.io/thanks and https://binstar.org
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/81c65b00/attachment.html>

From benjaminrk at gmail.com  Fri Feb 13 14:12:34 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 13 Feb 2015 11:12:34 -0800
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
	<CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
Message-ID: <CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>

Yeah, we can probably add some clarifications.

I think it's a huge mistake that conda allows installing Python without
pip. This really shouldn't be allowed.

-MinRK

On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com> wrote:

> Yeah. The docs (http://ipython.org/install.html) should probably mention
> this if they are going to reference conda specifically. However, it is a
> conda-specific issue, so it might be more appropriate to point users to the
> continuum documentation instead. Especially, given that the IPython docs
> suggest installing the full Anaconda package (which has notebook) and do
> not mention Miniconda, which it looks like you are using. You can search
> the conda package repository pretty easily:
> http://conda.pydata.org/docs/examples/search.html
> But I agree that this it is not well documented.
>
> I have miniconda on a Linux distro, and fresh environments don't install
> pip. This caused some problems for me at first because it was using the
> system pip, which was no good. Do you have another Python install on your
> computer? You could do a `conda install pip` and make sure you have the
> Continuum version.
>
> Just out of curiosity, why would use want to use pip at all? It might be
> safer to install things using conda exclusively. You might run into
> problems with pip when you are trying to install modules that require
> compiled components such as Qt4/5. For example, the command `conda install
> ipython ipython-notebook ipython-qtconsole` will install ipython and all
> the dependencies, including a precompiled version of the Qt libraries. I
> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>
> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
> However, the answer here is a little misleading because the
> conda-installed pip will install packages that are conda-aware. That is,
> I've installed packages with the conda version of pip, and `conda list`
> will show these packages as being installed.
>
> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>
>>
>>
>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>> wrote:
>>
>>> With Anaconda, you can use `conda` to install these packages.
>>>
>>>
>>> $ source activate your_env # Not necessary for root environment
>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>
>>
>> Exactly this should be on the website.  Its not obvious what conda
>> package is required to get full notebook support.  The
>>
>> conda update ipython
>>
>> command doesn't do it.
>>
>>
>>>
>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>>
>>>> I tried to install ipython+dependencies on a new machine, and it dies
>>>> when it tries to install the dependencies:
>>>>
>>>> C:\Users\ihb>pip install ipython[all]
>>>> Requirement already satisfied (use --upgrade to upgrade): ipython[all]
>>>> in c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>   Exception:
>>>>   Traceback (most recent call last):
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>> line 232, in main
>>>>       status = self.run(options, args)
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>> line 339, in run
>>>>       requirement_set.prepare_files(finder)
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>> line 436, in prepare_files
>>>>       req_to_install.extras):
>>>>     File
>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>> line 2504, in requires
>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>
>>>> My python:
>>>>
>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>> Anaconda is brought to you by Continuum Analytics.
>>>> Please check out: http://continuum.io/thanks and https://binstar.org
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/4dfe760f/attachment.html>

From rnelsonchem at gmail.com  Fri Feb 13 14:50:44 2015
From: rnelsonchem at gmail.com (Ryan Nelson)
Date: Fri, 13 Feb 2015 14:50:44 -0500
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
	<CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
	<CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>
Message-ID: <CAFbt6dfWui1kmvX8GwTMOOAnLhAJH8z8U8AoQ27CHNxMD7+YDg@mail.gmail.com>

Min,

I just posted a little note about the pip issue on the Anaconda mailing
list. We'll see what they say about including it by default.
Hopefully, this solves Ian's problem.

Ryan

On Fri, Feb 13, 2015 at 2:12 PM, MinRK <benjaminrk at gmail.com> wrote:

> Yeah, we can probably add some clarifications.
>
> I think it's a huge mistake that conda allows installing Python without
> pip. This really shouldn't be allowed.
>
> -MinRK
>
> On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com>
> wrote:
>
>> Yeah. The docs (http://ipython.org/install.html) should probably mention
>> this if they are going to reference conda specifically. However, it is a
>> conda-specific issue, so it might be more appropriate to point users to the
>> continuum documentation instead. Especially, given that the IPython docs
>> suggest installing the full Anaconda package (which has notebook) and do
>> not mention Miniconda, which it looks like you are using. You can search
>> the conda package repository pretty easily:
>> http://conda.pydata.org/docs/examples/search.html
>> But I agree that this it is not well documented.
>>
>> I have miniconda on a Linux distro, and fresh environments don't install
>> pip. This caused some problems for me at first because it was using the
>> system pip, which was no good. Do you have another Python install on your
>> computer? You could do a `conda install pip` and make sure you have the
>> Continuum version.
>>
>> Just out of curiosity, why would use want to use pip at all? It might be
>> safer to install things using conda exclusively. You might run into
>> problems with pip when you are trying to install modules that require
>> compiled components such as Qt4/5. For example, the command `conda install
>> ipython ipython-notebook ipython-qtconsole` will install ipython and all
>> the dependencies, including a precompiled version of the Qt libraries. I
>> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>>
>> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
>> However, the answer here is a little misleading because the
>> conda-installed pip will install packages that are conda-aware. That is,
>> I've installed packages with the conda version of pip, and `conda list`
>> will show these packages as being installed.
>>
>> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>
>>>
>>>
>>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>> wrote:
>>>
>>>> With Anaconda, you can use `conda` to install these packages.
>>>>
>>>>
>>>> $ source activate your_env # Not necessary for root environment
>>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>>
>>>
>>> Exactly this should be on the website.  Its not obvious what conda
>>> package is required to get full notebook support.  The
>>>
>>> conda update ipython
>>>
>>> command doesn't do it.
>>>
>>>
>>>>
>>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com>
>>>> wrote:
>>>>
>>>>> I tried to install ipython+dependencies on a new machine, and it dies
>>>>> when it tries to install the dependencies:
>>>>>
>>>>> C:\Users\ihb>pip install ipython[all]
>>>>> Requirement already satisfied (use --upgrade to upgrade): ipython[all]
>>>>> in c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>>   Exception:
>>>>>   Traceback (most recent call last):
>>>>>     File
>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>>> line 232, in main
>>>>>       status = self.run(options, args)
>>>>>     File
>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>>> line 339, in run
>>>>>       requirement_set.prepare_files(finder)
>>>>>     File
>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>>> line 436, in prepare_files
>>>>>       req_to_install.extras):
>>>>>     File
>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>>> line 2504, in requires
>>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>>
>>>>> My python:
>>>>>
>>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> Anaconda is brought to you by Continuum Analytics.
>>>>> Please check out: http://continuum.io/thanks and https://binstar.org
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/91ece549/attachment.html>

From john at omernik.com  Fri Feb 13 15:22:20 2015
From: john at omernik.com (John Omernik)
Date: Fri, 13 Feb 2015 14:22:20 -0600
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
Message-ID: <CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>

So there is not a way to programmatically add a couple of cells in
iPython Notebook?

On Fri, Feb 13, 2015 at 11:30 AM, Thomas Kluyver <takowl at gmail.com> wrote:
> Hi John,
>
> On 13 February 2015 at 08:43, John Omernik <john at omernik.com> wrote:
>>
>> I am trying to use set_next_input to add two cells below the cell I am
>> executing in.  I can do one cell no problem, but when I do the
>> following code, only Hello2 gets added, there is only a single cell.
>> How do set two subsequent cells in my currently running notebook (I
>> don't want to save off and reopen or anything)
>
>
> set_next_input() originated with the console interface, where it doesn't
> really make sense to set anything beyond the next input. So it can currently
> add only one cell per user execution.
>
> If you really need your code to modify the notebook document, you can have
> it display javascript to do so - but be careful that that JS doesn't get
> rerun every time you open the notebook.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From ian.h.bell at gmail.com  Fri Feb 13 16:47:16 2015
From: ian.h.bell at gmail.com (Ian Bell)
Date: Fri, 13 Feb 2015 14:47:16 -0700
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAFbt6dfWui1kmvX8GwTMOOAnLhAJH8z8U8AoQ27CHNxMD7+YDg@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
	<CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
	<CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>
	<CAFbt6dfWui1kmvX8GwTMOOAnLhAJH8z8U8AoQ27CHNxMD7+YDg@mail.gmail.com>
Message-ID: <CAJQnXJfWaOeEdawgL=6vi8hfi_hm0NjWitWg15pGtoiEbUQy+A@mail.gmail.com>

Sometimes you have no choice but to fall back to pip when conda chokes on a
package that it doesn't understand.  So I have a hodgepodge of
pip-installed and conda-installed packages on my machine, and until conda
fully supports pip, it looks like it is going to stay that way.

I'm fine not using pip and using conda, but the conda docs should tell you
how to get everything up and running easily with ipython.  Adding the line
described in this thread would probably do it.

Ian

On Fri, Feb 13, 2015 at 12:50 PM, Ryan Nelson <rnelsonchem at gmail.com> wrote:

> Min,
>
> I just posted a little note about the pip issue on the Anaconda mailing
> list. We'll see what they say about including it by default.
> Hopefully, this solves Ian's problem.
>
> Ryan
>
> On Fri, Feb 13, 2015 at 2:12 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>> Yeah, we can probably add some clarifications.
>>
>> I think it's a huge mistake that conda allows installing Python without
>> pip. This really shouldn't be allowed.
>>
>> -MinRK
>>
>> On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com>
>> wrote:
>>
>>> Yeah. The docs (http://ipython.org/install.html) should probably
>>> mention this if they are going to reference conda specifically. However, it
>>> is a conda-specific issue, so it might be more appropriate to point users
>>> to the continuum documentation instead. Especially, given that the IPython
>>> docs suggest installing the full Anaconda package (which has notebook) and
>>> do not mention Miniconda, which it looks like you are using. You can search
>>> the conda package repository pretty easily:
>>> http://conda.pydata.org/docs/examples/search.html
>>> But I agree that this it is not well documented.
>>>
>>> I have miniconda on a Linux distro, and fresh environments don't install
>>> pip. This caused some problems for me at first because it was using the
>>> system pip, which was no good. Do you have another Python install on your
>>> computer? You could do a `conda install pip` and make sure you have the
>>> Continuum version.
>>>
>>> Just out of curiosity, why would use want to use pip at all? It might be
>>> safer to install things using conda exclusively. You might run into
>>> problems with pip when you are trying to install modules that require
>>> compiled components such as Qt4/5. For example, the command `conda install
>>> ipython ipython-notebook ipython-qtconsole` will install ipython and all
>>> the dependencies, including a precompiled version of the Qt libraries. I
>>> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>>>
>>> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
>>> However, the answer here is a little misleading because the
>>> conda-installed pip will install packages that are conda-aware. That is,
>>> I've installed packages with the conda version of pip, and `conda list`
>>> will show these packages as being installed.
>>>
>>> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>>> wrote:
>>>>
>>>>> With Anaconda, you can use `conda` to install these packages.
>>>>>
>>>>>
>>>>> $ source activate your_env # Not necessary for root environment
>>>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>>>
>>>>
>>>> Exactly this should be on the website.  Its not obvious what conda
>>>> package is required to get full notebook support.  The
>>>>
>>>> conda update ipython
>>>>
>>>> command doesn't do it.
>>>>
>>>>
>>>>>
>>>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I tried to install ipython+dependencies on a new machine, and it dies
>>>>>> when it tries to install the dependencies:
>>>>>>
>>>>>> C:\Users\ihb>pip install ipython[all]
>>>>>> Requirement already satisfied (use --upgrade to upgrade):
>>>>>> ipython[all] in
>>>>>> c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>>>   Exception:
>>>>>>   Traceback (most recent call last):
>>>>>>     File
>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>>>> line 232, in main
>>>>>>       status = self.run(options, args)
>>>>>>     File
>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>>>> line 339, in run
>>>>>>       requirement_set.prepare_files(finder)
>>>>>>     File
>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>>>> line 436, in prepare_files
>>>>>>       req_to_install.extras):
>>>>>>     File
>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>>>> line 2504, in requires
>>>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>>>
>>>>>> My python:
>>>>>>
>>>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>>> Anaconda is brought to you by Continuum Analytics.
>>>>>> Please check out: http://continuum.io/thanks and https://binstar.org
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/fb2b7ea6/attachment.html>

From ian.h.bell at gmail.com  Fri Feb 13 16:52:15 2015
From: ian.h.bell at gmail.com (Ian Bell)
Date: Fri, 13 Feb 2015 14:52:15 -0700
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAJQnXJfWaOeEdawgL=6vi8hfi_hm0NjWitWg15pGtoiEbUQy+A@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
	<CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
	<CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>
	<CAFbt6dfWui1kmvX8GwTMOOAnLhAJH8z8U8AoQ27CHNxMD7+YDg@mail.gmail.com>
	<CAJQnXJfWaOeEdawgL=6vi8hfi_hm0NjWitWg15pGtoiEbUQy+A@mail.gmail.com>
Message-ID: <CAJQnXJc5k-_38=ko4zoSm8r1UZ903Bh4Q_D9R=z_9mVisP+E_A@mail.gmail.com>

I'm trying to put together a PR for this, but I can't find the right source
file to edit, its not this one:
https://github.com/ipython/ipython/blob/master/docs/source/install/install.rst

I want to edit this file: http://ipython.org/install.html

On Fri, Feb 13, 2015 at 2:47 PM, Ian Bell <ian.h.bell at gmail.com> wrote:

> Sometimes you have no choice but to fall back to pip when conda chokes on
> a package that it doesn't understand.  So I have a hodgepodge of
> pip-installed and conda-installed packages on my machine, and until conda
> fully supports pip, it looks like it is going to stay that way.
>
> I'm fine not using pip and using conda, but the conda docs should tell you
> how to get everything up and running easily with ipython.  Adding the line
> described in this thread would probably do it.
>
> Ian
>
>
> On Fri, Feb 13, 2015 at 12:50 PM, Ryan Nelson <rnelsonchem at gmail.com>
> wrote:
>
>> Min,
>>
>> I just posted a little note about the pip issue on the Anaconda mailing
>> list. We'll see what they say about including it by default.
>> Hopefully, this solves Ian's problem.
>>
>> Ryan
>>
>> On Fri, Feb 13, 2015 at 2:12 PM, MinRK <benjaminrk at gmail.com> wrote:
>>
>>> Yeah, we can probably add some clarifications.
>>>
>>> I think it's a huge mistake that conda allows installing Python without
>>> pip. This really shouldn't be allowed.
>>>
>>> -MinRK
>>>
>>> On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>> wrote:
>>>
>>>> Yeah. The docs (http://ipython.org/install.html) should probably
>>>> mention this if they are going to reference conda specifically. However, it
>>>> is a conda-specific issue, so it might be more appropriate to point users
>>>> to the continuum documentation instead. Especially, given that the IPython
>>>> docs suggest installing the full Anaconda package (which has notebook) and
>>>> do not mention Miniconda, which it looks like you are using. You can search
>>>> the conda package repository pretty easily:
>>>> http://conda.pydata.org/docs/examples/search.html
>>>> But I agree that this it is not well documented.
>>>>
>>>> I have miniconda on a Linux distro, and fresh environments don't
>>>> install pip. This caused some problems for me at first because it was using
>>>> the system pip, which was no good. Do you have another Python install on
>>>> your computer? You could do a `conda install pip` and make sure you have
>>>> the Continuum version.
>>>>
>>>> Just out of curiosity, why would use want to use pip at all? It might
>>>> be safer to install things using conda exclusively. You might run into
>>>> problems with pip when you are trying to install modules that require
>>>> compiled components such as Qt4/5. For example, the command `conda install
>>>> ipython ipython-notebook ipython-qtconsole` will install ipython and all
>>>> the dependencies, including a precompiled version of the Qt libraries. I
>>>> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>>>>
>>>> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
>>>> However, the answer here is a little misleading because the
>>>> conda-installed pip will install packages that are conda-aware. That is,
>>>> I've installed packages with the conda version of pip, and `conda list`
>>>> will show these packages as being installed.
>>>>
>>>> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> With Anaconda, you can use `conda` to install these packages.
>>>>>>
>>>>>>
>>>>>> $ source activate your_env # Not necessary for root environment
>>>>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>>>>
>>>>>
>>>>> Exactly this should be on the website.  Its not obvious what conda
>>>>> package is required to get full notebook support.  The
>>>>>
>>>>> conda update ipython
>>>>>
>>>>> command doesn't do it.
>>>>>
>>>>>
>>>>>>
>>>>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> I tried to install ipython+dependencies on a new machine, and it
>>>>>>> dies when it tries to install the dependencies:
>>>>>>>
>>>>>>> C:\Users\ihb>pip install ipython[all]
>>>>>>> Requirement already satisfied (use --upgrade to upgrade):
>>>>>>> ipython[all] in
>>>>>>> c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>>>>   Exception:
>>>>>>>   Traceback (most recent call last):
>>>>>>>     File
>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>>>>> line 232, in main
>>>>>>>       status = self.run(options, args)
>>>>>>>     File
>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>>>>> line 339, in run
>>>>>>>       requirement_set.prepare_files(finder)
>>>>>>>     File
>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>>>>> line 436, in prepare_files
>>>>>>>       req_to_install.extras):
>>>>>>>     File
>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>>>>> line 2504, in requires
>>>>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>>>>
>>>>>>> My python:
>>>>>>>
>>>>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>>>>> Type "help", "copyright", "credits" or "license" for more
>>>>>>> information.
>>>>>>> Anaconda is brought to you by Continuum Analytics.
>>>>>>> Please check out: http://continuum.io/thanks and https://binstar.org
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> IPython-dev mailing list
>>>>>>> IPython-dev at scipy.org
>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/05e14e3c/attachment.html>

From ellisonbg at gmail.com  Fri Feb 13 16:59:54 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Fri, 13 Feb 2015 13:59:54 -0800
Subject: [IPython-dev] Launching Jupyter Notebook Sharing on Quantopian
In-Reply-To: <CAHAreOru3p8ErVFV2vq3dLBcXVWVgUum3TjPdfESmGDV3qiNBg@mail.gmail.com>
References: <1423679451758-5085970.post@n6.nabble.com>
	<CAHAreOru3p8ErVFV2vq3dLBcXVWVgUum3TjPdfESmGDV3qiNBg@mail.gmail.com>
Message-ID: <CAH4pYpQ9nGsjfA9aP1rPLHr45CCK0ta2RacOeTEx6Lf0_sXSdw@mail.gmail.com>

SO awesome!

On Wed, Feb 11, 2015 at 11:58 AM, Fernando Perez <fperez.net at gmail.com>
wrote:

> This is awesome, Scott! Absolutely thrilled to see this...
>
> As we look at the integration of Fabian's gallery with nbviewer (as per
> last week's meeting), we should definitely follow with this kind of tool...
>
> Thanks for sharing this, great job by you and the whole Quantopian team!
>
> Cheers
>
> f
>
> On Wed, Feb 11, 2015 at 10:30 AM, ssanderson <ssanderson at quantopian.com>
> wrote:
>
>> Hi All,
>>
>> At the dev meeting last week we talked a bit about the future of indexing
>> and sharing IPython/Jupyter notebooks publicly, and I mentioned that we've
>> been working on adding sharing of notebooks to Quantopian's research
>> platform alpha.  We launched that system this week, so I thought it might
>> be
>> helpful to walk through our design as an example of what sharing might
>> look
>> like in the main notebook project.  I'm also just super proud of our team
>> for building this and want to show off all their hard work :)
>>
>> The backend is basically just nbconvert plus S3 bucket storage and some
>> custom sanitization logic <https://github.com/ipython/ipython/pull/7595>
>> to guard against XSS.
>>
>> The frontend consists of an nbextension that adds a share button to each
>> cell on mouseover.
>>
>> <http://python.6.x6.nabble.com/file/n5085970/14.png>
>>
>> On hitting the share button we create a window where you can add a title
>> and
>> description in markdown (the javascript for this is in the same
>> nbextension):
>>
>> <http://python.6.x6.nabble.com/file/n5085970/36.png>
>>
>> Upon submission, we mark the shared cell as a "preview cell" in its
>> metadata
>> and then post it to an NBConvert handler that creates a full HTML
>> rendering
>> of the notebook, plus a stripped down preview of just the selected cell.
>> These get stored in S3 and are used by our main application to create new
>> forum posts.  Here's an example of a notebook that we shared today with
>> our
>> community:
>>
>>
>> https://www.quantopian.com/posts/research-investing-in-women-led-fortune-1000-companies
>>
>> Thanks to the IPython/Jupyter team for building an amazing tool upon which
>> we can build something like this.  I'm incredibly excited to see how much
>> the project has progressed in the short time that I've been working on our
>> integration.
>>
>> -Scott
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://python.6.x6.nabble.com/Launching-Jupyter-Notebook-Sharing-on-Quantopian-tp5085970.html
>> Sent from the IPython - Development mailing list archive at Nabble.com.
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
>
> --
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/f87b1b55/attachment.html>

From benjaminrk at gmail.com  Fri Feb 13 17:12:44 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 13 Feb 2015 14:12:44 -0800
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAJQnXJc5k-_38=ko4zoSm8r1UZ903Bh4Q_D9R=z_9mVisP+E_A@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
	<CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
	<CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>
	<CAFbt6dfWui1kmvX8GwTMOOAnLhAJH8z8U8AoQ27CHNxMD7+YDg@mail.gmail.com>
	<CAJQnXJfWaOeEdawgL=6vi8hfi_hm0NjWitWg15pGtoiEbUQy+A@mail.gmail.com>
	<CAJQnXJc5k-_38=ko4zoSm8r1UZ903Bh4Q_D9R=z_9mVisP+E_A@mail.gmail.com>
Message-ID: <CAHNn8BW9tihd3=VW=uhd3ukWRG2NZbiFeUqaMNOtMOTOmQ_pOg@mail.gmail.com>

Thanks! That's a different repo: https://github.com/ipython/ipython-website


On Fri, Feb 13, 2015 at 1:52 PM, Ian Bell <ian.h.bell at gmail.com> wrote:

> I'm trying to put together a PR for this, but I can't find the right
> source file to edit, its not this one:
> https://github.com/ipython/ipython/blob/master/docs/source/install/install.rst
>
> I want to edit this file: http://ipython.org/install.html
>
> On Fri, Feb 13, 2015 at 2:47 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>
>> Sometimes you have no choice but to fall back to pip when conda chokes on
>> a package that it doesn't understand.  So I have a hodgepodge of
>> pip-installed and conda-installed packages on my machine, and until conda
>> fully supports pip, it looks like it is going to stay that way.
>>
>> I'm fine not using pip and using conda, but the conda docs should tell
>> you how to get everything up and running easily with ipython.  Adding the
>> line described in this thread would probably do it.
>>
>> Ian
>>
>>
>> On Fri, Feb 13, 2015 at 12:50 PM, Ryan Nelson <rnelsonchem at gmail.com>
>> wrote:
>>
>>> Min,
>>>
>>> I just posted a little note about the pip issue on the Anaconda mailing
>>> list. We'll see what they say about including it by default.
>>> Hopefully, this solves Ian's problem.
>>>
>>> Ryan
>>>
>>> On Fri, Feb 13, 2015 at 2:12 PM, MinRK <benjaminrk at gmail.com> wrote:
>>>
>>>> Yeah, we can probably add some clarifications.
>>>>
>>>> I think it's a huge mistake that conda allows installing Python without
>>>> pip. This really shouldn't be allowed.
>>>>
>>>> -MinRK
>>>>
>>>> On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>>> wrote:
>>>>
>>>>> Yeah. The docs (http://ipython.org/install.html) should probably
>>>>> mention this if they are going to reference conda specifically. However, it
>>>>> is a conda-specific issue, so it might be more appropriate to point users
>>>>> to the continuum documentation instead. Especially, given that the IPython
>>>>> docs suggest installing the full Anaconda package (which has notebook) and
>>>>> do not mention Miniconda, which it looks like you are using. You can search
>>>>> the conda package repository pretty easily:
>>>>> http://conda.pydata.org/docs/examples/search.html
>>>>> But I agree that this it is not well documented.
>>>>>
>>>>> I have miniconda on a Linux distro, and fresh environments don't
>>>>> install pip. This caused some problems for me at first because it was using
>>>>> the system pip, which was no good. Do you have another Python install on
>>>>> your computer? You could do a `conda install pip` and make sure you have
>>>>> the Continuum version.
>>>>>
>>>>> Just out of curiosity, why would use want to use pip at all? It might
>>>>> be safer to install things using conda exclusively. You might run into
>>>>> problems with pip when you are trying to install modules that require
>>>>> compiled components such as Qt4/5. For example, the command `conda install
>>>>> ipython ipython-notebook ipython-qtconsole` will install ipython and all
>>>>> the dependencies, including a precompiled version of the Qt libraries. I
>>>>> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>>>>>
>>>>> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
>>>>> However, the answer here is a little misleading because the
>>>>> conda-installed pip will install packages that are conda-aware. That is,
>>>>> I've installed packages with the conda version of pip, and `conda list`
>>>>> will show these packages as being installed.
>>>>>
>>>>> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> With Anaconda, you can use `conda` to install these packages.
>>>>>>>
>>>>>>>
>>>>>>> $ source activate your_env # Not necessary for root environment
>>>>>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>>>>>
>>>>>>
>>>>>> Exactly this should be on the website.  Its not obvious what conda
>>>>>> package is required to get full notebook support.  The
>>>>>>
>>>>>> conda update ipython
>>>>>>
>>>>>> command doesn't do it.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I tried to install ipython+dependencies on a new machine, and it
>>>>>>>> dies when it tries to install the dependencies:
>>>>>>>>
>>>>>>>> C:\Users\ihb>pip install ipython[all]
>>>>>>>> Requirement already satisfied (use --upgrade to upgrade):
>>>>>>>> ipython[all] in
>>>>>>>> c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>>>>>   Exception:
>>>>>>>>   Traceback (most recent call last):
>>>>>>>>     File
>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>>>>>> line 232, in main
>>>>>>>>       status = self.run(options, args)
>>>>>>>>     File
>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>>>>>> line 339, in run
>>>>>>>>       requirement_set.prepare_files(finder)
>>>>>>>>     File
>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>>>>>> line 436, in prepare_files
>>>>>>>>       req_to_install.extras):
>>>>>>>>     File
>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>>>>>> line 2504, in requires
>>>>>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>>>>>
>>>>>>>> My python:
>>>>>>>>
>>>>>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>>>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>>>>>> Type "help", "copyright", "credits" or "license" for more
>>>>>>>> information.
>>>>>>>> Anaconda is brought to you by Continuum Analytics.
>>>>>>>> Please check out: http://continuum.io/thanks and
>>>>>>>> https://binstar.org
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> IPython-dev mailing list
>>>>>>>> IPython-dev at scipy.org
>>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> IPython-dev mailing list
>>>>>>> IPython-dev at scipy.org
>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/84e7bb0a/attachment.html>

From ian.h.bell at gmail.com  Fri Feb 13 17:25:19 2015
From: ian.h.bell at gmail.com (Ian Bell)
Date: Fri, 13 Feb 2015 15:25:19 -0700
Subject: [IPython-dev] Installation docs out of date
In-Reply-To: <CAHNn8BW9tihd3=VW=uhd3ukWRG2NZbiFeUqaMNOtMOTOmQ_pOg@mail.gmail.com>
References: <CAJQnXJeX0BDMcYE4h5uxA1yK4=XgpgMsbGLUKwxD4EOsY3ccuQ@mail.gmail.com>
	<CAFbt6deBeTieoRJFnAsTFOypVVcv3XGzEnkFxhoNkQUvv3Hxbg@mail.gmail.com>
	<CAJQnXJfOr1PF7wLwEn-JzR1WN6SRehd8CQ4ObMFJ+mx=eFE3ng@mail.gmail.com>
	<CAFbt6dcxy2Y8AoPt892cNHvX+v3tkGukLf_08Cg8rtqHVC6G3A@mail.gmail.com>
	<CAHNn8BXX1WysAdYWO803vuTRO-LozthdiqvqLUBQGOcYfdV_Yg@mail.gmail.com>
	<CAFbt6dfWui1kmvX8GwTMOOAnLhAJH8z8U8AoQ27CHNxMD7+YDg@mail.gmail.com>
	<CAJQnXJfWaOeEdawgL=6vi8hfi_hm0NjWitWg15pGtoiEbUQy+A@mail.gmail.com>
	<CAJQnXJc5k-_38=ko4zoSm8r1UZ903Bh4Q_D9R=z_9mVisP+E_A@mail.gmail.com>
	<CAHNn8BW9tihd3=VW=uhd3ukWRG2NZbiFeUqaMNOtMOTOmQ_pOg@mail.gmail.com>
Message-ID: <CAJQnXJfAHpOD-xy4=JJvdUMMXCuSxe5R7T3bWSDBuCGgkjPmug@mail.gmail.com>

Ah ok, makes sense.  Here's the PR:
https://github.com/ipython/ipython-website/pull/81

On Fri, Feb 13, 2015 at 3:12 PM, MinRK <benjaminrk at gmail.com> wrote:

> Thanks! That's a different repo:
> https://github.com/ipython/ipython-website
>
>
> On Fri, Feb 13, 2015 at 1:52 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>
>> I'm trying to put together a PR for this, but I can't find the right
>> source file to edit, its not this one:
>> https://github.com/ipython/ipython/blob/master/docs/source/install/install.rst
>>
>> I want to edit this file: http://ipython.org/install.html
>>
>> On Fri, Feb 13, 2015 at 2:47 PM, Ian Bell <ian.h.bell at gmail.com> wrote:
>>
>>> Sometimes you have no choice but to fall back to pip when conda chokes
>>> on a package that it doesn't understand.  So I have a hodgepodge of
>>> pip-installed and conda-installed packages on my machine, and until conda
>>> fully supports pip, it looks like it is going to stay that way.
>>>
>>> I'm fine not using pip and using conda, but the conda docs should tell
>>> you how to get everything up and running easily with ipython.  Adding the
>>> line described in this thread would probably do it.
>>>
>>> Ian
>>>
>>>
>>> On Fri, Feb 13, 2015 at 12:50 PM, Ryan Nelson <rnelsonchem at gmail.com>
>>> wrote:
>>>
>>>> Min,
>>>>
>>>> I just posted a little note about the pip issue on the Anaconda mailing
>>>> list. We'll see what they say about including it by default.
>>>> Hopefully, this solves Ian's problem.
>>>>
>>>> Ryan
>>>>
>>>> On Fri, Feb 13, 2015 at 2:12 PM, MinRK <benjaminrk at gmail.com> wrote:
>>>>
>>>>> Yeah, we can probably add some clarifications.
>>>>>
>>>>> I think it's a huge mistake that conda allows installing Python
>>>>> without pip. This really shouldn't be allowed.
>>>>>
>>>>> -MinRK
>>>>>
>>>>> On Fri, Feb 13, 2015 at 10:59 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Yeah. The docs (http://ipython.org/install.html) should probably
>>>>>> mention this if they are going to reference conda specifically. However, it
>>>>>> is a conda-specific issue, so it might be more appropriate to point users
>>>>>> to the continuum documentation instead. Especially, given that the IPython
>>>>>> docs suggest installing the full Anaconda package (which has notebook) and
>>>>>> do not mention Miniconda, which it looks like you are using. You can search
>>>>>> the conda package repository pretty easily:
>>>>>> http://conda.pydata.org/docs/examples/search.html
>>>>>> But I agree that this it is not well documented.
>>>>>>
>>>>>> I have miniconda on a Linux distro, and fresh environments don't
>>>>>> install pip. This caused some problems for me at first because it was using
>>>>>> the system pip, which was no good. Do you have another Python install on
>>>>>> your computer? You could do a `conda install pip` and make sure you have
>>>>>> the Continuum version.
>>>>>>
>>>>>> Just out of curiosity, why would use want to use pip at all? It might
>>>>>> be safer to install things using conda exclusively. You might run into
>>>>>> problems with pip when you are trying to install modules that require
>>>>>> compiled components such as Qt4/5. For example, the command `conda install
>>>>>> ipython ipython-notebook ipython-qtconsole` will install ipython and all
>>>>>> the dependencies, including a precompiled version of the Qt libraries. I
>>>>>> don't think a `pip install pyqt4` will do that. (?)  See here for more:
>>>>>>
>>>>>> http://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda
>>>>>> However, the answer here is a little misleading because the
>>>>>> conda-installed pip will install packages that are conda-aware. That is,
>>>>>> I've installed packages with the conda version of pip, and `conda list`
>>>>>> will show these packages as being installed.
>>>>>>
>>>>>> On Fri, Feb 13, 2015 at 1:16 PM, Ian Bell <ian.h.bell at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Feb 13, 2015 at 9:12 AM, Ryan Nelson <rnelsonchem at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> With Anaconda, you can use `conda` to install these packages.
>>>>>>>>
>>>>>>>>
>>>>>>>> $ source activate your_env # Not necessary for root environment
>>>>>>>> $ conda install ipython ipython-notebook ipython-qtconsole
>>>>>>>>
>>>>>>>
>>>>>>> Exactly this should be on the website.  Its not obvious what conda
>>>>>>> package is required to get full notebook support.  The
>>>>>>>
>>>>>>> conda update ipython
>>>>>>>
>>>>>>> command doesn't do it.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Feb 13, 2015 at 11:06 AM, Ian Bell <ian.h.bell at gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I tried to install ipython+dependencies on a new machine, and it
>>>>>>>>> dies when it tries to install the dependencies:
>>>>>>>>>
>>>>>>>>> C:\Users\ihb>pip install ipython[all]
>>>>>>>>> Requirement already satisfied (use --upgrade to upgrade):
>>>>>>>>> ipython[all] in
>>>>>>>>> c:\users\ihb\appdata\local\continuum\miniconda\lib\site-packages
>>>>>>>>>   Exception:
>>>>>>>>>   Traceback (most recent call last):
>>>>>>>>>     File
>>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\basecommand.py",
>>>>>>>>> line 232, in main
>>>>>>>>>       status = self.run(options, args)
>>>>>>>>>     File
>>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\commands\install.py",
>>>>>>>>> line 339, in run
>>>>>>>>>       requirement_set.prepare_files(finder)
>>>>>>>>>     File
>>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\req\req_set.py",
>>>>>>>>> line 436, in prepare_files
>>>>>>>>>       req_to_install.extras):
>>>>>>>>>     File
>>>>>>>>> "C:\Users\ihb\AppData\Local\Continuum\Miniconda\lib\site-packages\pip\_vendor\pkg_resources\__init__.py",
>>>>>>>>> line 2504, in requires
>>>>>>>>>       "%s has no such extra feature %r" % (self, ext)
>>>>>>>>>   UnknownExtra: ipython 2.4.1 has no such extra feature 'all'
>>>>>>>>>
>>>>>>>>> My python:
>>>>>>>>>
>>>>>>>>> Python 2.7.8 |Continuum Analytics, Inc.| (default, Jul  2 2014,
>>>>>>>>> 15:12:11) [MSC v.1500 64 bit (AMD64)] on win32
>>>>>>>>> Type "help", "copyright", "credits" or "license" for more
>>>>>>>>> information.
>>>>>>>>> Anaconda is brought to you by Continuum Analytics.
>>>>>>>>> Please check out: http://continuum.io/thanks and
>>>>>>>>> https://binstar.org
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> IPython-dev mailing list
>>>>>>>>> IPython-dev at scipy.org
>>>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> IPython-dev mailing list
>>>>>>>> IPython-dev at scipy.org
>>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> IPython-dev mailing list
>>>>>>> IPython-dev at scipy.org
>>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/4e79dea7/attachment.html>

From takowl at gmail.com  Fri Feb 13 17:48:39 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Fri, 13 Feb 2015 14:48:39 -0800
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
	<CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>
Message-ID: <CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>

On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:

> So there is not a way to programmatically add a couple of cells in
> iPython Notebook?
>

Not really from the kernel, where the user's code is executed. The idea is
that the code in the notebook doesn't know about the notebook document.

What are you trying to achieve, in a larger sense? We may be able to
suggest another way to do it.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/b5e24bdd/attachment.html>

From benjaminrk at gmail.com  Fri Feb 13 18:17:24 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 13 Feb 2015 15:17:24 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
Message-ID: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>

The first release candidate for IPython 3.0 is out. As with the beta,
please check it out and report any problems. Hopefully this will become
IPython 3.0 final by the end of the month.

As with the beta, you can install the release candidate:

pip install --pre "ipython[all]"

See the release notes
<http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0> for
what?s new.

Thanks everyone for helping get this out.
-Min RK, on behalf of the IPython team
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/4cb0f8b9/attachment.html>

From sylvain.corlay at gmail.com  Fri Feb 13 23:16:30 2015
From: sylvain.corlay at gmail.com (Sylvain Corlay)
Date: Fri, 13 Feb 2015 23:16:30 -0500
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
Message-ID: <CAK=Phk7f0JAhDPawa6dGf2S+NbLsT+9d7wvGkpVmy_dg86GJtQ@mail.gmail.com>

Congrats!

On Fri, Feb 13, 2015 at 6:17 PM, MinRK <benjaminrk at gmail.com> wrote:

> The first release candidate for IPython 3.0 is out. As with the beta,
> please check it out and report any problems. Hopefully this will become
> IPython 3.0 final by the end of the month.
>
> As with the beta, you can install the release candidate:
>
> pip install --pre "ipython[all]"
>
> See the release notes
> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0>
> for what?s new.
>
> Thanks everyone for helping get this out.
> -Min RK, on behalf of the IPython team
> ?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150213/1d501c20/attachment.html>

From john at omernik.com  Sat Feb 14 10:40:02 2015
From: john at omernik.com (John Omernik)
Date: Sat, 14 Feb 2015 09:40:02 -0600
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
	<CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>
	<CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>
Message-ID: <CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>

Basically, I am trying to have some helper magic functions that fill
in code for me.  I've bene able to achieve this through putting two
lines into one cell :) Thanks though, (I feel kinda silly that I had
to ask :)

On Fri, Feb 13, 2015 at 4:48 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:
>>
>> So there is not a way to programmatically add a couple of cells in
>> iPython Notebook?
>
>
> Not really from the kernel, where the user's code is executed. The idea is
> that the code in the notebook doesn't know about the notebook document.
>
> What are you trying to achieve, in a larger sense? We may be able to suggest
> another way to do it.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From anton.akhmerov at gmail.com  Sat Feb 14 11:55:47 2015
From: anton.akhmerov at gmail.com (Anton Akhmerov)
Date: Sat, 14 Feb 2015 17:55:47 +0100
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
	<CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>
	<CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>
	<CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>
Message-ID: <CADr1H--ii-dWh6ULrqGuV9CokUAvqABx8wY2z4KZRP0=i4vJog@mail.gmail.com>

Hi everyone,

I need the same functionality (programmatic access of the notebook)
for the following: I want to make an auto-toc function, which would
generate toc inside the notebook (so not like min's extension). The
reason why an extension doesn't suit me, is because I want everything
to work in e.g. nbviewer. Do I understand correctly that I need to
communicate with Javascript?

Thanks,
Anton


On Sat, Feb 14, 2015 at 4:40 PM, John Omernik <john at omernik.com> wrote:
> Basically, I am trying to have some helper magic functions that fill
> in code for me.  I've bene able to achieve this through putting two
> lines into one cell :) Thanks though, (I feel kinda silly that I had
> to ask :)
>
> On Fri, Feb 13, 2015 at 4:48 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>> On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:
>>>
>>> So there is not a way to programmatically add a couple of cells in
>>> iPython Notebook?
>>
>>
>> Not really from the kernel, where the user's code is executed. The idea is
>> that the code in the notebook doesn't know about the notebook document.
>>
>> What are you trying to achieve, in a larger sense? We may be able to suggest
>> another way to do it.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


From doug.blank at gmail.com  Sat Feb 14 12:18:50 2015
From: doug.blank at gmail.com (Doug Blank)
Date: Sat, 14 Feb 2015 12:18:50 -0500
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CADr1H--ii-dWh6ULrqGuV9CokUAvqABx8wY2z4KZRP0=i4vJog@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
	<CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>
	<CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>
	<CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>
	<CADr1H--ii-dWh6ULrqGuV9CokUAvqABx8wY2z4KZRP0=i4vJog@mail.gmail.com>
Message-ID: <CAAusYCjVF3JJ83H+EL712TxkjzVs=E+WfJXWQMKU3FZTP-Thzw@mail.gmail.com>

On Sat, Feb 14, 2015 at 11:55 AM, Anton Akhmerov <anton.akhmerov at gmail.com>
wrote:

> Hi everyone,
>
> I need the same functionality (programmatic access of the notebook)
> for the following: I want to make an auto-toc function, which would
> generate toc inside the notebook (so not like min's extension). The
> reason why an extension doesn't suit me, is because I want everything
> to work in e.g. nbviewer. Do I understand correctly that I need to
> communicate with Javascript?
>

Yes, you probably want to do this with Javascript. But there is probably
nothing that needs to be done after you create the TOC, if you create
standard markdown cells.

Here is an extension that creates (or updates) the TOC when you click on
it. It doesn't auto-update as you change headings, but you could probably
easy make such an extension. Also shown numbering, and section moving. Has
been updated to work with IPython 3.

https://www.youtube.com/watch?v=YbM8rrj-Bms

-Doug



>
> Thanks,
> Anton
>
>
> On Sat, Feb 14, 2015 at 4:40 PM, John Omernik <john at omernik.com> wrote:
> > Basically, I am trying to have some helper magic functions that fill
> > in code for me.  I've bene able to achieve this through putting two
> > lines into one cell :) Thanks though, (I feel kinda silly that I had
> > to ask :)
> >
> > On Fri, Feb 13, 2015 at 4:48 PM, Thomas Kluyver <takowl at gmail.com>
> wrote:
> >> On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:
> >>>
> >>> So there is not a way to programmatically add a couple of cells in
> >>> iPython Notebook?
> >>
> >>
> >> Not really from the kernel, where the user's code is executed. The idea
> is
> >> that the code in the notebook doesn't know about the notebook document.
> >>
> >> What are you trying to achieve, in a larger sense? We may be able to
> suggest
> >> another way to do it.
> >>
> >> Thomas
> >>
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >>
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150214/dd369ad5/attachment.html>

From david.trem at gmail.com  Sat Feb 14 13:22:54 2015
From: david.trem at gmail.com (=?windows-1252?Q?Tr=E9mouilles_David?=)
Date: Sat, 14 Feb 2015 19:22:54 +0100
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>	<CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>	<CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>
	<CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>
Message-ID: <54DF927E.2070703@gmail.com>

Hi,

In this issue https://github.com/ipython/ipython/issues/4983
on 10 feb 2014, jfederer proposed a piece of code to achieve
grammatical cell creation.
I don't know whether it still work with the current ipython notebook 
version...

Regards,

David

Le 14/02/15 16:40, John Omernik a ?crit :
> Basically, I am trying to have some helper magic functions that fill
> in code for me.  I've bene able to achieve this through putting two
> lines into one cell :) Thanks though, (I feel kinda silly that I had
> to ask :)
>
> On Fri, Feb 13, 2015 at 4:48 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>> On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:
>>> So there is not a way to programmatically add a couple of cells in
>>> iPython Notebook?
>>
>> Not really from the kernel, where the user's code is executed. The idea is
>> that the code in the notebook doesn't know about the notebook document.
>>
>> What are you trying to achieve, in a larger sense? We may be able to suggest
>> another way to do it.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From anton.akhmerov at gmail.com  Sat Feb 14 16:23:23 2015
From: anton.akhmerov at gmail.com (Anton Akhmerov)
Date: Sat, 14 Feb 2015 22:23:23 +0100
Subject: [IPython-dev] set_next_input() multiple times
In-Reply-To: <CAAusYCjVF3JJ83H+EL712TxkjzVs=E+WfJXWQMKU3FZTP-Thzw@mail.gmail.com>
References: <CAKOFcwpRwRwge5-cqyfP+AbsdvLV8DkAYOEub1rVUU25Rd6KvQ@mail.gmail.com>
	<CAOvn4qhSr8gb1wYkD6WoogOG3Vz0aPUXfPNO_JAyKCXsbu=TXw@mail.gmail.com>
	<CAKOFcwp6+STCdDiZGaQ=fRHkXyqke5ko7UdbqR_3R-Os3zfu1Q@mail.gmail.com>
	<CAOvn4qhAMEHHDJApaTGAk3URDxjjPEjbSrac=fFGFhm=jbQWWA@mail.gmail.com>
	<CAKOFcwowgPQvT-hUkbG1gwY0E3XBnm4f03jiFND7-shWXUM4aw@mail.gmail.com>
	<CADr1H--ii-dWh6ULrqGuV9CokUAvqABx8wY2z4KZRP0=i4vJog@mail.gmail.com>
	<CAAusYCjVF3JJ83H+EL712TxkjzVs=E+WfJXWQMKU3FZTP-Thzw@mail.gmail.com>
Message-ID: <CADr1H--AOFDe5BRtuGs=4_zzzPq5TauDs659u26ai_rqk21xiw@mail.gmail.com>

> Here is an extension that creates (or updates) the TOC when you click on it.
> It doesn't auto-update as you change headings, but you could probably easy
> make such an extension. Also shown numbering, and section moving. Has been
> updated to work with IPython 3.

Thanks a lot, this is just what I need.

Best,
Anton

> -Doug
>
>
>>
>>
>> Thanks,
>> Anton
>>
>>
>> On Sat, Feb 14, 2015 at 4:40 PM, John Omernik <john at omernik.com> wrote:
>> > Basically, I am trying to have some helper magic functions that fill
>> > in code for me.  I've bene able to achieve this through putting two
>> > lines into one cell :) Thanks though, (I feel kinda silly that I had
>> > to ask :)
>> >
>> > On Fri, Feb 13, 2015 at 4:48 PM, Thomas Kluyver <takowl at gmail.com>
>> > wrote:
>> >> On 13 February 2015 at 12:22, John Omernik <john at omernik.com> wrote:
>> >>>
>> >>> So there is not a way to programmatically add a couple of cells in
>> >>> iPython Notebook?
>> >>
>> >>
>> >> Not really from the kernel, where the user's code is executed. The idea
>> >> is
>> >> that the code in the notebook doesn't know about the notebook document.
>> >>
>> >> What are you trying to achieve, in a larger sense? We may be able to
>> >> suggest
>> >> another way to do it.
>> >>
>> >> Thomas
>> >>
>> >> _______________________________________________
>> >> IPython-dev mailing list
>> >> IPython-dev at scipy.org
>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >>
>> > _______________________________________________
>> > IPython-dev mailing list
>> > IPython-dev at scipy.org
>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From nick.bollweg at gmail.com  Sat Feb 14 17:55:35 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Sat, 14 Feb 2015 17:55:35 -0500
Subject: [IPython-dev] nosebook: notebooks-as-documentation-as-tests
Message-ID: <CACejjWyCcN0Zv1i__6PXApD84pjJA-vABKv_eier-xXAmpQZ9w@mail.gmail.com>

Just wanted to plug a little nose extension that I've just gotten working:

https://github.com/bollwyvl/nosebook

nosebook finds notebooks that look like tests, and for each notebook,
starts a kernel, runs the code cells and compares the output to what was in
the original notebook. It can be configured to find different notebooks, as
well as strip out nasty <xyz at 0x1234> bits.

It's not a full nose/notebook integration, as it lacks lots of features
like setup and teardown, but should make it easier to keep documentation in
notebooks fresh with respect to code changes.

It reuses IPython.kernel.tests.util, which is probably not the best
long-term solution, as that probably isn't meant as a public API, but it
was the quickest way to get it up and running. Right now it's not backward
compatible with IPython 2.x, but that might be added if there is outcry.

Interested in feedback!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150214/7c89e254/attachment.html>

From takowl at gmail.com  Sat Feb 14 19:28:00 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 14 Feb 2015 16:28:00 -0800
Subject: [IPython-dev] nosebook: notebooks-as-documentation-as-tests
In-Reply-To: <CACejjWyCcN0Zv1i__6PXApD84pjJA-vABKv_eier-xXAmpQZ9w@mail.gmail.com>
References: <CACejjWyCcN0Zv1i__6PXApD84pjJA-vABKv_eier-xXAmpQZ9w@mail.gmail.com>
Message-ID: <CAOvn4qi-SGGhhXnx=eoccF-Qm9Xvhxd7Acd7gNWqUWEozovMng@mail.gmail.com>

Thanks for this, Nicholas - there has been quite a bit of discussion about
having something like doctest for notebooks, so it's great to see an
implementation.

I imagine the tricky bit will be deciding which bits of output are
changeable and should be ignored. I think doctest recognises three things
that are allowed to vary:

- <foo at 0x4fce2...> reprs
- Python tracebacks
- ... ellipsis to explicitly mark variable sections (this might need an
extra option enabled, I forget)

Best wishes,
Thomas

On 14 February 2015 at 14:55, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> Just wanted to plug a little nose extension that I've just gotten working:
>
> https://github.com/bollwyvl/nosebook
>
> nosebook finds notebooks that look like tests, and for each notebook,
> starts a kernel, runs the code cells and compares the output to what was in
> the original notebook. It can be configured to find different notebooks, as
> well as strip out nasty <xyz at 0x1234> bits.
>
> It's not a full nose/notebook integration, as it lacks lots of features
> like setup and teardown, but should make it easier to keep documentation in
> notebooks fresh with respect to code changes.
>
> It reuses IPython.kernel.tests.util, which is probably not the best
> long-term solution, as that probably isn't meant as a public API, but it
> was the quickest way to get it up and running. Right now it's not backward
> compatible with IPython 2.x, but that might be added if there is outcry.
>
> Interested in feedback!
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150214/e65d8ea6/attachment.html>

From nick.bollweg at gmail.com  Sat Feb 14 20:22:17 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Sat, 14 Feb 2015 20:22:17 -0500
Subject: [IPython-dev] nosebook: notebooks-as-documentation-as-tests
In-Reply-To: <CAOvn4qi-SGGhhXnx=eoccF-Qm9Xvhxd7Acd7gNWqUWEozovMng@mail.gmail.com>
References: <CACejjWyCcN0Zv1i__6PXApD84pjJA-vABKv_eier-xXAmpQZ9w@mail.gmail.com>
	<CAOvn4qi-SGGhhXnx=eoccF-Qm9Xvhxd7Acd7gNWqUWEozovMng@mail.gmail.com>
Message-ID: <CACejjWzLcWC4-z40KkjX+9ZTDnzqNeYn5k3gkGpp4gM+JFp6Tw@mail.gmail.com>

Yeah i didn't enable any replacements by default, though tracebacks are
stripped, as they are easy to find in the comms. There are examples in the
tests, but i probably need to document those main edge cases better.
On Feb 14, 2015 7:28 PM, "Thomas Kluyver" <takowl at gmail.com> wrote:

> Thanks for this, Nicholas - there has been quite a bit of discussion about
> having something like doctest for notebooks, so it's great to see an
> implementation.
>
> I imagine the tricky bit will be deciding which bits of output are
> changeable and should be ignored. I think doctest recognises three things
> that are allowed to vary:
>
> - <foo at 0x4fce2...> reprs
> - Python tracebacks
> - ... ellipsis to explicitly mark variable sections (this might need an
> extra option enabled, I forget)
>
> Best wishes,
> Thomas
>
> On 14 February 2015 at 14:55, Nicholas Bollweg <nick.bollweg at gmail.com>
> wrote:
>
>> Just wanted to plug a little nose extension that I've just gotten working:
>>
>> https://github.com/bollwyvl/nosebook
>>
>> nosebook finds notebooks that look like tests, and for each notebook,
>> starts a kernel, runs the code cells and compares the output to what was in
>> the original notebook. It can be configured to find different notebooks, as
>> well as strip out nasty <xyz at 0x1234> bits.
>>
>> It's not a full nose/notebook integration, as it lacks lots of features
>> like setup and teardown, but should make it easier to keep documentation in
>> notebooks fresh with respect to code changes.
>>
>> It reuses IPython.kernel.tests.util, which is probably not the best
>> long-term solution, as that probably isn't meant as a public API, but it
>> was the quickest way to get it up and running. Right now it's not backward
>> compatible with IPython 2.x, but that might be added if there is outcry.
>>
>> Interested in feedback!
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150214/d1af1f74/attachment.html>

From bussonniermatthias at gmail.com  Sun Feb 15 11:08:06 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sun, 15 Feb 2015 08:08:06 -0800
Subject: [IPython-dev] [jupyter] Jupyter-Drive (integration with google
	drive) beta.
In-Reply-To: <d265e589-ee94-461b-b607-1591bcccd8a7@googlegroups.com>
References: <523B928E-4BC9-47DC-9514-4EB0F5CF3DDE@gmail.com>
	<CAH4pYpRTtPDctpRUEpWvQwgbjbDjbz5W8mSDUhZFcYTXEE2Tyg@mail.gmail.com>
	<B963F274-56C5-4F71-B85A-D6F8217FDD04@gmail.com>
	<CAH4pYpQt_+dcYsBPrs_anLJ7N+7TL1n9Nx2ZsMfH6uDt=Fsb-w@mail.gmail.com>
	<CAGT7SkX=cjtgQj3vgVdEDC2K0M_4N3cEet0HO7t2p_FOD3RRMA@mail.gmail.com>
	<CAGT7SkW++mQoMDOq5kYFmj=vs0Vbnt7a66HgmqBb=kQPmXP=ng@mail.gmail.com>
	<70ED894B-E84A-488A-9646-EA0FD418B4A1@gmail.com>
	<CAGT7SkXdt=zOZCSjTOk8jgpVGdv374jcbvGwCMXEEpeyzgBOSQ@mail.gmail.com>
	<d265e589-ee94-461b-b607-1591bcccd8a7@googlegroups.com>
Message-ID: <C9D46D0B-0008-4CAC-9A2D-C469A1E37DCC@gmail.com>


> Can you explain what changes in IPython are required for real-time collaboration?

We are discussing that, among other as
https://github.com/ipython/ipython/issues/7784
among other.

> Will the OT happen on the IPython server?

OT happen on all sides, for the time being only on GDrive, 
and gapi javascript library. 
The computation of the permeation might only happen on the server. 


> Will it be tied to google-drive?

In the first time yes to get it working. 
But we plan on making it pluggable, and do our best 
so that you can have a version that works on close network
and purely open-source software. Though we will need help for that. 

-- 
M


> 
> 
> 
> On Saturday, February 7, 2015 at 9:23:09 PM UTC+2, Kester Tong wrote:
> I'll have a look tomorrow.
> I'll re-look at the implementation but I think we could even have an even
> more generic mixed content manager than takes N contents manager and prefixes
> and exposes each of them.
> 
> I suppose we could probably try with Scott (IIRC) postgres backend
> as an exercise.
> 
> I like this idea.  It would be slightly more general and consistent than what we currently use.  The implementation would be simpler since the first path component will always tell you which content manager to use.  Maybe the mixed content manager could be part of IPython?  We could test it out in Jupyter Drive first and move it later (still using regular contents manager by default).
> 
> Kester
>  
> 
> --
> M
> 
> 
> 
> 
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPyth... at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> -- 
> 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 at googlegroups.com.
> To post to this group, send email to jupyter at googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/d265e589-ee94-461b-b607-1591bcccd8a7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150215/8237a7cc/attachment.html>

From alexgarciac at gmail.com  Sun Feb 15 21:21:14 2015
From: alexgarciac at gmail.com (Alexander Garcia Castro)
Date: Sun, 15 Feb 2015 21:21:14 -0500
Subject: [IPython-dev] ipython in scholarly communication
In-Reply-To: <CACejjWye5sHBFhusOtKc7dSL=kwJET0TGevXWrG1SYaEY3-_7Q@mail.gmail.com>
References: <CALAe=OLFhnyzXH0svqkX9kov_vbT-7QDnhJt7+RziNf6AqRWyg@mail.gmail.com>
	<CACejjWye5sHBFhusOtKc7dSL=kwJET0TGevXWrG1SYaEY3-_7Q@mail.gmail.com>
Message-ID: <CALAe=OKQ8zqpdnOwzzbGHC-AsSn3FjrqikqVsW4YZ8Qt_nZd+g@mail.gmail.com>

Dear all. I am very new to iphyton, however I am impressed. this is
precisely the kind of scholarly communication I would like to see presented
at the Sepublica workshop.

I want to congratulate everyone for the great work and encourage people in
this community to submit to our workshop. we have intentionally said that
ours is a format free workshop. this means that we are not married to the
conventional paper (narrative structure and format). Instead, we would love
to receive something that allows people in our community, semantic web, to
clearly see a novel method supporting and redefining scholarly
communication in action.

I want to take this opportunity to encourage everyone on this community to
challenge us with novel submissions. I want to encourage everyone here to
come to our workshop and let us see your work and learn from you.

Dear all, Sepublica is particularly interested in getting submissions from
ipython usrs/developers. we are very interested in seeing new ways of
scholarly communication in action and we believe that ipython illustrates a
path to be followed.

SePublica 2015: Do show, do not tell!
=====================================

Workshop website: http://sepublica.info/
Event hashtags: #SePublica #ESWC2015

in conjunction with

ESWC 2015
The 12th European Semantic Web Conference
http://2015.eswc-conferences.org/

At SePublica we are interested in addressing the question, how is Semantic
Web technology being used as part of publication workflows.

Challenge us with a creative submission. Let us see and experience your
take on publications for the Web of data; we want to see NEW ideas in
action, INNOVATION that makes our lives easier. Is it about scholarly
communication? Then what problem are you solving? How are you making the
content interoperable? How is this different/better from traditional
approaches?


Important Dates
---------------
* Submission deadline: 2015-03-06
* Notifications: 2015-04-03
* Camera ready version: 2015-04-17


Submission
----------
Easychair: https://www.easychair.org/conferences/?conf=sepublica2015

Submissions will be peer reviewed. Accepted works have to be presented at
the workshop (requires registering for the ESWC conference and the
workshop). Every accepted submission will be published in the proceedings
of the workshop.

Submission Types
----------------
### Call for Submissions
Deadline: 2015-03-06. Authors may submit their content in whatever way they
consider is best for their purposes (e.g., HTML, RDFS/OWL, IPython, PDF, or
any publicly executable script, etc). Please feel free to contact us to
discuss your particular case if necessary. We will be happy to assist
authors and support them as much as we can. Submissions are format free,
GIT URLs are accepted just like OWL, XML etc. However, reviewers should not
have to install software in order to review the submissions. Datasets are
also accepted. In all cases everything must be publicly available. For
those of you submitting a PDF please use the LNCS format, 12 pages is the
limit ?including references. Please, note that (X)HTML(+RDFa) submissions
are also welcome as long as the layout complies with the LNCS style. For
example, authors may use the template provided at
https://github.com/csarven/linked-research

### Call for Polemics
Deadline: 2015-04-24. We would like to invite authors to send us a one page
manuscript, 20 lines max, describing their position with respect to new
technologies supporting the publication workflow: What are the most
pressing issues to be addressed? What is their position with respect to the
overall problem? What innovation is needed? etc. Polemics authors will have
only 5 minutes to present; the format of this session is sequential, after
each presentation the next follows with no questions in between. There will
be a discussion and summary of all the issues at the end of all the
polemics session.

Issues to be addressed
----------------------
* Should papers be semantically annotated?
* How would you search or query for research objects?
* How can research objects be reused?
* What is an executable semantic paper?
* How can we create interactive research documents to better communicate
and educate?
* Is there a format for semantic publishing or does it require a
combination of formats?
* How can research documents be persistent and archived? Which formats are
preferable and why?
* If we subscribe to science, free and open access to knowledge, what's the
purpose of the arrangement between conferences and publishers? Or can big
conferences manage the publication themselves?
* Is there visible change towards semantic authoring and publishing? If
not, what are some of the underlying challenges to get there?
* Assume a 3-year plan to transition the SW research community to
completely publish using SW technologies. Identify the milestones and
explain how it would happen.
* Backend use of semantics by publishers in book, news, and scholarly
publishing
* Publishing data-driven arguments for general news consumption or in
scholarly papers
* Historical changes in publishing since the advent of online publishing:
what is going right?

Organizing Committee
--------------------
* Phillip Lord
* Alexander Garcia Castro
* Sarven Capadisli
* Jodi Schneider

On Fri, Jan 30, 2015 at 2:32 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> I'm pretty interested in this.
>
> Here's the last discussion I recall about SW on this list:
>
> http://python.6.x6.nabble.com/Notebook-format-quot-incompatible-quot-changes-td5076324.html#a5076589
>
> We talked at one point about creating an IPEP for incrementally adding
> linked data to various things across the ecosystem, perhaps this is a good
> time to dust that off. Here is the IPEP that I never actually posted:
> http://nbviewer.ipython.org/gist/bollwyvl/6edda34649ba4b5cbaf9
>
> Forks, comments welcome!
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Alexander Garcia
http://www.alexandergarcia.name/
http://www.usefilm.com/photographer/75943.html
http://www.linkedin.com/in/alexgarciac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150215/394a1944/attachment.html>

From max_linke at gmx.de  Mon Feb 16 04:44:07 2015
From: max_linke at gmx.de (Max Linke)
Date: Mon, 16 Feb 2015 10:44:07 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
Message-ID: <54E1BBE7.6030204@gmx.de>

Hi

Thanks for all your work. The new version runs smooths besides using 
extensions for the notebooks.

Is there a document describing how to migrate my custom.js to 3.0?
I currently use 'IPython.load_extensions()' in my custom.js which 
produces the error 'TypeError: IPython.load_extensions() is not a 
function'. Has this function been deprecated or replaced recently?

This is the full content of my custom.js

IPython.load_extensions('toc', 'gist', 'hide_input_all',
         'calico-spell-check', 'calico-document-tools', 'theme_toggle');

$([IPython.events]).on('app_initialized.NotebookApp', function(){
     require(['/nbextensions/codefolding/codefolding.js'])
});

$([IPython.events]).on('app_initialized.NotebookApp', function(){
IPython.load_extensions('macro-cell');
});

best Max

On 02/14/2015 12:17 AM, MinRK wrote:
> The first release candidate for IPython 3.0 is out. As with the beta,
> please check it out and report any problems. Hopefully this will become
> IPython 3.0 final by the end of the month.
>
> As with the beta, you can install the release candidate:
>
> pip install --pre "ipython[all]"
>
> See the release notes
> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0> for
> what?s new.
>
> Thanks everyone for helping get this out.
> -Min RK, on behalf of the IPython team
> ?
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From takowl at gmail.com  Mon Feb 16 13:37:46 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Mon, 16 Feb 2015 10:37:46 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <54E1BBE7.6030204@gmx.de>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
Message-ID: <CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>

On 16 February 2015 at 01:44, Max Linke <max_linke at gmx.de> wrote:

> Is there a document describing how to migrate my custom.js to 3.0?
> I currently use 'IPython.load_extensions()' in my custom.js which
> produces the error 'TypeError: IPython.load_extensions() is not a
> function'. Has this function been deprecated or replaced recently?
>

It's still the public API for loading extensions, but it might not have
been loaded when your custom.js is run. I see you currently have a call to
load_extensions() in your custom.js outside any event handler - if you wrap
that in:

$([IPython.events]).on('app_initialized.NotebookApp', function(){ ... });

does it work?

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150216/b3adb6cf/attachment.html>

From bussonniermatthias at gmail.com  Mon Feb 16 13:51:30 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 16 Feb 2015 10:51:30 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
Message-ID: <F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>

Instead or in supplement of listening to events, you might want to 
use requires to be sure the dependencies are loaded in the right order. 

Cheers, 
-- 
M


Le 16 f?vr. 2015 ? 10:37, Thomas Kluyver <takowl at gmail.com> a ?crit :

> On 16 February 2015 at 01:44, Max Linke <max_linke at gmx.de> wrote:
> Is there a document describing how to migrate my custom.js to 3.0?
> I currently use 'IPython.load_extensions()' in my custom.js which
> produces the error 'TypeError: IPython.load_extensions() is not a
> function'. Has this function been deprecated or replaced recently?
> 
> It's still the public API for loading extensions, but it might not have been loaded when your custom.js is run. I see you currently have a call to load_extensions() in your custom.js outside any event handler - if you wrap that in:
> 
> $([IPython.events]).on('app_initialized.NotebookApp', function(){ ... });
> 
> does it work?
> 
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150216/23c28fbf/attachment.html>

From andy at payne.org  Mon Feb 16 20:19:34 2015
From: andy at payne.org (Andrew Payne)
Date: Mon, 16 Feb 2015 20:19:34 -0500
Subject: [IPython-dev] ITorch on IPython 3 -- problems?
Message-ID: <CABbuyuVPn0gVVmupbxRpfR2psMo7sVHAs=fU4vZRktKDpcJWjw@mail.gmail.com>

Has anyone gotten ITorch <https://github.com/facebook/iTorch> working on
IPython 3.0b-anything (or GitHub HEAD)?

I'm having problems, but wanted to compare notes before I dive into
figuring out what's going on.

For the Web notebook, when creating a new notebook, the notebook page comes
up but the kernel starts hung (permanently running).  (And you can't
evaluate cells).

For the console, there's never any output from the read-eval-print loop.
Errors (such as syntax errors) are shown, but (a) there's never an "Out"
value and (b) print output isn't shown.

--debug output doesn't show anything that would suggest a root cause.

(And if there's an ITorch mailing list, please redirect me.  I couldn't
find one).

-andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150216/5ecd00cd/attachment.html>

From fperez.net at gmail.com  Tue Feb 17 02:03:53 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Mon, 16 Feb 2015 23:03:53 -0800
Subject: [IPython-dev] ITorch on IPython 3 -- problems?
In-Reply-To: <CABbuyuVPn0gVVmupbxRpfR2psMo7sVHAs=fU4vZRktKDpcJWjw@mail.gmail.com>
References: <CABbuyuVPn0gVVmupbxRpfR2psMo7sVHAs=fU4vZRktKDpcJWjw@mail.gmail.com>
Message-ID: <CAHAreOqzMqg+LqQ7EY+t2efWJWB1dSCK8c9QR=VHF_5nWoB+Cg@mail.gmail.com>

On Mon, Feb 16, 2015 at 5:19 PM, Andrew Payne <andy at payne.org> wrote:

>
> (And if there's an ITorch mailing list, please redirect me.  I couldn't
> find one).
>

maybe start by posting a quick ping as an issue on their github repo?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150216/e07d1989/attachment.html>

From mwaskom at stanford.edu  Tue Feb 17 13:57:31 2015
From: mwaskom at stanford.edu (Michael Waskom)
Date: Tue, 17 Feb 2015 10:57:31 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
Message-ID: <CAKZ-Uq28owHAvZi-Bt_VQmCnzDh2iMSO04d1yNT=m5vP25wg7g@mail.gmail.com>

Hi Min,

It looks like the scaling of figures that are larger than the cell output
div has changed in version 3.

Previously the scaling would preserve the aspect ratio of the figure, but
now it seems to just be scaling the width, and not the height.

This change can make it a lot harder to predict what a large figure is
going to look like, and is likely to confuse people who don't realize that
IPython, not matplotlib is applying the scaling.

Is this on purpose?

Best,
Michael

On Fri, Feb 13, 2015 at 3:17 PM, MinRK <benjaminrk at gmail.com> wrote:

> The first release candidate for IPython 3.0 is out. As with the beta,
> please check it out and report any problems. Hopefully this will become
> IPython 3.0 final by the end of the month.
>
> As with the beta, you can install the release candidate:
>
> pip install --pre "ipython[all]"
>
> See the release notes
> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0>
> for what?s new.
>
> Thanks everyone for helping get this out.
> -Min RK, on behalf of the IPython team
> ?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/ee9f1cb6/attachment.html>

From bussonniermatthias at gmail.com  Tue Feb 17 14:09:35 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 17 Feb 2015 11:09:35 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAKZ-Uq28owHAvZi-Bt_VQmCnzDh2iMSO04d1yNT=m5vP25wg7g@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<CAKZ-Uq28owHAvZi-Bt_VQmCnzDh2iMSO04d1yNT=m5vP25wg7g@mail.gmail.com>
Message-ID: <940C0CF6-2714-439E-B57A-D9D00946D9BC@gmail.com>

No, it does not seem to be on purpose. 

It is a weird interaction between preventing image to be wider than notebook area and the JS that allow you to resize images. 
-- 
M


Le 17 f?vr. 2015 ? 10:57, Michael Waskom <mwaskom at stanford.edu> a ?crit :

> Hi Min,
> 
> It looks like the scaling of figures that are larger than the cell output div has changed in version 3.
> 
> Previously the scaling would preserve the aspect ratio of the figure, but now it seems to just be scaling the width, and not the height.
> 
> This change can make it a lot harder to predict what a large figure is going to look like, and is likely to confuse people who don't realize that IPython, not matplotlib is applying the scaling.
> 
> Is this on purpose?
> 
> Best,
> Michael
> 
> On Fri, Feb 13, 2015 at 3:17 PM, MinRK <benjaminrk at gmail.com> wrote:
> The first release candidate for IPython 3.0 is out. As with the beta, please check it out and report any problems. Hopefully this will become IPython 3.0 final by the end of the month.
> 
> As with the beta, you can install the release candidate:
> 
> pip install --pre "ipython[all]"
> See the release notes for what?s new.
> 
> Thanks everyone for helping get this out.
> -Min RK, on behalf of the IPython team
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/b823f5cb/attachment.html>

From ellisonbg at gmail.com  Tue Feb 17 14:10:38 2015
From: ellisonbg at gmail.com (Brian Granger)
Date: Tue, 17 Feb 2015 11:10:38 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAKZ-Uq28owHAvZi-Bt_VQmCnzDh2iMSO04d1yNT=m5vP25wg7g@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<CAKZ-Uq28owHAvZi-Bt_VQmCnzDh2iMSO04d1yNT=m5vP25wg7g@mail.gmail.com>
Message-ID: <CAH4pYpRccFSKyGgwz_mTEqWQn_+yLGBe-G6MO6L0ypvv8TbGow@mail.gmail.com>

Thanks for the report, we have made some changes to this stuff recently and
will get this fixed.

Brian

On Tue, Feb 17, 2015 at 10:57 AM, Michael Waskom <mwaskom at stanford.edu>
wrote:

> Hi Min,
>
> It looks like the scaling of figures that are larger than the cell output
> div has changed in version 3.
>
> Previously the scaling would preserve the aspect ratio of the figure, but
> now it seems to just be scaling the width, and not the height.
>
> This change can make it a lot harder to predict what a large figure is
> going to look like, and is likely to confuse people who don't realize that
> IPython, not matplotlib is applying the scaling.
>
> Is this on purpose?
>
> Best,
> Michael
>
> On Fri, Feb 13, 2015 at 3:17 PM, MinRK <benjaminrk at gmail.com> wrote:
>
>> The first release candidate for IPython 3.0 is out. As with the beta,
>> please check it out and report any problems. Hopefully this will become
>> IPython 3.0 final by the end of the month.
>>
>> As with the beta, you can install the release candidate:
>>
>> pip install --pre "ipython[all]"
>>
>> See the release notes
>> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0>
>> for what?s new.
>>
>> Thanks everyone for helping get this out.
>> -Min RK, on behalf of the IPython team
>> ?
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/ed10e286/attachment.html>

From mwaskom at stanford.edu  Tue Feb 17 15:43:38 2015
From: mwaskom at stanford.edu (Michael Waskom)
Date: Tue, 17 Feb 2015 12:43:38 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAH4pYpRccFSKyGgwz_mTEqWQn_+yLGBe-G6MO6L0ypvv8TbGow@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<CAKZ-Uq28owHAvZi-Bt_VQmCnzDh2iMSO04d1yNT=m5vP25wg7g@mail.gmail.com>
	<CAH4pYpRccFSKyGgwz_mTEqWQn_+yLGBe-G6MO6L0ypvv8TbGow@mail.gmail.com>
Message-ID: <CAKZ-Uq1xmAX-+bur0dhVN2gS1TKNzxAvGF-YPLFtjNr23p2_-A@mail.gmail.com>

Awesome, thanks guys!

One other thing I have noticed is that, when shift-TABing to get the
function docstring popover in the notebook, the help seems often bound to
objects that have been added as arguments, and not  to the function
itself., i.e.

func(a, b, [shift-TAB]

will show me the docstring for the object that `b` points at, although this
seems to only happen when an variable is being used. In other words,

func(a, "b", [shift-TAB]

will show me the docstring for `a`.

Previously this would happen when using a function within the call, ie.e.

func1(a, func2(b), [shift=TAB]

would should me the docs for `func2` (even if I had closed parens on it).
But the behavior has changed somewhat.

On Tue, Feb 17, 2015 at 11:10 AM, Brian Granger <ellisonbg at gmail.com> wrote:

> Thanks for the report, we have made some changes to this stuff recently
> and will get this fixed.
>
> Brian
>
> On Tue, Feb 17, 2015 at 10:57 AM, Michael Waskom <mwaskom at stanford.edu>
> wrote:
>
>> Hi Min,
>>
>> It looks like the scaling of figures that are larger than the cell output
>> div has changed in version 3.
>>
>> Previously the scaling would preserve the aspect ratio of the figure, but
>> now it seems to just be scaling the width, and not the height.
>>
>> This change can make it a lot harder to predict what a large figure is
>> going to look like, and is likely to confuse people who don't realize that
>> IPython, not matplotlib is applying the scaling.
>>
>> Is this on purpose?
>>
>> Best,
>> Michael
>>
>> On Fri, Feb 13, 2015 at 3:17 PM, MinRK <benjaminrk at gmail.com> wrote:
>>
>>> The first release candidate for IPython 3.0 is out. As with the beta,
>>> please check it out and report any problems. Hopefully this will become
>>> IPython 3.0 final by the end of the month.
>>>
>>> As with the beta, you can install the release candidate:
>>>
>>> pip install --pre "ipython[all]"
>>>
>>> See the release notes
>>> <http://ipython.org/ipython-doc/dev/whatsnew/version3.html#release-3-0>
>>> for what?s new.
>>>
>>> Thanks everyone for helping get this out.
>>> -Min RK, on behalf of the IPython team
>>> ?
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> @ellisonbg on Twitter and GitHub
> bgranger at calpoly.edu and ellisonbg at gmail.com
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/3a335228/attachment.html>

From max_linke at gmx.de  Tue Feb 17 16:25:52 2015
From: max_linke at gmx.de (Max Linke)
Date: Tue, 17 Feb 2015 22:25:52 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>	<54E1BBE7.6030204@gmx.de>	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
Message-ID: <54E3B1E0.3030902@gmx.de>

Thanks for the help I found a way now that works reliable for me.

require([
     'base/js/namespace',
     'base/js/events'
], function(IPython, events) {
     events.on('app_initialized.NotebookApp', function(){
         require(['/nbextensions/codefolding/codefolding.js']);
         IPython.load_extensions('toc', 'hide_input_all', 'macro-cell',
                 'calico-spell-check', 'calico-document-tools',
                 'theme_toggle');
     });
});

I got it working through the tips here and looking at the examples of 
the current custom.js template. But since I don't know javascript or the 
libraries (require, jquery) used this is not really straight forward to 
arrive at this.

In 2.4. I just needed to use 'IPython.load_extensions()' which was nice 
and really straight forward.

Is it documented somewhere what the recommended way is of enabling 
extensions in the notebook? I can't find anything in the online docs and 
most extensions I find seem to use another way to load it.

best Max

On 02/16/2015 07:51 PM, Matthias Bussonnier wrote:
> Instead or in supplement of listening to events, you might want to
> use requires to be sure the dependencies are loaded in the right order.
>
> Cheers,
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From max_linke at gmx.de  Tue Feb 17 16:43:47 2015
From: max_linke at gmx.de (Max Linke)
Date: Tue, 17 Feb 2015 22:43:47 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>	<54E1BBE7.6030204@gmx.de>	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
Message-ID: <54E3B613.2020301@gmx.de>

Isn't there a guarantee about which functions are available when 
custom.js is loaded?

The custom.js installed with the rc version says that classes and 
functions are available at load time and shows an example to add a 
custom keybinding like this.

      IPython.Cell.options_default.cm_config.extraKeys['Home']
          ='goLineLeft';

I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:

     IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
         ='move_cell_down';

this gives the error "IPython.Cell undefined" and now new keybindings 
are defined.

Wrapping it in a require statement like this also doesn't help

     require([
         'base/js/namespace',
     ], function(IPython) {
         IPython.Cell.options_default.cm_config.extraKeys['ctrl-j'] =
             'move_cell_down';
     });

I still get the same error that "IPython.Cell" is not defined.

best Max

On 02/16/2015 07:51 PM, Matthias Bussonnier wrote:
> Instead or in supplement of listening to events, you might want to
> use requires to be sure the dependencies are loaded in the right order.
>
> Cheers,
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>



From takowl at gmail.com  Tue Feb 17 16:53:22 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 17 Feb 2015 13:53:22 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <54E3B613.2020301@gmx.de>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
Message-ID: <CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>

On 17 February 2015 at 13:43, Max Linke <max_linke at gmx.de> wrote:

> Isn't there a guarantee about which functions are available when
> custom.js is loaded?
>

Currently, as far as I'm aware, no, there isn't. Possibly we should give
one, though I think that's too late for 3.0 now.


> I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:
>
>      IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
>

There's a code snippet to restore Ctrl-J/Ctrl-K here:
https://github.com/ipython/ipython/pull/7732#issuecomment-74519970

The shortcuts set in cm_config are only for Codemirror, i.e. they act
within a single cell. Notebook shortcuts, e.g. for moving cells around, are
defined elsewhere.

> Is it documented somewhere what the recommended way is of enabling
> extensions in the notebook? I can't find anything in the online docs and
> most extensions I find seem to use another way to load it.

Basically nothing about the JS API is documented yet, and this is kind of
deliberate - most of it is still changing pretty fast, and we don't want to
give a false impression of stability.

In IPython 3, there is a way of storing declarative frontend config,
including a set of extensions to load, so you don't have to manually edit
custom.js to enable them. There is an extension built on top of this to
provide a GUI for enabling and disabling extensions:

https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/config-extension

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/1b79f1a7/attachment.html>

From zaki.mughal at gmail.com  Tue Feb 17 17:44:40 2015
From: zaki.mughal at gmail.com (Zakariyya Mughal)
Date: Tue, 17 Feb 2015 16:44:40 -0600
Subject: [IPython-dev] IPython messaging spec for warnings with traceback
Message-ID: <20150217224440.GL13270@janus.cbl.uh.edu>

Hello,

I'm working on the IPerl language kernel and I wanted to implement
Perl's warning system.

In the messaging spec, I can only return the extra fields for error
names, traceback, etc. only if the status in the `execute_reply` message
is 'error' <http://ipython.org/ipython-doc/dev/development/messaging.html#execution-results>.

Since warnings do not halt the execution of the program, how should I
approach this? I think the current way in IPython is to have warnings go
to `stderr` rather than have a separate traceback mechanism.

Regards,
- Zaki Mughal


From mwaskom at stanford.edu  Tue Feb 17 17:45:41 2015
From: mwaskom at stanford.edu (Michael Waskom)
Date: Tue, 17 Feb 2015 14:45:41 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
Message-ID: <CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>

Ooop one more thing I've noticed. ctrl-j/k no longer appears to move cells,
although that shortcut is still referenced here:
http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Notebook/Notebook%20Basics.ipynb
(not in the help popup though, so maybe those have been removed, which
would  make me sad).

On Tue, Feb 17, 2015 at 1:53 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 17 February 2015 at 13:43, Max Linke <max_linke at gmx.de> wrote:
>
>> Isn't there a guarantee about which functions are available when
>> custom.js is loaded?
>>
>
> Currently, as far as I'm aware, no, there isn't. Possibly we should give
> one, though I think that's too late for 3.0 now.
>
>
>> I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:
>>
>>      IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
>>
>
> There's a code snippet to restore Ctrl-J/Ctrl-K here:
> https://github.com/ipython/ipython/pull/7732#issuecomment-74519970
>
> The shortcuts set in cm_config are only for Codemirror, i.e. they act
> within a single cell. Notebook shortcuts, e.g. for moving cells around, are
> defined elsewhere.
>
> > Is it documented somewhere what the recommended way is of enabling
> > extensions in the notebook? I can't find anything in the online docs and
> > most extensions I find seem to use another way to load it.
>
> Basically nothing about the JS API is documented yet, and this is kind of
> deliberate - most of it is still changing pretty fast, and we don't want to
> give a false impression of stability.
>
> In IPython 3, there is a way of storing declarative frontend config,
> including a set of extensions to load, so you don't have to manually edit
> custom.js to enable them. There is an extension built on top of this to
> provide a GUI for enabling and disabling extensions:
>
>
> https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/config-extension
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/3a862ab3/attachment.html>

From bussonniermatthias at gmail.com  Tue Feb 17 17:55:48 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 17 Feb 2015 14:55:48 -0800
Subject: [IPython-dev] IPython messaging spec for warnings with traceback
In-Reply-To: <20150217224440.GL13270@janus.cbl.uh.edu>
References: <20150217224440.GL13270@janus.cbl.uh.edu>
Message-ID: <AE9FFF31-DCAF-4508-8744-960B26E8D776@gmail.com>


Le 17 f?vr. 2015 ? 14:44, Zakariyya Mughal <zaki.mughal at gmail.com> a ?crit :

> Hello,
> 
> I'm working on the IPerl language kernel and I wanted to implement
> Perl's warning system.
> 
> In the messaging spec, I can only return the extra fields for error
> names, traceback, etc. only if the status in the `execute_reply` message
> is 'error' <http://ipython.org/ipython-doc/dev/development/messaging.html#execution-results>.
> 
> Since warnings do not halt the execution of the program, how should I
> approach this? I think the current way in IPython is to have warnings go
> to `stderr` rather than have a separate traceback mechanism.

I believe that's how we do it yes. And I think other kernels do that as well. 

I guess if we standardize a spec for traceback, it might make sens to reconsider
displaying tracebacks in the middle of execution. But if you already have argument
for that now, you can expose them. 

We will most likely not change the spec now that we are in RC, 
but we can start thinking of the next changes. 

-- 
M







From bussonniermatthias at gmail.com  Tue Feb 17 17:56:34 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 17 Feb 2015 14:56:34 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
Message-ID: <F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>


Le 17 f?vr. 2015 ? 14:45, Michael Waskom <mwaskom at stanford.edu> a ?crit :

> Ooop one more thing I've noticed. ctrl-j/k no longer appears to move cells, although that shortcut is still referenced here: http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Notebook/Notebook%20Basics.ipynb (not in the help popup though, so maybe those have been removed, which would  make me sad).

Yes you are right. The shortcut are conflicting with FF windows, so we removed them. 
You can add them back in your custom.js though. 
-- 
M


> On Tue, Feb 17, 2015 at 1:53 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> On 17 February 2015 at 13:43, Max Linke <max_linke at gmx.de> wrote:
> Isn't there a guarantee about which functions are available when
> custom.js is loaded?
> 
> Currently, as far as I'm aware, no, there isn't. Possibly we should give one, though I think that's too late for 3.0 now.
>  
> I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:
> 
>      IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
> 
> There's a code snippet to restore Ctrl-J/Ctrl-K here: https://github.com/ipython/ipython/pull/7732#issuecomment-74519970
> 
> The shortcuts set in cm_config are only for Codemirror, i.e. they act within a single cell. Notebook shortcuts, e.g. for moving cells around, are defined elsewhere.
> 
> > Is it documented somewhere what the recommended way is of enabling
> > extensions in the notebook? I can't find anything in the online docs and
> > most extensions I find seem to use another way to load it.
> 
> Basically nothing about the JS API is documented yet, and this is kind of deliberate - most of it is still changing pretty fast, and we don't want to give a false impression of stability.
> 
> In IPython 3, there is a way of storing declarative frontend config, including a set of extensions to load, so you don't have to manually edit custom.js to enable them. There is an extension built on top of this to provide a GUI for enabling and disabling extensions:
> 
> https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/config-extension
> 
> Thomas
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/6d7e0662/attachment.html>

From takowl at gmail.com  Tue Feb 17 18:09:13 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 17 Feb 2015 15:09:13 -0800
Subject: [IPython-dev] IPython messaging spec for warnings with traceback
In-Reply-To: <AE9FFF31-DCAF-4508-8744-960B26E8D776@gmail.com>
References: <20150217224440.GL13270@janus.cbl.uh.edu>
	<AE9FFF31-DCAF-4508-8744-960B26E8D776@gmail.com>
Message-ID: <CAOvn4qj=hm17ZqAEzh3SgB4H9XAJtdmyYu3pz9h5PTdTdJB6bA@mail.gmail.com>

On 17 February 2015 at 14:55, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> I guess if we standardize a spec for traceback, it might make sens to
> reconsider
> displaying tracebacks in the middle of execution. But if you already have
> argument
> for that now, you can expose them.


There is an 'error' message for displaying errors, which is separate from
the execution_reply. IIRC, the error message determines what the UI
actually sees, and the execution_reply may affect the frontend's behaviour
(it considers that execution to have failed). If I'm right, sending an
'error' message for a warning and then sending execute_reply with status OK
should work correctly.

We probably don't need to be sending all the error information twice, but
that's another issue.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/335b0510/attachment.html>

From benjaminrk at gmail.com  Wed Feb 18 02:20:10 2015
From: benjaminrk at gmail.com (MinRK)
Date: Tue, 17 Feb 2015 23:20:10 -0800
Subject: [IPython-dev] ITorch on IPython 3 -- problems?
In-Reply-To: <CAHAreOqzMqg+LqQ7EY+t2efWJWB1dSCK8c9QR=VHF_5nWoB+Cg@mail.gmail.com>
References: <CABbuyuVPn0gVVmupbxRpfR2psMo7sVHAs=fU4vZRktKDpcJWjw@mail.gmail.com>
	<CAHAreOqzMqg+LqQ7EY+t2efWJWB1dSCK8c9QR=VHF_5nWoB+Cg@mail.gmail.com>
Message-ID: <CAHNn8BVc3NgqTj5LevyOQ3dNO=rCYhrhGqKBQ4v2VR+3ktKQNA@mail.gmail.com>

I didn?t play with it too much, but I submitted a couple of PRs
<https://github.com/facebook/iTorch/pulls?q=is%3Apr+author%3Aminrk> to get
iTorch working with IPython 3.0 last week. After those, it seemed to be
working for me.

-MinRK
?

On Mon, Feb 16, 2015 at 11:03 PM, Fernando Perez <fperez.net at gmail.com>
wrote:

> On Mon, Feb 16, 2015 at 5:19 PM, Andrew Payne <andy at payne.org> wrote:
>
>>
>> (And if there's an ITorch mailing list, please redirect me.  I couldn't
>> find one).
>>
>
> maybe start by posting a quick ping as an issue on their github repo?
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/fe87d1a4/attachment.html>

From andrew.gibiansky at gmail.com  Wed Feb 18 02:27:51 2015
From: andrew.gibiansky at gmail.com (Andrew Gibiansky)
Date: Tue, 17 Feb 2015 23:27:51 -0800
Subject: [IPython-dev] IPython messaging spec for warnings with traceback
In-Reply-To: <CAOvn4qj=hm17ZqAEzh3SgB4H9XAJtdmyYu3pz9h5PTdTdJB6bA@mail.gmail.com>
References: <20150217224440.GL13270@janus.cbl.uh.edu>
	<AE9FFF31-DCAF-4508-8744-960B26E8D776@gmail.com>
	<CAOvn4qj=hm17ZqAEzh3SgB4H9XAJtdmyYu3pz9h5PTdTdJB6bA@mail.gmail.com>
Message-ID: <CAF-LYKKQfRBpNSLP_3XTzVyaVK3SqbBELhZWDFXFRYGw4SjXaA@mail.gmail.com>

IHaskell currently just publishes a display_data message with the error
message, showing it in red for notebook frontends. Is there a downside to
this approach over writing to stderr or sending an error message? Should I
change this to use a more standard mechanism?

-- Andrew

On Tue, Feb 17, 2015 at 3:09 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 17 February 2015 at 14:55, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>> I guess if we standardize a spec for traceback, it might make sens to
>> reconsider
>> displaying tracebacks in the middle of execution. But if you already have
>> argument
>> for that now, you can expose them.
>
>
> There is an 'error' message for displaying errors, which is separate from
> the execution_reply. IIRC, the error message determines what the UI
> actually sees, and the execution_reply may affect the frontend's behaviour
> (it considers that execution to have failed). If I'm right, sending an
> 'error' message for a warning and then sending execute_reply with status OK
> should work correctly.
>
> We probably don't need to be sending all the error information twice, but
> that's another issue.
>
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/908b79af/attachment.html>

From benjaminrk at gmail.com  Wed Feb 18 02:44:44 2015
From: benjaminrk at gmail.com (MinRK)
Date: Tue, 17 Feb 2015 23:44:44 -0800
Subject: [IPython-dev] IPython messaging spec for warnings with traceback
In-Reply-To: <CAF-LYKKQfRBpNSLP_3XTzVyaVK3SqbBELhZWDFXFRYGw4SjXaA@mail.gmail.com>
References: <20150217224440.GL13270@janus.cbl.uh.edu>
	<AE9FFF31-DCAF-4508-8744-960B26E8D776@gmail.com>
	<CAOvn4qj=hm17ZqAEzh3SgB4H9XAJtdmyYu3pz9h5PTdTdJB6bA@mail.gmail.com>
	<CAF-LYKKQfRBpNSLP_3XTzVyaVK3SqbBELhZWDFXFRYGw4SjXaA@mail.gmail.com>
Message-ID: <CAHNn8BUMO+9BpPCVDCERcFv71hAD0arc8mS4Eiit1BWyNe5EMg@mail.gmail.com>

On Tue, Feb 17, 2015 at 11:27 PM, Andrew Gibiansky <
andrew.gibiansky at gmail.com> wrote:

> IHaskell currently just publishes a display_data message with the error
> message, showing it in red for notebook frontends. Is there a downside to
> this approach over writing to stderr or sending an error message? Should I
> change this to use a more standard mechanism?
>

I think that's perfectly sensible. Warnings in Python already go to stderr,
so IPython doesn't do anything to handle warnings at all. A display_data
message is just fine, too.

-MinRK


>
> -- Andrew
>
> On Tue, Feb 17, 2015 at 3:09 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> On 17 February 2015 at 14:55, Matthias Bussonnier <
>> bussonniermatthias at gmail.com> wrote:
>>
>>> I guess if we standardize a spec for traceback, it might make sens to
>>> reconsider
>>> displaying tracebacks in the middle of execution. But if you already
>>> have argument
>>> for that now, you can expose them.
>>
>>
>> There is an 'error' message for displaying errors, which is separate from
>> the execution_reply. IIRC, the error message determines what the UI
>> actually sees, and the execution_reply may affect the frontend's behaviour
>> (it considers that execution to have failed). If I'm right, sending an
>> 'error' message for a warning and then sending execute_reply with status OK
>> should work correctly.
>>
>> We probably don't need to be sending all the error information twice, but
>> that's another issue.
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150217/b2d678ed/attachment.html>

From ra092767 at ime.unicamp.br  Wed Feb 18 21:49:35 2015
From: ra092767 at ime.unicamp.br (Raniere Silva)
Date: Thu, 19 Feb 2015 00:49:35 -0200
Subject: [IPython-dev] Google Summer of Code and NumFOCUS
Message-ID: <20150219024934.GC11191@pupunha>

Hi,

NumFOCUS has promotes and supports the ongoing research and development of
open-source computing tools including IPython.

This year NumFOCUS want to try be a Google Summer of Code
"umbrella" mentoring organization,

    Umbrella organizations are mentoring organizations accepted into the Google
    Summer of Code program that have other open source organizations working
    "under" them. Sometime organizations that work very closely or have very
    similar goals or communities may get put together under an "umbrella."
    Google stills expects all organizations under the umbrella, whether accepted
    into the program under their title or not, to adhere to all the rules and
    regulations of the program.

    From https://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2015/help_page#umbrella_organization

To help promote and support IPython.

We encourage IPython to apply to Google Summer of Code under your own title
and will be very happy if you can also do with us.
If you are interested, please check https://github.com/swcarpentry/gsoc2015
and https://github.com/swcarpentry/gsoc2015/blob/master/CONTRIBUTING.md.

If you have any question, please email me directly.

Thanks in advance,
Raniere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150219/e485ee8d/attachment.sig>

From fperez.net at gmail.com  Wed Feb 18 21:45:23 2015
From: fperez.net at gmail.com (Fernando Perez)
Date: Wed, 18 Feb 2015 18:45:23 -0800
Subject: [IPython-dev] Google Summer of Code and NumFOCUS
In-Reply-To: <20150219024934.GC11191@pupunha>
References: <20150219024934.GC11191@pupunha>
Message-ID: <CAHAreOqg+mnt921x3++-Q9QvR+ibfuJwgGonKoAAohrzCXC6Sw@mail.gmail.com>

Hi Rainiere,

right now we don't have the necessary bandwidth, nor the kind of
appropirate GSoC project breakdown, to successfully meet the
responsibilities of a good GSoC mentor.  Therefore IPython will not be
applying this year for GSoC participation.

Thanks!

f

On Wed, Feb 18, 2015 at 6:49 PM, Raniere Silva <ra092767 at ime.unicamp.br>
wrote:

> Hi,
>
> NumFOCUS has promotes and supports the ongoing research and development of
> open-source computing tools including IPython.
>
> This year NumFOCUS want to try be a Google Summer of Code
> "umbrella" mentoring organization,
>
>     Umbrella organizations are mentoring organizations accepted into the
> Google
>     Summer of Code program that have other open source organizations
> working
>     "under" them. Sometime organizations that work very closely or have
> very
>     similar goals or communities may get put together under an "umbrella."
>     Google stills expects all organizations under the umbrella, whether
> accepted
>     into the program under their title or not, to adhere to all the rules
> and
>     regulations of the program.
>
>     From
> https://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2015/help_page#umbrella_organization
>
> To help promote and support IPython.
>
> We encourage IPython to apply to Google Summer of Code under your own title
> and will be very happy if you can also do with us.
> If you are interested, please check
> https://github.com/swcarpentry/gsoc2015
> and https://github.com/swcarpentry/gsoc2015/blob/master/CONTRIBUTING.md.
>
> If you have any question, please email me directly.
>
> Thanks in advance,
> Raniere
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150218/e97d2ac7/attachment.html>

From mwaskom at stanford.edu  Thu Feb 19 11:35:59 2015
From: mwaskom at stanford.edu (Michael Waskom)
Date: Thu, 19 Feb 2015 08:35:59 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
Message-ID: <CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>

Hi, sorry to be a nuisance, but I'm worried this part of my second email
may have been overlooked, and it's been bugging me a lot as I've been
working with the release candidate:

One other thing I have noticed is that, when shift-TABing to get the
function docstring popover in the notebook, the help seems often bound to
objects that have been added as arguments, and not  to the function
itself., i.e.

func(a, b, [shift-TAB]

will show me the docstring for the object that `b` points at, although this
seems to only happen when an variable is being used. In other words,

func(a, "b", [shift-TAB]

will show me the docstring for `a`.

Previously this would happen when using a function within the call, ie.e.

func1(a, func2(b), [shift=TAB]

would should me the docs for `func2` (even if I had closed parens on it).
But the behavior has changed somewhat.

On Tue, Feb 17, 2015 at 2:56 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 17 f?vr. 2015 ? 14:45, Michael Waskom <mwaskom at stanford.edu> a ?crit :
>
> Ooop one more thing I've noticed. ctrl-j/k no longer appears to move
> cells, although that shortcut is still referenced here:
> http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Notebook/Notebook%20Basics.ipynb
> (not in the help popup though, so maybe those have been removed, which
> would  make me sad).
>
>
> Yes you are right. The shortcut are conflicting with FF windows, so we
> removed them.
> You can add them back in your custom.js though.
> --
> M
>
>
> On Tue, Feb 17, 2015 at 1:53 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>
>> On 17 February 2015 at 13:43, Max Linke <max_linke at gmx.de> wrote:
>>
>>> Isn't there a guarantee about which functions are available when
>>> custom.js is loaded?
>>>
>>
>> Currently, as far as I'm aware, no, there isn't. Possibly we should give
>> one, though I think that's too late for 3.0 now.
>>
>>
>>> I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:
>>>
>>>      IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
>>>
>>
>> There's a code snippet to restore Ctrl-J/Ctrl-K here:
>> https://github.com/ipython/ipython/pull/7732#issuecomment-74519970
>>
>> The shortcuts set in cm_config are only for Codemirror, i.e. they act
>> within a single cell. Notebook shortcuts, e.g. for moving cells around, are
>> defined elsewhere.
>>
>> > Is it documented somewhere what the recommended way is of enabling
>> > extensions in the notebook? I can't find anything in the online docs and
>> > most extensions I find seem to use another way to load it.
>>
>> Basically nothing about the JS API is documented yet, and this is kind of
>> deliberate - most of it is still changing pretty fast, and we don't want to
>> give a false impression of stability.
>>
>> In IPython 3, there is a way of storing declarative frontend config,
>> including a set of extensions to load, so you don't have to manually edit
>> custom.js to enable them. There is an extension built on top of this to
>> provide a GUI for enabling and disabling extensions:
>>
>>
>> https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/config-extension
>>
>> Thomas
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150219/5da125cd/attachment.html>

From cyrille.rossant at gmail.com  Thu Feb 19 11:57:24 2015
From: cyrille.rossant at gmail.com (Cyrille Rossant)
Date: Thu, 19 Feb 2015 17:57:24 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
Message-ID: <CA+-1RQS5YOpXYgF2XVdf+53S1QFe=U0x3EWBhJcLGGbL59WN_w@mail.gmail.com>

2015-02-19 17:35 GMT+01:00 Michael Waskom <mwaskom at stanford.edu>:
> Hi, sorry to be a nuisance, but I'm worried this part of my second email may
> have been overlooked, and it's been bugging me a lot as I've been working
> with the release candidate:

I second that

> One other thing I have noticed is that, when shift-TABing to get the
> function docstring popover in the notebook, the help seems often bound to
> objects that have been added as arguments, and not  to the function itself.,
> i.e.
>
> func(a, b, [shift-TAB]
>
> will show me the docstring for the object that `b` points at, although this
> seems to only happen when an variable is being used. In other words,
>
> func(a, "b", [shift-TAB]
>
> will show me the docstring for `a`.
>
> Previously this would happen when using a function within the call, ie.e.
>
> func1(a, func2(b), [shift=TAB]
>
> would should me the docs for `func2` (even if I had closed parens on it).
> But the behavior has changed somewhat.


From takowl at gmail.com  Thu Feb 19 12:54:44 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Thu, 19 Feb 2015 09:54:44 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
Message-ID: <CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>

Sorry, I did see that part of the message before, but I neglected to
respond.

On 19 February 2015 at 08:35, Michael Waskom <mwaskom at stanford.edu> wrote:

> One other thing I have noticed is that, when shift-TABing to get the
> function docstring popover in the notebook, the help seems often bound to
> objects that have been added as arguments, and not  to the function
> itself., i.e.
>
> func(a, b, [shift-TAB]
>
> will show me the docstring for the object that `b` points at
>

I think previously there was a regex in the JS that looked backwards for
something like "name(". As part of the work to make the frontend more
language agnostic, this was dropped - it now sends the current cell and the
cursor position to the kernel and expects that to work out what it should
provide information about.

The upside of this is that it's possible to do smarter things, like
tokenising the code, so in your example:

> func1(a, func2(b), [shift-TAB]

it would be able to provide information on func1 rather than func2.

The downside is that we haven't implemented anything smart in the kernel
yet, so it currently just gets the last name before or at the cursor.

We don't want to start messing around with this code for 3.0 now, but for
3.1 we should aim to make it at least as smart as the JS was in IPython
2.x. I'll open an issue for it.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150219/3a7a3764/attachment.html>

From john at omernik.com  Thu Feb 19 14:27:30 2015
From: john at omernik.com (John Omernik)
Date: Thu, 19 Feb 2015 13:27:30 -0600
Subject: [IPython-dev] Hide input
Message-ID: <CAKOFcwqJkrsW86kWei_TxymryFMBif4o6Jm3aFWaCW6yF=harQ@mail.gmail.com>

So I see this has been discussed before (Git Hub Closed issue 1340)
But I am confused at the decision process behind saying iPython will
not have the ability to hide or collapse input cells, but it will be
in NBConvert...


I can think of a number of cases where a collapse input would
invaluable to intuitive data manipulation.  Say you have a text Json
blob... you can assign to a variable in Python, and then collapse down
the input to just the top line , and proceed to do data manipulation
without having to scroll through pages of Json text.  It makes the
analysis (not just the reading of the NBConverted notebook) easier .

Can we rethink this decision to add the ability to hide input?


From bussonniermatthias at gmail.com  Thu Feb 19 14:38:45 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 19 Feb 2015 11:38:45 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>
Message-ID: <A86636A8-26C8-49B2-9812-1BDD01134404@gmail.com>


Le 19 f?vr. 2015 ? 09:54, Thomas Kluyver <takowl at gmail.com> a ?crit :

> 
> I think previously there was a regex in the JS that looked backwards for something like "name(". As part of the work to make the frontend more language agnostic, this was dropped - it now sends the current cell and the cursor position to the kernel and expects that to work out what it should provide information about.

Indeed,and having a space after the comma, or not was returning different results. 


> The upside of this is that it's possible to do smarter things, like tokenising the code, so in your example:
> 
> > func1(a, func2(b), [shift-TAB]
> 
> it would be able to provide information on func1 rather than func2.
> 
> The downside is that we haven't implemented anything smart in the kernel yet, so it currently just gets the last name before or at the cursor.

You can also select and shift-tab, it should give info only on selection. 

> 
> We don't want to start messing around with this code for 3.0 now, but for 3.1 we should aim to make it at least as smart as the JS was in IPython 2.x. I'll open an issue for it.

It was not technically "smart", and we don't use the new message spec at all, 
so I doubt this will be a simple "fix". 

-- 
M


> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From benjaminrk at gmail.com  Thu Feb 19 15:13:21 2015
From: benjaminrk at gmail.com (MinRK)
Date: Thu, 19 Feb 2015 21:13:21 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <A86636A8-26C8-49B2-9812-1BDD01134404@gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>
	<A86636A8-26C8-49B2-9812-1BDD01134404@gmail.com>
Message-ID: <CAHNn8BW40OHyXVV+pPYCdzR+o77Zg1WwACpok6O55VmSEWc8pw@mail.gmail.com>

On Thu, Feb 19, 2015 at 8:38 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

>
> Le 19 f?vr. 2015 ? 09:54, Thomas Kluyver <takowl at gmail.com> a ?crit :
>
> >
> > I think previously there was a regex in the JS that looked backwards for
> something like "name(". As part of the work to make the frontend more
> language agnostic, this was dropped - it now sends the current cell and the
> cursor position to the kernel and expects that to work out what it should
> provide information about.
>
> Indeed,and having a space after the comma, or not was returning different
> results.
>
>
> > The upside of this is that it's possible to do smarter things, like
> tokenising the code, so in your example:
> >
> > > func1(a, func2(b), [shift-TAB]
> >
> > it would be able to provide information on func1 rather than func2.
> >
> > The downside is that we haven't implemented anything smart in the kernel
> yet, so it currently just gets the last name before or at the cursor.
>
> You can also select and shift-tab, it should give info only on selection.
>
> >
> > We don't want to start messing around with this code for 3.0 now, but
> for 3.1 we should aim to make it at least as smart as the JS was in IPython
> 2.x. I'll open an issue for it.
>
> It was not technically "smart", and we don't use the new message spec at
> all,
> so I doubt this will be a simple "fix".
>

I don't know what you mean by "we don't use the new message spec", but the
tokenization is done entirely on the Python side with the new message spec
that we use in 3.0. Right now, the IPython kernel picks the nearest token
to the cursor, but we could certainly change this to pick the most recent
token before an open-paren if there is one. We just need to make a decision
about what token should be inspected for a given context. I think that's a
relatively challenging problem, since it's guessing user intent, but
implementation shouldn't be the biggest challenge.


>
> --
> M
>
>
> > Thomas
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150219/8440bc0d/attachment.html>

From benjaminrk at gmail.com  Thu Feb 19 15:17:55 2015
From: benjaminrk at gmail.com (MinRK)
Date: Thu, 19 Feb 2015 21:17:55 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAHNn8BW40OHyXVV+pPYCdzR+o77Zg1WwACpok6O55VmSEWc8pw@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>
	<A86636A8-26C8-49B2-9812-1BDD01134404@gmail.com>
	<CAHNn8BW40OHyXVV+pPYCdzR+o77Zg1WwACpok6O55VmSEWc8pw@mail.gmail.com>
Message-ID: <CAHNn8BVePns+eF57RpAXeR5iupKbnRN2UxZ1qVb2zUiiV3-k-A@mail.gmail.com>

On Thu, Feb 19, 2015 at 9:13 PM, MinRK <benjaminrk at gmail.com> wrote:


>
> On Thu, Feb 19, 2015 at 8:38 PM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>>
>> Le 19 f?vr. 2015 ? 09:54, Thomas Kluyver <takowl at gmail.com> a ?crit :
>>
>> >
>> > I think previously there was a regex in the JS that looked backwards
>> for something like "name(". As part of the work to make the frontend more
>> language agnostic, this was dropped - it now sends the current cell and the
>> cursor position to the kernel and expects that to work out what it should
>> provide information about.
>>
>> Indeed,and having a space after the comma, or not was returning different
>> results.
>>
>>
>> > The upside of this is that it's possible to do smarter things, like
>> tokenising the code, so in your example:
>> >
>> > > func1(a, func2(b), [shift-TAB]
>> >
>> > it would be able to provide information on func1 rather than func2.
>> >
>> > The downside is that we haven't implemented anything smart in the
>> kernel yet, so it currently just gets the last name before or at the cursor.
>>
>> You can also select and shift-tab, it should give info only on selection.
>>
>> >
>> > We don't want to start messing around with this code for 3.0 now, but
>> for 3.1 we should aim to make it at least as smart as the JS was in IPython
>> 2.x. I'll open an issue for it.
>>
>> It was not technically "smart", and we don't use the new message spec at
>> all,
>> so I doubt this will be a simple "fix".
>>
>
> I don't know what you mean by "we don't use the new message spec", but the
> tokenization is done entirely on the Python side with the new message spec
> that we use in 3.0. Right now, the IPython kernel picks the nearest token
> to the cursor, but we could certainly change this to pick the most recent
> token before an open-paren if there is one. We just need to make a decision
> about what token should be inspected for a given context. I think that's a
> relatively challenging problem, since it's guessing user intent, but
> implementation shouldn't be the biggest challenge.
>
For example, here?s one implementation
<https://github.com/ipython/ipython/pull/7819>.

-MinRK


>
>>
>> --
>> M
>>
>>
>> > Thomas
>> > _______________________________________________
>> > IPython-dev mailing list
>> > IPython-dev at scipy.org
>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>  ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150219/73112764/attachment.html>

From bussonniermatthias at gmail.com  Thu Feb 19 17:23:05 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Thu, 19 Feb 2015 14:23:05 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAHNn8BW40OHyXVV+pPYCdzR+o77Zg1WwACpok6O55VmSEWc8pw@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>
	<A86636A8-26C8-49B2-9812-1BDD01134404@gmail.com>
	<CAHNn8BW40OHyXVV+pPYCdzR+o77Zg1WwACpok6O55VmSEWc8pw@mail.gmail.com>
Message-ID: <6633F332-453F-4C19-8C5F-E545436A06AE@gmail.com>


Le 19 f?vr. 2015 ? 12:13, MinRK <benjaminrk at gmail.com> a ?crit :

> 
> 
> On Thu, Feb 19, 2015 at 8:38 PM, Matthias Bussonnier <bussonniermatthias at gmail.com> wrote:
> 
> Le 19 f?vr. 2015 ? 09:54, Thomas Kluyver <takowl at gmail.com> a ?crit :
> 
> >
> > I think previously there was a regex in the JS that looked backwards for something like "name(". As part of the work to make the frontend more language agnostic, this was dropped - it now sends the current cell and the cursor position to the kernel and expects that to work out what it should provide information about.
> 
> Indeed,and having a space after the comma, or not was returning different results.
> 
> 
> > The upside of this is that it's possible to do smarter things, like tokenising the code, so in your example:
> >
> > > func1(a, func2(b), [shift-TAB]
> >
> > it would be able to provide information on func1 rather than func2.
> >
> > The downside is that we haven't implemented anything smart in the kernel yet, so it currently just gets the last name before or at the cursor.
> 
> You can also select and shift-tab, it should give info only on selection.
> 
> >
> > We don't want to start messing around with this code for 3.0 now, but for 3.1 we should aim to make it at least as smart as the JS was in IPython 2.x. I'll open an issue for it.
> 
> It was not technically "smart", and we don't use the new message spec at all,
> so I doubt this will be a simple "fix".
> 
> I don't know what you mean by "we don't use the new message spec",

Sorry ment we don't do smart completion on the full text of the cell. 

> but the tokenization is done entirely on the Python side with the new message spec that we use in 3.0. Right now, the IPython kernel picks the nearest token to the cursor, but we could certainly change this to pick the most recent token before an open-paren if there is one. We just need to make a decision about what token should be inspected for a given context. I think that's a relatively challenging problem, since it's guessing user intent, but implementation shouldn't be the biggest challenge.

That means that custom completer do not get access to the full cell right ? 



>  
> 
> --
> M
> 
> 
> > Thomas
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150219/e64e1351/attachment.html>

From benjaminrk at gmail.com  Fri Feb 20 08:56:45 2015
From: benjaminrk at gmail.com (Min RK)
Date: Fri, 20 Feb 2015 14:56:45 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <6633F332-453F-4C19-8C5F-E545436A06AE@gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<CAOvn4qiMpyWYQA8vJ8513H_Yi=qnE_h+pi4tH5omTKL30rGdqQ@mail.gmail.com>
	<A86636A8-26C8-49B2-9812-1BDD01134404@gmail.com>
	<CAHNn8BW40OHyXVV+pPYCdzR+o77Zg1WwACpok6O55VmSEWc8pw@mail.gmail.com>
	<6633F332-453F-4C19-8C5F-E545436A06AE@gmail.com>
Message-ID: <ADCC9CFA-919B-4ED2-8F66-630A11396E0F@gmail.com>



> On Feb 19, 2015, at 23:23, Matthias Bussonnier <bussonniermatthias at gmail.com> wrote:
> 
> 
>> Le 19 f?vr. 2015 ? 12:13, MinRK <benjaminrk at gmail.com> a ?crit :
>> 
>> 
>> 
>>> On Thu, Feb 19, 2015 at 8:38 PM, Matthias Bussonnier <bussonniermatthias at gmail.com> wrote:
>>> 
>>> Le 19 f?vr. 2015 ? 09:54, Thomas Kluyver <takowl at gmail.com> a ?crit :
>>> 
>>> >
>>> > I think previously there was a regex in the JS that looked backwards for something like "name(". As part of the work to make the frontend more language agnostic, this was dropped - it now sends the current cell and the cursor position to the kernel and expects that to work out what it should provide information about.
>>> 
>>> Indeed,and having a space after the comma, or not was returning different results.
>>> 
>>> 
>>> > The upside of this is that it's possible to do smarter things, like tokenising the code, so in your example:
>>> >
>>> > > func1(a, func2(b), [shift-TAB]
>>> >
>>> > it would be able to provide information on func1 rather than func2.
>>> >
>>> > The downside is that we haven't implemented anything smart in the kernel yet, so it currently just gets the last name before or at the cursor.
>>> 
>>> You can also select and shift-tab, it should give info only on selection.
>>> 
>>> >
>>> > We don't want to start messing around with this code for 3.0 now, but for 3.1 we should aim to make it at least as smart as the JS was in IPython 2.x. I'll open an issue for it.
>>> 
>>> It was not technically "smart", and we don't use the new message spec at all,
>>> so I doubt this will be a simple "fix".
>> 
>> I don't know what you mean by "we don't use the new message spec",
> 
> Sorry ment we don't do smart completion on the full text of the cell. 
> 
>> but the tokenization is done entirely on the Python side with the new message spec that we use in 3.0. Right now, the IPython kernel picks the nearest token to the cursor, but we could certainly change this to pick the most recent token before an open-paren if there is one. We just need to make a decision about what token should be inspected for a given context. I think that's a relatively challenging problem, since it's guessing user intent, but implementation shouldn't be the biggest challenge.
> 
> That means that custom completer do not get access to the full cell right ? 

Not at all. Finding the token for introspection (tooltip) and completion are completely separate processes. Both should get the complete cell. Because of how IPython's completion machinery works now, I believe we only pass the completer the current line, but I think we can fix whatever it was that prevented the completer from working when you pass it multiline content.

> 
> 
> 
>>  
>>> 
>>> --
>>> M
>>> 
>>> 
>>> > Thomas
>>> > _______________________________________________
>>> > IPython-dev mailing list
>>> > IPython-dev at scipy.org
>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>> 
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150220/e0c9e441/attachment.html>

From pmhobson at gmail.com  Fri Feb 20 12:42:04 2015
From: pmhobson at gmail.com (Paul Hobson)
Date: Fri, 20 Feb 2015 09:42:04 -0800
Subject: [IPython-dev] Hide input
In-Reply-To: <CAKOFcwqJkrsW86kWei_TxymryFMBif4o6Jm3aFWaCW6yF=harQ@mail.gmail.com>
References: <CAKOFcwqJkrsW86kWei_TxymryFMBif4o6Jm3aFWaCW6yF=harQ@mail.gmail.com>
Message-ID: <CADT3MEDawwwV-dyDh3C7YgyD8HTviisAhnZBPRuC3iJzu2J_6g@mail.gmail.com>

I can't speak for the devs here, but I recall them saying that they don't
want anyone being able to hide malicious code in a hidden cell.

For your problem, would simply loading the JSON from a file be an option?
-p

On Thu, Feb 19, 2015 at 11:27 AM, John Omernik <john at omernik.com> wrote:

> So I see this has been discussed before (Git Hub Closed issue 1340)
> But I am confused at the decision process behind saying iPython will
> not have the ability to hide or collapse input cells, but it will be
> in NBConvert...
>
>
> I can think of a number of cases where a collapse input would
> invaluable to intuitive data manipulation.  Say you have a text Json
> blob... you can assign to a variable in Python, and then collapse down
> the input to just the top line , and proceed to do data manipulation
> without having to scroll through pages of Json text.  It makes the
> analysis (not just the reading of the NBConverted notebook) easier .
>
> Can we rethink this decision to add the ability to hide input?
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150220/1bc4c32a/attachment.html>

From ra092767 at ime.unicamp.br  Fri Feb 20 15:33:09 2015
From: ra092767 at ime.unicamp.br (Raniere Silva)
Date: Fri, 20 Feb 2015 18:33:09 -0200
Subject: [IPython-dev] =?utf-8?q?ANN=3A_SciPy_Latin_Am=C3=A9rica_2015_-_Ca?=
 =?utf-8?q?ll_for_Proposals?=
Message-ID: <20150220203309.GN12853@pupunha>

*Call for Proposals*

*SciPy Latin Am?rica 2015*, the third annual Scientific Computing with
Python Conference, will be held this *May 20-22* in *Posadas, Misiones,
Argentina*.

SciPy is a community dedicated to the advancement of scientific computing
through open source Python software for mathematics, science, and
engineering. The annual SciPy Conferences allows participants from
academic, commercial, and governmental organizations to showcase their
latest projects, learn from skilled users and developers, and collaborate
on code development.

*Proposals are now being accepted for SciPy Latin Am?rica 2015*.

Presentation content can be at a novice, intermediate or advanced level.
Talks will run 30-40 min and hands-on tutorials will run 100-120 min. We
also receive proposal for posters. For more information about the different
types of proposal, see below the "*Different types of Communication*"
section.

*How to Submit?*

   1. Register for an account on http://conf.scipyla.org/user/register
   2. Submit your proposal at http://conf.scipyla.org/activity/propose

*Important Dates*

   - *April 6th*: Talks, poster, tutorial submission deadline.
   - *April 20th*: Notification Talks / Posters / Tutorial accepted.
   - *May 20th-22nd*: SciPy Latin Am?rica 2015.

*Different types of Communication*

*Talks*: These are the traditional talk sessions given during the main
conference days. They're mostly 30 minutes long with 5 min for questions.
If you think you have a topic but aren't sure how to propose it, contact
our program committee and we'll work with you. We'd love to help you come
up with a great proposal.

*Tutorials*: We are looking for tutorials that can grow this community at
any level. We aim for tutorials that will advance Scientific Python,
advance this community, and shape the future. They're are 100-120 minutes
long, but if you think you need more than one slot, you can split the
content and submit two self-contained proposals.

*Posters*: The poster session provides a more interactive, attendee-driven
presentation than the speaker-driven conference talks. Poster presentations
have fostered extensive discussions on the topics, with many that have gone
on much longer than the actual "session" called for. The idea is to present
your topic on poster board and as attendees mingle through the rows, they
find your topic, read through what you've written, then strike up a
discussion on it. It's as simple as that. You could be doing Q&A in the
first minute of the session with a group of 10 people.

*Lightning Talks*: Want to give a talk, but do not have enough material for
a full talk? These talks are, at max, 5 minute talks done in quick
succession in the main hall. No need to fill the whole slot, though!

-- 
*The SciPy LA 2015 Program **Committee*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150220/9617a416/attachment.sig>

From max_linke at gmx.de  Fri Feb 20 16:00:57 2015
From: max_linke at gmx.de (Max Linke)
Date: Fri, 20 Feb 2015 22:00:57 +0100
Subject: [IPython-dev] Hide input
In-Reply-To: <CADT3MEDawwwV-dyDh3C7YgyD8HTviisAhnZBPRuC3iJzu2J_6g@mail.gmail.com>
References: <CAKOFcwqJkrsW86kWei_TxymryFMBif4o6Jm3aFWaCW6yF=harQ@mail.gmail.com>
	<CADT3MEDawwwV-dyDh3C7YgyD8HTviisAhnZBPRuC3iJzu2J_6g@mail.gmail.com>
Message-ID: <54E7A089.1090007@gmx.de>

You can use the codefolding extension to hide complete cells. If the top 
line of a cell is a comment the whole cell can be folded away.

I personally use this as a title for plots. It hides all the plotting 
commands quite nicely.

https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/Codefolding

best Max

On 02/20/2015 06:42 PM, Paul Hobson wrote:
> I can't speak for the devs here, but I recall them saying that they don't
> want anyone being able to hide malicious code in a hidden cell.
>
> For your problem, would simply loading the JSON from a file be an option?
> -p
>
> On Thu, Feb 19, 2015 at 11:27 AM, John Omernik <john at omernik.com> wrote:
>
>> So I see this has been discussed before (Git Hub Closed issue 1340)
>> But I am confused at the decision process behind saying iPython will
>> not have the ability to hide or collapse input cells, but it will be
>> in NBConvert...
>>
>>
>> I can think of a number of cases where a collapse input would
>> invaluable to intuitive data manipulation.  Say you have a text Json
>> blob... you can assign to a variable in Python, and then collapse down
>> the input to just the top line , and proceed to do data manipulation
>> without having to scroll through pages of Json text.  It makes the
>> analysis (not just the reading of the NBConverted notebook) easier .
>>
>> Can we rethink this decision to add the ability to hide input?
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From max_linke at gmx.de  Sat Feb 21 05:09:50 2015
From: max_linke at gmx.de (Max Linke)
Date: Sat, 21 Feb 2015 11:09:50 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>	<54E1BBE7.6030204@gmx.de>	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>	<54E3B613.2020301@gmx.de>	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
Message-ID: <54E8596E.5040501@gmx.de>

I actually have a problem seeing the docstring and definition right now. 
By default S-Tab only shows the type, string, and file information. (see 
attached screenshots)
To get to the for me useful key "definition" I have to press the small 
plus key. This is really annoying for me because I used S-Tab before to 
look up the arguments needed for a function.

Is there a way to define which keywords are shown when I press S-TAB?

best Max

On 02/19/2015 05:35 PM, Michael Waskom wrote:
> Hi, sorry to be a nuisance, but I'm worried this part of my second email
> may have been overlooked, and it's been bugging me a lot as I've been
> working with the release candidate:
>
> One other thing I have noticed is that, when shift-TABing to get the
> function docstring popover in the notebook, the help seems often bound to
> objects that have been added as arguments, and not  to the function
> itself., i.e.
>
> func(a, b, [shift-TAB]
>
> will show me the docstring for the object that `b` points at, although this
> seems to only happen when an variable is being used. In other words,
>
> func(a, "b", [shift-TAB]
>
> will show me the docstring for `a`.
>
> Previously this would happen when using a function within the call, ie.e.
>
> func1(a, func2(b), [shift=TAB]
>
> would should me the docs for `func2` (even if I had closed parens on it).
> But the behavior has changed somewhat.
>
> On Tue, Feb 17, 2015 at 2:56 PM, Matthias Bussonnier <
> bussonniermatthias at gmail.com> wrote:
>
>>
>> Le 17 f?vr. 2015 ? 14:45, Michael Waskom <mwaskom at stanford.edu> a ?crit :
>>
>> Ooop one more thing I've noticed. ctrl-j/k no longer appears to move
>> cells, although that shortcut is still referenced here:
>> http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Notebook/Notebook%20Basics.ipynb
>> (not in the help popup though, so maybe those have been removed, which
>> would  make me sad).
>>
>>
>> Yes you are right. The shortcut are conflicting with FF windows, so we
>> removed them.
>> You can add them back in your custom.js though.
>> --
>> M
>>
>>
>> On Tue, Feb 17, 2015 at 1:53 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>>
>>> On 17 February 2015 at 13:43, Max Linke <max_linke at gmx.de> wrote:
>>>
>>>> Isn't there a guarantee about which functions are available when
>>>> custom.js is loaded?
>>>>
>>>
>>> Currently, as far as I'm aware, no, there isn't. Possibly we should give
>>> one, though I think that's too late for 3.0 now.
>>>
>>>
>>>> I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:
>>>>
>>>>       IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
>>>>
>>>
>>> There's a code snippet to restore Ctrl-J/Ctrl-K here:
>>> https://github.com/ipython/ipython/pull/7732#issuecomment-74519970
>>>
>>> The shortcuts set in cm_config are only for Codemirror, i.e. they act
>>> within a single cell. Notebook shortcuts, e.g. for moving cells around, are
>>> defined elsewhere.
>>>
>>>> Is it documented somewhere what the recommended way is of enabling
>>>> extensions in the notebook? I can't find anything in the online docs and
>>>> most extensions I find seem to use another way to load it.
>>>
>>> Basically nothing about the JS API is documented yet, and this is kind of
>>> deliberate - most of it is still changing pretty fast, and we don't want to
>>> give a false impression of stability.
>>>
>>> In IPython 3, there is a way of storing declarative frontend config,
>>> including a set of extensions to load, so you don't have to manually edit
>>> custom.js to enable them. There is an extension built on top of this to
>>> provide a GUI for enabling and disabling extensions:
>>>
>>>
>>> https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/config-extension
>>>
>>> Thomas
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2015-02-21 11:02:24.png
Type: image/png
Size: 26909 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150221/d1f18694/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2015-02-21 11:01:41.png
Type: image/png
Size: 52775 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150221/d1f18694/attachment-0001.png>

From john at omernik.com  Sat Feb 21 12:04:54 2015
From: john at omernik.com (John Omernik)
Date: Sat, 21 Feb 2015 11:04:54 -0600
Subject: [IPython-dev] Jupyter and Other Kernels
Message-ID: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>

Since the Kernels that are developed for Jupyter look to be different
projects, I am guessing that my question is ok to ask here, but
understand if the response is "not an iPython or Jupyter" question.

I am playing with the iRKernel. https://github.com/takluyver/IRkernel
and have a few questions on how kernels in general interact with
Jupyter (not just IRKernel)


1. Magics: Based on what I am seeing in the iRKernel, Magics appear to
be a "per Kernel" thing rather than a Jupyter thing. Is this correct?
In the iRKernel %lsmagic gets me

Error in parse(text = x, srcfile = src): <text>:1:1: unexpected input
1: %lsmagic

So anythoughts on how to implement magics in other kernels if this is
not case? Am I missing something basic here?

2. So I have a some stuff running in iPython through my
profile_default startup directory.  How do duplicate this so when an R
Kernel starts up, I can have certain imports run all the time etc.  Is
that a kernel specific thing as well?

Thanks1


From bussonniermatthias at gmail.com  Sat Feb 21 13:26:06 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sat, 21 Feb 2015 10:26:06 -0800
Subject: [IPython-dev] Jupyter and Other Kernels
In-Reply-To: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>
References: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>
Message-ID: <83D3812F-583D-4524-BB81-D87D95AC90FF@gmail.com>


Le 21 f?vr. 2015 ? 09:04, John Omernik <john at omernik.com> a ?crit :

> Since the Kernels that are developed for Jupyter look to be different
> projects, I am guessing that my question is ok to ask here, but
> understand if the response is "not an iPython or Jupyter" question.

The question looks fine here.

> 
> I am playing with the iRKernel. https://github.com/takluyver/IRkernel
> and have a few questions on how kernels in general interact with
> Jupyter (not just IRKernel)
> 
> 
> 1. Magics: Based on what I am seeing in the iRKernel, Magics appear to
> be a "per Kernel" thing rather than a Jupyter thing. Is this correct?
> In the iRKernel %lsmagic gets me

Yes, they are per-kernel. 
If you write a python-base one, looks at Doug Blank Metakernel
that add some facilities to write magics. 

> 
> Error in parse(text = x, srcfile = src): <text>:1:1: unexpected input
> 1: %lsmagic

As magic are per-kernel, the kernel is responsible to parse them. 
%lsmagic could be a perfect valid syntax in (perl | php | OCaml | ....) 
because it is **not** valid syntax in Python, wa can make them magic in 
IPython.

> 
> So anythoughts on how to implement magics in other kernels if this is
> not case? Am I missing something basic here?

Depends on your language. 
Julia decided they did not need magics. 
For example shell access in julia is with `;`
but it's a property of the language. 

Julia have strings macro, so that can do:
matlab"""
	(some matlab code)
"""

Ruby have the same. 

Advice: 
Pick a syntax that is not valid R. and pre-parse to make it valid R. 
which is what IPtyhon does.  

> 
> 2. So I have a some stuff running in iPython through my
> profile_default startup directory.  How do duplicate this so when an R
> Kernel starts up, I can have certain imports run all the time etc.  Is
> that a kernel specific thing as well?

That depends on your kernel. 
The kernel do whatever it likes. 
If it want to copy us and run the .r files in .ipython/startup, I suppose that would be fine. 

If we wan another common way of doing things, we can do a working group. 
But obviously, .py fies are not the right way to configure a R process. 

-- 
M


> Thanks1
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From andy at payne.org  Sat Feb 21 13:35:37 2015
From: andy at payne.org (Andrew Payne)
Date: Sat, 21 Feb 2015 13:35:37 -0500
Subject: [IPython-dev] ITorch on IPython 3 -- problems?
In-Reply-To: <CAHNn8BVc3NgqTj5LevyOQ3dNO=rCYhrhGqKBQ4v2VR+3ktKQNA@mail.gmail.com>
References: <CABbuyuVPn0gVVmupbxRpfR2psMo7sVHAs=fU4vZRktKDpcJWjw@mail.gmail.com>
	<CAHAreOqzMqg+LqQ7EY+t2efWJWB1dSCK8c9QR=VHF_5nWoB+Cg@mail.gmail.com>
	<CAHNn8BVc3NgqTj5LevyOQ3dNO=rCYhrhGqKBQ4v2VR+3ktKQNA@mail.gmail.com>
Message-ID: <CABbuyuULzCtjX-M=LKBMSoZQwkiS3pPr_5pRbJs_1PzktVHx9w@mail.gmail.com>

On getting iTorch working with IPython 3.0:

> I didn?t play with it too much, but I submitted a couple of PRs
> <https://github.com/facebook/iTorch/pulls?q=is%3Apr+author%3Aminrk> to
> get iTorch working with IPython 3.0 last week. After those, it seemed to be
> working for me.
>
I've dug into this more deeply and now I'm wondering how you got it working.

The iTorch kernel uses kernel messaging v4 (properly reported after your
PR). It uses 'pyout' messages to send stdout.

When sending the messages, iTorch copies the header from the received
message, including whatever 'version' field is in there.  See:
https://github.com/facebook/iTorch/blob/master/IOHandler.lua#L73

IPython 3 seems to send execute_request messages with it's current version
setting, 5.0.  This causes iTorch to reply with a 'pyout' message tagged as
version 5.0.  Which in turn, causes IPython to skip adapting the message to
v5 (since it already thinks it's v5, in kernel/adapter.py).  And since
'pyout' is not in v5, it dropped the message on the floor.

(I've opened a PR to fix this in iTorch by always setting the version to
4.0, see:  https://github.com/facebook/iTorch/pull/28)

However, it raises questions:

   - Should IPython be sending v5 messages to a kernel that advertises v4?

   - Should the kernel messaging code be more verbose (log.warn, or
   something) when it gets a message type it doesn't understand?

-andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150221/3ef54358/attachment.html>

From john at omernik.com  Sat Feb 21 13:40:47 2015
From: john at omernik.com (John Omernik)
Date: Sat, 21 Feb 2015 12:40:47 -0600
Subject: [IPython-dev] Jupyter and Other Kernels
In-Reply-To: <83D3812F-583D-4524-BB81-D87D95AC90FF@gmail.com>
References: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>
	<83D3812F-583D-4524-BB81-D87D95AC90FF@gmail.com>
Message-ID: <CAKOFcwo0oUfe8g6bGk9_0C+b19xmjTHL8frEDOjr9bjA--sP4Q@mail.gmail.com>

Thanks for the info on the magics. I'll think that one through.   Both
of these issues are interesting in that Kernel devs can be totally
independent of Jupyter in style (yes they have to follow the API) but
stylistically, they don't and thus there is not going to be easy
movement from one kernel to another for users... Not a terrible thing
and maybe that's fine for most users, but hmm... lots to think about
here.

Thanks!

On Sat, Feb 21, 2015 at 12:26 PM, Matthias Bussonnier
<bussonniermatthias at gmail.com> wrote:
>
> Le 21 f?vr. 2015 ? 09:04, John Omernik <john at omernik.com> a ?crit :
>
>> Since the Kernels that are developed for Jupyter look to be different
>> projects, I am guessing that my question is ok to ask here, but
>> understand if the response is "not an iPython or Jupyter" question.
>
> The question looks fine here.
>
>>
>> I am playing with the iRKernel. https://github.com/takluyver/IRkernel
>> and have a few questions on how kernels in general interact with
>> Jupyter (not just IRKernel)
>>
>>
>> 1. Magics: Based on what I am seeing in the iRKernel, Magics appear to
>> be a "per Kernel" thing rather than a Jupyter thing. Is this correct?
>> In the iRKernel %lsmagic gets me
>
> Yes, they are per-kernel.
> If you write a python-base one, looks at Doug Blank Metakernel
> that add some facilities to write magics.
>
>>
>> Error in parse(text = x, srcfile = src): <text>:1:1: unexpected input
>> 1: %lsmagic
>
> As magic are per-kernel, the kernel is responsible to parse them.
> %lsmagic could be a perfect valid syntax in (perl | php | OCaml | ....)
> because it is **not** valid syntax in Python, wa can make them magic in
> IPython.
>
>>
>> So anythoughts on how to implement magics in other kernels if this is
>> not case? Am I missing something basic here?
>
> Depends on your language.
> Julia decided they did not need magics.
> For example shell access in julia is with `;`
> but it's a property of the language.
>
> Julia have strings macro, so that can do:
> matlab"""
>         (some matlab code)
> """
>
> Ruby have the same.
>
> Advice:
> Pick a syntax that is not valid R. and pre-parse to make it valid R.
> which is what IPtyhon does.
>
>>
>> 2. So I have a some stuff running in iPython through my
>> profile_default startup directory.  How do duplicate this so when an R
>> Kernel starts up, I can have certain imports run all the time etc.  Is
>> that a kernel specific thing as well?
>
> That depends on your kernel.
> The kernel do whatever it likes.
> If it want to copy us and run the .r files in .ipython/startup, I suppose that would be fine.
>
> If we wan another common way of doing things, we can do a working group.
> But obviously, .py fies are not the right way to configure a R process.
>
> --
> M
>
>
>> Thanks1
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


From takowl at gmail.com  Sat Feb 21 13:55:48 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 21 Feb 2015 10:55:48 -0800
Subject: [IPython-dev] Jupyter and Other Kernels
In-Reply-To: <CAKOFcwo0oUfe8g6bGk9_0C+b19xmjTHL8frEDOjr9bjA--sP4Q@mail.gmail.com>
References: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>
	<83D3812F-583D-4524-BB81-D87D95AC90FF@gmail.com>
	<CAKOFcwo0oUfe8g6bGk9_0C+b19xmjTHL8frEDOjr9bjA--sP4Q@mail.gmail.com>
Message-ID: <CAOvn4qhY9hUCrATBXqH6iRVee-DpCowbRtoTBLUHyec1qSOnmg@mail.gmail.com>

I just wanted to chime in and say that I would be ok with having a notion
of startup files in the R kernel, but I have no plans to support magics,
even if someone submits a PR. The code in IPython to parse and transform
magics to valid Python is substantial and tricky to get right, and I don't
want to be stuck supporting similar machinery in R.

I also think there's less need for magics in the notebook. They're a great
interactive convenience in the terminal, but when writing a notebook I
prefer to write regular code, even if it's a bit longer.

Thomas
On 21 Feb 2015 10:41, "John Omernik" <john at omernik.com> wrote:

> Thanks for the info on the magics. I'll think that one through.   Both
> of these issues are interesting in that Kernel devs can be totally
> independent of Jupyter in style (yes they have to follow the API) but
> stylistically, they don't and thus there is not going to be easy
> movement from one kernel to another for users... Not a terrible thing
> and maybe that's fine for most users, but hmm... lots to think about
> here.
>
> Thanks!
>
> On Sat, Feb 21, 2015 at 12:26 PM, Matthias Bussonnier
> <bussonniermatthias at gmail.com> wrote:
> >
> > Le 21 f?vr. 2015 ? 09:04, John Omernik <john at omernik.com> a ?crit :
> >
> >> Since the Kernels that are developed for Jupyter look to be different
> >> projects, I am guessing that my question is ok to ask here, but
> >> understand if the response is "not an iPython or Jupyter" question.
> >
> > The question looks fine here.
> >
> >>
> >> I am playing with the iRKernel. https://github.com/takluyver/IRkernel
> >> and have a few questions on how kernels in general interact with
> >> Jupyter (not just IRKernel)
> >>
> >>
> >> 1. Magics: Based on what I am seeing in the iRKernel, Magics appear to
> >> be a "per Kernel" thing rather than a Jupyter thing. Is this correct?
> >> In the iRKernel %lsmagic gets me
> >
> > Yes, they are per-kernel.
> > If you write a python-base one, looks at Doug Blank Metakernel
> > that add some facilities to write magics.
> >
> >>
> >> Error in parse(text = x, srcfile = src): <text>:1:1: unexpected input
> >> 1: %lsmagic
> >
> > As magic are per-kernel, the kernel is responsible to parse them.
> > %lsmagic could be a perfect valid syntax in (perl | php | OCaml | ....)
> > because it is **not** valid syntax in Python, wa can make them magic in
> > IPython.
> >
> >>
> >> So anythoughts on how to implement magics in other kernels if this is
> >> not case? Am I missing something basic here?
> >
> > Depends on your language.
> > Julia decided they did not need magics.
> > For example shell access in julia is with `;`
> > but it's a property of the language.
> >
> > Julia have strings macro, so that can do:
> > matlab"""
> >         (some matlab code)
> > """
> >
> > Ruby have the same.
> >
> > Advice:
> > Pick a syntax that is not valid R. and pre-parse to make it valid R.
> > which is what IPtyhon does.
> >
> >>
> >> 2. So I have a some stuff running in iPython through my
> >> profile_default startup directory.  How do duplicate this so when an R
> >> Kernel starts up, I can have certain imports run all the time etc.  Is
> >> that a kernel specific thing as well?
> >
> > That depends on your kernel.
> > The kernel do whatever it likes.
> > If it want to copy us and run the .r files in .ipython/startup, I
> suppose that would be fine.
> >
> > If we wan another common way of doing things, we can do a working group.
> > But obviously, .py fies are not the right way to configure a R process.
> >
> > --
> > M
> >
> >
> >> Thanks1
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150221/04de038a/attachment.html>

From bussonniermatthias at gmail.com  Sat Feb 21 13:57:08 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sat, 21 Feb 2015 10:57:08 -0800
Subject: [IPython-dev] Jupyter and Other Kernels
In-Reply-To: <CAKOFcwo0oUfe8g6bGk9_0C+b19xmjTHL8frEDOjr9bjA--sP4Q@mail.gmail.com>
References: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>
	<83D3812F-583D-4524-BB81-D87D95AC90FF@gmail.com>
	<CAKOFcwo0oUfe8g6bGk9_0C+b19xmjTHL8frEDOjr9bjA--sP4Q@mail.gmail.com>
Message-ID: <BD985109-9A63-44AE-B3BF-243A118E8E10@gmail.com>


Le 21 f?vr. 2015 ? 10:40, John Omernik <john at omernik.com> a ?crit :

> Thanks for the info on the magics. I'll think that one through.   Both
> of these issues are interesting in that Kernel devs can be totally
> independent of Jupyter in style (yes they have to follow the API) but
> stylistically, they don't and thus there is not going to be easy
> movement from one kernel to another for users...

Like many things, it would be nice to have a common place to 
have configuration, and we would be happy to have people from other
languages comme into Jupyter steering comity and decide that 
it would be a topic to tackle. 

But it is not something we can enforce, or even want to try to tackle, 
as we are mostly python programmer, and we are not completely aware 
of the need of other languages. 

Let say we create a common place for configuration, 
then people using many kernels will feel at home. 
Though, people coming from other IDE, or programming environment
would be lost. 

What if I suddenly tell you that if you use in browser ipython terminal
your .bashrc is not read anymore and that you have to use
/usr/local/jupyter/profile_xxx/terminal/.bashrc ?
Would you be happy ? Would we be happy to get 30+ bug report per month
of people not reading the docs ? 


I'll take the example of .xdg spec, which is a nice spec. 
but if you take 30 people and put them into a room for a month so that they 
produce a spec. You will end up with something that has probably some good points, 
but most likely can't be applied in real-world. 

So I wouldn't juge before having tried to see what we can do to juge what 
would be the best way. 

There is one things for sure, it is always easier to add a feature, that to remove one. 
-- 
M

> Not a terrible thing
> and maybe that's fine for most users, but hmm... lots to think about
> here.




> Thanks!
> 
> On Sat, Feb 21, 2015 at 12:26 PM, Matthias Bussonnier
> <bussonniermatthias at gmail.com> wrote:
>> 
>> Le 21 f?vr. 2015 ? 09:04, John Omernik <john at omernik.com> a ?crit :
>> 
>>> Since the Kernels that are developed for Jupyter look to be different
>>> projects, I am guessing that my question is ok to ask here, but
>>> understand if the response is "not an iPython or Jupyter" question.
>> 
>> The question looks fine here.
>> 
>>> 
>>> I am playing with the iRKernel. https://github.com/takluyver/IRkernel
>>> and have a few questions on how kernels in general interact with
>>> Jupyter (not just IRKernel)
>>> 
>>> 
>>> 1. Magics: Based on what I am seeing in the iRKernel, Magics appear to
>>> be a "per Kernel" thing rather than a Jupyter thing. Is this correct?
>>> In the iRKernel %lsmagic gets me
>> 
>> Yes, they are per-kernel.
>> If you write a python-base one, looks at Doug Blank Metakernel
>> that add some facilities to write magics.
>> 
>>> 
>>> Error in parse(text = x, srcfile = src): <text>:1:1: unexpected input
>>> 1: %lsmagic
>> 
>> As magic are per-kernel, the kernel is responsible to parse them.
>> %lsmagic could be a perfect valid syntax in (perl | php | OCaml | ....)
>> because it is **not** valid syntax in Python, wa can make them magic in
>> IPython.
>> 
>>> 
>>> So anythoughts on how to implement magics in other kernels if this is
>>> not case? Am I missing something basic here?
>> 
>> Depends on your language.
>> Julia decided they did not need magics.
>> For example shell access in julia is with `;`
>> but it's a property of the language.
>> 
>> Julia have strings macro, so that can do:
>> matlab"""
>>        (some matlab code)
>> """
>> 
>> Ruby have the same.
>> 
>> Advice:
>> Pick a syntax that is not valid R. and pre-parse to make it valid R.
>> which is what IPtyhon does.
>> 
>>> 
>>> 2. So I have a some stuff running in iPython through my
>>> profile_default startup directory.  How do duplicate this so when an R
>>> Kernel starts up, I can have certain imports run all the time etc.  Is
>>> that a kernel specific thing as well?
>> 
>> That depends on your kernel.
>> The kernel do whatever it likes.
>> If it want to copy us and run the .r files in .ipython/startup, I suppose that would be fine.
>> 
>> If we wan another common way of doing things, we can do a working group.
>> But obviously, .py fies are not the right way to configure a R process.
>> 
>> --
>> M
>> 
>> 
>>> Thanks1
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From bussonniermatthias at gmail.com  Sat Feb 21 14:04:15 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sat, 21 Feb 2015 11:04:15 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <54E8596E.5040501@gmx.de>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>	<54E1BBE7.6030204@gmx.de>	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>	<54E3B613.2020301@gmx.de>	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<54E8596E.5040501@gmx.de>
Message-ID: <45EAEE0C-104A-4C7E-9A50-1212072062E0@gmail.com>


Le 21 f?vr. 2015 ? 02:09, Max Linke <max_linke at gmx.de> a ?crit :

> I actually have a problem seeing the docstring and definition right now. By default S-Tab only shows the type, string, and file information. (see attached screenshots)
> To get to the for me useful key "definition" I have to press the small plus key. This is really annoying for me because I used S-Tab before to look up the arguments needed for a function.
> 
> Is there a way to define which keywords are shown when I press S-TAB?

Shift-Tab -> Show tooltip
Shift-Tab x2 -> expand tooltip
Shift-Tab x3 -> make tooltip sticky for 10s, you can type, and it won't disappear. 
Shift-Tab x4 -> send tooltip to pager. 

Hope that will help.
-- 
M


> 
> best Max
> 
> On 02/19/2015 05:35 PM, Michael Waskom wrote:
>> Hi, sorry to be a nuisance, but I'm worried this part of my second email
>> may have been overlooked, and it's been bugging me a lot as I've been
>> working with the release candidate:
>> 
>> One other thing I have noticed is that, when shift-TABing to get the
>> function docstring popover in the notebook, the help seems often bound to
>> objects that have been added as arguments, and not  to the function
>> itself., i.e.
>> 
>> func(a, b, [shift-TAB]
>> 
>> will show me the docstring for the object that `b` points at, although this
>> seems to only happen when an variable is being used. In other words,
>> 
>> func(a, "b", [shift-TAB]
>> 
>> will show me the docstring for `a`.
>> 
>> Previously this would happen when using a function within the call, ie.e.
>> 
>> func1(a, func2(b), [shift=TAB]
>> 
>> would should me the docs for `func2` (even if I had closed parens on it).
>> But the behavior has changed somewhat.
>> 
>> On Tue, Feb 17, 2015 at 2:56 PM, Matthias Bussonnier <
>> bussonniermatthias at gmail.com> wrote:
>> 
>>> 
>>> Le 17 f?vr. 2015 ? 14:45, Michael Waskom <mwaskom at stanford.edu> a ?crit :
>>> 
>>> Ooop one more thing I've noticed. ctrl-j/k no longer appears to move
>>> cells, although that shortcut is still referenced here:
>>> http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Notebook/Notebook%20Basics.ipynb
>>> (not in the help popup though, so maybe those have been removed, which
>>> would  make me sad).
>>> 
>>> 
>>> Yes you are right. The shortcut are conflicting with FF windows, so we
>>> removed them.
>>> You can add them back in your custom.js though.
>>> --
>>> M
>>> 
>>> 
>>> On Tue, Feb 17, 2015 at 1:53 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>>> 
>>>> On 17 February 2015 at 13:43, Max Linke <max_linke at gmx.de> wrote:
>>>> 
>>>>> Isn't there a guarantee about which functions are available when
>>>>> custom.js is loaded?
>>>>> 
>>>> 
>>>> Currently, as far as I'm aware, no, there isn't. Possibly we should give
>>>> one, though I think that's too late for 3.0 now.
>>>> 
>>>> 
>>>>> I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:
>>>>> 
>>>>>      IPython.Cell.options_default.cm_config.extraKeys['ctrl-j']
>>>>> 
>>>> 
>>>> There's a code snippet to restore Ctrl-J/Ctrl-K here:
>>>> https://github.com/ipython/ipython/pull/7732#issuecomment-74519970
>>>> 
>>>> The shortcuts set in cm_config are only for Codemirror, i.e. they act
>>>> within a single cell. Notebook shortcuts, e.g. for moving cells around, are
>>>> defined elsewhere.
>>>> 
>>>>> Is it documented somewhere what the recommended way is of enabling
>>>>> extensions in the notebook? I can't find anything in the online docs and
>>>>> most extensions I find seem to use another way to load it.
>>>> 
>>>> Basically nothing about the JS API is documented yet, and this is kind of
>>>> deliberate - most of it is still changing pretty fast, and we don't want to
>>>> give a false impression of stability.
>>>> 
>>>> In IPython 3, there is a way of storing declarative frontend config,
>>>> including a set of extensions to load, so you don't have to manually edit
>>>> custom.js to enable them. There is an extension built on top of this to
>>>> provide a GUI for enabling and disabling extensions:
>>>> 
>>>> 
>>>> https://github.com/ipython-contrib/IPython-notebook-extensions/wiki/config-extension
>>>> 
>>>> Thomas
>>>> 
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>> 
>>>> 
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>> 
>>> 
>> 
>> 
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
> <Screenshot from 2015-02-21 11:02:24.png><Screenshot from 2015-02-21 11:01:41.png>_______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From john at omernik.com  Sat Feb 21 14:15:38 2015
From: john at omernik.com (John Omernik)
Date: Sat, 21 Feb 2015 13:15:38 -0600
Subject: [IPython-dev] Jupyter and Other Kernels
In-Reply-To: <BD985109-9A63-44AE-B3BF-243A118E8E10@gmail.com>
References: <CAKOFcwqVRC-GX2a8qgGk3TLOUCUHaqai7sGF2d5OVZ45Ao6Cog@mail.gmail.com>
	<83D3812F-583D-4524-BB81-D87D95AC90FF@gmail.com>
	<CAKOFcwo0oUfe8g6bGk9_0C+b19xmjTHL8frEDOjr9bjA--sP4Q@mail.gmail.com>
	<BD985109-9A63-44AE-B3BF-243A118E8E10@gmail.com>
Message-ID: <CAKOFcwo1LO9+dyp4waJKPLFELzPkzM=XMhQ86V2wR++oZYbndA@mail.gmail.com>

Thanks to both of you for your thoughts. This is interesting on the
interactions etc.

On Sat, Feb 21, 2015 at 12:57 PM, Matthias Bussonnier
<bussonniermatthias at gmail.com> wrote:
>
> Le 21 f?vr. 2015 ? 10:40, John Omernik <john at omernik.com> a ?crit :
>
>> Thanks for the info on the magics. I'll think that one through.   Both
>> of these issues are interesting in that Kernel devs can be totally
>> independent of Jupyter in style (yes they have to follow the API) but
>> stylistically, they don't and thus there is not going to be easy
>> movement from one kernel to another for users...
>
> Like many things, it would be nice to have a common place to
> have configuration, and we would be happy to have people from other
> languages comme into Jupyter steering comity and decide that
> it would be a topic to tackle.
>
> But it is not something we can enforce, or even want to try to tackle,
> as we are mostly python programmer, and we are not completely aware
> of the need of other languages.
>
> Let say we create a common place for configuration,
> then people using many kernels will feel at home.
> Though, people coming from other IDE, or programming environment
> would be lost.
>
> What if I suddenly tell you that if you use in browser ipython terminal
> your .bashrc is not read anymore and that you have to use
> /usr/local/jupyter/profile_xxx/terminal/.bashrc ?
> Would you be happy ? Would we be happy to get 30+ bug report per month
> of people not reading the docs ?
>
>
> I'll take the example of .xdg spec, which is a nice spec.
> but if you take 30 people and put them into a room for a month so that they
> produce a spec. You will end up with something that has probably some good points,
> but most likely can't be applied in real-world.
>
> So I wouldn't juge before having tried to see what we can do to juge what
> would be the best way.
>
> There is one things for sure, it is always easier to add a feature, that to remove one.
> --
> M
>
>> Not a terrible thing
>> and maybe that's fine for most users, but hmm... lots to think about
>> here.
>
>
>
>
>> Thanks!
>>
>> On Sat, Feb 21, 2015 at 12:26 PM, Matthias Bussonnier
>> <bussonniermatthias at gmail.com> wrote:
>>>
>>> Le 21 f?vr. 2015 ? 09:04, John Omernik <john at omernik.com> a ?crit :
>>>
>>>> Since the Kernels that are developed for Jupyter look to be different
>>>> projects, I am guessing that my question is ok to ask here, but
>>>> understand if the response is "not an iPython or Jupyter" question.
>>>
>>> The question looks fine here.
>>>
>>>>
>>>> I am playing with the iRKernel. https://github.com/takluyver/IRkernel
>>>> and have a few questions on how kernels in general interact with
>>>> Jupyter (not just IRKernel)
>>>>
>>>>
>>>> 1. Magics: Based on what I am seeing in the iRKernel, Magics appear to
>>>> be a "per Kernel" thing rather than a Jupyter thing. Is this correct?
>>>> In the iRKernel %lsmagic gets me
>>>
>>> Yes, they are per-kernel.
>>> If you write a python-base one, looks at Doug Blank Metakernel
>>> that add some facilities to write magics.
>>>
>>>>
>>>> Error in parse(text = x, srcfile = src): <text>:1:1: unexpected input
>>>> 1: %lsmagic
>>>
>>> As magic are per-kernel, the kernel is responsible to parse them.
>>> %lsmagic could be a perfect valid syntax in (perl | php | OCaml | ....)
>>> because it is **not** valid syntax in Python, wa can make them magic in
>>> IPython.
>>>
>>>>
>>>> So anythoughts on how to implement magics in other kernels if this is
>>>> not case? Am I missing something basic here?
>>>
>>> Depends on your language.
>>> Julia decided they did not need magics.
>>> For example shell access in julia is with `;`
>>> but it's a property of the language.
>>>
>>> Julia have strings macro, so that can do:
>>> matlab"""
>>>        (some matlab code)
>>> """
>>>
>>> Ruby have the same.
>>>
>>> Advice:
>>> Pick a syntax that is not valid R. and pre-parse to make it valid R.
>>> which is what IPtyhon does.
>>>
>>>>
>>>> 2. So I have a some stuff running in iPython through my
>>>> profile_default startup directory.  How do duplicate this so when an R
>>>> Kernel starts up, I can have certain imports run all the time etc.  Is
>>>> that a kernel specific thing as well?
>>>
>>> That depends on your kernel.
>>> The kernel do whatever it likes.
>>> If it want to copy us and run the .r files in .ipython/startup, I suppose that would be fine.
>>>
>>> If we wan another common way of doing things, we can do a working group.
>>> But obviously, .py fies are not the right way to configure a R process.
>>>
>>> --
>>> M
>>>
>>>
>>>> Thanks1
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev


From takowl at gmail.com  Sat Feb 21 15:33:06 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 21 Feb 2015 12:33:06 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <54E8596E.5040501@gmx.de>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>
	<54E1BBE7.6030204@gmx.de>
	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>
	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>
	<54E3B613.2020301@gmx.de>
	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>
	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>
	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>
	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>
	<54E8596E.5040501@gmx.de>
Message-ID: <CAOvn4qiQMxk=+HngRJRMNdjuyjx95bSVrxaGT=9XivZ_4nLjbA@mail.gmail.com>

On 21 February 2015 at 02:09, Max Linke <max_linke at gmx.de> wrote:

> To get to the for me useful key "definition" I have to press the small
> plus key. This is really annoying for me because I used S-Tab before to
> look up the arguments needed for a function.
>
> Is there a way to define which keywords are shown when I press S-TAB?
>

As Matthias mentioned, for now if you hit shift-tab a couple of times, the
tooltip should expand to show you more info. For 3.1 I plan to rearrange
what it shows to make it more useful (first and foremost, to make sure the
function signature is visible):

https://github.com/ipython/ipython/issues/7759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150221/6de8e102/attachment.html>

From benjaminrk at gmail.com  Sun Feb 22 03:09:32 2015
From: benjaminrk at gmail.com (MinRK)
Date: Sun, 22 Feb 2015 09:09:32 +0100
Subject: [IPython-dev] ITorch on IPython 3 -- problems?
In-Reply-To: <CABbuyuULzCtjX-M=LKBMSoZQwkiS3pPr_5pRbJs_1PzktVHx9w@mail.gmail.com>
References: <CABbuyuVPn0gVVmupbxRpfR2psMo7sVHAs=fU4vZRktKDpcJWjw@mail.gmail.com>
	<CAHAreOqzMqg+LqQ7EY+t2efWJWB1dSCK8c9QR=VHF_5nWoB+Cg@mail.gmail.com>
	<CAHNn8BVc3NgqTj5LevyOQ3dNO=rCYhrhGqKBQ4v2VR+3ktKQNA@mail.gmail.com>
	<CABbuyuULzCtjX-M=LKBMSoZQwkiS3pPr_5pRbJs_1PzktVHx9w@mail.gmail.com>
Message-ID: <CAHNn8BUXVGK+iJGbBQSJOqtAFqGNrXg_+iobSJAxQ_h_Ni+zNg@mail.gmail.com>

On Sat, Feb 21, 2015 at 7:35 PM, Andrew Payne <andy at payne.org> wrote:

> On getting iTorch working with IPython 3.0:
>
>> I didn?t play with it too much, but I submitted a couple of PRs
>> <https://github.com/facebook/iTorch/pulls?q=is%3Apr+author%3Aminrk> to
>> get iTorch working with IPython 3.0 last week. After those, it seemed to be
>> working for me.
>>
> I've dug into this more deeply and now I'm wondering how you got it
> working.
>
> The iTorch kernel uses kernel messaging v4 (properly reported after your
> PR). It uses 'pyout' messages to send stdout.
>
> When sending the messages, iTorch copies the header from the received
> message, including whatever 'version' field is in there.  See:
> https://github.com/facebook/iTorch/blob/master/IOHandler.lua#L73
>
> IPython 3 seems to send execute_request messages with it's current version
> setting, 5.0.  This causes iTorch to reply with a 'pyout' message tagged as
> version 5.0.  Which in turn, causes IPython to skip adapting the message to
> v5 (since it already thinks it's v5, in kernel/adapter.py).  And since
> 'pyout' is not in v5, it dropped the message on the floor.
>

This is caused by a problem in how iTorch builds message headers from
copies of the parent header, which it shouldn't do. I fixed most of these
in #19 <https://github.com/facebook/iTorch/pull/19>, but apparently not all
of them.


>
> (I've opened a PR to fix this in iTorch by always setting the version to
> 4.0, see:  https://github.com/facebook/iTorch/pull/28)
>
> However, it raises questions:
>
>    - Should IPython be sending v5 messages to a kernel that advertises v4?
>
>
No, it shouldn't be, other than the initial kernel_info_request, which is
kept compatible with v4 because it is used to determine the protocol
version implemented by the kernel. After that reply is handled, the version
adaptation should be preventing this.

>
>    -
>    - Should the kernel messaging code be more verbose (log.warn, or
>    something) when it gets a message type it doesn't understand?
>
> For message *type* yes, for message *version*, probably, but I'm not sure.

-MinRK


> -andy
>
>
>
>
>
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150222/b89a2429/attachment.html>

From max_linke at gmx.de  Sun Feb 22 07:18:19 2015
From: max_linke at gmx.de (Max Linke)
Date: Sun, 22 Feb 2015 13:18:19 +0100
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <CAOvn4qiQMxk=+HngRJRMNdjuyjx95bSVrxaGT=9XivZ_4nLjbA@mail.gmail.com>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>	<54E1BBE7.6030204@gmx.de>	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>	<54E3B613.2020301@gmx.de>	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>	<54E8596E.5040501@gmx.de>
	<CAOvn4qiQMxk=+HngRJRMNdjuyjx95bSVrxaGT=9XivZ_4nLjbA@mail.gmail.com>
Message-ID: <54E9C90B.6080205@gmx.de>

Thanks that helps.

Is it documented somewhere that I can hit S-Tab several times to expand 
the tooltip? The Shortcut list in the notebook itself doesn't mention it.

best Max

On 02/21/2015 09:33 PM, Thomas Kluyver wrote:
> On 21 February 2015 at 02:09, Max Linke <max_linke at gmx.de> wrote:
>
>> To get to the for me useful key "definition" I have to press the small
>> plus key. This is really annoying for me because I used S-Tab before to
>> look up the arguments needed for a function.
>>
>> Is there a way to define which keywords are shown when I press S-TAB?
>>
>
> As Matthias mentioned, for now if you hit shift-tab a couple of times, the
> tooltip should expand to show you more info. For 3.1 I plan to rearrange
> what it shows to make it more useful (first and foremost, to make sure the
> function signature is visible):
>
> https://github.com/ipython/ipython/issues/7759
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>


From bussonniermatthias at gmail.com  Sun Feb 22 12:17:08 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Sun, 22 Feb 2015 09:17:08 -0800
Subject: [IPython-dev] [ANN] IPython 3.0.0rc1
In-Reply-To: <54E9C90B.6080205@gmx.de>
References: <CAHNn8BVP-0RpaZBF0zgSnex1Ase8pOkhkK-gPn+k1a6EqbQszQ@mail.gmail.com>	<54E1BBE7.6030204@gmx.de>	<CAOvn4qi6MdVRfZgh2gKi=KzK3xw+HMOs3z47eMQ1TSzFZZXE+w@mail.gmail.com>	<F8353BED-03C9-4BB3-8BFF-62F94E916597@gmail.com>	<54E3B613.2020301@gmx.de>	<CAOvn4qjBwNkB0xvKTPO9cZ19DiDxSdyBN3LA_Wk3xvZyrvQkAw@mail.gmail.com>	<CAKZ-Uq1nnDmhe1+y_o1=PyaouCbWekUjXTfS-ufApaVKp1gEOg@mail.gmail.com>	<F3531DC1-F0D4-48D9-A678-3F3AFB635BEA@gmail.com>	<CAKZ-Uq1U78wHkCq_q=EjEk5nV1Jh-5kBXVArw8A8LrAhpFckXg@mail.gmail.com>	<54E8596E.5040501@gmx.de>
	<CAOvn4qiQMxk=+HngRJRMNdjuyjx95bSVrxaGT=9XivZ_4nLjbA@mail.gmail.com>
	<54E9C90B.6080205@gmx.de>
Message-ID: <C588090B-9B5A-42EE-990F-E87A4213D1BD@gmail.com>


Le 22 f?vr. 2015 ? 04:18, Max Linke <max_linke at gmx.de> a ?crit :

> Thanks that helps.
> 
> Is it documented somewhere that I can hit S-Tab several times to expand 
> the tooltip?

At least here:
http://ipython.org/ipython-doc/2/whatsnew/version0.13.html#improved-tooltips

and here:
http://nbviewer.ipython.org/github/ipython/ipython/blob/0.13.x/docs/examples/notebooks/01_notebook_introduction.ipynb

but it might have been lost in the docs since then.


> The Shortcut list in the notebook itself doesn't mention it.
> 
> best Max
> 
> On 02/21/2015 09:33 PM, Thomas Kluyver wrote:
>> On 21 February 2015 at 02:09, Max Linke <max_linke at gmx.de> wrote:
>> 
>>> To get to the for me useful key "definition" I have to press the small
>>> plus key. This is really annoying for me because I used S-Tab before to
>>> look up the arguments needed for a function.
>>> 
>>> Is there a way to define which keywords are shown when I press S-TAB?
>>> 
>> 
>> As Matthias mentioned, for now if you hit shift-tab a couple of times, the
>> tooltip should expand to show you more info. For 3.1 I plan to rearrange
>> what it shows to make it more useful (first and foremost, to make sure the
>> function signature is visible):
>> 
>> https://github.com/ipython/ipython/issues/7759
>> 
>> 
>> 
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150222/548d1972/attachment.html>

From mattwcraig at gmail.com  Mon Feb 23 00:19:46 2015
From: mattwcraig at gmail.com (Matt Craig)
Date: Sun, 22 Feb 2015 23:19:46 -0600
Subject: [IPython-dev] widgets in ipython 3
Message-ID: <CAKxiDYkPhGqZfyYxXwdhrrhwAg28JHfFPrhJsVJjJWtTpz9=fQ@mail.gmail.com>

Hi,

I've started looking at updating a widget-based notebook I put together for
calibrating images in astronomy (https://github.com/mwcraig/reducer) to
ipython-3 and had a couple questions:

+ What documentation is there of the differences between widgets in 2.x and
3.x? I know some of the big changes list in the "What's New" page, and am
looking through the widget examples on tmpnb...is there any sort of
transition guide or anything?

+ Is there any way in 3 to use the animated or striped progress bar styles
from bootstrap?

Very much looking forward to widgets that persist, and have found them
incredibly useful!

Thanks,
Matt Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150222/54e550dd/attachment.html>

From takowl at gmail.com  Mon Feb 23 01:14:51 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sun, 22 Feb 2015 22:14:51 -0800
Subject: [IPython-dev] widgets in ipython 3
In-Reply-To: <CAKxiDYkPhGqZfyYxXwdhrrhwAg28JHfFPrhJsVJjJWtTpz9=fQ@mail.gmail.com>
References: <CAKxiDYkPhGqZfyYxXwdhrrhwAg28JHfFPrhJsVJjJWtTpz9=fQ@mail.gmail.com>
Message-ID: <CAOvn4qhjDzK4XxkSCK3Bq6n4cqKMMnsh5orsEynkY4-_tBhU_w@mail.gmail.com>

Hi Matt,

On 22 February 2015 at 21:19, Matt Craig <mattwcraig at gmail.com> wrote:

> + What documentation is there of the differences between widgets in
> 2.x and 3.x? I know some of the big changes list in the "What's New" page,
> and am looking through the widget examples on tmpnb...is there any sort of
> transition guide or anything?
>

You're in luck - Jon wrote exactly that the other day:
https://github.com/ipython/ipython/wiki/IPython-3.0-comm-and-widget-migration-document


> + Is there any way in 3 to use the animated or striped progress bar styles
> from bootstrap?
>

I don't think we've added any new styling abilities, but someone else may
be able to correct me on this.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150222/5aa8e2c7/attachment.html>

From cpdiehl at gmail.com  Mon Feb 23 13:53:13 2015
From: cpdiehl at gmail.com (diehl)
Date: Mon, 23 Feb 2015 10:53:13 -0800 (PST)
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
Message-ID: <1424717593094-5087237.post@n6.nabble.com>

Hi Folks, 

I'd like to start experimenting with IPython widgets and use them in an
ongoing consulting project. Any suggestions on the best place to start? Is
there evolving documentation somewhere? I'm having trouble tracking sources
down. 

Thanks!

Chris



--
View this message in context: http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
Sent from the IPython - Development mailing list archive at Nabble.com.


From raymond.yee at gmail.com  Mon Feb 23 13:59:21 2015
From: raymond.yee at gmail.com (Raymond Yee)
Date: Mon, 23 Feb 2015 10:59:21 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <1424717593094-5087237.post@n6.nabble.com>
References: <1424717593094-5087237.post@n6.nabble.com>
Message-ID: <54EB7889.2040907@gmail.com>

Hi Chris,

Here's where I would start -- look at

https://github.com/ipython/ipython/tree/2.x/examples,

which you can view through nbviewer:

http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb.

-Raymond

On 2/23/15 10:53 AM, diehl wrote:
> Hi Folks, 
>
> I'd like to start experimenting with IPython widgets and use them in an
> ongoing consulting project. Any suggestions on the best place to start? Is
> there evolving documentation somewhere? I'm having trouble tracking sources
> down. 
>
> Thanks!
>
> Chris
>
>
>
> --
> View this message in context: http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
> Sent from the IPython - Development mailing list archive at Nabble.com.
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From bussonniermatthias at gmail.com  Mon Feb 23 16:46:51 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Mon, 23 Feb 2015 13:46:51 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <54EB7889.2040907@gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
Message-ID: <67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>

Following on what have been said on IPython-user, 

3.0 should be released this week, which mean that 2.x will not be considered as stable. 
So be careful or resources pointing to 2.x

--
M


Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com> a ?crit :

> Hi Chris,
> 
> Here's where I would start -- look at
> 
> https://github.com/ipython/ipython/tree/2.x/examples,
> 
> which you can view through nbviewer:
> 
> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb.
> 
> -Raymond
> 
> On 2/23/15 10:53 AM, diehl wrote:
>> Hi Folks, 
>> 
>> I'd like to start experimenting with IPython widgets and use them in an
>> ongoing consulting project. Any suggestions on the best place to start? Is
>> there evolving documentation somewhere? I'm having trouble tracking sources
>> down. 
>> 
>> Thanks!
>> 
>> Chris
>> 
>> 
>> 
>> --
>> View this message in context: http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
>> Sent from the IPython - Development mailing list archive at Nabble.com.
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev



From cpdiehl at gmail.com  Mon Feb 23 20:47:35 2015
From: cpdiehl at gmail.com (Chris Diehl)
Date: Mon, 23 Feb 2015 17:47:35 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
	<67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
Message-ID: <CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>

Thanks Matthias. Are there good resources for learning the IPy 3.x way of
working with widgets? Or is it learn by example at this point?

On Mon, Feb 23, 2015 at 1:46 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> Following on what have been said on IPython-user,
>
> 3.0 should be released this week, which mean that 2.x will not be
> considered as stable.
> So be careful or resources pointing to 2.x
>
> --
> M
>
>
> Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com> a ?crit :
>
> > Hi Chris,
> >
> > Here's where I would start -- look at
> >
> > https://github.com/ipython/ipython/tree/2.x/examples,
> >
> > which you can view through nbviewer:
> >
> >
> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
> .
> >
> > -Raymond
> >
> > On 2/23/15 10:53 AM, diehl wrote:
> >> Hi Folks,
> >>
> >> I'd like to start experimenting with IPython widgets and use them in an
> >> ongoing consulting project. Any suggestions on the best place to start?
> Is
> >> there evolving documentation somewhere? I'm having trouble tracking
> sources
> >> down.
> >>
> >> Thanks!
> >>
> >> Chris
> >>
> >>
> >>
> >> --
> >> View this message in context:
> http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
> >> Sent from the IPython - Development mailing list archive at Nabble.com.
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPython-dev at scipy.org
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150223/1389df18/attachment.html>

From nathan12343 at gmail.com  Mon Feb 23 20:58:36 2015
From: nathan12343 at gmail.com (Nathan Goldbaum)
Date: Mon, 23 Feb 2015 17:58:36 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
	<67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
	<CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>
Message-ID: <CAJXewOmTr3LzBNkHWT_xARhMxoaK1P7Q6MnCeF1mxSeapORRaQ@mail.gmail.com>

All of the widget examples in the IPython source distribution should be
updated to use the IPython 3.0 API.

It's also worth noting that IPython 3.0 will be the last release where the
widgets are bundled with IPython, in the future they will be integrated
into Jupyter with appropriate warnings about the lack of API guarantees.

On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:

> Thanks Matthias. Are there good resources for learning the IPy 3.x way of
> working with widgets? Or is it learn by example at this point?
>
> On Mon, Feb 23, 2015 at 1:46 PM, Matthias Bussonnier <
> bussonniermatthias at gmail.com
> <javascript:_e(%7B%7D,'cvml','bussonniermatthias at gmail.com');>> wrote:
>
>> Following on what have been said on IPython-user,
>>
>> 3.0 should be released this week, which mean that 2.x will not be
>> considered as stable.
>> So be careful or resources pointing to 2.x
>>
>> --
>> M
>>
>>
>> Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com
>> <javascript:_e(%7B%7D,'cvml','raymond.yee at gmail.com');>> a ?crit :
>>
>> > Hi Chris,
>> >
>> > Here's where I would start -- look at
>> >
>> > https://github.com/ipython/ipython/tree/2.x/examples,
>> >
>> > which you can view through nbviewer:
>> >
>> >
>> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
>> .
>> >
>> > -Raymond
>> >
>> > On 2/23/15 10:53 AM, diehl wrote:
>> >> Hi Folks,
>> >>
>> >> I'd like to start experimenting with IPython widgets and use them in an
>> >> ongoing consulting project. Any suggestions on the best place to
>> start? Is
>> >> there evolving documentation somewhere? I'm having trouble tracking
>> sources
>> >> down.
>> >>
>> >> Thanks!
>> >>
>> >> Chris
>> >>
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
>> >> Sent from the IPython - Development mailing list archive at Nabble.com.
>> >> _______________________________________________
>> >> IPython-dev mailing list
>> >> IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>> >
>> > _______________________________________________
>> > IPython-dev mailing list
>> > IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150223/dcb797d5/attachment.html>

From cpdiehl at gmail.com  Mon Feb 23 21:17:14 2015
From: cpdiehl at gmail.com (Chris Diehl)
Date: Mon, 23 Feb 2015 18:17:14 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <CAJXewOmTr3LzBNkHWT_xARhMxoaK1P7Q6MnCeF1mxSeapORRaQ@mail.gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
	<67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
	<CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>
	<CAJXewOmTr3LzBNkHWT_xARhMxoaK1P7Q6MnCeF1mxSeapORRaQ@mail.gmail.com>
Message-ID: <CABYryNCNdQqAq6HQd1pi4mBAwrmqcU_UkObzQDQV8aEJ0GWgQw@mail.gmail.com>

Thanks Nathan. Appreciate the feedback!

On Mon, Feb 23, 2015 at 5:58 PM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> All of the widget examples in the IPython source distribution should be
> updated to use the IPython 3.0 API.
>
> It's also worth noting that IPython 3.0 will be the last release where the
> widgets are bundled with IPython, in the future they will be integrated
> into Jupyter with appropriate warnings about the lack of API guarantees.
>
>
> On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:
>
>> Thanks Matthias. Are there good resources for learning the IPy 3.x way of
>> working with widgets? Or is it learn by example at this point?
>>
>> On Mon, Feb 23, 2015 at 1:46 PM, Matthias Bussonnier <
>> bussonniermatthias at gmail.com> wrote:
>>
>>> Following on what have been said on IPython-user,
>>>
>>> 3.0 should be released this week, which mean that 2.x will not be
>>> considered as stable.
>>> So be careful or resources pointing to 2.x
>>>
>>> --
>>> M
>>>
>>>
>>> Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com> a ?crit :
>>>
>>> > Hi Chris,
>>> >
>>> > Here's where I would start -- look at
>>> >
>>> > https://github.com/ipython/ipython/tree/2.x/examples,
>>> >
>>> > which you can view through nbviewer:
>>> >
>>> >
>>> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
>>> .
>>> >
>>> > -Raymond
>>> >
>>> > On 2/23/15 10:53 AM, diehl wrote:
>>> >> Hi Folks,
>>> >>
>>> >> I'd like to start experimenting with IPython widgets and use them in
>>> an
>>> >> ongoing consulting project. Any suggestions on the best place to
>>> start? Is
>>> >> there evolving documentation somewhere? I'm having trouble tracking
>>> sources
>>> >> down.
>>> >>
>>> >> Thanks!
>>> >>
>>> >> Chris
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> View this message in context:
>>> http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
>>> >> Sent from the IPython - Development mailing list archive at
>>> Nabble.com.
>>> >> _______________________________________________
>>> >> IPython-dev mailing list
>>> >> IPython-dev at scipy.org
>>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>> >
>>> > _______________________________________________
>>> > IPython-dev mailing list
>>> > IPython-dev at scipy.org
>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>
>>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150223/86a2ca2c/attachment.html>

From rgbkrk at gmail.com  Mon Feb 23 23:56:44 2015
From: rgbkrk at gmail.com (Kyle Kelley)
Date: Mon, 23 Feb 2015 20:56:44 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <CABYryNCNdQqAq6HQd1pi4mBAwrmqcU_UkObzQDQV8aEJ0GWgQw@mail.gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
	<67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
	<CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>
	<CAJXewOmTr3LzBNkHWT_xARhMxoaK1P7Q6MnCeF1mxSeapORRaQ@mail.gmail.com>
	<CABYryNCNdQqAq6HQd1pi4mBAwrmqcU_UkObzQDQV8aEJ0GWgQw@mail.gmail.com>
Message-ID: <CA+tbMaU8njPmpYWyT4b2ubSdP_HASTtCzUFLE=Vd9Oro2xLKTA@mail.gmail.com>

I'm hoping to put together a decent post now that bitjet has come together (
https://github.com/rgbkrk/bitjet). Jonathan Frederic helped me get it
going, and I must say that building a custom widget was so fun
I'm addicted. That's not to say there won't be pain points though.

-- Kyle

On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:

> Thanks Nathan. Appreciate the feedback!
>
> On Mon, Feb 23, 2015 at 5:58 PM, Nathan Goldbaum <nathan12343 at gmail.com
> <javascript:_e(%7B%7D,'cvml','nathan12343 at gmail.com');>> wrote:
>
>> All of the widget examples in the IPython source distribution should be
>> updated to use the IPython 3.0 API.
>>
>> It's also worth noting that IPython 3.0 will be the last release where
>> the widgets are bundled with IPython, in the future they will be integrated
>> into Jupyter with appropriate warnings about the lack of API guarantees.
>>
>>
>> On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com
>> <javascript:_e(%7B%7D,'cvml','cpdiehl at gmail.com');>> wrote:
>>
>>> Thanks Matthias. Are there good resources for learning the IPy 3.x way
>>> of working with widgets? Or is it learn by example at this point?
>>>
>>> On Mon, Feb 23, 2015 at 1:46 PM, Matthias Bussonnier <
>>> bussonniermatthias at gmail.com> wrote:
>>>
>>>> Following on what have been said on IPython-user,
>>>>
>>>> 3.0 should be released this week, which mean that 2.x will not be
>>>> considered as stable.
>>>> So be careful or resources pointing to 2.x
>>>>
>>>> --
>>>> M
>>>>
>>>>
>>>> Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com> a ?crit :
>>>>
>>>> > Hi Chris,
>>>> >
>>>> > Here's where I would start -- look at
>>>> >
>>>> > https://github.com/ipython/ipython/tree/2.x/examples,
>>>> >
>>>> > which you can view through nbviewer:
>>>> >
>>>> >
>>>> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
>>>> .
>>>> >
>>>> > -Raymond
>>>> >
>>>> > On 2/23/15 10:53 AM, diehl wrote:
>>>> >> Hi Folks,
>>>> >>
>>>> >> I'd like to start experimenting with IPython widgets and use them in
>>>> an
>>>> >> ongoing consulting project. Any suggestions on the best place to
>>>> start? Is
>>>> >> there evolving documentation somewhere? I'm having trouble tracking
>>>> sources
>>>> >> down.
>>>> >>
>>>> >> Thanks!
>>>> >>
>>>> >> Chris
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> View this message in context:
>>>> http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
>>>> >> Sent from the IPython - Development mailing list archive at
>>>> Nabble.com.
>>>> >> _______________________________________________
>>>> >> IPython-dev mailing list
>>>> >> IPython-dev at scipy.org
>>>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>> >
>>>> > _______________________________________________
>>>> > IPython-dev mailing list
>>>> > IPython-dev at scipy.org
>>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>
>>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> <javascript:_e(%7B%7D,'cvml','IPython-dev at scipy.org');>
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>

-- 
Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
developer.rackspace.com)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150223/cb9bc70b/attachment.html>

From cpdiehl at gmail.com  Tue Feb 24 00:13:24 2015
From: cpdiehl at gmail.com (Chris Diehl)
Date: Mon, 23 Feb 2015 21:13:24 -0800
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <CA+tbMaU8njPmpYWyT4b2ubSdP_HASTtCzUFLE=Vd9Oro2xLKTA@mail.gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
	<67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
	<CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>
	<CAJXewOmTr3LzBNkHWT_xARhMxoaK1P7Q6MnCeF1mxSeapORRaQ@mail.gmail.com>
	<CABYryNCNdQqAq6HQd1pi4mBAwrmqcU_UkObzQDQV8aEJ0GWgQw@mail.gmail.com>
	<CA+tbMaU8njPmpYWyT4b2ubSdP_HASTtCzUFLE=Vd9Oro2xLKTA@mail.gmail.com>
Message-ID: <CABYryNAPkgg_M+P6A85KSe7avO6Jw1_gYmuggLw-EuTkuQHWsw@mail.gmail.com>

Look forward to seeing that post Kyle!

On Mon, Feb 23, 2015 at 8:56 PM, Kyle Kelley <rgbkrk at gmail.com> wrote:

> I'm hoping to put together a decent post now that bitjet has come together
> (https://github.com/rgbkrk/bitjet). Jonathan Frederic helped me get it
> going, and I must say that building a custom widget was so fun
> I'm addicted. That's not to say there won't be pain points though.
>
> -- Kyle
>
> On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:
>
>> Thanks Nathan. Appreciate the feedback!
>>
>> On Mon, Feb 23, 2015 at 5:58 PM, Nathan Goldbaum <nathan12343 at gmail.com>
>> wrote:
>>
>>> All of the widget examples in the IPython source distribution should be
>>> updated to use the IPython 3.0 API.
>>>
>>> It's also worth noting that IPython 3.0 will be the last release where
>>> the widgets are bundled with IPython, in the future they will be integrated
>>> into Jupyter with appropriate warnings about the lack of API guarantees.
>>>
>>>
>>> On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:
>>>
>>>> Thanks Matthias. Are there good resources for learning the IPy 3.x way
>>>> of working with widgets? Or is it learn by example at this point?
>>>>
>>>> On Mon, Feb 23, 2015 at 1:46 PM, Matthias Bussonnier <
>>>> bussonniermatthias at gmail.com> wrote:
>>>>
>>>>> Following on what have been said on IPython-user,
>>>>>
>>>>> 3.0 should be released this week, which mean that 2.x will not be
>>>>> considered as stable.
>>>>> So be careful or resources pointing to 2.x
>>>>>
>>>>> --
>>>>> M
>>>>>
>>>>>
>>>>> Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com> a ?crit
>>>>> :
>>>>>
>>>>> > Hi Chris,
>>>>> >
>>>>> > Here's where I would start -- look at
>>>>> >
>>>>> > https://github.com/ipython/ipython/tree/2.x/examples,
>>>>> >
>>>>> > which you can view through nbviewer:
>>>>> >
>>>>> >
>>>>> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
>>>>> .
>>>>> >
>>>>> > -Raymond
>>>>> >
>>>>> > On 2/23/15 10:53 AM, diehl wrote:
>>>>> >> Hi Folks,
>>>>> >>
>>>>> >> I'd like to start experimenting with IPython widgets and use them
>>>>> in an
>>>>> >> ongoing consulting project. Any suggestions on the best place to
>>>>> start? Is
>>>>> >> there evolving documentation somewhere? I'm having trouble tracking
>>>>> sources
>>>>> >> down.
>>>>> >>
>>>>> >> Thanks!
>>>>> >>
>>>>> >> Chris
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> View this message in context:
>>>>> http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
>>>>> >> Sent from the IPython - Development mailing list archive at
>>>>> Nabble.com.
>>>>> >> _______________________________________________
>>>>> >> IPython-dev mailing list
>>>>> >> IPython-dev at scipy.org
>>>>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>> >
>>>>> > _______________________________________________
>>>>> > IPython-dev mailing list
>>>>> > IPython-dev at scipy.org
>>>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>> _______________________________________________
>>>>> IPython-dev mailing list
>>>>> IPython-dev at scipy.org
>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>
>>>>
>>>>
>>> _______________________________________________
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>
>>>
>>
>
> --
> Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
> developer.rackspace.com)
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150223/ca8caca8/attachment.html>

From nick.bollweg at gmail.com  Tue Feb 24 09:51:40 2015
From: nick.bollweg at gmail.com (Nicholas Bollweg)
Date: Tue, 24 Feb 2015 09:51:40 -0500
Subject: [IPython-dev] Getting Started with Widgets in IPython 3
In-Reply-To: <CABYryNAPkgg_M+P6A85KSe7avO6Jw1_gYmuggLw-EuTkuQHWsw@mail.gmail.com>
References: <1424717593094-5087237.post@n6.nabble.com>
	<54EB7889.2040907@gmail.com>
	<67A2BDD9-84EE-4D76-9B6F-5180770CD220@gmail.com>
	<CABYryNDM8gVk5-b8JVAorW4PhMi8=7sFA1atRSCz1G7iHPyxMw@mail.gmail.com>
	<CAJXewOmTr3LzBNkHWT_xARhMxoaK1P7Q6MnCeF1mxSeapORRaQ@mail.gmail.com>
	<CABYryNCNdQqAq6HQd1pi4mBAwrmqcU_UkObzQDQV8aEJ0GWgQw@mail.gmail.com>
	<CA+tbMaU8njPmpYWyT4b2ubSdP_HASTtCzUFLE=Vd9Oro2xLKTA@mail.gmail.com>
	<CABYryNAPkgg_M+P6A85KSe7avO6Jw1_gYmuggLw-EuTkuQHWsw@mail.gmail.com>
Message-ID: <CACejjWzTNdc8eZHsWSzprY-SWQKBeorMoS+8k3KbzaWnfeS_Qw@mail.gmail.com>

Plug for the cookiecutter template:
https://github.com/bollwyvl/cookiecutter-ipython-widget/tree/v3.0

It's been a while since the template was updated, but i used it last
week... Though not with cookiecutter 0.9... There are some new goodies i
want to exploit there to make the process smoother. Feedback welcome!

As we move forward, though, yeoman will probably be the right home for the
"starter kit", as js will be the common denominator... Also it's silly to
plan on doing js without having access to things like less, jshint and
bower, phantom.
On Feb 24, 2015 12:13 AM, "Chris Diehl" <cpdiehl at gmail.com> wrote:

> Look forward to seeing that post Kyle!
>
> On Mon, Feb 23, 2015 at 8:56 PM, Kyle Kelley <rgbkrk at gmail.com> wrote:
>
>> I'm hoping to put together a decent post now that bitjet has come
>> together (https://github.com/rgbkrk/bitjet). Jonathan Frederic helped me
>> get it going, and I must say that building a custom widget was so fun
>> I'm addicted. That's not to say there won't be pain points though.
>>
>> -- Kyle
>>
>> On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:
>>
>>> Thanks Nathan. Appreciate the feedback!
>>>
>>> On Mon, Feb 23, 2015 at 5:58 PM, Nathan Goldbaum <nathan12343 at gmail.com>
>>> wrote:
>>>
>>>> All of the widget examples in the IPython source distribution should be
>>>> updated to use the IPython 3.0 API.
>>>>
>>>> It's also worth noting that IPython 3.0 will be the last release where
>>>> the widgets are bundled with IPython, in the future they will be integrated
>>>> into Jupyter with appropriate warnings about the lack of API guarantees.
>>>>
>>>>
>>>> On Monday, February 23, 2015, Chris Diehl <cpdiehl at gmail.com> wrote:
>>>>
>>>>> Thanks Matthias. Are there good resources for learning the IPy 3.x way
>>>>> of working with widgets? Or is it learn by example at this point?
>>>>>
>>>>> On Mon, Feb 23, 2015 at 1:46 PM, Matthias Bussonnier <
>>>>> bussonniermatthias at gmail.com> wrote:
>>>>>
>>>>>> Following on what have been said on IPython-user,
>>>>>>
>>>>>> 3.0 should be released this week, which mean that 2.x will not be
>>>>>> considered as stable.
>>>>>> So be careful or resources pointing to 2.x
>>>>>>
>>>>>> --
>>>>>> M
>>>>>>
>>>>>>
>>>>>> Le 23 f?vr. 2015 ? 10:59, Raymond Yee <raymond.yee at gmail.com> a
>>>>>> ?crit :
>>>>>>
>>>>>> > Hi Chris,
>>>>>> >
>>>>>> > Here's where I would start -- look at
>>>>>> >
>>>>>> > https://github.com/ipython/ipython/tree/2.x/examples,
>>>>>> >
>>>>>> > which you can view through nbviewer:
>>>>>> >
>>>>>> >
>>>>>> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
>>>>>> .
>>>>>> >
>>>>>> > -Raymond
>>>>>> >
>>>>>> > On 2/23/15 10:53 AM, diehl wrote:
>>>>>> >> Hi Folks,
>>>>>> >>
>>>>>> >> I'd like to start experimenting with IPython widgets and use them
>>>>>> in an
>>>>>> >> ongoing consulting project. Any suggestions on the best place to
>>>>>> start? Is
>>>>>> >> there evolving documentation somewhere? I'm having trouble
>>>>>> tracking sources
>>>>>> >> down.
>>>>>> >>
>>>>>> >> Thanks!
>>>>>> >>
>>>>>> >> Chris
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> --
>>>>>> >> View this message in context:
>>>>>> http://python.6.x6.nabble.com/Getting-Started-with-Widgets-in-IPython-3-tp5087237.html
>>>>>> >> Sent from the IPython - Development mailing list archive at
>>>>>> Nabble.com.
>>>>>> >> _______________________________________________
>>>>>> >> IPython-dev mailing list
>>>>>> >> IPython-dev at scipy.org
>>>>>> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > IPython-dev mailing list
>>>>>> > IPython-dev at scipy.org
>>>>>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>> _______________________________________________
>>>>>> IPython-dev mailing list
>>>>>> IPython-dev at scipy.org
>>>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> IPython-dev mailing list
>>>> IPython-dev at scipy.org
>>>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>>>
>>>>
>>>
>>
>> --
>> Kyle Kelley (@rgbkrk <https://twitter.com/rgbkrk>; lambdaops.com,
>> developer.rackspace.com)
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150224/373cc840/attachment.html>

From maplabs at light42.com  Tue Feb 24 13:56:20 2015
From: maplabs at light42.com (=?utf-8?b?QnJpYW4gTSBIYW1saW4=?=)
Date: Tue, 24 Feb 2015 10:56:20 -0800
Subject: [IPython-dev] python 2.7 / ipython 2.3
Message-ID: <20150224105620.lti9d3sj4oc8o8c0@webmail.light42.com>

Hi All -

? I do appreciate the context of pushing the state-of-the-art, and also, some?feedback..?

We (OSGeo-Live) are shipping python 2.7 / IPython 2.3 with a ton of science and mapping libs. 
This is very useful the way it is, and there is value from our point of view to rely on this for some time forwards. 

SO please consider a frozen set of resources for those not in the (b)leading edge loop. 
thank you very much?

--
Brian M Hamlin
OSGeo California Chapter
blog.light42.com



From takowl at gmail.com  Tue Feb 24 14:06:28 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Tue, 24 Feb 2015 11:06:28 -0800
Subject: [IPython-dev] python 2.7 / ipython 2.3
In-Reply-To: <20150224105620.lti9d3sj4oc8o8c0@webmail.light42.com>
References: <20150224105620.lti9d3sj4oc8o8c0@webmail.light42.com>
Message-ID: <CAOvn4qj8ViAyv=nTP3928cV5o=MsBHft6pr2sEGiwsw0y016cw@mail.gmail.com>

Hi Brian,

On 24 February 2015 at 10:56, Brian M Hamlin <maplabs at light42.com> wrote:

> SO please consider a frozen set of resources for those not in the
> (b)leading edge loop.
> thank you very much
>

Our own docs and examples have stable URLs that should keep pointing to 2.x
resources indefinitely:

http://ipython.org/ipython-doc/2/
http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb

Are there any other resources you have in mind?

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150224/6bc9e614/attachment.html>

From bussonniermatthias at gmail.com  Tue Feb 24 14:12:03 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Tue, 24 Feb 2015 11:12:03 -0800
Subject: [IPython-dev] python 2.7 / ipython 2.3
In-Reply-To: <CAOvn4qj8ViAyv=nTP3928cV5o=MsBHft6pr2sEGiwsw0y016cw@mail.gmail.com>
References: <20150224105620.lti9d3sj4oc8o8c0@webmail.light42.com>
	<CAOvn4qj8ViAyv=nTP3928cV5o=MsBHft6pr2sEGiwsw0y016cw@mail.gmail.com>
Message-ID: <FFFA7E06-B342-44D7-9B0B-C372476493B4@gmail.com>


Le 24 f?vr. 2015 ? 11:06, Thomas Kluyver <takowl at gmail.com> a ?crit :

> Hi Brian,
> 
> On 24 February 2015 at 10:56, Brian M Hamlin <maplabs at light42.com> wrote:
> SO please consider a frozen set of resources for those not in the (b)leading edge loop.
> thank you very much 
> 
> Our own docs and examples have stable URLs that should keep pointing to 2.x resources indefinitely:
> 
> http://ipython.org/ipython-doc/2/
> http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Index.ipynb
> 
> Are there any other resources you have in mind?


I do believe that other things would be releases on PyPI. 
And despite the fact that they don't show up, old releases are still here. 
Really they are just hidden. 

The only thing we don't commit to, is maintaining old versions. The team is too small for that. 
Though I suppose that if a group of person is interested in maintaining a specific old branch of
that could be arranged.

-- 
M





> 
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150224/f1b68457/attachment.html>

From benjaminrk at gmail.com  Fri Feb 27 19:26:45 2015
From: benjaminrk at gmail.com (MinRK)
Date: Fri, 27 Feb 2015 16:26:45 -0800
Subject: [IPython-dev] [ANN] IPython 3.0
Message-ID: <CAHNn8BX=5a2Hhea+2a7Dw4AQryrKvNgDAwW8NPH7yUSPaHgKSw@mail.gmail.com>

Hello all,

IPython 3.0 is officially released. Give it a try:

pip install --upgrade "ipython[all]"

and check out the release notes
<http://ipython.org/ipython-doc/3/whatsnew/version3.html> for the
highlights of what?s changed.

This is a massive release, with almost 6000 commits and almost 1000 pull
requests merged from over 150 contributors. The central feature of 3.0 is
improving support for languages other than Python. This includes a new kernel
spec
<http://ipython.org/ipython-doc/3/development/kernels.html#kernel-specs>,
and updates to the message protocol
<http://ipython.org/ipython-doc/3/development/messaging.html> and notebook
format <http://ipython.org/ipython-doc/3/notebook/nbformat.html>. We
already have 33 kernels and counting
<https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages>.
IPython 3.0 also marks the beginning of the transition to Jupyter.

3.x will be the last monolithic release of IPython, as the next release
cycle will see the growing project split into its Python-specific and
language-agnostic components. Language-agnostic projects (notebook,
qtconsole, protocol, etc.) will move under the umbrella of the new Project
Jupyter, while Python-specific projects (interactive Python shell, Python
kernel for Jupyter, IPython.parallel) will remain under IPython, and be
split into a few smaller packages. To reflect this, IPython is in a bit of
a transition state. We are going to do our best to ease this transition for
users and developers.

With an increasing number of hosted notebook projects such as JupyterHub
<https://github.com/jupyter/jupyterhub>, where the Notebook UI may be
users? only window onto the system, we have added a terminal and text
editor to the web UI, so the basics should be covered.

Thanks to everyone who helped put this together.

-MinRK on behalf of the IPython (and Jupyter) team
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150227/c04042b5/attachment.html>

From bussonniermatthias at gmail.com  Fri Feb 27 20:50:41 2015
From: bussonniermatthias at gmail.com (Matthias Bussonnier)
Date: Fri, 27 Feb 2015 17:50:41 -0800
Subject: [IPython-dev] [ANN] IPython 3.0
In-Reply-To: <CAHNn8BX=5a2Hhea+2a7Dw4AQryrKvNgDAwW8NPH7yUSPaHgKSw@mail.gmail.com>
References: <CAHNn8BX=5a2Hhea+2a7Dw4AQryrKvNgDAwW8NPH7yUSPaHgKSw@mail.gmail.com>
Message-ID: <69C88AC5-C7A1-40D1-9DEB-C02F7DE81523@gmail.com>

Hi all, 

Thanks to the team for the hard work, and everyone for sticking around, supporting us, and helping us during this last year. I just want to add that you can try out the new release now in your browser at:

http://try.jupyter.org

Thanks to Rackspace, @rgbkrk and @smashwilson, we can deploy temporary Docker containers so that you can test it online with no installation.

We also had valuable financial support from the Sloan and Simons foundations, which allows several of us to work full time on IPython and Jupyter.

Google is also participating financially, and by allowing some of its employees to work on JupyterDrive.

We also thank Microsoft and Numfocus for funding which allowed Jon to work on the widgets. 

Sylvain and Jason also worked on widgets, with support from their employer, Bloomberg.

I'll also underline Quantopian, for Scott's time to integrate the PostGres content manager, as well as Continuum for helpful discussion, Dami?n's contributions, and allowing me in particular to attend the Strata conference in San Jos? this year.

We have already starting merging PRs for 3.1, so have fun testing and please report any bugs !

Happy coding, 
-- 
Matthias




From orion at cora.nwra.com  Fri Feb 27 21:27:49 2015
From: orion at cora.nwra.com (Orion Poplawski)
Date: Fri, 27 Feb 2015 19:27:49 -0700
Subject: [IPython-dev] ipython in Fedora EPEL7
Message-ID: <54F127A5.5040709@cora.nwra.com>

Work is underway to package ipython in Fedora EPEL7: 
https://bugzilla.redhat.com/show_bug.cgi?id=1136051

The questions facing us is whether or not to try to package up an (old) 
version with the notebook or drop the notebook for a newer version of 
ipython and provide the notebook in a COPR repo.

We are currently limited by the version of python-tornado in RHEL7 - 
2.2.1, which would limit us to ipython 1.2.1.

Or we could package ipython (hopefully 3.0 at this point, but definitely 
2.4.1) without the notebook.  Perhaps adding the notebook at a later 
point if RedHat updates python-tornado (not much expectation there).

We would likely stick with whatever major version of ipython lands in 
EPEL for the lifetime of the RHEL release, so this is a long term decision.

Would the ipython devel community like to weigh in on this?

Thanks,

   Orion

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


From takowl at gmail.com  Sat Feb 28 11:22:54 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 28 Feb 2015 08:22:54 -0800
Subject: [IPython-dev] ipython in Fedora EPEL7
In-Reply-To: <54F127A5.5040709@cora.nwra.com>
References: <54F127A5.5040709@cora.nwra.com>
Message-ID: <CAOvn4qjVmoT34h9KNdB7urnDJgMrR2cG_mvO4kfu=N20Hx7tTA@mail.gmail.com>

Hi Orion,

On 27 February 2015 at 18:27, Orion Poplawski <orion at cora.nwra.com> wrote:

> The questions facing us is whether or not to try to package up an (old)
> version with the notebook or drop the notebook for a newer version of
> ipython and provide the notebook in a COPR repo.
>
> We are currently limited by the version of python-tornado in RHEL7 -
> 2.2.1, which would limit us to ipython 1.2.1.
>
> Or we could package ipython (hopefully 3.0 at this point, but definitely
> 2.4.1) without the notebook.  Perhaps adding the notebook at a later
> point if RedHat updates python-tornado (not much expectation there).
>

I would package it without the notebook. We're already not supporting 1.x
releases, and even if you got 3.0 in, it will be out of date in a fraction
of the lifetime of a RHEL release. I'd rather people who want the notebook
be forced to install it another way than get an ancient version.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150228/3527f593/attachment.html>

From conery at uoregon.edu  Sat Feb 28 13:20:09 2015
From: conery at uoregon.edu (Conery John)
Date: Sat, 28 Feb 2015 10:20:09 -0800
Subject: [IPython-dev] Can't install IPython 3.0, can't reinstall IPython 2.4
Message-ID: <3BAB5AF5-B56C-499A-9BAD-E7EEC28AAED4@uoregon.edu>

I tried to upgrade to IPython 3 by running

	$ pip3 install ?ipython[notebook]? --upgrade

but the install fails with a message that says "AttributeError: _DistInfoDistribution__dep_map?.

Thinking I might try doing a clean install I uninstalled the previous version and ran ?pip3 install? again but got the same result.

I tried to revert to the old version by downloading ipython-rel-2.4.1.tar.gz from GitHub, but that?s also giving me an error message:

	$ python3 setup.py install
	...
	AssertionError: Missing package data: IPython/html/static/components/backbone/backbone-min.js

Any suggestions for how to get IPython (either version) running?

I use Python 3.4.2 running on Mac OS X 10.10.2.

Thanks....

John Conery



From takowl at gmail.com  Sat Feb 28 13:24:39 2015
From: takowl at gmail.com (Thomas Kluyver)
Date: Sat, 28 Feb 2015 10:24:39 -0800
Subject: [IPython-dev] Can't install IPython 3.0,
	can't reinstall IPython 2.4
In-Reply-To: <3BAB5AF5-B56C-499A-9BAD-E7EEC28AAED4@uoregon.edu>
References: <3BAB5AF5-B56C-499A-9BAD-E7EEC28AAED4@uoregon.edu>
Message-ID: <CAOvn4qjuRdE610MWCZCa-CYiTrp5ou03J7so9r_BEGMjGWmG3g@mail.gmail.com>

On 28 February 2015 at 10:20, Conery John <conery at uoregon.edu> wrote:

> but the install fails with a message that says "AttributeError:
> _DistInfoDistribution__dep_map?.
>

Sounds like a bug in pip. Can you try upgrading pip itself? Or downgrading,
if you're already on the latest version.


> I tried to revert to the old version by downloading
> ipython-rel-2.4.1.tar.gz from GitHub
>

Github tarballs are incomplete - this is a known issue, but there's nothing
we can do about it. If you want to install from a tarball, grab it from
PyPI or archive.ipython.org.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150228/10e8a447/attachment.html>

From conery at uoregon.edu  Sat Feb 28 13:33:21 2015
From: conery at uoregon.edu (Conery John)
Date: Sat, 28 Feb 2015 10:33:21 -0800
Subject: [IPython-dev] Can't install IPython 3.0,
	can't reinstall IPython 2.4
In-Reply-To: <CAOvn4qjuRdE610MWCZCa-CYiTrp5ou03J7so9r_BEGMjGWmG3g@mail.gmail.com>
References: <3BAB5AF5-B56C-499A-9BAD-E7EEC28AAED4@uoregon.edu>
	<CAOvn4qjuRdE610MWCZCa-CYiTrp5ou03J7so9r_BEGMjGWmG3g@mail.gmail.com>
Message-ID: <E1072878-5F2F-43EE-9938-436AC12E8B4A@uoregon.edu>

An old pip was the problem -- I upgraded to pip 6.0.8 and I was able to install IPython3.

Thanks!

JC

> On Feb 28, 2015, at 10:24 AM, Thomas Kluyver <takowl at gmail.com> wrote:
> 
> On 28 February 2015 at 10:20, Conery John <conery at uoregon.edu <mailto:conery at uoregon.edu>> wrote:
> but the install fails with a message that says "AttributeError: _DistInfoDistribution__dep_map?.
> 
> Sounds like a bug in pip. Can you try upgrading pip itself? Or downgrading, if you're already on the latest version.
>  
> I tried to revert to the old version by downloading ipython-rel-2.4.1.tar.gz from GitHub
> 
> Github tarballs are incomplete - this is a known issue, but there's nothing we can do about it. If you want to install from a tarball, grab it from PyPI or archive.ipython.org <http://archive.ipython.org/>.
> 
> Thomas 
> 
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150228/68204da4/attachment.html>

From ccordoba12 at gmail.com  Sat Feb 28 14:49:15 2015
From: ccordoba12 at gmail.com (=?UTF-8?B?Q2FybG9zIEPDs3Jkb2Jh?=)
Date: Sat, 28 Feb 2015 14:49:15 -0500
Subject: [IPython-dev] [ANN] IPython 3.0
In-Reply-To: <CAHNn8BX=5a2Hhea+2a7Dw4AQryrKvNgDAwW8NPH7yUSPaHgKSw@mail.gmail.com>
References: <CAHNn8BX=5a2Hhea+2a7Dw4AQryrKvNgDAwW8NPH7yUSPaHgKSw@mail.gmail.com>
Message-ID: <54F21BBB.7050207@gmail.com>

Hi,

Congratulations to Min, Thomas, Matthias, Brian, Fernando, and the other 
contributors for a great job. This a fantastic release!!

Cheers,
Carlos

El 27/02/15 a las 19:26, MinRK escribi?:
>
> Hello all,
>
> IPython 3.0 is officially released. Give it a try:
>
> |pip install --upgrade "ipython[all]"
> |
>
> and check out the release notes 
> <http://ipython.org/ipython-doc/3/whatsnew/version3.html> for the 
> highlights of what?s changed.
>
> This is a massive release, with almost 6000 commits and almost 1000 
> pull requests merged from over 150 contributors. The central feature 
> of 3.0 is improving support for languages other than Python. This 
> includes a new kernel spec 
> <http://ipython.org/ipython-doc/3/development/kernels.html#kernel-specs>, 
> and updates to the message protocol 
> <http://ipython.org/ipython-doc/3/development/messaging.html> and 
> notebook format 
> <http://ipython.org/ipython-doc/3/notebook/nbformat.html>. We already 
> have 33 kernels and counting 
> <https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages>. 
> IPython 3.0 also marks the beginning of the transition to Jupyter.
>
> 3.x will be the last monolithic release of IPython, as the next 
> release cycle will see the growing project split into its 
> Python-specific and language-agnostic components. Language-agnostic 
> projects (notebook, qtconsole, protocol, etc.) will move under the 
> umbrella of the new Project Jupyter, while Python-specific projects 
> (interactive Python shell, Python kernel for Jupyter, 
> IPython.parallel) will remain under IPython, and be split into a few 
> smaller packages. To reflect this, IPython is in a bit of a transition 
> state. We are going to do our best to ease this transition for users 
> and developers.
>
> With an increasing number of hosted notebook projects such as 
> JupyterHub <https://github.com/jupyter/jupyterhub>, where the Notebook 
> UI may be users? only window onto the system, we have added a terminal 
> and text editor to the web UI, so the basics should be covered.
>
> Thanks to everyone who helped put this together.
>
> -MinRK on behalf of the IPython (and Jupyter) team
>
> ?
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150228/774c21d2/attachment.html>