Getting Started

Prerequisites

You will need Python 3.5 or later, including the venv module.

Generally the venv module should come with your default Python install, but not on Ubuntu. On Ubuntu run:

sudo apt-get install python3 python3-venv

Installation

git clone https://github.com/OpenDataServices/flatten-tool.git
cd flatten-tool
python3 -m venv .ve
source .ve/bin/activate
pip install -r requirements_dev.txt

Usage

flatten-tool -h

will print general help information.

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

will print help information specific to that sub-command.

Python Version Support

This code supports Python 3.5 (and later).

Python 3.4 (and earlier Python 3 versions) is not supported, because one of the dependencies (openpyxl) does not support it.

Python 2 is not supported because it is now end of life.