python3.11
Install with your package manager or download from https://www.python.org/downloads/
Note
The latest version of this app was tested on Python 3.11, but it should generally work with Python 3.8 and later.
- Create virtual environment:
python -m venv .venv
- Activate it:
. .venv/bin/activate
- Install dependencies:
pip -r requirements.txt
- Log in to skautIS.
- Select the right role. For the export to work, it must be
Oddíl: vedoucí/admin
- Go to
Exporty > Osoby
- Under
Správa a nastavení exportů
create new template and set it up like it is shown in the attached screenshot. - Go back to
Exporty / seznamy
, select your newly created template - Remove default data to export, add a new one using
Přidat jednotku
and when it's done, tickVčetně podřízených
.
Note
The removal and re-addition needs to be done to allow ticking that box.
- Click
Export do XLSX
. The export will download. - Open terminal. Navigate to folder with this converter and
.venv
folder. - If not in virtual environment already, activate it:
. .venv/bin/activate
- Run:
./convert.py <path_to_downloaded_xlsx_export>.xlsx <where_to_save_the_output>.csv
- Import that
.csv
file into Google Contacts. Remember to delete old contacts first to avoid duplicates.
Note
This process is usually done once a year to keep the contact details updated.