# pronote-sync Synchronisation Pronote → CalDAV + XMPP. --- Synchronise l'agenda et les devoirs de **Pronote** vers un calendrier **CalDAV** et envoie un résumé quotidien par **XMPP**. Supporte les sources iCal et `pronotepy` avec repli automatique. Synthèse IA optionnelle. --- ## 🚀 Démarrage rapide ```bash # Cloner le dépôt git clone cd pronote-sync # Créer l'environnement virtuel python3.13 -m venv .venv source .venv/bin/activate # Installer pip install -e ".[dev]" # Configurer cp .env.example .env # Éditer .env avec vos paramètres (voir .env.example pour le détail) # Tester pronote-sync --dry-run --log-level DEBUG ``` --- ## 📖 Utilisation ```bash pronote-sync # Exécute la synchronisation pronote-sync --dry-run # Simulation sans écriture pronote-sync --log-level DEBUG # Verbosité des journaux ``` --- ## 🛠️ Déploiement Les artefacts pour **systemd/timer** et **logrotate** sont fournis dans `deploy/`. Voir [docs/exploitation.md](docs/exploitation.md) pour plus de détails. --- ## 🙏 Remerciements Ce projet repose sur les bibliothèques open-source suivantes : - [pronotepy](https://github.com/bain3/pronotepy) — client Pronote - [icalendar](https://github.com/collective/icalendar) — parsing iCal - [caldav](https://github.com/python-caldav/caldav) — client CalDAV - [slixmpp](https://github.com/poezio/slixmpp) — client XMPP - [pydantic](https://github.com/pydantic/pydantic) — validation et configuration - [openai](https://github.com/openai/openai-python) — synthèse IA - [feedparser](https://github.com/kurtmckee/feedparser) — parsing RSS - [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/) — parsing HTML Inspiré de [pronote-digest](https://github.com/yoanbernabeu/pronote-digest) par [Yoan Bernabeu](https://yoanbernabeu.github.io/pronote-digest/). --- ## Licence MIT — voir [LICENSE](LICENSE).