[IPython-dev] Launching Jupyter Notebook Sharing on Quantopian

Brian Granger ellisonbg at gmail.com
Fri Feb 13 16:59:54 EST 2015


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>


More information about the IPython-dev mailing list