superturtle


Namesuperturtle JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
SummaryExtensions to Python's turtle
upload_time2024-12-19 18:43:50
maintainerNone
docs_urlNone
authorChris Proctor
requires_python<4.0,>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Superturtle

Superturtle provides extensions to Python's `turtle` module, supporting richer drawing, 
image export, and animation.

## Installation

First, make sure ImageMagick is installed. (If you use homebrew, this can be accomplished 
with `brew install imagemagick`.) Then, Superturtle can be installed using pip or poetry.

    pip install superturtle

## Usage

Please see [the Superturtle documentation](https://superturtle.readthedocs.io/en/latest/).

## Pedagogy

This module was originally developed as part of **Making With Code**, a constructionist
introductory computer science curriculum. Perhaps the most unusual design decision is this 
module's heavy use of context managers. For example:

    from turtle import forward
    from superturtle.stroke import dots

    with dots():
        forward(100)

![Drawing with dots context manager](documentation/doc_examples/context_manager.png)

Context managers are generally not introduced 
early in a CS curriculum, but they fit naturally with other constructs which contextualize
code blocks: loops, conditionals, and function definition. We hypothesize that introducing
intuitive context managers with easy-to-visualize effects may reinforce the more abstract
role of control structures, and may support students in learning to read indented Python code.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "superturtle",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Chris Proctor",
    "author_email": "chris@chrisproctor.net",
    "download_url": "https://files.pythonhosted.org/packages/6a/92/126ebdb094cce3d058746c99148acb2fb3a132998d69f2945f344e837d04/superturtle-0.2.0.tar.gz",
    "platform": null,
    "description": "# Superturtle\n\nSuperturtle provides extensions to Python's `turtle` module, supporting richer drawing, \nimage export, and animation.\n\n## Installation\n\nFirst, make sure ImageMagick is installed. (If you use homebrew, this can be accomplished \nwith `brew install imagemagick`.) Then, Superturtle can be installed using pip or poetry.\n\n    pip install superturtle\n\n## Usage\n\nPlease see [the Superturtle documentation](https://superturtle.readthedocs.io/en/latest/).\n\n## Pedagogy\n\nThis module was originally developed as part of **Making With Code**, a constructionist\nintroductory computer science curriculum. Perhaps the most unusual design decision is this \nmodule's heavy use of context managers. For example:\n\n    from turtle import forward\n    from superturtle.stroke import dots\n\n    with dots():\n        forward(100)\n\n![Drawing with dots context manager](documentation/doc_examples/context_manager.png)\n\nContext managers are generally not introduced \nearly in a CS curriculum, but they fit naturally with other constructs which contextualize\ncode blocks: loops, conditionals, and function definition. We hypothesize that introducing\nintuitive context managers with easy-to-visualize effects may reinforce the more abstract\nrole of control structures, and may support students in learning to read indented Python code.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Extensions to Python's turtle",
    "version": "0.2.0",
    "project_urls": {
        "Documentation": "https://superturtle.readthedocs.io/en/latest/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bfa6221c4dab508d0f2c9c80fe89cc16b4b1df8be98a7458d48cf298f1d993ba",
                "md5": "5536d8c1bb4fc5447c46baf444fb5a86",
                "sha256": "ca3a31be3259387b4490846adbf64502acc9d23472912cc43497ab170e89f506"
            },
            "downloads": -1,
            "filename": "superturtle-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5536d8c1bb4fc5447c46baf444fb5a86",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 11177,
            "upload_time": "2024-12-19T18:43:47",
            "upload_time_iso_8601": "2024-12-19T18:43:47.972173Z",
            "url": "https://files.pythonhosted.org/packages/bf/a6/221c4dab508d0f2c9c80fe89cc16b4b1df8be98a7458d48cf298f1d993ba/superturtle-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a92126ebdb094cce3d058746c99148acb2fb3a132998d69f2945f344e837d04",
                "md5": "ed78b46310dbff078f38ce9ef0b87c83",
                "sha256": "807fb419c1dba9cb809a22a68e72c0193bdeed4a9326eb36ad940b2a7ff6ac04"
            },
            "downloads": -1,
            "filename": "superturtle-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ed78b46310dbff078f38ce9ef0b87c83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 9611,
            "upload_time": "2024-12-19T18:43:50",
            "upload_time_iso_8601": "2024-12-19T18:43:50.222271Z",
            "url": "https://files.pythonhosted.org/packages/6a/92/126ebdb094cce3d058746c99148acb2fb3a132998d69f2945f344e837d04/superturtle-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-19 18:43:50",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "superturtle"
}
        
Elapsed time: 0.47935s