Skip to main content

An interactive graphical interface to make turtle programming easier & better

Project description

✨Interactive Turtle Lab 🐢🔬

A simple Graphical Interface for executing Python turtle graphics from external files interactively, to make turtle programming easier & better.

Features

  • Browse and load .py files with turtle code
  • A small built-in integrated code editor inside
  • Embedded turtle canvas (no external windows)
  • Built-in sandboxed execution environment

Usage

pip install turtlelab
turtlelab test.py
  1. Click Browse... to select a Python file
  2. Review the code from the editor
  3. Click Run to execute (Ctrl+Enter). It will automatically sync from the file loaded as well before running. So you can edit the file in your personal Editor and just click 'Run' and it will auto-fetch code from the file.
  4. Click Clear to reset the canvas
  5. Click Save (Ctrl-s) to save the code in code editor to the loaded file. If the file is not loaded already, it will prompt a filedialog window to ask save name and path

Important Rules

  • Use provided t (turtle) and s (screen) objects directly
  • Do NOT use import turtle in your code

API

Your code has access to:

  • t - RawTurtle object with full turtle graphics API
  • s - TurtleScreen for the canvas

More features will be coming soon!

Project details


Download files

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

Source Distribution

turtlelab-0.6.0.tar.gz (92.4 kB view details)

Uploaded Source

Built Distribution

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

turtlelab-0.6.0-py3-none-any.whl (93.9 kB view details)

Uploaded Python 3

File details

Details for the file turtlelab-0.6.0.tar.gz.

File metadata

  • Download URL: turtlelab-0.6.0.tar.gz
  • Upload date:
  • Size: 92.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for turtlelab-0.6.0.tar.gz
Algorithm Hash digest
SHA256 04c1d40ee4be2512ccdf639ce25c2a94169236f20ec385055c3e719ed17829ba
MD5 8a8c6f81503eb98fbe22b1f9e1546f64
BLAKE2b-256 a6ca4e059f570b2e513cdc526badc83b61aaef5923d2879138814293598a33a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for turtlelab-0.6.0.tar.gz:

Publisher: publish.yml on arsalan-arish/turtlelab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file turtlelab-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: turtlelab-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 93.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for turtlelab-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbff5a29462e9509856820d5adb0c81e54d9ee7c153a0dbc333dad55310026a0
MD5 4704a65333fecb1fd77b9d676176c29e
BLAKE2b-256 33f1b9a4c1bb29af79c159c019db24e8e67db7d34fd67ce98eae4fb77a4983e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for turtlelab-0.6.0-py3-none-any.whl:

Publisher: publish.yml on arsalan-arish/turtlelab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page