pythonreports

Introduction

PythonReports is a toolkit aimed to build database reports in Python® programs. The toolkit includes report template designer, report builder and several printout renderers for GUI and graphic file output.

Report builder applies a template to a sequence of uniform data objects and produces a printoutstructure that can be saved in a file and/or rendered by one of the front-end drivers to screen, printer, HTML (*), PDF etc.

Requirements

PythonReports require Python version 2.4 or newer. No support is planned for earlier Python versions.

All parts of the PythonReports toolkit require the ElementTree module. Python includes this module as part of the standard library since version 2.5. Users of older Python versions can download separate distribution package from http://effbot.org/downloads/ (cElementTree add-on is highly recommended too).

Requirements for  printout rendering depend on selected frontend:
  • PDF output requires the ReportLab Toolkit. Reports containing images additionally requirePython Imaging Library (PIL).
  • wx-based preview and printing require wxPython.
  • Tk-based report preview requires Tkinter (part of the Python Standard Library). Reports containing images additionally require PIL or wxPython.

Report building can utilize any of the above options. In other words, if your system is able to display or print a report then it should be able to build a report too.

Report template designer requires Tkinter with Tix support (standard Python installer for Windows includes Tix; on some platforms Tix must be installed separately).

WYSIWIG template editor requires wxPython. For wxPython versions prior to 2.9wxPropertyGrid must be installed as a separate module (**).

Quick Start

No documentation yet. Please look at the test script for report building example. All printout rendering modules (pdfTk and wxPrint) have command line interface that can serve as their API usage example.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值