Skip to main content

一个可以解析freeplan *.mm格式文件的工具

Project description

关于FreeplanIr的简单介绍

用于解析freeplan脑图的*.mm文件,输出为从根节点到子节点的数据

例如你的脑图 a-b-c
              -d-e
              -f-g
            h-i-g
             -k-l
    那么最终的输出为[
        [a, b, c],
        [a, d, e],
        [a, f, g],
        [h, i, j],
        [h, k, l]
    ]

使用方法

安装相关模块后
导入模块和类 form FreeplanIr import FreeplanIr
file_path = r"XXXX.mm" # 你的文件路径
test_plan = FreeplanIr(file_path) # 实例化类

获取转换数据

datas = test_plan.plan_test() # 调用plan_test方法即可,返回为转换好数据
print(datas)  

下载为xlxs

path = test_plan.download() # 调用plan_test方法即可,返回为文件保存地址
print(datas)  

此方法返回的结果就是如上所说,需要注意次方返回目前仅支持所有节点的长度一致。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FreeplanIr-1.0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page