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
.pyfiles with turtle code - A small built-in integrated code editor inside
- Embedded turtle canvas (no external windows)
- Built-in sandboxed execution environment
Usage
turtlelab # Execute from CLI
- Click Browse... to select a Python file
- Review the code from the editor
- 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.
- Click Clear to reset the canvas
Important Rules
- Use provided
t(turtle) andscreenobjects directly - Do NOT use
import turtlein your code
Example Files
Check the examples/ folder (inside ..Python/Lib/site-packages/turtlelab ) for sample scripts:
square.py- Draw a squarestar.py- Draw a starspiral.py- Draw a spiral
API
Your code has access to:
t- RawTurtle object with full turtle graphics APIscreen- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file turtlelab-0.1.0.tar.gz.
File metadata
- Download URL: turtlelab-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c78dc34c3b000d566cfd7f5ddc310cc72f103d74fc0e85f34eb0272c8565a1f
|
|
| MD5 |
6709a6a35b985c9c8f43ba27dc5e99ca
|
|
| BLAKE2b-256 |
7f2fa3e95815c51b08d71ab414cfde10227ac709289714be09c91d7b05ab05ef
|
File details
Details for the file turtlelab-0.1.0-py3-none-any.whl.
File metadata
- Download URL: turtlelab-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f22dcdb92bb88077afa5d70d5802c4c84fca091fe7815438c0b4768486e195f0
|
|
| MD5 |
f447212009a28eefb6b87993fb9547fb
|
|
| BLAKE2b-256 |
d997dab1268707d02059ef38f0f65eeccc1389931ac214b6315ae5988371391a
|