Skip to main content

A library to create mermaid.js diagrams using python

Project description

PyMermaid

A library to create mermaid.js diagrams using python

Gioele SL Fierro

pymermaiddiagram logo

How to use pymermaiddiagrams

import base64
import requests
import io
from PIL import Image
from pymermaiddiagram import createDiagram

def main():
    """Example usage of the createDiagram function."""
    string_description = "graph LR;A-->B;A-->C;B-->D;C-->D;"
    diagram_image = createDiagram(string_description)
    diagram_image.show()

if __name__ == "__main__":
    main()

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

pymermaiddiagram-0.0.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

pymermaiddiagram-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pymermaiddiagram-0.0.2.tar.gz.

File metadata

  • Download URL: pymermaiddiagram-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for pymermaiddiagram-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a090e9a002b54453883c03bb5dc5950fb8d2bc00fc0e1d78a1cc14930edb2184
MD5 81fee7d593f4e98d85ba3c9e99217458
BLAKE2b-256 5ddc87d1524a6b40ab933b3f0f6ea008fe8a1515d7b4d888c2aca4d852c0de32

See more details on using hashes here.

File details

Details for the file pymermaiddiagram-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pymermaiddiagram-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3166cd1f752d663bb484c76aefb175c59b187d08c99fc8bcc9a769c5916990b
MD5 bed158d421b826f515622093df97af34
BLAKE2b-256 9a8a14bc6dc42241b8055691d365d6481cbbf7eb82f1dddc73abb8b564a6ea49

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