{ "info": { "author": "Marcin Kasperski", "author_email": "Marcin.Kasperski@mekk.waw.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Artistic License", "License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. -*- mode: rst; coding: utf-8 -*-\n\n==========\nmekk.xmind\n==========\n\n``mekk.xmind`` is a pure-Python handler for XMind_ mind-map files.\nIt can be used to:\n\n- generate XMind_ mind-maps from scratch (for example to visualize\n some data as a mind-map),\n- modify existing ``.xmind`` files,\n- parse existing ``.xmind`` files and analyze their content.\n\nExamples\n========\n\nCreating mind-map::\n\n from mekk.xmind import XMindDocument\n \n OUTPUT = \"test.xmind\"\n \n xmind = XMindDocument.create(u\"First sheet title\", u\"Root subject\")\n first_sheet = xmind.get_first_sheet()\n root_topic = first_sheet.get_root_topic()\n \n root_topic.add_subtopic(u\"First item\")\n root_topic.add_subtopic(u\"Second item\")\n t = root_topic.add_subtopic(u\"Third item\")\n t.add_subtopic(u\"Second level - 1\")\n t.add_subtopic(u\"Second level - 2\")\n root_topic.add_subtopic(u\"Detached topic\", detached = True)\n t.add_subtopic(u\"Another detached\", detached = True)\n t.add_marker(\"flag-red\")\n root_topic.add_subtopic(u\"Link example\").set_link(\"http://mekk.waw.pl\")\n root_topic.add_subtopic(u\"Attachment example\").set_attachment(\n file(\"map_creator.py\").read(), \".txt\")\n root_topic.add_subtopic(u\"With note\").set_note(u\"\"\"This is just some dummy note.\"\"\")\n \n MARKER_CODE = \"40g6170ftul9bo17p1r31nqk2a\"\n XMP = \"../../py_mekk_nozbe2xmind/src/mekk/nozbe2xmind/NozbeIconsMarkerPackage.xmp\"\n root_topic.add_subtopic(u\"With non-standard marker\").add_marker(MARKER_CODE)\n \n xmind.embed_markers(XMP)\n \n xmind.save(OUTPUT)\n \n #xmind.pretty_print()\n \n print \"Saved to\", OUTPUT\n\nNote: while examples above use ascii, unicode is fully supported.\n\nParsing mind map::\n\n from mekk.xmind import XMindDocument\n \n xmind = XMindDocument.open(\"test.xmind\")\n \n sheet = xmind.get_first_sheet()\n print \"Sheet title: \", sheet.get_title()\n \n root = sheet.get_root_topic()\n print \"Root title: \", root.get_title()\n print \"Root note: \", root.get_note()\n \n for topic in root.get_subtopics():\n print \"* \", topic.get_title()\n print \" label: \", topic.get_label()\n print \" link: \", topic.get_link()\n print \" markers: \", list(topic.get_markers())\n # topic.get_subtopics()\n \netc.\n\nTo modify, just parse existing document, find items to modify and\nchange them as appropriate, then save.\n\nDevelopment\n===========\n\nThe code is tracked using Mercurial. Repository can be found on\nhttp://bitbucket.org/Mekk/mekk.xmind/.\n\nUse the same place to report bugs, suggest improvements and offer\npatches.\n\n.. _XMind: http://xmind.net\n\nLicense\n=======\n\nmekk.xmind is dual-licensed under Artistic License 2.0 and Mozilla Public\nLicense 1.1. The complete license texts can be found in Artistic-2.0.txt\nand MPL-1.1.txt.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/Mekk/mekk.xmind/", "keywords": "xmind", "license": "Artistic", "maintainer": null, "maintainer_email": null, "name": "mekk.xmind", "package_url": "https://pypi.org/project/mekk.xmind/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mekk.xmind/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/Mekk/mekk.xmind/" }, "release_url": "https://pypi.org/project/mekk.xmind/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "XMind data files reading and writing library.", "version": "0.5.0" }, "last_serial": 794676, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "48c96c6a3b853115fed17c976f437791", "sha256": "6ce342ee5e534ea575867e8ddfa1b150bf147e3cfcf77251c884371e248d4732" }, "downloads": -1, "filename": "mekk.xmind-0.3.1.tar.gz", "has_sig": false, "md5_digest": "48c96c6a3b853115fed17c976f437791", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10556, "upload_time": "2009-12-06T22:29:25", "url": "https://files.pythonhosted.org/packages/cb/13/ce1fad4c3eb080b8400af10ae09ecb72f05c01ffc9b689187da515e6763d/mekk.xmind-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "0cd2cd2fb9b8b3f7bf85e32b20da52a3", "sha256": "48f546d821dcf57b17e6195f1eb0dd4b8c794cdea8f37f2f8815372f71946952" }, "downloads": -1, "filename": "mekk.xmind-0.4.0.tar.gz", "has_sig": false, "md5_digest": "0cd2cd2fb9b8b3f7bf85e32b20da52a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12574, "upload_time": "2010-07-10T00:42:52", "url": "https://files.pythonhosted.org/packages/42/a2/30d8de464b3c839f50f5146881c1046ac9e5c7e3d2614978b3e68e150bc8/mekk.xmind-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "a0afc14b0adafb8cde09c632d6483e70", "sha256": "4a8dc01cfca6622320be586cc2dfea3ef153f684a81139b35479231ac6398210" }, "downloads": -1, "filename": "mekk.xmind-0.5.0.tar.gz", "has_sig": false, "md5_digest": "a0afc14b0adafb8cde09c632d6483e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11944, "upload_time": "2010-12-18T19:08:33", "url": "https://files.pythonhosted.org/packages/a9/ba/4f74434aebfd48ce378596d2baccfb6b0e054c6cacfe1a7dd639e574e12d/mekk.xmind-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0afc14b0adafb8cde09c632d6483e70", "sha256": "4a8dc01cfca6622320be586cc2dfea3ef153f684a81139b35479231ac6398210" }, "downloads": -1, "filename": "mekk.xmind-0.5.0.tar.gz", "has_sig": false, "md5_digest": "a0afc14b0adafb8cde09c632d6483e70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11944, "upload_time": "2010-12-18T19:08:33", "url": "https://files.pythonhosted.org/packages/a9/ba/4f74434aebfd48ce378596d2baccfb6b0e054c6cacfe1a7dd639e574e12d/mekk.xmind-0.5.0.tar.gz" } ] }