skillfed

XMind

XMind是基于Python实现,提供了对XMind思维导图进行创建、解析、更新的一站式解决方案!

xmind v1.2.0 126.5K downloads/30d#11,775 on PyPI571
Permissive license MIT Abandoned released

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 xmind

uv

uv add xmind

poetry

poetry add xmind

Installing 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思维导图

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

xmind mind map creation pythonmind mapping libraryxmind file parsercreate mind maps programmaticallyxmind workbook manipulationmind map to json conversionxmind sheet and topic api
mind-mappingfile-formatabandoned

More Utilities packages