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

How to use pymermaiddiagrams

import base64
import requests
import io
from PIL import Image
from pymermaiddiagrams 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.1.tar.gz (3.0 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.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pymermaiddiagram-0.0.1.tar.gz
Algorithm Hash digest
SHA256 07072d43f4305d86c758b50916d4ce711c5e1d5487b89c6fd8b2cb0b11b887c0
MD5 6e9d38094851bb7782172f50d4871d8d
BLAKE2b-256 3fb770ad5d30a0125054b22a9967b0f13f5ad228755f7cd1833b8241ff7de3a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pymermaiddiagram-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b75eb99ea53fe9e7a9facdbf297e92961d5b07ed46a9890951a191d868eadfa
MD5 6ce2e4166d0d3691e3d93403d9212e1e
BLAKE2b-256 392e71a2bc1ce7019b37a9f3b1645dc0ed3bd3f658ec10f7c607f81387481a72

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