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.

Source Distribution

reportexport-0.0.3.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file reportexport-0.0.3.tar.gz.

File metadata

  • Download URL: reportexport-0.0.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for reportexport-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cfc9acaa21856495bc05f3f4ca11521f8719de0f390aa00c1ebe75b4967d24dd
MD5 380128880e4559e9551a3bec8f6951d6
BLAKE2b-256 f9e1b7446c9c1b9cb007eb4fd1e66982bf3c9a8408e94baa6b5c826cd620e036

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page