Jython

From Wikipedia, the free encyclopedia

Jython
Latest release: 2.1 / December 30, 2001
Preview release: 2.2b1 / Feb 9, 2007
OS: Cross-platform
Platform: Java Virtual Machine
Use: Python Programming Language Interpreter
License: mixed, see #Licence terms
Website: http://www.jython.org

Jython, formerly known as JPython, is an implementation of the Python programming language written in Java. It was originally created by Jim Hugunin.

Contents

[edit] Overview

Jython programs can seamlessly import and use any Java class. Except for some standard modules, Jython programs use Java classes instead of Python modules. Jython includes almost all of the modules in the standard Python programming language distribution, lacking only some of the modules implemented originally in C. For example, a user interface in Jython would be written with Swing, AWT or SWT, rather than with Tkinter. Jython compiles to Java bytecode either on demand or statically.

Jython also includes jythonc, a compiler that converts Python source code into Java bytecode (intermediate language). This allows Python programmers to write classes which can be fully utilized by a Java program.

[edit] License Terms

Jython is released under a mix of three licenses.[1] One is the Python Software Foundation License (v2), which is a free software license. A second is the Jython 2.0, 2.1 license, which is a permissive free software license. The third is the JPython 1.1.x Software License, which appears to also be a permissive free software license, although this is unclear due to the complexity and that neither Free Software Foundation or Open Source Initiative have reviewed and commented on this license.

[edit] History

Jim Hugunin created Jython in late 1997, and he continued to develop it until 1999. In February 1999 Barry Warsaw took over as the primary developer. In October 2000 Jython moved to SourceForge. For a long time, Samuele Pedroni did the most of work maintaining Jython and developing it further. To the end of 2004, Samuele Pedroni stepped down as the primary developer, concentrating his effort to PyPy, but his word is still considered the most authoritive on Jython internals. In January 2005, Brian Zimmer received grant from Python Software Foundation for the purpose of moving Jython forward. In December 2005, Frank Wierzbicki succeeded Brian Zimmer as the primary developer. During 2005, Jython development was still continuing, but the lack of developers with enough knowledge and time was making the progress slow. With more developers, development now seems to progress more steadily [2].

[edit] Status and Roadmap

As of October 2005, the current stable version of Jython is 2.1. The implementation of Jython lags behind CPython implementation.

The current development release is Jython-2.2b1. It includes improvements to Java integration and implements many new features from CPython 2.2 and 2.3. The plan is to release a second Beta before 2.2 release, then target CPython 2.4 or 2.5 for the next release (see Jython Roadmap).

[edit] Related Projects

[edit] External links