关于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)
此方法返回的结果就是如上所说,需要注意次方返回目前仅支持所有节点的长度一致。
下载为csv,导入禅道中生成测试用例
path = test_plan.download_chandao() # download_chandao,返回为文件保存地址
print(datas)
使用此方法无需做其他数据源头更改
Release files for FreeplanIr 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FreeplanIr-1.0.5.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| FreeplanIr-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:8.4 kB
Release files / FreeplanIr-1.0.5.tar.gz
| Download URL | FreeplanIr-1.0.5.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5da933e731a508f9a7ec90f17f42d63f99baee674ee9dc66ea3b36e746eeda88
|
|
BLAKE2b-256 checksum How to use checksums |
e40d10cfaaf02e9a7ce1730cdbcbfededd50f13bfcd70772e2f0549548abb71a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / FreeplanIr-1.0.5-py3-none-any.whl
| Download URL | FreeplanIr-1.0.5-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
006bead192a653e7be5a5824c17e9a8206781cbd07af717c1cd49e2048fb7626
|
|
BLAKE2b-256 checksum How to use checksums |
b017745dd2d84ff0a7c27e943dbe3e824cc62cf3ac1b4848d8b8b93c4947251c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|