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)  

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

下载为csv,导入禅道中生成测试用例

path = test_plan.download_chandao() # download_chandao,返回为文件保存地址
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.5.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FreeplanIr-1.0.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file FreeplanIr-1.0.5.tar.gz.

File metadata

  • Download URL: FreeplanIr-1.0.5.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for FreeplanIr-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5da933e731a508f9a7ec90f17f42d63f99baee674ee9dc66ea3b36e746eeda88
MD5 fd9698a0b6ac30d86e8d1b0e5d7b7c07
BLAKE2b-256 e40d10cfaaf02e9a7ce1730cdbcbfededd50f13bfcd70772e2f0549548abb71a

See more details on using hashes here.

File details

Details for the file FreeplanIr-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: FreeplanIr-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for FreeplanIr-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 006bead192a653e7be5a5824c17e9a8206781cbd07af717c1cd49e2048fb7626
MD5 c80009d17ec8f7d615aaa891438584de
BLAKE2b-256 b017745dd2d84ff0a7c27e943dbe3e824cc62cf3ac1b4848d8b8b93c4947251c

See more details on using hashes here.

Supported by

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