Skip to main content

thonny-shoebot

A Shoebot plug-in for Thonny

Use the Thonny Python IDE as an editor for Shoebot scripts. Thonny-shoebot is a plug-in that configures Thonny for use with Shoebot, a Python (3.8+) framework for creative coding vector graphics and animations using a set of simple Python commands.

Instructions

If you already have some version of Thonny that includes Python 3.8+ on your computer, you can skip straight to step 4.

  1. Download and install the Thonny IDE from https://github.com/thonny/thonny/releases. Expanding the Assets will reveal the downloads for Windows/macOS/Linux --

    For your convenience, here are direct links to the downloads for Thonny 4.0.0b3:

    The thonny-shoebot plug-in will run fine with Thonny 4 (currently in beta) because it ships with Python 3.10. If you want to use a Thonny 3 release, use the Thonny 3.3.7 -alt version for your platform. The alt-variants are bundled with Python 3.9.5 (instead of 3.7.9).

  2. Start Thonny. If you're running it for the first time, just accept the Standard settings.

  3. Once Thonny is open, select Tools > Manage plugins...

    Then search for and install the thonny-shoebot plug-in --

    You must restart Thonny after this step.

  4. When you've restarted Thonny, select py5 > Imported mode for py5 --

    Click Proceed to download, extract, and set up JDK-17 (if you need to know: the plug-in installs JDK in the Thonny user-config directory). Thonny only needs to download JDK the first time you switch to imported mode.

    You'll be notified once this process completes --

  5. This step is optional. There are several Thonny settings that I recommend you apply for working with py5 (including a Processing 4 inspired theme, Kyanite). You can apply those settings in one simple step using py5 > Apply recommended py5 settings

  6. When the py5 Imported mode for py5 option is checked, Thonny can run your py5 code --

    Test out an imported mode sketch by clicking the green play button (or using the F5 or Ctrl+R keyboard shortcuts). Here is some code:

    def setup():
        size(300, 200)
        rect_mode(CENTER)
    
    def draw():
        rect(mouse_x, mouse_y, 10, 10)
    

    NOTE: This mode also runs static mode sketches (when you don't need a draw() function for animation).

    Click the stop-sign (🛑) button in the Thonny toolbar to stop your sketch.

Useful py5 resources

py5 is a new version of Processing for Python 3.8+. It makes the Java Processing jars available to the CPython interpreter using JPype. It can do just about everything Processing can do, except with Python instead of Java code. Here are some useful py5 resources (alphabetically listed) --

Credits

Thanks villares for inspiring me to develop this plug-in, hx2A for the awesome py5 project, and the Thonny folks for their fantastic IDE. The Color selector incorporates Juliette Monsel's excellent tkColorPicker module.

Todo List

See discussions on GitHub repo. This plug-in is a work in progress ... please report issues here.

Metadata

Release files for thonny-shoebot 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thonny-shoebot 0.1.0
File Size Uploaded
thonny-shoebot-0.1.0.tar.gz 31.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for thonny-shoebot 0.1.0
File Interpreter ABI Platform
thonny_shoebot-0.1.0-py3.11.egg Legacy Egg format - - Details
thonny_shoebot-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 151.2 kB

Release files / thonny-shoebot-0.1.0.tar.gz

Download URL thonny-shoebot-0.1.0.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e321a551db88d3e1360e4793936220acf8f9ee4e54e964c195e3ec19c1146c67
BLAKE2b-256 checksum
How to use checksums
b797b975e78171f63f74cbc100132d9125a8b4a88e5f281e0eb22b497202a510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / thonny_shoebot-0.1.0-py3.11.egg

Download URL thonny_shoebot-0.1.0-py3.11.egg
Size 79.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
077515adb39006c3f39bfbc6472d05fd6f24d68ecc449ca3324f17842dd6908f
BLAKE2b-256 checksum
How to use checksums
655a9861ffb27e5341150e3585c8ebd3342859d85f747fc688ce6afc24c44437
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / thonny_shoebot-0.1.0-py3-none-any.whl

Download URL thonny_shoebot-0.1.0-py3-none-any.whl
Size 40.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ba2d21880bb3769539e8ee7ccc8ac009e41dfc80a117c14055e9b96ca51d839
BLAKE2b-256 checksum
How to use checksums
decb6090cdeb4d5e4cd831dee95204fd223de1f71970e8164160efdae5131a79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release 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