XMind
XMind是基于Python实现,提供了对XMind思维导图进行创建、解析、更新的一站式解决方案!
What it is and what it does
XMind is a Python library for working with XMind mind map files. It lets you load existing .xmind files or create new ones from scratch, then add and organize topics (nodes) into hierarchical structures across multiple sheets. You can attach hyperlinks (to URLs, files, or other topics), notes, labels, markers (icons), and comments to topics, then export the result back to .xmind format or convert it to JSON or dictionary data for inspection or further processing.
The library is pure Python with no external runtime dependencies, making installation straightforward. However, it has been abandoned since early 2019 with no updates since August 2023. This means it may not support newer XMind file formats, and any bugs or incompatibilities with recent Python versions will not be fixed.
Use it for:
- Programmatically generate mind maps from data structures or project outlines in Python applications
- Parse existing .xmind files into JSON or Python dictionaries for analysis or transformation
- Automate mind map creation for documentation, project planning, or knowledge management workflows
- Convert mind map data to other formats by loading .xmind and exporting as structured data
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
XMind creates, parses, and updates XMind mind map files (.xmind) programmatically from Python, supporting sheets, topics, hyperlinks, notes, markers, and comments.
No, unless you have a specific need for an older XMind file format and can accept the risk of unsupported bugs. The package is abandoned (last release January 2019, no commits since August 2023) and will not receive updates for compatibility issues or new XMind features. If you need active maintenance and modern mind map support, look for an actively maintained alternative.
Install
xmind on PyPI
pip
pip install xminduv
uv add xmindpoetry
poetry add xmindInstalling XMind
Before you install
Installation is frictionless with no runtime dependencies. However, the package is abandoned—last release was January 2019, with no commits since August 2023. It may not work with recent XMind file format versions or Python ecosystem changes.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install XMind
import xmind
workbook = xmind.load('my.xmind')
sheet = workbook.getPrimarySheet()
root = sheet.getRootTopic()
root.setTitle('root node')
sub = root.addSubTopic()
sub.setTitle('child topic')
xmind.save(workbook, path='output.xmind')
Verify before relying
- Whether the package works with XMind file formats released after January 2019
- Compatibility with Python versions beyond 3.x given the long maintenance gap
- Whether parsing large or complex .xmind files is reliable without recent bug fixes
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.0, <4) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,773 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 126,529/month — #11,775 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: XMind-1.2.0-py2.py3-none-any.whl
Keywords: xmind, mind mapping, 思维导图, XMind思维导图
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
aspose-cells-pythonAspose.Cells for Python via .NET creates,…
unclear · top 15,000 on PyPI
foliumfolium builds interactive web maps by combining…
permissive · top 5,000 on PyPI
xlwtGenerates Microsoft Excel 97–2003 XLS…
permissive · top 5,000 on PyPI
openpyxlopenpyxl reads and writes Excel 2010…
permissive · top 1,000 on PyPI
pyxlsbParses Excel 2007-2010 Binary Workbook (xlsb)…
copyleft · top 5,000 on PyPI
pyxlsxProvides dictionary-like read and write access…
permissive · top 15,000 on PyPI
xlsxwriterXlsxWriter creates Excel 2007+ XLSX files from…
permissive · top 1,000 on PyPI
pygsheetspygsheets provides a Python interface to Google…
permissive · top 5,000 on PyPI
smartsheet-python-sdkA Python client library for the Smartsheet API…
permissive · top 5,000 on PyPI
aspose-cellsAspose.Cells for Python via Java is a library…
unclear · top 15,000 on PyPI