请输入您要查询的百科知识:

 

词条 Jython
释义

  1. Overview

  2. History

  3. Status and roadmap

  4. License terms

  5. Usage

  6. See also

  7. References

  8. External links

{{Infobox software
| name = Jython
| logo = Jython.png
| logo size = 100px
| logo alt = Jython Logo
| screenshot =
| caption =
| developer =
| released = {{Start date and age|2001|01|17}}[1]
| latest release version = 2.7.1
| latest release date = {{Start date and age|2017|07|01}}[2]
| operating system = Cross-platform
| platform = Java Virtual Machine
| programming language = Python and Java
| genre = Python Programming Language Interpreter
| license = Python Software Foundation License (for older releases see License terms)
| website = {{Official URL}}
}}Jython is an implementation of the Python programming language designed to run on the Java platform. The implementation was formerly known as JPython until 1999.[3]

Overview

Jython programs can 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 could be written with Swing, AWT or SWT. Jython compiles to Java bytecode (intermediate language) either on demand or statically.

History

Jython was initially created in late 1997 to replace C with Java for performance-intensive code accessed by Python programs, moving to SourceForge in October 2000. The Python Software Foundation awarded a grant in January 2005. Jython 2.5 was released in June 2009.[4]

Status and roadmap

The most recent release is Jython 2.7.1. It was released on 1 July 2017 and is compatible with Python 2.7.[5]

Although Jython implements the Python language specification, it has some differences and incompatibilities with CPython, which is the reference implementation of Python.[6][7]

License terms

From version 2.2 on, Jython (including the standard library) is released under the Python Software Foundation License (v2). Older versions are covered by the Jython 2.0, 2.1 license and the JPython 1.1.x Software License.[8]

The command line interpreter is available under the Apache Software License.

Usage

  • JBoss Application Server's command line interface scripting using Jython
  • Oracle Weblogic Server Scripting Tool uses Jython
  • IBM Rational development tools allow Jython scripting
  • IBM WebSphere Application Server tool scripting with wsadmin allows using Jython and Jacl
  • ZK – a Java Ajax framework that allows glue logic written in Jython
  • [https://atlaswww.hep.anl.gov/asc/jas4pp/ Jas4pp] – Analysis Studio for Particle Physics
  • [https://jwork.org/dmelt DataMelt] – Environment for numeric computation and statistics and data visualization.

See also

{{Portal|Computer programming|Free and open-source software|Java (programming language)}}
  • List of Java scripting languages
  • IronPython – an implementation of Python for .NET and Mono
  • PyPy – a self-hosting interpreter for the Python programming language.

References

1. ^{{cite web |url = https://hg.python.org/jython/file/tip/NEWS |title = jython: 3d8067c56a1d NEWS |date = 2015-03-22 |accessdate = 2015-03-28 |first1 = Frank |last1 = Wierzbicki}}
2. ^ {{cite web |url = http://fwierzbicki.blogspot.ru/2017/07/jython-271-final-released.html |title = Jython 2.7.1 final released! |website = Frank Wierzbicki's Weblog |first = Frank |last = Wierzbicki |date = 2017-07-01 |accessdate = 2015-07-14}}
3. ^ {{cite web |url = https://wiki.python.org/jython/JythonFaq/GeneralInfo |title = JythonFaq/GeneralInfo - JythonWiki |date = 2014-04-03 |accessdate = 2015-03-28}}
4. ^{{cite web|url=http://fwierzbicki.blogspot.com/2009/06/jython-250-final-is-out.html|title=Jython 2.5.0 Final is out!|date=2009-06-16|accessdate=2009-07-02|last=Wierzbicki|first=Frank}}
5. ^{{Cite web |url=http://www.jython.org/downloads.html |title=Release versions}}As of now the official website states that the stable version is 2.7.0I want to challenge this edit.
6. ^{{cite web| url=https://wiki.python.org/jython/JythonFaq/GeneralInfo#IsJythonthesamelanguageasPython.3F| title=JythonFaq|publisher=Jython's project| accessdate=2009-07-05}}
7. ^{{cite web| url=http://jython.sourceforge.net/archive/21/docs/differences.html| title=Differences between CPython and Jython| publisher=Jython's project| accessdate=2009-07-05}}
8. ^{{cite web| url=http://www.jython.org/Project/license.html| title=The Jython License|publisher=Jython's project| accessdate=2008-02-09}}

External links

  • {{Official website}}
{{Python (programming language)}}{{Java (Sun)}}{{Use dmy dates|date=March 2017}}

5 : JVM programming languages|Object-oriented programming languages|Python implementations|Scripting languages|Software using the PSF license

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 22:25:10