Generating 2D Ring Dictionary Report

A program that generate a multi-page PDF report of the 2D ring dictionary.

Command Line Interface

A description of the command line interface can be obtained by executing the program with the –help argument.

prompt> python ringdict2pdf.py --help

Will generate the following output:

Simple parameter list
    input/output options :
      -out : Output filename
      -ringdict : Input ring dictionary filename

    report options :
      -colsperpage : Number of columns per page
      -pageheight : Page height
      -pageorientation : Page orientation
      -pagesize : Page size
      -pagewidth : Page width
      -rowsperpage : Number of rows per page

Code

Download code

ringdict2pdf.py

See also

Example

prompt> python ringdict2pdf.py -ringdict rtd.oeb -out rtd.pdf

will generate a multi-page PDF report similar to the one shown in Table: Example of ring dictionary report.

Example of ring dictionary report (The pages are reduced here for visualization convenience)

cover page

page 1

page 2

../_images/rtd-example-report-1.png ../_images/rtd-example-report-2.png ../_images/rtd-example-report-3.png

See also