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
- An IDE (Integrated Development Environment) of your choice
- Visual Studio Code is recommended if you have no preference.
- Python 3.x Installed
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jes4py-NickWestcoast-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48830b9c0f1eaaeb97c25937f852ec83fec12b0f50d5ebeb0e2986657363cbe |
|
MD5 | 55c4821cdf3c20f9f8f91608edbaf3ea |
|
BLAKE2b-256 | 0e396e07ac72ebac9511e6c2ce47da996bea84902a6b6bc3eb49625bdc668541 |
Hashes for jes4py_NickWestcoast-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee73ee325054cd076a34bc25478de94ddb4eff9952b0e1d3227b776c1a1b635 |
|
MD5 | 09e02e6ec2fe0acfc7da0505d144e6cc |
|
BLAKE2b-256 | f3ca4e2af270dd893256862071b9542ec6a3e64a12885b4ea0e839a7f4bc2baa |