I made a tiny python-tabulate wrapper for producing tables from generators. It’s called lazy_table, and it even has a fancy logo:
lazy_table is useful when (i) each row of your table is generated by a possibly expensive computation and (ii) you want to print rows to the screen as soon as they are available. For example, the rows in the table below correspond to numerically solving an ordinary differential equation with progressively more steps.
You can install it via pip:
$ pip install lazy_table
Examples and detailed instructions are available on the GitHub project page.