Skip to main content

A python package implementing part of JES's media functionality

Project description

jes4py - a JES emulator for Python 3

JES, the Jython Environment for Students, is an educational IDE used in the Media Computation curriculum developed by Mark Guzdial and Barbara Ericson at Georgia Tech. More details on the curriculum are available at http://www.mediacomputation.org/.

Jython is a Java implementation of Python 2.x and was designed to allow rapid application development and scripting access to Java functionality.

The jes4py implements a subset of JES features that can be used in Python 3.x scripts. The goal is to provide the pedogocial assets of JES without requiring Jython or needing to use JES's IDE.

Prerequisites

  1. An IDE (Integrated Development Environment) of your choice
  2. Python 3.x Installed
  3. A Supported OS: Windows, Linux, macOS

Installation of Dependencies

Several dependencies need to be installed before you can use jes4py:

  • PIL (the Python Image Library) or Pillow (an updated fork of PIL)
  • wxPython (GUI toolkit for the Python language)
  • Simpleaudio (Audio toolkit for Python 3)

Instructions to do this are OS-dependent:

Windows

Note: The pip and python command may vary between platforms and Python versions. Substitute the correct one for usages in these examples. Some possible variants are: python, python3, pip, pip3 and pip3.x

The following Python packages must be installed:

Simpleaudio

pip install simpleaudio

wxPython

pip install -U wxPython

Pillow (PIL: the Python Imaging Library)

  • (This normally comes with wxPython so you should not need to install it separately)

Mac OS-X

Note: The pip and python command may vary between platforms and Python versions. Substitute the correct one for usages in these examples. Some possible variants are: python, python3, pip, pip3 and pip3.x

Simpleaudio

pip install simpleaudio

wxPython

pip install -U wxPython

Pillow (PIL: the Python Imaging Library)

  • (This normally comes with wxPython so you should not need to install it separately)

Linux

Note: The pip and python command may vary between platforms and Python versions. Substitute the correct one for usages in these examples. Some possible variants are: python, python3, pip, pip3 and pip3.x

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade simpleaudio
python3 -m pip install --upgrade wx
python3 -m pip install --upgrade Pillow

Using jes4py

Users should include the following line at a Python 3.x command prompt or in a Python 3.x script to make use of JES functions"

from jes4py import *

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

jes4py-0.0.3.tar.gz (32.1 kB view hashes)

Uploaded Source

Built Distribution

jes4py-0.0.3-py3-none-any.whl (35.3 kB 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