Installation
Plantumlcli is currently hosted on PyPI. It required python >= 3.6.
You can simply install plantumlcli from PyPI with the following command:
pip install plantumlcli
You can also install with the newest version through GitHub:
pip install -U git+https://github.com/hansbug/plantumlcli.git@main
If you need to export diagrams as PDF format, please make sure that your local Cairo environment
is properly configured (see CairoSVG’s Documentation for more details),
and install plantumlcli[pdf] like this
pip install plantumlcli[pdf]
You can check your installation by the following python script:
1from plantumlcli.config.meta import __TITLE__, __AUTHOR__, __VERSION__, __DESCRIPTION__
2
3if __name__ == '__main__':
4 print(__TITLE__, __VERSION__)
5 print('Developed and maintained by', __AUTHOR__)
6 print(__DESCRIPTION__)
The output should be like below, which means your installation is successful.
1plantumlcli 0.2.0
2Developed and maintained by HansBug
3An easy-to-use plantuml cli for everyone.
Plantumlcli is still under development, you can also check out the documents in stable version through https://hansbug.github.io/plantumlcli/.