XMind is a Python library for creating, parsing, and updating XMind mind map files. It supports XMind workbooks with topics, sheets, and relationships. Current version is 1.2.0, with an irregular release cadence. Requires Python 3.0 to 3.11 (not 3.12+). Note: This library is not actively maintained on PyPI; some features may be incomplete or buggy.
pip install xmindVerified import paths — ran on the pinned version, not inferred.
Create a new XMind workbook, add a root topic, save to file, then reload and print the topic.
Use Python 3.10 or 3.11, or fork and fix the setup.py to support newer Python.
Check if file exists before loading: 'from pathlib import Path; if Path('test.xmind').exists(): wb = xmind.Workbook('test.xmind'); else: wb = xmind.Workbook()'Use 'topic.setTitle("...")' not 'topic.set_title(...)'.Ensure the directory exists before calling 'save'.
Run 'pip install xmind' in your active Python environment.
Do not pass a path to Workbook if you intend to create a new file. Use 'workbook = xmind.Workbook()' for new files.
Ensure the workbook has a sheet with a root topic. Always check for None: 'if topic: print(topic.getTitle())'
No dependency data recorded yet.