Welcome to reportlab-flexbox!

ReportLab-FlexBox is a implementation of the css FlexBox for reportlab. Simply layout manager inspired by the powerful flexbox, intended to reduce the tedious work of positioning and sizing flowables using the Wrap(availWidth, availHeight) method. Additionally the package adds some basic css inspired styling options such as paddings, margins, background and borders.

Reportlab-flexbox has two main components.

  1. The FlexItem , a flowable with does two things. Firstly it provides an automatic wrapping function and secondly it provides some basic css-inspired styling.
  2. The FlexBox , a layout manager (which it self is also a FlexItem) which positions given Flowables/FlexItems.
Github
https://github.com/SverkerSbrg/reportlab-flexbox/
Documentation
http://reportlab-flexbox.readthedocs.io/en/latest/
Python package index (pypi)
https://pypi.python.org/pypi/reportlab-flexbox/
ReportLab
https://www.reportlab.com/ https://pypi.python.org/pypi/reportlab/

Warning

This package is still in beta. The api may still be subject to change and the documentation is patchy.