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
pip install turtlelab
turtlelab test.py
- 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
- 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) andscreenobjects directly - Do NOT use
import turtlein your code
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
turtlelab-0.3.0.tar.gz
(92.0 kB
view details)
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
turtlelab-0.3.0-py3-none-any.whl
(93.4 kB
view details)
File details
Details for the file turtlelab-0.3.0.tar.gz.
File metadata
- Download URL: turtlelab-0.3.0.tar.gz
- Upload date:
- Size: 92.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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 |
d99e3a714326e5954eb7c187e8707408a69c2076872361945df7877b3896f921
|
|
| MD5 |
17b3c73907a8c27a15235ded72d1ce25
|
|
| BLAKE2b-256 |
0762885ea8a9a57091736dcc6e5fdba5be6fafebc385cd5783676489e7e2908e
|
File details
Details for the file turtlelab-0.3.0-py3-none-any.whl.
File metadata
- Download URL: turtlelab-0.3.0-py3-none-any.whl
- Upload date:
- Size: 93.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","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 |
9a357d5c5121e836480df658e8dd6fbdab9841c5e5f32b57422c61a5a3210a43
|
|
| MD5 |
d8fdfbbe7be51d6d24f118d314449f92
|
|
| BLAKE2b-256 |
d03962fd2fc369f103492a798944687ba30de16ed9fa1423b95d4d2881815b59
|