ReportLab notes

From Wildsong
Revision as of 22:11, 21 August 2016 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

Originally (2005) I was installing reportlab because Adam Ryan's "iMap" project used it. Now ESRI uses it.

ReportLab is an open source toolkit for generating PDF files. The kit (and more documentation) is available from http://www.reportlab.org/. The commercial products based on ReportLab are at http://www.reportlab.com/.

The documentation comes in PDF files. I find this amusing.

reportlab-userguide.pdf reportlab-reference.pdf reportlab-graphics-reference.pdf


Installation

The current version is in bitbucket.org, not sourceforge.

It is now available via pip.

I am going to drive it from ESRI arcpy.mapping so I want it installed under Windows. Your ESRI installation of python should have pip already, but you can update it. Use a browser to grab get-pip.py then run it, "python get-pip.py".

Then try C:\Python27\ArcGISx6410.4\Scripts\pip install reportlab' thing. Once it's done you should eb able to run "python" and "import reportlab".