[IPython-dev] New WebGL-based protein widget + two questions

Nicholas Bollweg nick.bollweg at gmail.com
Mon Sep 1 22:39:23 EDT 2014


Looks cool!

To your first point:
I just wanted to throw out a link here for a cookiecutter
<https://github.com/audreyr/cookiecutter> template where we might collect
some of these concerns:

https://github.com/bollwyvl/cookiecutter-ipython-widget
>

What is currently there is a pattern based on some previous discussions on
this list, and some related ones.

Its copying/loading approach
<https://github.com/bollwyvl/cookiecutter-ipython-widget/blob/master/%7B%7Bcookiecutter.repo_name%7D%7D/%7B%7Bcookiecutter.pkg_name%7D%7D/widgets/mixins.py>,
encapsulated in a mixin, basically is to copy the package's static folder
into nbextensions every time an instance of the widget is loaded into a
kernel. Feel free to make use of anything you find there!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140901/0908b1f3/attachment.html>


More information about the IPython-dev mailing list