一种flask微服务,用xml和pdf格式从数据库中生成报告。
reportexport的Python项目详细描述
版本号:0.0.3 作者:Marcello Dalponte
概述
一种flask微服务,用xml和pdf格式从数据库中生成报告。
安装/使用
要安装,请使用pip:
$ pip install reportexport
或者克隆回购协议:
$ git clone https://github.com/mdalp/reportexport.git $ python setup.py install
运行:
$ REPORTEXPORT_DATABASE=postgresql://myuser:passwd@localhost/mydb make run
贡献
这是一个素描项目,因此它可以进行一些改进,其中:
- Dinamically calculate the left indent space in the pdf report
- Add the currency to the prices in the report
- Improve the comparison between pdfs in the test utils to detect format changes
To install requirements for dev:
$ make devinstall
运行测试:
$ make tests