def get_ipython():
    """Return an IPython instance. Returns None
    if IPython is not installed"""
    try:
        import IPython
        return IPython.get_ipython()
    except ImportError:
        return None
