<cjwatson@niejwein ~>$ lp-shell production devel
/usr/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
warn("The top-level `frontend` package has been deprecated. "
Python 2.7.11 (default, Jan 11 2016, 21:04:40)
Type "copyright", "credits" or "license" for more information.
IPython 2.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Connected to LP service "https://api.launchpad.net/" with API version "devel":
Note: LP can be accessed through the "lp" object.
In [1]: lp.distributions["ubuntu"].getMirrorByName(name="ubuntu.mirror.tn-archive2")
Out[1]: <distribution_mirror at https://api.launchpad.net/devel/ubuntu/+mirror/ubuntu.mirror.tn-archive2>