Skip to main content

A Flask microservice that produces reports out of a database in xml and pdf format.

Project description

[![Build Status](https://travis-ci.org/mdalp/reportexport.svg?branch=master)](https://travis-ci.org/mdalp/reportexport)

version number: 0.0.3 author: Marcello Dalponte

Overview

A Flask microservice that produces reports out of a database in xml and pdf format.

Installation / Usage

To install use pip:

$ pip install reportexport

Or clone the repo:

$ git clone https://github.com/mdalp/reportexport.git $ python setup.py install

To run:

$ REPORTEXPORT_DATABASE=postgresql://myuser:passwd@localhost/mydb make run

Contributing

This is a sketch project as such it is open to a number of improvements, among which:

  1. Dinamically calculate the left indent space in the pdf report
  2. Add the currency to the prices in the report
  3. Improve the comparison between pdfs in the test utils to detect format changes

To install requirements for dev:

$ make devinstall

To run tests:

$ make tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for reportexport, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size reportexport-0.0.3.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page