Skip to content

evandrocoan/plantumlconnection

 
 

Repository files navigation

Python-PlantUML

Plantuml is a library for generating UML diagrams from a simple text markup language.

This is a Python 3 simplified implementation. For Python 2 see:

  1. https://github.com/dougn/python-plantuml
  2. https://github.com/SamuelMarks/python-plantuml

This is a simple python remote client interface to a plantuml server using the same custom encoding used by most other plantuml clients. Python was missing from the list, and while there are other plantuml python libraries, like sphinxcontrib-plantuml, they require downloading and installing the java executable and spawning a shell subprocesses.

This client defaults to the public plantuml server, but can be used against any server.

Install

pip install git+https://github.com/SamuelMarks/python-plantuml#egg=plantuml

PS: At some point this newer version will be uploaded to PyPi, at which point you can do:

pip install plantuml

Or by cloning it locally and running python setup.py install or python setup.py develop to install it on development mode.

Command line help:

To quick test it, you can run python all/plantuml.py test/test.wsd

To see all the command line options run python all/plantuml.py --help

Sublime Text Dependency

To use this as a Package Control Dependency https://packagecontrol.io/docs/dependencies create this dependencies.json file on the root of your Package:

{
    "*": {
        "*": [
            "plantumlconnection"
        ]
    }
}

Project Links:

About

Python 3 interface to a Plantuml web service instead of having to run java locally: http://plantuml.sourceforge.net/index.html

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • Python 100.0%