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,for embedded images.
Development
Running Tests
pytest
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_xmind_cli-0.1.0.tar.gz
(12.7 kB
view details)
File details
Details for the file python_xmind_cli-0.1.0.tar.gz.
File metadata
- Download URL: python_xmind_cli-0.1.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89c628a700fec7052c7b16683511688b8a09adaf11ac1f922b0b51e5e4d0c96f
|
|
| MD5 |
1c26737060746b5c97d88162ed255351
|
|
| BLAKE2b-256 |
c4e53cc8ce433e80b47082396e08b11cb694155d691e4c877cc2d910981f495d
|