{ "info": { "author": "Adam Dullage", "author_email": "adam@dullage.com", "bugtrack_url": null, "classifiers": [], "description": "![PyPI](https://img.shields.io/pypi/v/workfl.svg)\n\n# workfl\n\n***Workf**low Markup **L**anguage*\n\n## Introduction\n\nworkfl is a lightweight markup language for simple workflow diagrams. It's designed to be quick to write and easy to read.\n\nExample:\n\n```workfl\nA\nB\nD\n\nA\nC\nD\n```\n\n![Example](https://raw.githubusercontent.com/Dullage/workfl/master/docs/example.png)\n\nYou can try it out for yourself at [workfl.ws](https://workfl.ws).\n\nThe workfl python package can convert workfl markup into dictionaries of nodes and connections. There is also a method to export the workflow into [mermaid](https://mermaidjs.github.io/) syntax.\n\n## Installation\n\n`pip install workfl`\n\n## Usage\n```python\nimport workfl\n\nmarkup = \"A\\nB\"\nflow = workfl.ws(markup)\n\nprint(flow.nodes) # A dictionary of nodes\nprint(flow.connections) # A dictionary of connections\n\nmermaid = flow.to_mermaid()\nprint(mermaid)\n```\n\nBy default `to_mermaid()` will render a chart flowing from Top to Bottom. This can be changed by declaring a `direction` e.g. `to_mermaid(direction=\"LR\")` (Left to Right). There are 4 options:\n\n| Option | Direction |\n| -- | -- |\n| TB | Top to Bottom (Default) |\n| BT | Bottom to Top |\n| LR | Left to Right |\n| RL | Right to Left |\n\n## Syntax\n\nA full guide can be found here .\n\n## To Do\n\n* Test scripts.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Dullage/workfl", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "workfl", "package_url": "https://pypi.org/project/workfl/", "platform": "", "project_url": "https://pypi.org/project/workfl/", "project_urls": { "Homepage": "https://github.com/Dullage/workfl" }, "release_url": "https://pypi.org/project/workfl/19.6.15.0/", "requires_dist": null, "requires_python": "", "summary": "A lightweight markup language for simple workflow diagrams.", "version": "19.6.15.0" }, "last_serial": 5404120, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1f23dc663bef5fbf40aa8c38f9eaf952", "sha256": "acb3b1972cbe0ea7c42b1df2afc15b141a3ffc7283db9c73ce655dc90a0ddbc9" }, "downloads": -1, "filename": "workfl-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "1f23dc663bef5fbf40aa8c38f9eaf952", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3616, "upload_time": "2019-06-08T09:43:51", "url": "https://files.pythonhosted.org/packages/73/11/66de617e998bd09d6f0808ac064afbabb9f4008deea500b9ead79607d363/workfl-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b8afc41cf29aa8ec038044bc49b4dbb", "sha256": "402cab5403f68cc633e140fa71bf5755b96909cb25cf52944524b5f66748511e" }, "downloads": -1, "filename": "workfl-0.1.tar.gz", "has_sig": false, "md5_digest": "3b8afc41cf29aa8ec038044bc49b4dbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2439, "upload_time": "2019-06-08T09:43:53", "url": "https://files.pythonhosted.org/packages/9d/63/3f538ac2a145eae98e364e34116b3f3084eb9d0870d1b53e62d79bb2175b/workfl-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9b53a7a24a2d4e32938a63836260872f", "sha256": "dfb6b176e1828388abf496bb00c5a2b14a468bace08f2f1fbe936284d3ecd8b7" }, "downloads": -1, "filename": "workfl-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9b53a7a24a2d4e32938a63836260872f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4134, "upload_time": "2019-06-08T20:14:33", "url": "https://files.pythonhosted.org/packages/9d/21/661997c48440e1cd8a97203d40264f6077ed48ef7c676b3a7e60046635b1/workfl-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3682cb47d53f53ec4bb0887a23b22ac", "sha256": "b129d8e7479e33bedcff809ac976ef2ee23247998d8ac53058787f3d850db6e2" }, "downloads": -1, "filename": "workfl-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c3682cb47d53f53ec4bb0887a23b22ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3127, "upload_time": "2019-06-08T20:14:35", "url": "https://files.pythonhosted.org/packages/70/32/c9e9035ac198155fcf86186b2c662144fd4c736f99cfae119c4d88a12b47/workfl-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "4c1340711c9fc0f1177359e0ab023e29", "sha256": "1f58800e71c788890cb65cef816c435d3abf7fa0cae52e8b26a4977f907b9d9b" }, "downloads": -1, "filename": "workfl-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4c1340711c9fc0f1177359e0ab023e29", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4165, "upload_time": "2019-06-08T21:08:13", "url": "https://files.pythonhosted.org/packages/6d/d5/2496865f27cb930f80060a59b1cb373014ae39d5e02ddf30bf6cfbe6820a/workfl-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c91e4088c00da9fdd7cc4a411cafcd8f", "sha256": "492af91830105cfe40f42abdc8bd55571bb83fb8663c1dbd912fb2ef31a6d7a7" }, "downloads": -1, "filename": "workfl-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c91e4088c00da9fdd7cc4a411cafcd8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3145, "upload_time": "2019-06-08T21:08:16", "url": "https://files.pythonhosted.org/packages/10/68/53dec4c9bed9d899b6b21cd3109bcca753c19455f67f2c64620e2a343d4f/workfl-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "99c07a2713c8dafe9b464a8e84bbc40e", "sha256": "1fb0088d16b713b333dcb14faa4a88a80184a84048df1aa579238d747b759fca" }, "downloads": -1, "filename": "workfl-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "99c07a2713c8dafe9b464a8e84bbc40e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4157, "upload_time": "2019-06-09T08:09:59", "url": "https://files.pythonhosted.org/packages/d6/74/1afd01b63f40658b01654780273be0a4b32682aadddd396d5b217cf9459d/workfl-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "de5bcc8f94403d5b34ed2c45e36e5a38", "sha256": "5a07b0d638168342cc48625e2a0533bfcffb9f23146ea93a240d04acb1f15f23" }, "downloads": -1, "filename": "workfl-0.1.3.tar.gz", "has_sig": false, "md5_digest": "de5bcc8f94403d5b34ed2c45e36e5a38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3146, "upload_time": "2019-06-09T08:10:02", "url": "https://files.pythonhosted.org/packages/0c/d9/9a76f15779881edc6e5c75e18e8655b370754499502d1cd8990eae09c929/workfl-0.1.3.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7e62509d637d830c05e76d4d0b5143c2", "sha256": "f31de3782898164a79ff98d271d73b8b6270c2c70ef75f85e5f62e8d0ff0eea2" }, "downloads": -1, "filename": "workfl-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7e62509d637d830c05e76d4d0b5143c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4352, "upload_time": "2019-06-09T14:40:41", "url": "https://files.pythonhosted.org/packages/5c/b7/4e36b0ae82ac752009b6849e4af28550e0ddd6728e698af37500a87fbd99/workfl-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a53994062e2bc762f817fd976745db10", "sha256": "8e332c610a2f560c7a203442359d84653988baa9e7613e393d5caacb36c82aff" }, "downloads": -1, "filename": "workfl-0.2.tar.gz", "has_sig": false, "md5_digest": "a53994062e2bc762f817fd976745db10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3387, "upload_time": "2019-06-09T14:40:45", "url": "https://files.pythonhosted.org/packages/d5/0c/5d575fe9f217d473bcd59341147218e43e1817d93d89207945fd34fea09f/workfl-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "94c684409909309ea19f73d168ed6858", "sha256": "117802a58aae19d70b99a1be6474064bd2c448e0a8cb614c5527322f51c9decc" }, "downloads": -1, "filename": "workfl-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "94c684409909309ea19f73d168ed6858", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4377, "upload_time": "2019-06-10T12:15:41", "url": "https://files.pythonhosted.org/packages/0c/2e/703b587de6398210fc51c18f29358b59a5ef8d2753ac5900b8b6f573bc42/workfl-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "273d6075be9a43c88593d2758f0f1aba", "sha256": "339c823ebd38c0bf8fb09e59baab02a3ae497d72b10cfa076ade41d10f92ee8f" }, "downloads": -1, "filename": "workfl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "273d6075be9a43c88593d2758f0f1aba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3382, "upload_time": "2019-06-10T12:15:45", "url": "https://files.pythonhosted.org/packages/99/9d/aaa47f7fbf87122fc3b902e4811cd8bfe2a78c9369085a93c9b1e5e32e26/workfl-0.2.1.tar.gz" } ], "19.6.15.0": [ { "comment_text": "", "digests": { "md5": "7c74dc3ac4c88199456d22e927cf96cc", "sha256": "8cfd8c71557289b5f89f401cf89627ff25158f65d0cf41836ff136110233cda6" }, "downloads": -1, "filename": "workfl-19.6.15.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c74dc3ac4c88199456d22e927cf96cc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4436, "upload_time": "2019-06-15T15:27:21", "url": "https://files.pythonhosted.org/packages/59/18/2483bdd4d90cb0dbbf005d91bb140f1e845979e7d72896433bcbaef36e9a/workfl-19.6.15.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8729f96afabfce7cc07032d9367000bd", "sha256": "520e617e93d2f4a90c2adf12d4857e32bbdd1f26677827efd26690a29c49ab11" }, "downloads": -1, "filename": "workfl-19.6.15.0.tar.gz", "has_sig": false, "md5_digest": "8729f96afabfce7cc07032d9367000bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3446, "upload_time": "2019-06-15T15:27:26", "url": "https://files.pythonhosted.org/packages/93/c7/afbbe690c8ac7578c236173925a59476462b8c63f51b0c001ccd5fd82cd5/workfl-19.6.15.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c74dc3ac4c88199456d22e927cf96cc", "sha256": "8cfd8c71557289b5f89f401cf89627ff25158f65d0cf41836ff136110233cda6" }, "downloads": -1, "filename": "workfl-19.6.15.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7c74dc3ac4c88199456d22e927cf96cc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4436, "upload_time": "2019-06-15T15:27:21", "url": "https://files.pythonhosted.org/packages/59/18/2483bdd4d90cb0dbbf005d91bb140f1e845979e7d72896433bcbaef36e9a/workfl-19.6.15.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8729f96afabfce7cc07032d9367000bd", "sha256": "520e617e93d2f4a90c2adf12d4857e32bbdd1f26677827efd26690a29c49ab11" }, "downloads": -1, "filename": "workfl-19.6.15.0.tar.gz", "has_sig": false, "md5_digest": "8729f96afabfce7cc07032d9367000bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3446, "upload_time": "2019-06-15T15:27:26", "url": "https://files.pythonhosted.org/packages/93/c7/afbbe690c8ac7578c236173925a59476462b8c63f51b0c001ccd5fd82cd5/workfl-19.6.15.0.tar.gz" } ] }