一个可以解析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]
]
使用方法
安装相关模块后
导入模块和类
file_path = r"XXXX.mm" # 你的文件路径
test_plan = FreeplanIr(file_path) # 实例化类
datas = test_plan.plan_test() # 调用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.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for FreeplanIr-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c5a3fda7548405bb0fb217c212a50db890b6d6eb08379b0056e2ecd3831e899 |
|
MD5 | a7ed7133f404b2664542b8d1766add0f |
|
BLAKE2b-256 | 8cc1e5a00c0d3eef9b5441d2d13e93d85bf8402b92477b5aade32d69b9cc4f82 |