[IPython-dev] nbopen & nbmanager - a pair of tools for IPython Notebook on your own machine
jbarratt at serialized.net
Fri Aug 22 02:48:00 EDT 2014
It *almost* works on IPython 2.x, except the nbserver-* JSON blobs only
have the PID's in the name, not the actual file.
I took a pass at fixing this up for IPython 2.x, by borrowing some of the
code from the master branch, and it seems to be working.
On Sun, Aug 3, 2014 at 10:49 PM, Thomas Kluyver <takowl at gmail.com> wrote:
> Neat, thanks for those. For nblist, instead of scanning processes and
> ports, it may be easier to use our API function list_running_servers(),
> especially for cross platform support:
> nbmanager also includes a slightly higher level API around that, which is
> completely independent of all the GUI code (though this requires IPython 3):
> Best wishes,
> On 3 August 2014 22:34, Joshua Barratt <jbarratt at serialized.net> wrote:
>> Thanks for sharing those, very cool. I had been thinking about doing
>> something like nbopen, I'm happy to see that's something I can delete off
>> of the infinite to-do list.
>> I created something similar to nbmanager, but much more stripped down and
>> only allows viewing.
>> I called mine nblist
>> $ nblist
>> http://127.0.0.1:8088 | /Users/me/work/notebooks
>> http://127.0.0.1:8089 | /Users/me/work/otherproject
>> I also recently wrote something called nbgrep
>> <https://gist.github.com/jbarratt/fa1d3473048e5f856aeb> (blog post here
>> which allows you to search the input cells of all your notebooks,
>> regardless of directory.
>> Unfortunately both of mine only work on OSX, though they could be
>> modified to be cross-platform.
>> On Fri, Aug 1, 2014 at 2:55 PM, Thomas Kluyver <takowl at gmail.com> wrote:
>>> I've been working on a couple of tools to improve the experience of
>>> working with IPython notebooks on your own computer.
>>> First, nbopen, a tool to open a notebook in the nearest available
>>> server, or start a new server if there isn't one available. It now
>>> integrates with your file manager so you can double click on a notebook
>>> file to open it (open source desktops only for now, PRs for other systems
>>> However, there's no easy way to shut down notebook servers launched by
>>> double clicking on notebooks, because there isn't a terminal where you can
>>> press ctrl-c. So I also made nbmanager, a GUI app which discovers running
>>> notebook servers and open notebooks, and lets you easily shut them down:
>>> nbopen will work on IPython 2, while nbmanager, which is more
>>> experimental, requires you to be running IPython from git at the moment.
>>> IPython-dev mailing list
>>> IPython-dev at scipy.org
>> IPython-dev mailing list
>> IPython-dev at scipy.org
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev