SSB flextab

PyPI Status Python Version License

Documentation Tests Coverage Quality Gate Status

pre-commit Black Ruff Poetry

Features

Flextab is a Python package for making flexible tabulation. It is made with Claude AI, models Sonnet 4.5 and Sonnet 5.

Flextab is inspired by the Sas procedure proc tabulate which again was based on the tpl language

It makes flexible tables in two dimensions, rows an columns, based on Pandas dataframes.

Requirements

  • pandas

  • numpy

  • openpyxl when exporting tables to Excel

Installation

You can install SSB flextab via pip from PyPI:

pip install ssb-flextab

Usage

A tutorial is found in the in the docs folder.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, SSB flextab is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from Statistics Norway’s SSB PyPI Template.