Skip to main content

thonny-pseudocode

Publish to PyPI

A Thonny plug-in that generates inline pseudocode on-demand, explaining the Python source code line-by-line, powered by the PyToPseu project.

The plug-in currently supports generating pseudocode in English and French (depending on the UI language set by the user in Thonny's settings).

Table of contents:
Installation
User Guide
Limitations

Installation

Inside Thonny, click on Tools > Manage plug-ins... to open the plug-ins dialog. Search for the "thonny-pseudocode" package and install it. Make sure your installed version is at least 0.1.3.

Once installed, restart Thonny to load the plug-in.

User Guide

You can generate pseudocode with the plug-in's "Explain with pseudocode" command. There are 3 ways to trigger the command:

  1. From the menu:

Generating the pseudocode from the menu

  1. From the toolbar:

Generating the pseudocode from the toolbar

  1. Using the Ctrl+E/Cmd+E hotkey:

Generating the pseudocode using the hotkey

Once generated, the command may be used again to erase the generated pseudocode:

Note: When the plug-in erases generated pseudocode, it will systematically remove all trailing whitespaces on all lines.

Erasing the pseudocode

Since the generated pseudocode is actually appended to the source code in the form of comments (preserving the developer's own comments), the developer may continue to edit the code afterwards. Using the command again on edited code will immediately regenerate pseudocode for the new code. As soon as the command is used a second time on a particular piece of code, the plug-in will erase the generated pseudocode.

Erasing the pseudocode

Limitations

The plug-in currently has the following limitations:

  • It cannot generate pseudocode for code with the slightest syntax error
  • It may insert new-lines in the source code to have enough space for the pseudocode, but will not remove those new-lines when it erases the generated pseudocode
  • Generated pseudocode goes into (and "pollutes") the editing history, which means that erasing pseudocode then undoing the last change will bring back the pseudocode

Metadata

Release files for thonny-pseudocode 0.1.6

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-pseudocode 0.1.6
File Size Uploaded Provenance Actions
thonny_pseudocode-0.1.6.tar.gz 23.8 kB With provenance Details for thonny_pseudocode-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thonny-pseudocode 0.1.6
File Interpreter ABI Platform Actions
thonny_pseudocode-0.1.6-py3-none-any.whl Python 3 none any Details for thonny_pseudocode-0.1.6-py3-none-any.whl

Total release size: 52.1 kB

Release files / thonny_pseudocode-0.1.6.tar.gz

Download URL thonny_pseudocode-0.1.6.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2cc90049cab537a2659e3dd6afda8d51437ffb10622e9e6127351220301bbd7c
BLAKE2b-256 checksum
How to use checksums
68d55b61468ef046c3d4d82415110b590a4f9c2b468c845c324abfe21adf374c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 8, 2026.

Transparency log

Release files / thonny_pseudocode-0.1.6-py3-none-any.whl

Download URL thonny_pseudocode-0.1.6-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f207749bccb58159ef9dd19160a2aa0b3d7e8ad4f4e3134a03b41ead43eaf18e
BLAKE2b-256 checksum
How to use checksums
f25820aa36b4bfbd5dc94cc6bf68915d9141f70b2077102a061b39f782e9e303
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 8, 2026.

Transparency log

Security for thonny-pseudocode 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for thonny_pseudocode-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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