Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good way to download scipy, numpy, matplotlib, and pandas documentation for pylookup?

Pylookup is a project in emacs to view python documentation in a browser, rather than in the interpreter: http://taesoo.org/proj/pylookup.html

Essentially, it requires documentation in this format:

  1. http://docs.scipy.org/doc/numpy/genindex.html
  2. http://docs.scipy.org/doc/scipy/reference/genindex.html
  3. http://matplotlib.org/genindex.html
  4. http://pandas.pydata.org/pandas-docs/stable/genindex.html

How can I download these help directories so I can access them locally?

like image 716
hatmatrix Avatar asked Sep 25 '13 19:09

hatmatrix


1 Answers

Go to http://docs.scipy.org/doc/ and download the Numpy and Scipy reference guides in the format "HTML+zip", unzip them to $DOCDIRECTORY and call ./pylookup.py -a -u "$DOCDIRECTORY". It should pick up the genindex.html from the directory.

For Matplotlib you might have to download the whole source (or the relevant part from https://github.com/matplotlib/matplotlib/tree/master/doc) and build the HTML documentation yourself.

For Pandas try http://pandas.pydata.org/pandas-docs/stable/pandas.zip, it also provides a genindex.html.

like image 69
rerx Avatar answered Sep 27 '22 23:09

rerx