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

    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 & Linux

  1. Download and extract this repository
  2. Open a terminal inside the extracted folder
  3. Run:
python3 install_macos.py
  1. 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

thonny_tunisiaschools_macos-0.0.20.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thonny_tunisiaschools_macos-0.0.20-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for thonny_tunisiaschools_macos-0.0.20.tar.gz
Algorithm Hash digest
SHA256 1e610aa19957e83450c108673f3c532024a6273daecd31ba50635a114c5563c2
MD5 331dadb033ce4ad8e271fde9f9a86437
BLAKE2b-256 b64aaad62815a4947367a9827302f4c4db8c2f260e1883a9dba216a94e5edea8

See more details on using hashes here.

File details

Details for the file thonny_tunisiaschools_macos-0.0.20-py3-none-any.whl.

File metadata

File hashes

Hashes for thonny_tunisiaschools_macos-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 cf877e4eb498cf50381b82d0527f17956821926d9fb71020506e69ff4188723c
MD5 2d407619991483c60da708e617a97076
BLAKE2b-256 a135e4ee58b94d2eb53d6af90fa66cb99b2dbd742c3dff5425a8c0b5228b3847

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