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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowchart_magic-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 f3027c0f41f7cff3ec3c18e971c0c061beadf123fb10bb102306e0c8b923f703
MD5 940ece0f783f20ee7f801f2588e2382d
BLAKE2b-256 0ff629cfcdd342446e0176bd59186be0d845ac7dfe6b635a1255b7655099c9ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowchart_magic-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ef48b7ab9e6abe302129a9a3899db283b815f354c508df0e8821fb6cff82f68
MD5 18a313f6fbf5728b6f4f81c86cdfc750
BLAKE2b-256 de148f985f49d70501cec429da965f6a69c96e4ef879a24276485d35930c7616

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