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!

GitHub Repository

For more information, visit the GitHub repository.

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.6.tar.gz (74.9 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.6-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowchart_magic-0.1.6.tar.gz
  • Upload date:
  • Size: 74.9 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.6.tar.gz
Algorithm Hash digest
SHA256 8790e96bba935e34dc32ba62740fe81ea330cf7220f7160b54ad44278311db58
MD5 a6549f95b7a2711695dd96264304c3fe
BLAKE2b-256 19228fc24217961d8661fbc16ceee79091fc88260720a0afd81f9f0bd6623598

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flowchart_magic-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cf1ead076318f4a5c4d24f085e73925cdc660bf0c75a469b7f68d7f7e2839848
MD5 11c046e321e625196b2f801206a734e0
BLAKE2b-256 0a81858d0e1223fcd364945941b9f07ef24cc548780ced4eeb7fb635b42e0d61

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