A collection of tools to handle Jasper Reports with python
  • Python 81.3%
  • Makefile 18.7%
Find a file
dependabot[bot] 1a3f6fbb52
Bump pip from 23.3 to 25.2 (#5)
Bumps [pip](https://github.com/pypa/pip) from 23.3 to 25.2.
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/23.3...25.2)

---
updated-dependencies:
- dependency-name: pip
  dependency-version: '25.2'
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-25 10:32:17 -06:00
.github Initial commit 2017-07-30 21:35:35 -05:00
docker Add docker-compose config for development 2018-08-26 00:18:17 -05:00
docs Update badge links 2018-10-24 14:04:13 +02:00
jr_tools Fix click version with underscore commands 2018-10-24 14:19:54 +02:00
tests Fix cli tests 2017-08-26 22:22:18 -05:00
.editorconfig Add support to load resources from yaml file 2017-10-30 01:21:52 -05:00
.gitignore Initial commit 2017-07-30 21:35:35 -05:00
.travis.yml Update python versions in tox and travis config 2018-08-26 00:16:50 -05:00
AUTHORS.rst Initial commit 2017-07-30 21:35:35 -05:00
CONTRIBUTING.rst Initial commit 2017-07-30 21:35:35 -05:00
HISTORY.rst Fix click version with underscore commands 2018-10-24 14:19:54 +02:00
LICENSE Initial commit 2017-07-30 21:35:35 -05:00
Makefile Add docker-compose config for development 2018-08-26 00:18:17 -05:00
MANIFEST.in Initial commit 2017-07-30 21:35:35 -05:00
README.rst Update badge links 2018-10-24 14:04:13 +02:00
requirements_dev.txt Bump pip from 23.3 to 25.2 (#5) 2025-09-25 10:32:17 -06:00
setup.cfg Fix click version with underscore commands 2018-10-24 14:19:54 +02:00
setup.py Fix click version with underscore commands 2018-10-24 14:19:54 +02:00
tox.ini Update python versions in tox and travis config 2018-08-26 00:16:50 -05:00

===================
JasperReports Tools
===================


.. image:: https://img.shields.io/pypi/v/jr_tools.svg
        :target: https://pypi.python.org/pypi/jr_tools

.. image:: https://img.shields.io/travis/erickgnavar/jr_tools.svg
        :target: https://travis-ci.org/erickgnavar/jr_tools

.. image:: https://readthedocs.org/projects/jr-tools/badge/?version=latest
        :target: https://jr-tools.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/erickgnavar/jr_tools/shield.svg
     :target: https://pyup.io/repos/github/erickgnavar/jr_tools/
     :alt: Updates


A collection of tools to handle Jasper Reports with python


* Free software: MIT license
* Documentation: http://jr-tools.readthedocs.io.

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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage