Skip to main content

Un magic %%flowchart para generar diagramas de flujo en Google Colab.

Project description

flowchart-magic

A library for "Jupyter Notebook" / "Google Colab" that allows generating flowcharts using the %%flowchart magic command.

Installation

pip install flowchart_magic

Usage

Import:

from flowchart_magic import flowchart

# Enable the magic
%load_ext flowchart_magic.flowchart_magic

Example:

%%flowchart
def example():
    x = 10
    if x > 5:
        print("x is greater than 5")
    else:
        print("x is not greater than 5")

Example Output

Install and import: Example Flowchart

Example code: Example Flowchart

Acknowledgments

This project is inspired by and builds upon the original pyflowchart project and flowchart.js. Many thanks to its contributors for their work!

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

flowchart_magic-0.1.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

flowchart_magic-0.1.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file flowchart_magic-0.1.3.tar.gz.

File metadata

  • Download URL: flowchart_magic-0.1.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for flowchart_magic-0.1.3.tar.gz
Algorithm Hash digest
SHA256 957a75abd433834954dfea40c69a28182e2411745b52fef938054d4be3c04f70
MD5 213c5f41cfb4e5fbc20b152305dc8fd1
BLAKE2b-256 75f7830f9b44d31d92291291aab7832aba5670a79d82944ed0f7015591ec2ec4

See more details on using hashes here.

File details

Details for the file flowchart_magic-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for flowchart_magic-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c61bad4c1af675c7acd4d1c2acc25364955480c4ced1730b1df29a77098b923f
MD5 67de511849c434f898c608db4f520357
BLAKE2b-256 9fbe08d215ea521850e9503b2dba756f6b9714e7d397f4fb30de2ce416450eb4

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