{ "info": { "author": "Nezar Abdennur", "author_email": "nabdennur@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Visualization" ], "description": "svgpath2mpl\n===========\n\n.. image:: https://travis-ci.org/nvictus/svgpath2mpl.svg?branch=master\n :target: https://travis-ci.org/nvictus/svgpath2mpl\n\nParse SVG paths into matplotlib ``Path`` objects for plotting.\n\nA path in SVG is defined by a 'path' element which contains a ``d=\"(path data)\"`` attribute that contains moveto, line, curve (both cubic and quadratic B\u00e9ziers), arc and closepath instructions. Matplotlib actually supports all of these instructions natively but doesn't provide a parser or fully compatible API.\n\n.. image:: http://i.imgur.com/NcZVznQ.png\n :align: center\n :width: 150px\n\nBased on:\n\n1. `svg_parse `_ for matplotlib by Nicolas P. Rougier (BSD license).\n\n2. `svg.path `_ by Lennart Regebro (MIT license).\n\nThis module adds the path commands missing from (1), including smooth curves and endpoint-parameterized elliptical arcs.\n\n\t>>> from svgpath2mpl import parse_path\n\t>>> parse_path('M 100 100 L 300 100')\n\tPath(array([[ 100., 100.], [ 300., 100.]]), array([1, 2], dtype=uint8))\n\nSee the Jupyter Notebook `gallery `_ of examples.\n\nResources\n---------\nSee the `SVG Specification `_.\n\nSee the matplotlib path `tutorial `_ and `API docs `_.\n\n\nLicense\n-------\n\nBSD (3-Clause).\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nvictus/svgpath2mpl", "keywords": "svg,path,matplotlib,plotting,visualization", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "svgpath2mpl", "package_url": "https://pypi.org/project/svgpath2mpl/", "platform": "", "project_url": "https://pypi.org/project/svgpath2mpl/", "project_urls": { "Homepage": "https://github.com/nvictus/svgpath2mpl" }, "release_url": "https://pypi.org/project/svgpath2mpl/0.2.1/", "requires_dist": [ "numpy", "matplotlib" ], "requires_python": "", "summary": "SVG path parser for matplotlib", "version": "0.2.1" }, "last_serial": 4505830, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "217cc5c14dd9d0dad58ee1fecefe21d3", "sha256": "5d35e07ade59159f29cf6d047e893ed11bc659e65e62a2f409ad7b1daff1394e" }, "downloads": -1, "filename": "svgpath2mpl-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "217cc5c14dd9d0dad58ee1fecefe21d3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7435, "upload_time": "2018-11-20T04:45:42", "url": "https://files.pythonhosted.org/packages/b9/ae/2a2458fa387771498498222d65d679ab2076f0838e5a9e0d9a2966bd4f0d/svgpath2mpl-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "410d7e05df8ca18e838db64b289536b8", "sha256": "22be2979bfdd68e9ab1877d8fd7e6e5ad4c3650b78845af085fee56632501a54" }, "downloads": -1, "filename": "svgpath2mpl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "410d7e05df8ca18e838db64b289536b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7729, "upload_time": "2018-11-20T04:45:44", "url": "https://files.pythonhosted.org/packages/ce/cb/7e8b48a9dbc3d9b1bdff2a12706102be07c472720642efe736d62a4bd3a8/svgpath2mpl-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "217cc5c14dd9d0dad58ee1fecefe21d3", "sha256": "5d35e07ade59159f29cf6d047e893ed11bc659e65e62a2f409ad7b1daff1394e" }, "downloads": -1, "filename": "svgpath2mpl-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "217cc5c14dd9d0dad58ee1fecefe21d3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7435, "upload_time": "2018-11-20T04:45:42", "url": "https://files.pythonhosted.org/packages/b9/ae/2a2458fa387771498498222d65d679ab2076f0838e5a9e0d9a2966bd4f0d/svgpath2mpl-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "410d7e05df8ca18e838db64b289536b8", "sha256": "22be2979bfdd68e9ab1877d8fd7e6e5ad4c3650b78845af085fee56632501a54" }, "downloads": -1, "filename": "svgpath2mpl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "410d7e05df8ca18e838db64b289536b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7729, "upload_time": "2018-11-20T04:45:44", "url": "https://files.pythonhosted.org/packages/ce/cb/7e8b48a9dbc3d9b1bdff2a12706102be07c472720642efe736d62a4bd3a8/svgpath2mpl-0.2.1.tar.gz" } ] }