Skip to main content

A Thonny IDE plug-in that offers PyQt / QT / Python support for Tunisian computer science secondary teachers / students . macOS support added by JOSEPH218.

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

    image

    • Adds a view that displays the UI inside Thonny (currently supporting Labels, Text inputs and buttons only)

    image

  • Adds a new menu (PyQt5) with commands to insert calls to common functions (text, setText, clear, show) for Labels and LineEdits

    image

  • 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

  1. Download and extract this repository
  2. Open Terminal (Spotlight → type "Terminal")
  3. Run this command (you will be asked for your Mac password):
sudo /Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install ~/Downloads/thonny_tunisiaschools-0.0.14
  1. Restart Thonny — you should see a PyQt5 menu in the menu bar

Note: The sudo and Mac password are required because Thonny on macOS installs into a protected system folder. This is a one-time step.

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

thonny_tunisiaschools_macos-0.0.14.tar.gz (9.9 kB view details)

Uploaded Source

File details

Details for the file thonny_tunisiaschools_macos-0.0.14.tar.gz.

File metadata

File hashes

Hashes for thonny_tunisiaschools_macos-0.0.14.tar.gz
Algorithm Hash digest
SHA256 63ff888c517f10d22a9c386d2dabc6a887b0cc5fecaa8f99f5e6b5c957028c78
MD5 2eb5de5c062a09897d48b192ce9c0b05
BLAKE2b-256 58928becf562e56d9f81c03e22d1ade319e0668f6fcb4fd916006704e5a1bad8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page