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.2.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.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowchart_magic-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f33eeaad6f6a55e3847b34c83cbc197fe312fb225e8566497a81aefc8e0671f6
MD5 1bb459792e4a16237b016d01ebf05061
BLAKE2b-256 8de84c58da7bf6b529228b1dd4faaadeff0a26a4d2aebf7d766a1bcd26f3a7fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowchart_magic-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7984809c539944c0df89d43004f12e22cc68ff12fe451102be3d3b29d31d115a
MD5 ba2c2a411d4461cdba28459c9615bd4c
BLAKE2b-256 706490ffc2ec40202786912fa01b2a9ab446083b4a468edfee676447f5712017

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