Skip to main content

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.

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

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superturtle-1.4.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superturtle-1.4.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file superturtle-1.4.0.tar.gz.

File metadata

  • Download URL: superturtle-1.4.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for superturtle-1.4.0.tar.gz
Algorithm Hash digest
SHA256 6214762475c3aa496b94cb55b22b7aa9dd8b261b9156bbeb68fb036bb2c12e40
MD5 6695fd6d774af263fd04bb8941550a5b
BLAKE2b-256 62355e6111e9ad27aa6ff7acd1e8c85fdff8fa952b85443af7ee5c7b80ba8bfd

See more details on using hashes here.

File details

Details for the file superturtle-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: superturtle-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for superturtle-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 811cfe241edab02e5247dae95088c79b0f73c2e09ba51c4768339678f0f9f594
MD5 f2d9205daadc429dccbe34ec15d69f06
BLAKE2b-256 82f429af1a97cc058e8fc6ab1efda6ccb05d5f4ab96c00d2136170ee24ba35f3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page