Jython: Python for the Java Platform

The Jython Project

Latest News

Jython 2.7.0 Final Released (May 2015)

Please see the NEWS file for detailed release notes.

Read more on Frank Wierzbickis Weblog.

Jython 2.7 Release Candidate 3 Released (April 2015)

Please see the NEWS file for detailed release notes.

Read more on Frank Wierzbickis Weblog.

Jython 2.7 PyCon 2015 Talk (April 2015)

Jim Baker gave a talk at PyCon 2015 in Montreal about how we got to Jython 2.7 and what's coming next.

Jython 2.7 Release Candidate 2 Released (April 2015)

Please see the NEWS file for detailed release notes.

Read more on Frank Wierzbickis Weblog.

Jython 2.7 Release Candidate 1 Released (March 2015)

Read more on Frank Wierzbickis Weblog.

Jython 2.7 Beta 4 Released (February 2015)

Please see the NEWS file for detailed release notes.

Read more on Frank Wierzbickis Weblog.

Jython 2.7 Beta 3 Released (August 2014)

Please see the NEWS file for detailed release notes.

Read more on Frank Wierzbickis Weblog.

Jython 2.7 Beta 2 Released (May 2013)

Jython 2.7b2 brings us up to language level compatibility with the 2.7 version of CPython. We have focused largely on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release. Please see the NEWS file for detailed release notes. This is primarily a bugfix release, with numerous improvements, including much improvement on Windows support.

Read more on Frank Wierzbickis Weblog

PyDev 3.4.1 Available (May 2013)

Please visit the PyDev Site for more information.

PyDev 3.0 Released (November 2013)

From now on, PyDev requires Eclipse 3.7 or 4.3 onwards and Java 7! For older versions, keep using PyDev 2.x.

Interpreter is now kept up to date with changes to the interpreter, so, pip-installing packages will automatically update internal caches without requiring a manual step.

Fixed issue connecting to shell for code-completion (which could halt the IDE). Please visit the PyDev Site for more information.

JyNI 2.7-alpha 2 Released (October 2013)

JyNI is a compatibility layer with the goal to enable Jython to use native CPython extensions like NumPy or SciPy. This way we aim to enable scientific Python code to run on Jython. Since Java is rather present in industry, while Python is more present in science, JyNI is an important step to lower the cost of using scientific code in industrial environments.

Our philosophy is to integrate JyNI with Jython and CPython extensions as seamless as possible. So JyNI aims to work without any recompilation of Jython or the desired CPython extensions. It neither requires a customized Jython version, nor customized versions of the CPython extensions (of course your JyNI version must meet the platform your CPython extension was build for). Simply put JyNI.jar on the classpath (along with its native libraries) and Jython should �magically� be able to load native extensions, as far as the needed Python C-API is already implemented by JyNI.

Read More at JyNI.org

Jython 2.5.4rc 1 Has Been Released (February 10, 2013)

This release fixes numerous bugs since the 2.5.3 release of Jython. Some highlights include:

-The file upload fix for Tomcat and Jetty has been changed

-Some NullPointerExceptions where fixed.

For more information, see the Release Notes.

Jython 2.7beta 1 Has Been Released (February 10, 2013)

The Jython development team is proud to announce the 2.7beta 1 release! Jython 2.7b1 brings us up to language level compatibility with the 2.7 version of CPython. We have focused largely on CPython compatibility, and so this release of Jython can run more pure Python apps then any previous release.

Some notable new features in this release are: a bytearray implementation, a buffer api, memoryview, and a bz2 module. Please see the Release Notes for detailed release notes.

Jython 2.5.3 Final Has Been Released (August 13, 2012)

The Jython development team is proud to announce the final 2.5.3 release! For a complete listing of changes, please visit the Release Notes.

Latest Blogs and Interesting Stuff

Jython 101 - A Refreshing Look at a Mature Alternative - Part 2 (May/June 2013)

Article covering the integration of Jython and Java - Part 2 of 2

Read Jython 101 - Part 2

Jython 101 - A Refreshing Look at a Mature Alternative (March/April 2013)

Article on Jython that was published in Java Magazine - Part 1 of 2

Read Jython 101 - Part 1

Customizing Jython ProxyMaker (Wednesday, January 9, 2013)

I just got a set of patches under "Customizable ProxyMaker" umbrella committed into Jython 2.7. In this post i will try to explain a bit of what Jython's ProxyMaker is and what benefits the ability to customize/override brings for interop with Java.

Visit Post: Customizing ProxyMaker

Jython Dev Notes Part 2: Adding a New Builtin Type (Monday February 13, 2012)

Releases of Python (and so releases of Jython) sometimes add new built-in types. In 2.6, a new such buitin is the "bytes" type. In the 2.x series, "bytes" is just a synonym for "str". In 3.x "bytes" is the name used for 8 bit strings while "str" is a unicode string (and so the "unicode" type disappears in 3.x). This will make it a great example for adding a builtin since there is no added functionality to obscure the basics. Visit Post - Jython Dev Notes Part 2

Jython Dev Notes Part 1: The Jython Exposer (Monday January 2, 2012)

One of my new years resolutions is to make Jython more friendly to new developers. One way to do that is to write up some notes on bits of Jython that are particularly mysterious to newcomers. I've boldly titled this post "Jython dev notes part I" to push myself to create more than one of these :) Visit Post - Jython Dev Notes Part 1

The Definitive Guide to Jython is Published (February 6, 2010)

The Definitive Guide to Jython , written by the official Jython team leads, covers the latest Jython 2.5 (or 2.5.x) from the basics to the advanced features. This book begins with a brief introduction to the language and then journeys through Jythons different features and uses.

The Definitive Guide to Jython is organized for beginners as well as advanced users of the language. The book provides a general overview of the Jython language itself, but it also includes intermediate and advanced topics regarding database, web, and GUI applications; frameworks; and integration, concurrency, and parallelism, to name a few.

This book is available in open-source format at jythonbook.com.

Websphere Application Server Administration Using Jython (January 30, 2010)

Utilizing Jython scripting, you can dramatically reduce the effort, resources, and expense associated with managing WebSphere Application Server. WebSphere Application Server Administration Using Jython will show you how. Read more about it at ibmpressbooks.com today.

Project Sikuli Released (January 28, 2010)

Sikuli is a visual technology to search and automate graphical user interfaces (GUI) using images (screenshots). The first release of Sikuli contains Sikuli Script, a visual scripting API for Jython, and Sikuli IDE, an integrated development environment for writing visual scripts with screenshots easily. Sikuli Script automates anything you see on the screen without internal API's support. You can programmatically control a web page, a desktop application running on Windows/Linux/Mac OS X, or even an iphone application running in an emulator. For more information, please visit the Sikuli project site.

Jython Doc Set Updated (November 08, 2009)

The Jython documentation set has been updated to include all modules contained within the Jython standard library. However, it should be noted that this is still a work in progress since many of these documents have not yet been parsed and tested completely with Jython 2.5.1. Stay tuned for more updates on the doc set!

Please report all found bugs to the jython bug tracker.

Jython 2.5 Documentation

The documentation for Jython 2.5 is being developed on our wiki. Please help Jython by adding content and updating our wiki. As the content matures for 2.5 it will be pulled back into this website.

You may also wish to check the jython-users mailing list archives as many questions and answers can be found there.