Skip to main content

Run codeskulptor.org programs on the desktop using Qt/PySide2

Project description

simplequi

v1.0.7

Build Status Test Status Documentation Status

PyPI version License: GPL v3

Run codeskulptor.org programs on the desktop using Qt/PySide2

To run an existing codeskulptor script on your local machine, simply import simplequi as simplegui:

import simplequi as simplegui

# The rest of your script goes here unchanged

Nothing else should need changing!

Features

  • Runs codeskulptor.org Python3 scripts using a Qt application
  • The API matches simplegui exactly, so you should be able to run your script exactly as on codeskulptor.org after importing simplequi

Installation

Get simplequi from pip:

pip install simplequi

Or checkout the source code from https://github.com/ArthurGW/simplequi, then run:

pip install -r requirements.txt

Examples

Included in simplequi/examples are various scripts to show simple usages.

After installing simplequi, these can be run for example like this:

python -m simplequi.examples.codeskulptor_default

Known Issues

  • Only supports the simplegui part of the codeskulptor API.
    • Does not support simplemap, simpleplot or other support functions.
    • Support for simplemap and simpleplot is planned in future.
  • Execution happens by the simplequi Qt application running when the Python interpreter is ready to shutdown
    • This can cause problems with some debuggers, but is fine for normal use.
    • Please report any issues you find with this!
  • For now, only supports PySide2/qt-for-python
    • Support for PyQt will hopefully be added in future.

Contribute

Support

If you are having issues, please let us know. The maintainers can be contacted at simplequi.codeskulptor@gmail.com

License

The project is licensed under the GPLv3 license.

OpenSSL

The distribution includes a couple of OpenSSL DLLs, which are necessary for getting images and sounds from HTTPS urls. This encryption may not be allowed in your country, please check local laws. These DLLs may only work on Windows, so you may have to install OpenSSL yourself on other systems.

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/).

See simplequi/resources/ssllib/LICENSE.txt for the full OpenSSL licence details.

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

simplequi-1.0.7.tar.gz (4.0 MB view hashes)

Uploaded Source

Built Distribution

simplequi-1.0.7-py3-none-any.whl (4.1 MB view hashes)

Uploaded Python 3

Supported by

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