Skip to main content

Python 3.x package providing a subset 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.

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

Prerequisites

  1. An IDE (Integrated Development Environment) of your choice. Visual Studio Code is recommended if you have no preference.
  2. Python 3.x Installed
  3. A Supported OS: Windows, MacOS, Linux

Installing JES4py

JES4py needs Python 3. Before proceeding, find out how to run Python 3 from the command line on your computer. Usually this is done by typing python or python3 at the command line prompt. You can check your version with python --version or python3 --version.

Ideally you will be able to install JES4py using a single command: use either

python -m pip install -U jes4py

or

python3 -m pip install -U jes4py

If this fails, it is probably due to some missing prerequisites on your system. Study the error message for clues as to what is needed. Trying to install the prerequisite one-by-one may be helpful (using python or python3 as appropriate):

python3 -m pip install -U wxPython
python3 -m pip install -U wave
python3 -m pip install -u simpleaudio

Once these are installed, rerun the command

python3 -m pip install -U jes4py

to install the JES4py package.

Using JES4py

To use JES4py functions in a Python interactive session you should type the following command at the Python prompt.

from jes4py import *

To access JES4py functions in from a Python program, you should include the same line at the top of any file containing a Python program that uses JES4py functions. For example:

from jes4py import *

filename = pickAFile()
print('Hello! You picked the file', filename)

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.1.2.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

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

jes4py-0.1.2-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

Details for the file jes4py-0.1.2.tar.gz.

File metadata

  • Download URL: jes4py-0.1.2.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for jes4py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d5b61ea38cbfae5954af0906a3cb1f30f9f881467a54ea87d148c6a9a13f20b1
MD5 1c74040b46cf21a1a8c97e9d1d2de169
BLAKE2b-256 5a0ce6c42fcd1a064cc0b81317891174d580f0d9e0c95af38a2929353880ef77

See more details on using hashes here.

File details

Details for the file jes4py-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: jes4py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 49.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for jes4py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 29661417eaed014ec85e3e7fba62743fdf6c8dc30e4a18b313a003816a4f97ec
MD5 14f496eeb4694e1c711c0b3fecb239d8
BLAKE2b-256 c060a1a926ce6bdb80a960dc91616b7573ace38304353782f31819816aec22a8

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