Skip to main content

Python client for the PlantUML server

Project description

Plantweb is a project that provides a command line interface, Sphinx directives and an API that allows to render powerful plain text UML diagrams, ASCII diagrams and complex graphs.

It is a Python client for the PlantUML server and thus it can render PlantUML, Graphviz and Ditaa diagrams without the need to install them.

Plantweb features a local cache that prevents requesting the server for previously rendered diagrams, speeding up building documentation with lots of diagrams.

Finally, being pure Python, non-local rendering, Plantweb is an excellent way to display and render PlantUML, Graphviz and Ditaa diagrams in ReadTheDocs published documentation.

Documentation

https://plantweb.readthedocs.io/

Changelog

1.1.0 (Jul 11, 2017)

New

  • Added documentation on how to run a PlantUML docker container to simplify deployment.

Fixes

  • Fix #9 passing source files to the Sphinx directive as an absolute path.

  • Fix #7 source files passed as argument to the Sphinx directive failed to render correctly.

  • Fixed test suite to be compatible with newer versions of Sphinx.

  • Fixed several PEP8 violations.

Changes

  • Improved algorithm to gather configuration for a git repository root.

  • Test suite now test Python 3 with Python 3.5 instead of Python 3.4.

1.0.1 (Mar 20, 2017)

Fixes

  • Fix #1 that caused diagrams rendering to fail with a 404 in Windows OSes.

1.0.0 (Jun 27, 2016)

New

  • Sphinx directives now support passing a source file as argument.

0.4.0 (Jun 23, 2016)

New

  • Added a set of Sphinx directives uml, graph and diagram.

0.3.0 (Jun 22, 2016)

New

  • Default options can now be overriden with a .plantwebrc file in the user home or in the git repository root.

0.2.0 (Jun 22, 2016)

Fixes

  • Fixed bug when calling render_cache that returned a non-tuple.

Changes

  • Documentation was greatly improved.

0.1.0 (Jun 9, 2016)

New

  • Initial public release.

License

Copyright (C) 2016-2017 Carlos Jenkins

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

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

plantweb-1.2.1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

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

plantweb-1.2.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file plantweb-1.2.1.tar.gz.

File metadata

  • Download URL: plantweb-1.2.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for plantweb-1.2.1.tar.gz
Algorithm Hash digest
SHA256 148e5b7eaac464d76adcbdb98dcc192ef824d721b16ce82b2fcb1e84e17ae3db
MD5 2a25bb3f278499df8c9f787d3763979e
BLAKE2b-256 136fd8ade9f9b46b2c8bed834d34e9d7c508715669a5e14e27da55dcaa8ecf9e

See more details on using hashes here.

File details

Details for the file plantweb-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: plantweb-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for plantweb-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d24e9ce1ab8356bcbd9704e405ba3f0b0f583c366a945352f6ea3febd0146a13
MD5 a0b6921cbcaf8abc687daef2c73c890e
BLAKE2b-256 d66f9ab1a1c3e33aaa0c0931983578c09336b092c75dce777ea666d3032f756e

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