plantuml
What it is and what it does
PlantUML is a Python client that sends UML diagram definitions to a PlantUML server and retrieves rendered images. Instead of installing Java and running PlantUML locally, you write diagram markup in plain text and let a remote server handle the rendering. The package includes a command-line tool to batch-process diagram files and save output images to a directory.
The library depends on httplib2 for HTTP communication and defaults to the public plantuml.com server, though you can point it at any compatible server. It's designed for developers who want diagram-as-code workflows without the overhead of a local Java installation.
Use it for:
- Generate architecture or sequence diagrams from version-controlled text files in CI/CD pipelines.
- Embed UML diagram generation in documentation build systems without requiring Java.
- Batch-convert a folder of PlantUML markup files to PNG or SVG images via command line.
- Create and update UML diagrams programmatically from Python code that models system structure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Generates UML diagrams from text markup by communicating with a PlantUML server, avoiding the need to install Java or spawn shell subprocesses.
Yes, if you need lightweight remote UML diagram generation and accept the dormant maintenance status. The low install friction and lack of Java dependency make it attractive for simple workflows. However, be aware that the package has not been actively maintained since 2019, so compatibility with modern Python versions is unverified and no active support is available. Suitable for stable, non-critical diagram tasks; risky for production systems requiring ongoing maintenance.
Install
plantuml on PyPI
pip
pip install plantumluv
uv add plantumlpoetry
poetry add plantumlInstalling plantuml
Before you install
Low install friction with a single runtime dependency (httplib2). Maintenance is dormant—last release was 2019-11-01 and the repository has not been updated since 2024-08-19, so expect no active support or bug fixes.
License in practice
BSD license is permissive; you may use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install plantuml
import plantuml
diagram = plantuml.PlantUML()
diagram.processes_file('diagram.puml')
Requires network access to a PlantUML server (defaults to plantuml.com); offline use requires running your own server.
Verify before relying
- Whether the package works reliably with modern Python versions (classifiers list only Python 2.6 and 2.7).
- Current state of the public PlantUML server and whether it remains stable for remote clients.
- Whether httplib2 dependency is actively maintained or has known compatibility issues with current Python.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — httplib2 |
| Maintenance | dormant — 2,478 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 386,212/month — #7,052 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: plantuml-0.3.0-py3-none-any.whl
Keywords: plantuml, uml
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
plantuml-markdownA Markdown extension that converts PlantUML…
permissive · top 5,000 on PyPI
sphinxcontrib-plantumlAdds PlantUML diagram rendering to Sphinx…
permissive · top 15,000 on PyPI
sqlalchemy-schemadisplayGenerates entity-relationship and UML diagrams…
permissive · top 15,000 on PyPI
essentials-openapiGenerates OpenAPI v2 and v3 documentation in…
permissive · top 15,000 on PyPI
django-diagramGenerates Entity Relationship Diagrams in…
unclear · top 15,000 on PyPI
mermaid-builderProgrammatically generates MermaidJS diagram…
permissive · top 15,000 on PyPI
markdown-pdfConverts markdown text to PDF files, with…
agpl · top 15,000 on PyPI
schemdrawSchemdraw generates high-quality electrical…
permissive · top 15,000 on PyPI
eralchemyGenerates Entity Relation (ER) diagrams from…
permissive · top 5,000 on PyPI
paracelsusParacelsus generates Entity Relationship…
permissive · top 15,000 on PyPI