jtypes.jython 0.0.3a3

Creator: bradpython12

Last updated:

Add to Cart

Description:

jtypes.jython 0.0.3a3

Currently only as placeholder (because a base package jtypes.jvm is still in development)

jtypes.jython
Java Embedded Python.


Overview


jtypes.jython embeds CPython in Java.
It is safe to use in a heavily threaded environment.

PyPI record.

jtypes.jython is a Python Java package, based on the ctypes or cffi library.
It is an implementation of substantial part of Jython Java bridge and API
by reimplementing its functionality and in a clean CPython.



About Jython:
Borrowed from the original website:

What is Jython?
Jython is an implementation of the high-level, dynamic, object-oriented language
Python seamlessly integrated with the Java platform. The predecessor to Jython, JPython,
is certified as 100% Pure Java. Jython is freely available for both commercial and
non-commercial use and is distributed with source code. Jython is complementary to Java
and is especially suited for the following tasks:
Embedded scripting - Java programmers can add the Jython libraries to their system
to allow end users to write simple or complicated scripts that add functionality to the
application. Interactive experimentation - Jython provides an interactive interpreter
that can be used to interact with Java packages or with running Java applications.
This allows programmers to experiment and debug any Java system using Jython.
Rapid application development - Python programs are typically 2-10X shorter than the
equivalent Java program. This translates directly to increased programmer productivity.
The seamless interaction between Python and Java allows developers to freely mix the two
languages both during development and in shipping products.




Requirements

Java >= 1.7 - either the Sun/Oracle JRE/JDK or OpenJDK.
Numpy (optional) >= 1.5 (numpy >= 1.7 recommended)



Installation
Prerequisites:

Python 2.7 or higher or 3.4 or higher

http://www.python.org/
2.7 and 3.6 are primary test environments.


pip and setuptools

http://pypi.python.org/pypi/pip
http://pypi.python.org/pypi/setuptools



To install run:
python -m pip install --upgrade jtypes.jython
To ensure everything is running correctly you can run the tests using:
python -m jt.jython.tests


Development
Visit development page
Installation from sources:
Clone the sources and run:
python -m pip install ./jtypes.jython
or on development mode:
python -m pip install --editable ./jtypes.jython
Prerequisites:

Development is strictly based on tox. To install it run:
python -m pip install tox




License


Copyright 2015-2018 Adam Karpierz

Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
Please refer to the accompanying LICENSE file.




Authors

Adam Karpierz <adam@karpierz.net>



Changelog

0.0.3a3 (2018-11-08)

Update of the required setuptools version.
Minor setup and tests improvements.



0.0.3a0 (2018-05-22)

Update of the required setuptools version.



0.0.2a0 (2018-02-26)

Improvement and simplification of setup and packaging.



0.0.1a0 (2018-01-29)

Development moved to github.



0.0.0 (2013-10-05)

Initial version.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.