Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.09 KB

README.org

File metadata and controls

39 lines (33 loc) · 1.09 KB

`bald_aufstufen.py`

To use the TUI visualization script, follow these steps:

Install the following dependencies:

  • Python 3
  • the `make` utility (optional)

Setup the virtual environment for Python.

If you have the `make` utility installed, run

make setup

Otherwise:

cd bin && ./setup.sh

This will create a virtual environment for Python, and install the dependencies listed in `requirements.txt`.

Download the NaMi export files.

In the (near?) future, this will likely be done automatically using the `pynami` Python package. For now though, download the file `Mitglieder Grundinformationen mit Tätigkeiten und Stufe Abteilung.xlsx` from NaMi. Make sure that the downloaded file has exactly this name, you probably will have to rename it.

Move the file into the `/data/nami-exports` directory.

Here, `/` labels the repository root directory.

Run the visualization script.

If you have the `make` utility installed, run

make 

Otherwise:

cd bin && ./run.sh