/connect-reports-core

Primary LanguagePythonApache License 2.0Apache-2.0

Connect Reports Core

pyversions PyPi Status Build Connect Reports Core Quality Gate Status Coverage Maintainability Rating

Introduction

Connect Reports Core is the kernel package for handling reports on CloudBlue Connect Ecosystem. This library is reponsible for validation of reports definition, choosing of renderer for parsing process and writing results of reports execution.

Install

Connect Reports Core requires python 3.8 or later and has the following dependencies:

  • openpyxl>=2.5.14
  • WeasyPrint>=53.4
  • Jinja2>=2.11.3
  • jsonschema<=3.2.0
  • pytz>=2021.1
  • lxml>=4.7.1

Connect Reports Core can be installed from pypi.org using pip:

$ pip install connect-reports-core

Testing

On MacOs:

  • Install system dependencies
brew install py3cairo pango
  • Create virtualenv
  • Install project dependencies
pip install poetry
poetry update
  • Run tests
poetry run pytest

License

Connect Reports Core is released under the Apache License Version 2.0.