Skip to main content

A collection of tools to handle Jasper Reports with python

Project description

JasperReports Tools

https://img.shields.io/pypi/v/jr_tools.svg https://img.shields.io/travis/erickgnavar/jr_tools.svg Documentation Status Updates

A collection of tools to handle Jasper Reports with python

Tested with JasperServer CE 6.4

Features

  • Client to get reports in API available formats(PDF, xls, etc)

  • CLI: run jr_tools --help to get the list of available commands

  • CLI: load resources from yaml file jr_tools load path_to_yaml_file

Development

For development there is a docker-compose based configuration to start jasper server and mysql.

Use the below commands to handle the docker setup:

  • make docker_up: this will launch docker-compose services, it’s going to take a few minutes to download the required images and setup everything.

  • make docker_down: this will shutdown the launched containers.

  • make mysql_shell: this will launch a mysql console to interact with the database, by default it connects to demo database.

  • make mysql_shell_root: the same as above but use the root user.

Credentials:

Jasper Server:

  • username: jasperadmin

  • password: jasperadmin

MySQL:

  • username: demo

  • password: demo

  • root password: root

  • default database: demo

After the setup is complete you can enter to http://localhost:8080 and login using the credentials from above.

TODO

  • Django helper to consume reports and converto to Django responses

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.3.1 (2018-10-24)

  • Pin Click version to 6.X to use underscore command names

0.3.0 (2017-11-06)

  • Add option to choose if a parameters must be mandatory

0.2.0 (2017-10-31)

  • Add suport to upload and configure files and reports to JasperServer using a yml file

0.1.0 (2017-07-30)

  • First release on PyPI.

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

jr_tools-0.3.1.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

jr_tools-0.3.1-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file jr_tools-0.3.1.tar.gz.

File metadata

  • Download URL: jr_tools-0.3.1.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10

File hashes

Hashes for jr_tools-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2fd1b3165e255fad4b96271c04ac07ad566aee412c5d90b24a461219d5c6e880
MD5 d81b04b52878ab2256ef51039087265d
BLAKE2b-256 99b2288cbd763026c47f2015f6bef024b1406be5d4d772b95b671de88dae9c4e

See more details on using hashes here.

File details

Details for the file jr_tools-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: jr_tools-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10

File hashes

Hashes for jr_tools-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca7926c9ab1e07bb743250109ee7dfbb861c378adcafec0ebd80070a0d7f9a80
MD5 ec5e021e21393ca915eaaa15d5a5bcc7
BLAKE2b-256 fe8e0414cf09250dcc1aea055dd8ff259834ab8bd08e32872ef47b554d61cf8c

See more details on using hashes here.

Supported by

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