{"id":24624976,"url":"https://github.com/tobyqin/xmindparser","last_synced_at":"2026-02-14T15:05:13.404Z","repository":{"id":57497751,"uuid":"136562991","full_name":"tobyqin/xmindparser","owner":"tobyqin","description":"Parse xmind file to programmable data type (e.g. json, xml), support xmind legacy and xmind zen file types.","archived":false,"fork":false,"pushed_at":"2026-02-13T16:19:44.000Z","size":269,"stargazers_count":186,"open_issues_count":4,"forks_count":32,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-02-14T00:26:11.686Z","etag":null,"topics":["json","xmind","xml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobyqin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-08T03:44:54.000Z","updated_at":"2026-02-13T16:19:35.000Z","dependencies_parsed_at":"2022-09-04T00:10:22.853Z","dependency_job_id":null,"html_url":"https://github.com/tobyqin/xmindparser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tobyqin/xmindparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobyqin%2Fxmindparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobyqin%2Fxmindparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobyqin%2Fxmindparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobyqin%2Fxmindparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobyqin","download_url":"https://codeload.github.com/tobyqin/xmindparser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobyqin%2Fxmindparser/sbom","scorecard":{"id":891041,"data":{"date":"2025-08-11","repo":{"name":"github.com/tobyqin/xmindparser","commit":"206fb3d626c08302af2081c8b35d8a808d2747da"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/21 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.4 not signed: https://api.github.com/repos/tobyqin/xmindparser/releases/11422506","Warn: release artifact v1.0.4 does not have provenance: https://api.github.com/repos/tobyqin/xmindparser/releases/11422506"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T11:50:47.235Z","repository_id":57497751,"created_at":"2025-08-24T11:50:47.235Z","updated_at":"2025-08-24T11:50:47.235Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29447768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T14:10:32.461Z","status":"ssl_error","status_checked_at":"2026-02-14T14:09:49.945Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json","xmind","xml"],"created_at":"2025-01-25T04:12:20.910Z","updated_at":"2026-02-14T15:05:13.390Z","avatar_url":"https://github.com/tobyqin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xmindparser\n\n[![PyPI](https://img.shields.io/pypi/v/xmindparser.svg)](https://pypi.org/project/xmindparser/)\n\nParse xmind file to programmable data type (e.g. json, xml). Python 3.x required. Now it supports Xmind (including Xmind Zen and Xmind 2026) file type as well.\n\nSee also: [xmind2testlink](https://github.com/tobyqin/xmind2testlink) / [中文文档](README_CN.md)\n\n## Installation\n\n```shell\npip install xmindparser\n```\n\n## Usage - Command Line\n\n```shell\ncd /your/xmind/dir\n\nxmindparser your.xmind -json\nxmindparser your.xmind -xml\nxmindparser your.xmind -yaml\nxmindparser your.xmind -markdown\n```\n\nNote: Parse to xml/yaml file types require additional packages:\n\n- xml: [dicttoxml](https://pypi.org/project/dicttoxml/)\n- yaml: [pyyaml](https://pypi.org/project/pyyaml/)\n\n## Usage - via Python\n\n```python\nfrom xmindparser import xmind_to_dict\n\nd = xmind_to_dict('/path/to/your/xmind')\nprint(d)\n```\n\nSee example output: [json](doc/example.json)\n\n### Convert to Markdown\n\n```python\nfrom xmindparser import xmind_to_markdown\n\n# Convert xmind to markdown file\noutput_file = xmind_to_markdown('/path/to/your/xmind')\nprint(f'Generated: {output_file}')\n```\n\nOr use the generic `xmind_to_file` function:\n\n```python\nfrom xmindparser import xmind_to_file\n\n# Convert to markdown\noutput_file = xmind_to_file('/path/to/your/xmind', 'markdown')\nprint(f'Generated: {output_file}')\n```\n\n## Configuration\n\nIf you use `xmindparser` via Python, it provides a `config` object, check this example:\n\n```python\nimport logging\nfrom xmindparser import xmind_to_dict, config, apply_config\n\n# Modify config settings\nconfig['logName'] = 'your_log_name'\nconfig['logLevel'] = logging.DEBUG\nconfig['logFormat'] = '%(asctime)s %(levelname)-8s: %(message)s'\nconfig['showTopicId'] = True  # internal id will be included, default = False\nconfig['hideEmptyValue'] = False  # empty values will be hidden, default = True\n\n# Apply the config changes (required for logging settings to take effect)\napply_config()\n\nd = xmind_to_dict('/path/to/your/xmind')\nprint(d)\n\n```\n\n**Note:** After modifying logging-related config options (`logName`, `logLevel`, `logFormat`), you must call `apply_config()` to apply the changes. The `showTopicId` and `hideEmptyValue` options take effect immediately without calling `apply_config()`.\n\n## Limitations (for Xmind 8)\n\nPlease note, following xmind features will not be supported or partially supported.\n\n- Will not parse Pro features, e.g. Task Info, Audio Note\n- Will not parse floating topics.\n- Will not parse linked topics.\n- Will not parse summary info.\n- Will not parse relationship info.\n- Will not parse boundary info.\n- Will not parse attachment object, only name it as `[Attachment] - name`\n- Will not parse image object, only name it as `[Image]`\n- Rich text format in notes will be parsed as plain text.\n\n## Xmind (including Zen and 2026)\n\n`xmindparser` will auto detect xmind file created by Xmind (including Zen/2026 version) or Xmind 8, you can pass in the file as usual.\n\n```python\nfrom xmindparser import xmind_to_dict\n\nd = xmind_to_dict('/path/to/your/xmind_zen_file')\nprint(d)\n```\n\nPlease note, there are a few differences between Xmind 8 and Xmind (Zen/2026).\n\n- Comments feature removed, so I will not parse it in ZEN.\n- Add feature - sticker, I parse it as `image` dict type.\n- Add feature - callout, I parse it as `list` type. (not sure existed in legacy?)\n\nSince Xmind (Zen/2026) uses json as the internal content file, you can read it by code like this:\n\n```python\nimport json\n\ndef get_xmind_zen_json(file_path):\n    name = \"content.json\"\n    with ZipFile(file_path) as xmind:\n        if name in xmind.namelist():\n            content = xmind.open(name).read().decode('utf-8')\n            return json.loads(content)\n\n        raise AssertionError(\"Not a xmind zen file type!\")\n\n# xmindparser also provides a shortcut\nfrom xmindparser import get_xmind_zen_builtin_json\n\ncontent_json = get_xmind_zen_builtin_json(xmind_zen_file)\n```\n\n## Examples\n\n![Xmind Example](doc/xmind.png)\n\n- [Download xmind 8 example](tests/xmind_pro.xmind)\n- [Download xmind (Zen/2026) example](tests/xmind_zen.xmind)\n- [Download xmind 2026 example](tests/xmind_2026.xmind)\n- Output: [json example](doc/example.json)\n- Output: [xml example](doc/example.xml)\n- Output: [yaml example](doc/example.yaml)\n- Output: [markdown example](doc/example.md)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobyqin%2Fxmindparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobyqin%2Fxmindparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobyqin%2Fxmindparser/lists"}