ReportLab notes: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
See http://www.reportlab.com/documentation/
See http://www.reportlab.com/documentation/


== What it does ==
You can generate output to a PDF using drawing primitives and flow layouts.
Does not seem too exciting to me right now.


==Installation==
==Installation==

Latest revision as of 03:46, 22 August 2016

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. See http://www.reportlab.com/documentation/

What it does

You can generate output to a PDF using drawing primitives and flow layouts.

Does not seem too exciting to me right now.

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".