flowchart-magic


Nameflowchart-magic JSON
Version 0.1.6 PyPI version JSON
download
home_pageNone
SummaryUn magic %%flowchart para generar diagramas de flujo en Google Colab.
upload_time2024-12-17 21:41:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT
keywords google colab flowchart magic command python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # flowchart-magic

A library for "Jupyter Notebook" / "Google Colab" that allows generating flowcharts using the `%%flowchart` magic command.

## Installation

```bash
pip install flowchart_magic
```

## Usage

Import:

```python
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](https://raw.githubusercontent.com/mgarcesdev/flowchart-magic/refs/heads/main/assets/install_import.png)

Example code:

![Example Flowchart](https://raw.githubusercontent.com/mgarcesdev/flowchart-magic/refs/heads/main/assets/example_jupyter.png)

## Acknowledgments
This project is inspired by and builds upon the original [pyflowchart](https://pypi.org/project/pyflowchart/) project and [flowchart.js](https://flowchart.js.org/). Many thanks to its contributors for their work!

GitHub Repository

For more information, visit the [GitHub repository](https://github.com/mgarcesdev/flowchart-magic/tree/main).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "flowchart-magic",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "google colab, flowchart, magic command, python",
    "author": null,
    "author_email": "Manuel Garc\u00e9s <manugp1994@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/19/22/8fc24217961d8661fbc16ceee79091fc88260720a0afd81f9f0bd6623598/flowchart_magic-0.1.6.tar.gz",
    "platform": null,
    "description": "# flowchart-magic\n\nA library for \"Jupyter Notebook\" / \"Google Colab\" that allows generating flowcharts using the `%%flowchart` magic command.\n\n## Installation\n\n```bash\npip install flowchart_magic\n```\n\n## Usage\n\nImport:\n\n```python\nfrom flowchart_magic import flowchart\n\n# Enable the magic\n%load_ext flowchart_magic.flowchart_magic\n```\n\nExample:\n\n```\n%%flowchart\ndef example():\n    x = 10\n    if x > 5:\n        print(\"x is greater than 5\")\n    else:\n        print(\"x is not greater than 5\")\n```\n\n## Example Output\n\nInstall and import:\n\n![Example Flowchart](https://raw.githubusercontent.com/mgarcesdev/flowchart-magic/refs/heads/main/assets/install_import.png)\n\nExample code:\n\n![Example Flowchart](https://raw.githubusercontent.com/mgarcesdev/flowchart-magic/refs/heads/main/assets/example_jupyter.png)\n\n## Acknowledgments\nThis project is inspired by and builds upon the original [pyflowchart](https://pypi.org/project/pyflowchart/) project and [flowchart.js](https://flowchart.js.org/). Many thanks to its contributors for their work!\n\nGitHub Repository\n\nFor more information, visit the [GitHub repository](https://github.com/mgarcesdev/flowchart-magic/tree/main).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Un magic %%flowchart para generar diagramas de flujo en Google Colab.",
    "version": "0.1.6",
    "project_urls": {
        "Bug Tracker": "https://github.com/tuusuario/colab-flowchart/issues",
        "Homepage": "https://github.com/tuusuario/colab-flowchart"
    },
    "split_keywords": [
        "google colab",
        " flowchart",
        " magic command",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a81858d0e1223fcd364945941b9f07ef24cc548780ced4eeb7fb635b42e0d61",
                "md5": "11c046e321e625196b2f801206a734e0",
                "sha256": "cf1ead076318f4a5c4d24f085e73925cdc660bf0c75a469b7f68d7f7e2839848"
            },
            "downloads": -1,
            "filename": "flowchart_magic-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11c046e321e625196b2f801206a734e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 2972,
            "upload_time": "2024-12-17T21:41:16",
            "upload_time_iso_8601": "2024-12-17T21:41:16.714103Z",
            "url": "https://files.pythonhosted.org/packages/0a/81/858d0e1223fcd364945941b9f07ef24cc548780ced4eeb7fb635b42e0d61/flowchart_magic-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19228fc24217961d8661fbc16ceee79091fc88260720a0afd81f9f0bd6623598",
                "md5": "a6549f95b7a2711695dd96264304c3fe",
                "sha256": "8790e96bba935e34dc32ba62740fe81ea330cf7220f7160b54ad44278311db58"
            },
            "downloads": -1,
            "filename": "flowchart_magic-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "a6549f95b7a2711695dd96264304c3fe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 74883,
            "upload_time": "2024-12-17T21:41:18",
            "upload_time_iso_8601": "2024-12-17T21:41:18.018044Z",
            "url": "https://files.pythonhosted.org/packages/19/22/8fc24217961d8661fbc16ceee79091fc88260720a0afd81f9f0bd6623598/flowchart_magic-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-17 21:41:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tuusuario",
    "github_project": "colab-flowchart",
    "github_not_found": true,
    "lcname": "flowchart-magic"
}
        
Elapsed time: 0.83953s