Thonny SE
English · Deutsch
Design your software right in Thonny. With structured flowcharts, UML and an interactive object bench. Easy to get into, so you can focus on your ideas.
Contents
Features · Requirements · Getting started · Manual · Educational references · Technical feature list
What you can do
Plan algorithms with structograms – Model algorithms as Nassi–Shneiderman diagrams with statements, branches and loops. Move and edit the blocks to suit your plan.
| Light | Dark |
|---|---|
Design your classes – Design UML class diagrams with attributes, methods and visibility. Model relationships such as inheritance or composition, and add roles and multiplicities.
| Light | Dark |
|---|---|
Move between models and code – Turn your diagrams into Python code or your code into diagrams. For linked classes, you choose which changes to apply.
| Light | Dark |
|---|---|
Make diagrams fit your purpose – Make your diagrams more compact and give them stronger lines. At higher design settings, the text becomes bold. The changes also appear in image exports. Zoom only changes your view on screen.
| Design: 100% | Design: 175% |
|---|---|
Take your diagrams with you – Save your designs as PNG, SVG or WebP. Ready for a worksheet, a presentation or your documentation.
Try your objects – Create several objects from your UML classes. Inspect their values, call methods and expand lists and nested objects. Move the cards, collapse them or remove objects from the bench. Changed values briefly light up. Select a nested object or a list to highlight the related objects.
| Light | Dark |
|---|---|
Call a method. Read its description from the code, enter suitable values and inspect the return value. If it returns an object, keep it under your own name in the object bench and explore it further.
| Light | Dark |
|---|---|
Learn and present comfortably – Familiar controls, an uncluttered interface and clear visuals help you focus on your content. The aim is to keep everything sharp and easy to use across multiple displays with different scaling settings – while learning, explaining and presenting. Choose a light or dark appearance for Thonny SE, including its diagrams, editing controls and object bench.
| Light | Dark |
|---|---|
Cats are around too.
What you need
Thonny 5.0.x and Python 3.10 or later.
Tested on macOS and Windows. Also runs on Linux. Feedback on using it on Linux is welcome.
Get started
Install through PyPI or download a wheel from GitHub.
Download the latest release · All releases
Through Thonny’s plug-in manager
- In Thonny, open
Tools → Manage plug-ins.... - Search for
thonny-se. - Select the plug-in and click
Install.
With a wheel file from GitHub
- Download the file ending in
.whlfrom the GitHub releases. - In Thonny, open
Tools → Manage plug-ins.... - Choose
Install from local fileand open the downloaded wheel file.
Restart Thonny after installation.
Under File, create a New structogram or a New UML diagram. Open the object bench under View → Object inspector SE.
Installing on a school network
Many schools use a proxy server for internet access. Thonny 5.0 has no dedicated proxy field in its settings. Installation can fail without the correct proxy. This also affects a local wheel file when dependencies still need to be downloaded.
Set a proxy for installation
In Thonny, open Tools → Open system shell... and enter this command:
pip config --user set global.proxy http://proxy.schule.de:8080
Replace the example address and port with the details provided by your school. The setting is saved permanently for the current user and also applies to later pip commands.
Then install the plug-in through the plug-in manager or the wheel file.
Bring your classes to life
Run your UML design and try its objects. You do not need your own Python file yet. The manual walks you through getting started and explains how diagrams, code and the object bench work together.
Your feedback helps
Found a bug or have an idea? Open a GitHub issue. For bugs, include your Thonny version, your operating system and the steps needed to reproduce the problem.
Educational references
Thonny SE’s school-related requirements are informed by the curricula of Mecklenburg-Vorpommern, Germany, and the supplementary reference materials (Tafelwerkergänzungen).
- Mecklenburg-Vorpommern curricula for computer science and media education
- Supplementary reference materials on “Informatik in der Schule MV”
As of 9 November 2026.
Technical features
Structogram editor
- Nassi–Shneiderman diagrams with nested blocks.
- Statements, function calls, one-way and two-way selection, and multi-way selection.
- While loops, fixed repetition counts, counting loops and for-each loops.
- Switchable basic and full block palettes.
- Activation and deactivation of blocks. Deactivated subtrees stay in the design and are omitted from Python and image exports.
- Drag-and-drop, select all, contiguous multi-selection and clipboard operations, including between diagram tabs.
- Undo/redo, zoom and scrolling, plus keyboard navigation and keyboard editing.
- Adjustable diagram design: line thickness, spacing and font weight, including in image exports.
- Design settings apply to the open tab and are not saved in the diagram file.
- Python import from the full editor content or a text selection. Constructs without a structural representation are retained as code blocks.
- Python export of the full diagram or selected blocks. Non-executable statement text is retained as comments, while control expressions are validated.
- Monochrome display.
- Readable, text-based JSON file format.
- Straightforward PNG, SVG and WebP export with configurable raster resolution, transparency and monochrome output.
UML class editor
- Classes, abstract classes and interfaces.
- Attributes with visibility, type and optional initial value.
- Methods with visibility, parameters, parameter types, default values and return type.
- Constructor parameters and optional display of the constructor using the class name.
- Getter/setter generation for attributes.
- Automatic initial values when selecting an attribute type, with an option to turn this off.
- Separately configurable checks for known type names and matching initial values or parameter defaults.
- Association, directed association, aggregation, composition, inheritance and interface realization.
- Roles, multiplicities and relationship names.
- Self-relationships for association, aggregation and composition, with separate roles and multiplicities.
- Freely positioned class cards and manually adjustable relationship curves.
- Group selection and movement of classes, plus copying between diagrams with internal relationships and attached comments.
- Optional visual or magnetic grid for snapping class positions.
- Movable, resizable comments with optional class attachment.
- Python import from the current editor, individual files or all Python files in a folder, excluding subfolders.
- Relationship inference from base classes and attribute types.
- Python code generation for individual classes or the entire diagram.
- Persistent source links and explicit updates in both directions, individually or across multiple classes.
- Change preview with individual and group selection and conflict handling.
- Preservation of existing method implementations when updating signatures.
- Navigation to the linked class, method or attribute definition in Python code.
- Execution of the current diagram state using Thonny’s
Runcommand / F5, without saving first or creating a Python file. - Undo/redo, zoom and scrolling.
- Adjustable diagram design: line thickness, spacing and font weight, including in image exports.
- Design settings apply to the open tab and are not saved in the diagram file.
- Readable, text-based JSON file format.
- Straightforward PNG, SVG and WebP export with configurable raster resolution, transparency and monochrome output.
Object bench
- Instantiation of UML classes after successful execution of the diagram. After code-affecting changes, run the diagram again before creating new objects.
- Create several instances in the same dialog, with suggested unused object names.
- Parameter fields with required entries, grey default placeholders and selection of existing objects.
- Optional live type checking for literals and known variables, enabled by default.
- Matching focus highlights in the field and signature, plus documentation from Python docstrings.
- Named instances displayed with their class, attribute values and methods.
- Reorder and fully collapse object cards; remove objects from the bench.
- Shared highlights for referenced objects and members of a list, even while the list is collapsed.
- Changed values briefly light up.
- Keep returned objects under your own name in the object bench.
- Optimized rendering and selection for larger object benches.
- Method calls with return values in the dialog and complete Python errors in the Shell.
- Interrupt running methods and constructors; end the Python session if needed.
- Object state updates after completed executions and method calls.
- Expandable lists, tuples, dictionaries, sets and frozensets.
- Incremental loading of larger collections.
- Referenced nested objects displayed as indented object cards with callable methods.
- Indication of shared object identities and cyclic references.
- Preservation of expanded branches during state updates.
- Methods shown as individual buttons by default, with an optional drop-down list.
- Indication of differences between the loaded program state and the UML design.
- Existing objects remain available after design changes. Running the diagram again restarts the object session.
Metadata
Release files for thonny-se 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thonny_se-1.2.0.tar.gz | 713.9 kB | With provenance | Details for thonny_se-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thonny_se-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for thonny_se-1.2.0-py3-none-any.whl |
Total release size: 1.6 MB
Release files / thonny_se-1.2.0.tar.gz
| Download URL | thonny_se-1.2.0.tar.gz |
|---|---|
| Size | 713.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3cb08204c8a913b783206d2f8a7264678d33a9b4b3edf30c4a1f322f11489dd
|
|
BLAKE2b-256 checksum How to use checksums |
ec67047f55050cd24aa58b190783e5aee9ccfdd88b5b8393ab49a6cc79714162
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logRelease files / thonny_se-1.2.0-py3-none-any.whl
| Download URL | thonny_se-1.2.0-py3-none-any.whl |
|---|---|
| Size | 935.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc89be7e26a980be645b5c9e17f9bdb8a4ebc2aff0578dbe30790d5bf66021e9
|
|
BLAKE2b-256 checksum How to use checksums |
be7be33f7fdcfe1eeb784fedc0036e7ba28d14471528a47f728d788b33542fca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 28, 2026.
Transparency logSecurity for thonny-se 1.2.0
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.
Attestation for thonny_se-1.2.0.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 Nov 28, 2026.
Transparency logA 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.