simple script to periodically anonymize all events in a nextcloud shared calendar by setting the class of the events to CONFIDENTIAL
git clone git@github.com:tu-studio/nextcloud_calendar_anonymizer.git
cd nextcloud_calendar_anonymizer/
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cp conf.toml.template conf.toml
# fill the config with the correct values
nano conf.toml
# execute the script
python nextcloud_calendar_anonymizer.py
# execute the script from cronjob
/path/to/repo/venv/bin/python /path/to/repo/nextcloud_calendar_anonymizer.py