Getting Started


git clone
cd flatten-tool
virtualenv -p $(which python3) .ve
source .ve/bin/activate
pip install -r requirements_dev.txt

Commandline Usage

flatten-tool -h

will print general help information.

flatten-tool {create-template,flatten,unflatten} -h

will print help information specific to that subcommand.

Python Library Usage

from flattentool import create_template, flatten, unflatten

Python Version Support

This code supports Python 2.7 and Python 3.3 (and later). Python 3 is strongly preferred. Only servere Python 2 specific bugs will be fixed, see the python2-wontfix label on GitHub for known minor issues.

Python 2.6 and earlier are not supported at all because our code makes use new language constructs introduced in Python 3 and 2.7. Python 3.2 (also 3.1 and 3.0) is not supported, because one of the dependencies (openpyxl) does not support it.