Skip to main content

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.

Metadata

Release files for flowchart-magic 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowchart-magic 0.1.6
File Size Uploaded
flowchart_magic-0.1.6.tar.gz 74.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flowchart-magic 0.1.6
File Interpreter ABI Platform
flowchart_magic-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 77.9 kB

Release files / flowchart_magic-0.1.6.tar.gz

Download URL flowchart_magic-0.1.6.tar.gz
Size 74.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8790e96bba935e34dc32ba62740fe81ea330cf7220f7160b54ad44278311db58
BLAKE2b-256 checksum
How to use checksums
19228fc24217961d8661fbc16ceee79091fc88260720a0afd81f9f0bd6623598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release files / flowchart_magic-0.1.6-py3-none-any.whl

Download URL flowchart_magic-0.1.6-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf1ead076318f4a5c4d24f085e73925cdc660bf0c75a469b7f68d7f7e2839848
BLAKE2b-256 checksum
How to use checksums
0a81858d0e1223fcd364945941b9f07ef24cc548780ced4eeb7fb635b42e0d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page