PyPI Browser is a GUI used to browse the Python Package Index (PyPI).

The browser gui uses xmlrpc lib to communicate to PyPI, which is running over HTTP. Out of the box it does not support passing through a HTTP proxy server, but with a simple patch it can be modified to do so automatically.

1. Download xmlrpc_urllib2_transport.py from Jeff’s Starship site and place it in /Python2x/Pib/site-packages.

2. Add the following import to PyPIBrowser/pypi.py:
from xmlrpc_urllib2_transport import ProxyTransport

3. Modify the PackageServer initializer around line 185 to be:
self.server = xmlrpclib.Server(url, transport=ProxyTransport())

4. Set the environment variable http_proxy to indicate your proxy server:
ie: export http_proxy=http://proxy.yourcompany.com:80

Now you can browse all the wonderful offerings of the PyPi safely behind your http proxy.