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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file simplequi-1.0.7.tar.gz.

File metadata

  • Download URL: simplequi-1.0.7.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

File hashes

Hashes for simplequi-1.0.7.tar.gz
Algorithm Hash digest
SHA256 22f2be6a86c4ea196e87281ea8bf51479faaf6b4f7289d0a7cde98629a717d42
MD5 4f9af740b9ddae9dd582775c40c3b726
BLAKE2b-256 6ec19971ed2bcfb08adb4a933d830d363bc25ff84e081e72f174dba272ea8dfc

See more details on using hashes here.

File details

Details for the file simplequi-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: simplequi-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

File hashes

Hashes for simplequi-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d530d4051bb3b75470e287b5e19c0d8ce788531c13d5590ff15eaf4ae732bc2c
MD5 918886dca4be46c31789b4b5ccbdf840
BLAKE2b-256 86d37f95b4b9230171b71828ae3b157109eb3cc05dddd91949f4992f9df8cbc8

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