{ "info": { "author": "Claude SIMON", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Education", "Intended Audience :: Other Audience", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Education" ], "description": "# Tortoise: [turtle graphics](https://q37.info/s/3dwhcdfm) on the web\n\n[![Version 0.1.1](https://img.shields.io/static/v1.svg?&color=90b4ed&label=Version&message=0.1.1)](https://q37.info/s/q4ghchsr) [![Download stats](https://img.shields.io/pypi/dm/tortoise.svg)](https://pypistats.org/packages/tortoise) [![License](https://img.shields.io/pypi/l/atlastk.svg?style=plastic)](https://github.com/epeios-q37/tortoise-python/blob/master/LICENSE)\n\n[![tortoise library example](https://q37.info/s/frgzbhq9)](http://q37.info/s/dj9b7ksf)\n\nThis repository is the [proof of concept](https://q37.info/s/hzpbtv7r) of an implementation, in *Python*, of [turtle graphics](https://q37.info/s/3dwhcdfm) based on web technologies. This is the main difference with the *turtle* module, which uses *(t|T)kinter*.\n\nCloning the repository (or retrieving the corresponding ZIP file) is sufficient to use this module. The `main.py` file, with which above picture were generated, is an example of use of this library. Simply launch `python main.py` from the root of the repository.\n\nThe module is also available on *Pypi*: . Simply launch `pip install tortoise` to install it.\n\nYou can also test the library directly in your web browser, with nothing to install: .\n\nThis *Python* module is part of a [larger project](https://q37.info/s/tpkx4cfk) that aims to provide a way to write modern examples or exercises for programming tutorials.\n\nThe *tortoise* library currently provides following methods (coordinates and distances are relative to the *viewbox* of the SVG):\n\n- *constructor*`(dom,id)`: returns a *tortoise* object which uses `dom` as the *DOM* from the [*Atlas* toolkit](https://q37.info/s/c7hfkzvs), and the SVG element of id `id`,\n- `getAngle()`: returns the current angel, in degrees,\n- `up()`: puts the pen up,\n- `down()`: puts the pen down,\n- `setAutoDraw(value)`: the drawing is automatically rendered each `value` movements (`0` will disable the auto draw); call `draw()` to render remaining movements,\n- `setPosition(x,y)`: the turtle jumps to position `x` and `y`,\n- `forward(distance)`: the tortoise moves by the specified `distance`,\n- `right(angle)`: the tortoise turns clockwise from `angle` degrees,\n- `left(angle)`: the tortoise turns *counter* clockwise from `angle` degrees,\n- `setColorRGB(r,g,b)`: sets the color of the pen following the RGB color model,\n- `setColorHSL(h,s,l)`: sets the color of the pen following the HSL color model, (`h`: 0 - 360; `s`, `l`: 0 - 100%),\n- `draw()`: draws remaining movements,\n- `clear()`: erase the drawing area and also resets the internal settings (coordinates, angle, color\u2026).\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/epeios-q37/tortoise-python", "keywords": "turtle,web", "license": "", "maintainer": "", "maintainer_email": "", "name": "tortoise", "package_url": "https://pypi.org/project/tortoise/", "platform": "", "project_url": "https://pypi.org/project/tortoise/", "project_urls": { "Homepage": "https://github.com/epeios-q37/tortoise-python" }, "release_url": "https://pypi.org/project/tortoise/0.1.1/", "requires_dist": [ "atlastk" ], "requires_python": "", "summary": "Turtle graphics on the web.", "version": "0.1.1" }, "last_serial": 5628526, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5fdae5c484e6b17fdc34aa2a87c72727", "sha256": "b3f99080bb5ed16f16c14553ae474e7fb8556fbd3bf498720e6fb31ac24265de" }, "downloads": -1, "filename": "tortoise-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5fdae5c484e6b17fdc34aa2a87c72727", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4793, "upload_time": "2019-08-01T07:10:47", "url": "https://files.pythonhosted.org/packages/56/86/8a682e93f783cee4e576777802331a110644cc0c0d40d766d668c831eda5/tortoise-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ecb03b16c9c62630548be13e1cd337b", "sha256": "25199e68b11f1e250df318851ea31623c068422bdcad4b2d3507cea7e762cf92" }, "downloads": -1, "filename": "tortoise-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6ecb03b16c9c62630548be13e1cd337b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3691, "upload_time": "2019-08-01T07:10:49", "url": "https://files.pythonhosted.org/packages/5e/0b/5917932add7064f76b47abf3c3a9b823eb3877c1c641f6200f0abd873758/tortoise-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "3ba7d872583af39ec9f331af032925da", "sha256": "d94ad0312fbd5a3b3a14e95876570dddfe7df75c49bfbd8034fe382afd989de8" }, "downloads": -1, "filename": "tortoise-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "3ba7d872583af39ec9f331af032925da", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6585, "upload_time": "2019-08-01T07:21:07", "url": "https://files.pythonhosted.org/packages/02/7c/6cb7306b92b424f8e56535875d3e7b669cd905622ee89692dbeddbeed7f6/tortoise-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0713d7fa91416b54ace84cd94914523", "sha256": "83f623da2d302abf43fee8019942ffab116e2f3617dacfb576e3522a92dd0c19" }, "downloads": -1, "filename": "tortoise-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d0713d7fa91416b54ace84cd94914523", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3682, "upload_time": "2019-08-01T07:21:08", "url": "https://files.pythonhosted.org/packages/29/98/c839509491284fe1b1cf84468389154eb0b792c3e160dc79623bd23f3db9/tortoise-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "1e0825e90cb4658c627507438b8181b7", "sha256": "52f12d729678ccf134e6deb7180629c98149f6a500092717e533e29c74acdd6f" }, "downloads": -1, "filename": "tortoise-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "1e0825e90cb4658c627507438b8181b7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4870, "upload_time": "2019-08-01T19:28:39", "url": "https://files.pythonhosted.org/packages/07/53/9d88308ddc74eb82ae4cac5ce9230b0a46a1231fa3840541165618a5aa0a/tortoise-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af39f5e6e18b1515c4dbef290dc1bd7d", "sha256": "e601dbae43892ec589eb556b826cdab3008e2e4ed5ce446f2a2e2ce530d93060" }, "downloads": -1, "filename": "tortoise-0.0.3.tar.gz", "has_sig": false, "md5_digest": "af39f5e6e18b1515c4dbef290dc1bd7d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3736, "upload_time": "2019-08-01T19:28:41", "url": "https://files.pythonhosted.org/packages/9f/15/e6c0a2d4ce1b0f556cf143769503bbccf68226a363859b0b25b825a94a92/tortoise-0.0.3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "b26a05375bd4bf53a649fc9c351e2e24", "sha256": "aa9dcc22d8c81ad028cfbb9dabdc199159ac00934a1a9b57b9ca716faa4f4cec" }, "downloads": -1, "filename": "tortoise-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b26a05375bd4bf53a649fc9c351e2e24", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4986, "upload_time": "2019-08-02T09:14:28", "url": "https://files.pythonhosted.org/packages/20/e4/df9b3a0f554580f767c957c7875b7e994f36d750e2f97bb0ec7dfca087f5/tortoise-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28b8511af4d3394a1b81dbb32c764663", "sha256": "fae13963d21f6a2b9f7b6a7b3e022047dd43e9468d2a07d48ea5b9ab1c0ec0f4" }, "downloads": -1, "filename": "tortoise-0.1.0.tar.gz", "has_sig": false, "md5_digest": "28b8511af4d3394a1b81dbb32c764663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3845, "upload_time": "2019-08-02T09:14:30", "url": "https://files.pythonhosted.org/packages/49/9b/18533ffa549d4bc7925cdf8bddee4fa4b9928caf1dd0ae5999b51c1b0138/tortoise-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3db863f17eb2bea0619d92d20631d1e3", "sha256": "bcb58a56d6796cad0db330104450df2caf2ea9e98d844bb2906274bd15c12804" }, "downloads": -1, "filename": "tortoise-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3db863f17eb2bea0619d92d20631d1e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5263, "upload_time": "2019-08-03T15:54:17", "url": "https://files.pythonhosted.org/packages/16/ef/b314819f12e48e7a99f07825d064b596d58cc4a0c3b75939d0d10fedf90d/tortoise-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7275ac9c80517bb9653c053243d5cca2", "sha256": "a4ebd69b152d266174b3b0f2a22e3fb8995101eb749d3114813a98f405ab10bb" }, "downloads": -1, "filename": "tortoise-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7275ac9c80517bb9653c053243d5cca2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4114, "upload_time": "2019-08-03T15:54:19", "url": "https://files.pythonhosted.org/packages/8b/98/970d10bcc02eda8370c425dd6306526eec8b407aa83f13bb0ebe7da41012/tortoise-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3db863f17eb2bea0619d92d20631d1e3", "sha256": "bcb58a56d6796cad0db330104450df2caf2ea9e98d844bb2906274bd15c12804" }, "downloads": -1, "filename": "tortoise-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3db863f17eb2bea0619d92d20631d1e3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5263, "upload_time": "2019-08-03T15:54:17", "url": "https://files.pythonhosted.org/packages/16/ef/b314819f12e48e7a99f07825d064b596d58cc4a0c3b75939d0d10fedf90d/tortoise-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7275ac9c80517bb9653c053243d5cca2", "sha256": "a4ebd69b152d266174b3b0f2a22e3fb8995101eb749d3114813a98f405ab10bb" }, "downloads": -1, "filename": "tortoise-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7275ac9c80517bb9653c053243d5cca2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4114, "upload_time": "2019-08-03T15:54:19", "url": "https://files.pythonhosted.org/packages/8b/98/970d10bcc02eda8370c425dd6306526eec8b407aa83f13bb0ebe7da41012/tortoise-0.1.1.tar.gz" } ] }