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.15.tar.gz (9.0 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.15-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for thonny_tunisiaschools_macos-0.0.15.tar.gz
Algorithm Hash digest
SHA256 dcd073b0d1e77e32c2089ed5bf68553afeda66cdea31431067919f936653ec4b
MD5 04024f22363f3fba320a5e1392567f7a
BLAKE2b-256 120bf9d820123d9c9446e85a8ed4fa1c9cbce4806e96ca6ea313c3b1ed1c7d18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for thonny_tunisiaschools_macos-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a9643166039886bbdde11e5fefac04d74b70a2da07b980aed766fc3c2ead07d1
MD5 eb44b607c1f557a0e98b58afdb124e8d
BLAKE2b-256 f9f0eece7a86dee8e64bc0a7d162a70265d7ff5920c82b91b2308994e1c27009

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