Skip to main content

jasper Client for connecting to Jasper Server and using rest API

Project description

Jasper Client Python Library

Installation

pip3 install jasperClient

Utilisation

Create a client instance

from jasperClient.client import JasperClient

client = JasperClient("https://jasper.host/jasperserver/", "username", "password")

Get a list of reports

client.listReports()

Get a dict with the required params of a report

client.getParameters(path_of_the_report)

Generate a report

client.getReport(
    path=path_of_the_report,
    data=dict_with_report_params,
    filename="test",
    format="pdf",
)

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

jasperClient-0.0.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jasperClient-0.0.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jasperClient-0.0.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.6

File hashes

Hashes for jasperClient-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0a3c0763c9b651ec3c0ea52f7801c1cdf202db3365f01d0b05ded9a211702235
MD5 8c6434553f8cef31cc55677955be627d
BLAKE2b-256 5d4186ebafdec1eac253542ef3c9c3022e0e7f93bbc6208294e7344d1553855c

See more details on using hashes here.

File details

Details for the file jasperClient-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: jasperClient-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.6

File hashes

Hashes for jasperClient-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1f6516c25dda7e4fd09023d4aaba3d8c490aad5f5f5e210b6338ed74175b5b13
MD5 6e46a08e11a2a2d3b8ca7ac04b059336
BLAKE2b-256 e7c7e30503f122fbcca2cf171e6a2c4c1e2cb139e1e4a08d36568ca1e176be7e

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