A Thonny IDE plug-in that offers PyQt / QT / Python support for Tunisian computer science secondary teachers / students. macOS support added by Youssef Chebbi.
Project description
thonny-tunisiaschools
A Thonny plug-in which offers Tunisian computer science secondary teachers / students some help creating Python & PyQt Applications:
-
Loads a QT UI file and:
- Adds needed code to load that file to the current document
- Creates empty functions bound to button clicks
- Adds a view that displays the UI inside Thonny (currently supporting Labels, Text inputs and buttons only)
-
Adds a new menu (PyQt5) with commands to insert calls to common functions (text, setText, clear, show) for Labels and LineEdits
-
Changes the default save location for final exams (baccalauréat)
-
Disables reopening last open files (to reduce risks of students overwriting each other's work)
Installation
Windows
Use Tools → Manage plugins inside Thonny, search for thonny-tunisiaschools and click Install.
macOS & Linux
- Download and extract this repository
- Open a terminal inside the extracted folder
- Run:
python3 install_macos.py
- Restart Thonny
To uninstall:
python3 install_macos.py uninstall
No sudo required. The script installs the plugin into your user folder, not a system directory.
Prerequisite — Qt Designer (macOS)
To use the "Open in Designer" button, install Qt Designer:
pip3 install pyqt5-tools
Supported platforms
- ✅ Windows
- ✅ macOS
- ✅ Linux
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 thonny_tunisiaschools_macos-0.0.20.tar.gz.
File metadata
- Download URL: thonny_tunisiaschools_macos-0.0.20.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e610aa19957e83450c108673f3c532024a6273daecd31ba50635a114c5563c2
|
|
| MD5 |
331dadb033ce4ad8e271fde9f9a86437
|
|
| BLAKE2b-256 |
b64aaad62815a4947367a9827302f4c4db8c2f260e1883a9dba216a94e5edea8
|
File details
Details for the file thonny_tunisiaschools_macos-0.0.20-py3-none-any.whl.
File metadata
- Download URL: thonny_tunisiaschools_macos-0.0.20-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf877e4eb498cf50381b82d0527f17956821926d9fb71020506e69ff4188723c
|
|
| MD5 |
2d407619991483c60da708e617a97076
|
|
| BLAKE2b-256 |
a135e4ee58b94d2eb53d6af90fa66cb99b2dbd742c3dff5425a8c0b5228b3847
|