Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python client to AppReport API

Project Description
## app_report-python

app_report-python is a Python client to the [AppReport API](, it allows you to generate pdf reports based on Jasper library in a simple way.

### Installation

* For **Web2py framework** users, please read [Using the AppReport client on Web2py Apps](

* For **Windows** users, please read [How to install pip on Windows](

* Or, if you are using **Python on Linux**, follow this steps:

# create a file requirements.txt and add this line:

# after save it, run the install command:
$ pip install -r requirements.txt

### Try it now

* This example assumes that you already drawn your report using some tool like [i-report designer]( and uploaded the .jrxml file to the [AppReport site](, as a "report template",

to make the things easy, we did it for you :) yay donuts for us.

import app_report
from app_report.helpers.reports import jasper_report
from urllib2 import urlopen

'app_name': 'shop',
'access_key': 'udPONmbmD01MnxzMVgiL',
'secret_key': 'ExINJLBR1I6Au6Hu0gQQoQmTMXAZuHk1Tkx3N19V'

xml_data = urlopen('').read()
report = jasper_report(template_name='products', data=xml_data, xpath_expression='/products/product')

open('report.pdf', 'w').write(report)


<b>Just it!</b> AppReport is a really simple, no more complex configurations or boring installations are required, just connect to AppReport API and start generating reports!

## Contribute
You can contribute sending pull requests, don't forget to write tests for your code and check the pep8 conventions :)

$ pip install -r development-requirements.txt
$ pip install -r test-requirements.txt

$ fab test

$ fab check_pep8
# p.s. the "Maximum Line Length" (of 79 chars) convention are being ignored.
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
app_report-0.0.3.tar.gz (9.4 kB) Copy SHA256 Checksum SHA256 Source Apr 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting