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.4.tar.gz (74.7 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.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowchart_magic-0.1.4.tar.gz
  • Upload date:
  • Size: 74.7 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.4.tar.gz
Algorithm Hash digest
SHA256 fa0465242da020a64e2f04e777e02c27d98905b701d88bd581db7de50ffef20c
MD5 9c9d0b904f195213b2e8c57daa90d44b
BLAKE2b-256 b33a378f194efa2282171ad443390610f65ac8fed62839742261db9d1b22aef4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowchart_magic-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6064e756efb6dbca1add18c561a895396ee8a90baafa55873bbd3bc61953cf26
MD5 2a079bc8b5f7bdca87c4d6128199149e
BLAKE2b-256 238a70e5d6929fc34cd5e63b664ddd2ea3041b5d8fb94613c756497fb4762205

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