{ "info": { "author": "Jan Stransky", "author_email": "honzik.stransky@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "# [Rapha\u00eblPy](https://github.com/stranskyjan/raphaelpy)\nA library for creating SVG drawings using Python.\n\n## Overview\nIts usage and most of the public API (and obviously its name, too) is strongly inspired by [Rapha\u00ebl JavaScript Library](http://dmitrybaranovskiy.github.io/raphael/).\nSome examples and some of the implementation details are borrowed from the original project, too.\n\nSee [examples](examples) to examine how to it works and how to use it.\n\n##### Compatibility\nThe package works with both Python 2 and 3 (tested on [Ubuntu 18.04 LTS](https://www.ubuntu.com/) and Python 2.7.15 and Python 3.6.6).\n\n## Usage\nas simple as:\n```python\nfrom raphaelpy import Raphael\n\n# Creates canvas 320 x 200 at 10, 50\npaper = Raphael(\"drawing.svg\", 320, 200)\n\n# Creates circle at x = 50, y = 40, with radius 10\ncircle = paper.circle(50, 40, 10)\n# Sets the fill attribute of the circle to red (#f00)\ncircle.attr(\"fill\", \"#f00\")\n\n# Sets the stroke attribute of the circle to blue\ncircle.attr(\"stroke\", \"#00f\")\n\n# Saves the resulting drawing to the file\npaper.save()\n```\n\nSee [examples](examples) directory for more examples.\n\n## Installation\n1. Using `setup.py` file:\n\n\t`python setup.py install [options]`, e.g. `python setup.py --user`\n\n2. Using `make` (calls `setup.py` internally):\n\n\t`make install [options]`, e.g. `make install USER=TRUE PYTHON=python3`\n\n3. Using [`pip`](https://pypi.org/project/pip/)\n\n\t`[sudo] pip[3] install [options] raphaelpy`, e.g. `pip install --user raphaelpy` or `sudo pip3 install raphaelpy`\n\t> Note: use `pip` of Python 2 and `pip3` for Python 3\n\n\n## What is here\n\n| directory | content |\n| --- | --- |\n| [raphaelpy](raphaelpy) | source code |\n| [examples](examples) | examples how Rapha\u00eblPy works and how to use it |\n| [Makefile](Makefile) | makefile for the project (with targets `help`, `install`, `doc`, `test`, `clean`, `dist`) |\n| [docs](docs) | source codes to build HTML documentation |\n| [tests](tests) | a few unit tests |\n| [setup.py](setup.py) | python setup file for installation |\n\n## Contribution\n#### Pull Requests\nAre welcome.\n\n#### Bug reporting\nIn case of any question or problem, please leave an issue at the [githup page of the project](https://github.com/stranskyjan/raphaelpy).\n\n#### Contributors\n- [Jan Str\u00e1nsk\u00fd](https://github.com/stranskyjan)\n\n\n## License\nThis project is licensed under the LGPL License - see the [license file](LICENSE) for details.\n\n## Acknowledgements\n- to [Rapha\u00ebl JavaScript Library](http://dmitrybaranovskiy.github.io/raphael/) for great job and inspiration.\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/stranskyjan/raphaelpy", "keywords": "Python SVG RaphaelJS Raphael", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "raphaelpy", "package_url": "https://pypi.org/project/raphaelpy/", "platform": "", "project_url": "https://pypi.org/project/raphaelpy/", "project_urls": { "Homepage": "https://github.com/stranskyjan/raphaelpy" }, "release_url": "https://pypi.org/project/raphaelpy/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Library for creating SVG drawings using Python, inspired by Rapha\u00eblJS", "version": "0.2.0" }, "last_serial": 5182051, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0c2ca4095219c3e1ed57fd3307223aab", "sha256": "a4c30cca81044305998ff6177fe9bf43a5cdd1c80c98f20f1923c73a58c9763b" }, "downloads": -1, "filename": "raphaelpy-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "0c2ca4095219c3e1ed57fd3307223aab", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 17885, "upload_time": "2018-10-25T14:48:25", "url": "https://files.pythonhosted.org/packages/75/ae/059e7fefbde0dbda0395ebc2ab5dd0af7de45276b2cf7702bd5412fbffe0/raphaelpy-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "54ab031689644bb5a404318888c439fa", "sha256": "a277deb7e71c870de84ede4c1d1f256f3f2905a06340a16f02d3d8eb6af78161" }, "downloads": -1, "filename": "raphaelpy-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "54ab031689644bb5a404318888c439fa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17885, "upload_time": "2018-10-25T14:48:23", "url": "https://files.pythonhosted.org/packages/84/71/58ea75c7817d60a7349c1c73161e2541304ef084f53dfadb69c84de9dbde/raphaelpy-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31e64bd27987f534d6df1918e60ce8d2", "sha256": "ca64d859c16460b5d98f181c47fd43209b2c0efd822b35ebbecffad883d59594" }, "downloads": -1, "filename": "raphaelpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "31e64bd27987f534d6df1918e60ce8d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13412, "upload_time": "2018-10-25T14:48:29", "url": "https://files.pythonhosted.org/packages/ce/e1/2560c58fa6b8e0ec49cb21b5b83964093c26ba212d90b7c89e2672065780/raphaelpy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "72d01e30961a1119b97622d654968158", "sha256": "05c7d97210ced9aa4f12694a63ec018f6885ffd1e0c25b616df80d8a66a213f0" }, "downloads": -1, "filename": "raphaelpy-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "72d01e30961a1119b97622d654968158", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 17920, "upload_time": "2018-10-25T14:53:41", "url": "https://files.pythonhosted.org/packages/77/ad/6a638a5da8281ab0d194f48e3c3838378c138a8ec98ef50e2db735294f0f/raphaelpy-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13c0757cb4af23dab38481d575b3bcc0", "sha256": "98ed0247fd8ac37748159deee330e15842d1368b8a32c2fa2984a46445b45534" }, "downloads": -1, "filename": "raphaelpy-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "13c0757cb4af23dab38481d575b3bcc0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17920, "upload_time": "2018-10-25T14:53:44", "url": "https://files.pythonhosted.org/packages/e2/be/4bb399ee675d025afcd4cf1f9c7c05bada432ebb05114973544466d12ba5/raphaelpy-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "57b0b6243495baeab187fac9f13c57bd", "sha256": "df250cf2a219a38b17a5e55d7e4ecef0df885e69e0937d1161e0845b3a058cb6" }, "downloads": -1, "filename": "raphaelpy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "57b0b6243495baeab187fac9f13c57bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13491, "upload_time": "2018-10-25T14:53:52", "url": "https://files.pythonhosted.org/packages/99/56/285d899535da35763319729ced50424c0cdd8effb0c500f21d1be79458af/raphaelpy-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "800d4fe9104de161a31915ca3cd4bb64", "sha256": "7ddd99c72809babc487b79fd78e919ee94a368cace3110aa9678f567ce8485eb" }, "downloads": -1, "filename": "raphaelpy-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "800d4fe9104de161a31915ca3cd4bb64", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 18297, "upload_time": "2019-04-24T12:32:07", "url": "https://files.pythonhosted.org/packages/a0/57/006119429cd91a926f3dcbeb39e7ea4ba06142b6487186bf27b324cc1e69/raphaelpy-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13f873d8bf4c3237ff6503cbd070fcf0", "sha256": "6b74b7188f30bd272f4f8509e4f8663bbd17b503a60e41be8912713b66a37857" }, "downloads": -1, "filename": "raphaelpy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "13f873d8bf4c3237ff6503cbd070fcf0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18298, "upload_time": "2019-04-24T12:32:08", "url": "https://files.pythonhosted.org/packages/2d/59/75839c0d01095da21ab6cbbaed396518524e14adce1541a016e598893c77/raphaelpy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d729a5b36579f911a835dd11693305b9", "sha256": "f785d45ef6228dbb43c07f6af562a0bb3baa17252fa5d4effeb5cf6b335488e9" }, "downloads": -1, "filename": "raphaelpy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d729a5b36579f911a835dd11693305b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13919, "upload_time": "2019-04-24T12:32:10", "url": "https://files.pythonhosted.org/packages/68/52/72d021b9252dcc545bc06b9addf98f01e0d25e95b081d425c6e0503e4082/raphaelpy-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "800d4fe9104de161a31915ca3cd4bb64", "sha256": "7ddd99c72809babc487b79fd78e919ee94a368cace3110aa9678f567ce8485eb" }, "downloads": -1, "filename": "raphaelpy-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "800d4fe9104de161a31915ca3cd4bb64", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 18297, "upload_time": "2019-04-24T12:32:07", "url": "https://files.pythonhosted.org/packages/a0/57/006119429cd91a926f3dcbeb39e7ea4ba06142b6487186bf27b324cc1e69/raphaelpy-0.2.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13f873d8bf4c3237ff6503cbd070fcf0", "sha256": "6b74b7188f30bd272f4f8509e4f8663bbd17b503a60e41be8912713b66a37857" }, "downloads": -1, "filename": "raphaelpy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "13f873d8bf4c3237ff6503cbd070fcf0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 18298, "upload_time": "2019-04-24T12:32:08", "url": "https://files.pythonhosted.org/packages/2d/59/75839c0d01095da21ab6cbbaed396518524e14adce1541a016e598893c77/raphaelpy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d729a5b36579f911a835dd11693305b9", "sha256": "f785d45ef6228dbb43c07f6af562a0bb3baa17252fa5d4effeb5cf6b335488e9" }, "downloads": -1, "filename": "raphaelpy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d729a5b36579f911a835dd11693305b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13919, "upload_time": "2019-04-24T12:32:10", "url": "https://files.pythonhosted.org/packages/68/52/72d021b9252dcc545bc06b9addf98f01e0d25e95b081d425c6e0503e4082/raphaelpy-0.2.0.tar.gz" } ] }