Skip to main content

XMind CLI

A full-featured command-line interface tool to parse, create, and convert XMind files in Python. Supports modern .xmind files (XMind ZEN and newer).

Installation

pip install python-xmind-cli

Usage

1. Parse an XMind file

xmind-cli parse example.xmind

2. Create a new XMind file

xmind-cli create example.xmind --title "Root Topic"

3. Convert formats

# Convert Markdown to XMind
xmind-cli convert doc.md out.xmind

# Convert XMind to Excel (with custom headers and level filtering)
xmind-cli convert in.xmind out.xlsx --headers "Module,Feature,Test Case" --start-level 2

# Convert XMind to Markdown/JSON/HTML
xmind-cli convert in.xmind out.md
xmind-cli convert in.xmind out.json
xmind-cli convert in.xmind out.html

Advanced Features

Markdown YAML Configuration

You can embed XMind styling parameters directly into your Markdown files using a YAML front-matter block.

---
xmind:
  skeleton: logic-right
  bg-color: "#0096BFFF"
  font: Andale Mono
  rainbow: true
  compact: true
---
# Python Frameworks
...

Node Formatting & Metadata

The Markdown parser supports rich node attributes:

  • Style: **Bold**, *Italic*, ~~Strikethrough~~ (applied to the entire node).
  • Tasks: - [ ] (todo), - [x] (done).
  • Metadata: Inline or multi-line Tags: a, b, Markers: priority-1.
  • Notes: Blockquotes > This is a note (supports rich text conversion).
  • Links & Images: [Title](Link) for hyperlinks, ![](path/to/img.png) for embedded images.

Development

Running Tests

pytest

Metadata

Release files for python-xmind-cli 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-xmind-cli 0.1.0
File Size Uploaded
python_xmind_cli-0.1.0.tar.gz 12.7 kB Details

Release files / python_xmind_cli-0.1.0.tar.gz

Download URL python_xmind_cli-0.1.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
89c628a700fec7052c7b16683511688b8a09adaf11ac1f922b0b51e5e4d0c96f
BLAKE2b-256 checksum
How to use checksums
c4e53cc8ce433e80b47082396e08b11cb694155d691e4c877cc2d910981f495d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page