Skip to main content

IPython CLI for viewing documentation in the browser

Project description

newtabmagic is an IPython CLI for viewing pydoc documentation in the browser.

Install

As a Python package:

$ pip install newtabmagic

As an IPython extension:

In [1]: %install_ext https://raw.github.com/etgalloway/newtabmagic/master/newtabmagic.py

Use

Load the extension:

In [1]: %load_ext newtabmagic

Start the pydoc server:

In [2]: %newtab --server start
Starting job # 0 in a separate thread.
Server running at http://127.0.0.1:63146/

View documentation in the browser:

In [3]: %newtab IPython.core.debugger.Tracer

In [4]: import IPython
In [5]: tracer = IPython.core.debugger
In [6]: %newtab tracer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

newtabmagic-0.1.0.zip (8.0 kB view hashes)

Uploaded Source

Built Distribution

newtabmagic-0.1.0-py2.py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page