This release is a pre-release and may not be stable for production use.
Currently only as placeholder (because a base package jtypes.jvm is still in development)
jtypes.jpy
Bi-directional Python-Java bridge.
Overview
jtypes.jpy is a bi-directional bridge between Python and Java which can be use to call Java from Python and Python from Java.
jtypes.jpy is a lightweight Python package, based on the ctypes or cffi library.It is an almost fully compliant implementation of Norman Fomferra’s Jpy package by reimplementing its functionality in a clean Python instead of C.
About Jpy:
Borrowed from the original website:
jpy is a bi-directional Java-Python bridge allowing you to call Java from Python and Python from Java.
jpy is a bi-directional Python-Java bridge which you can use to embed Java code in Python programs or the other way round. It has been designed particularly with regard to maximum data transfer speed between the two languages. It comes with a number of outstanding features:
Fully translates Java class hierarchies to Python
Transparently handles Java method overloading
Support of Java multi-threading
Fast and memory-efficient support of primitive Java array parameters via Python buffers (e.g. numpy arrays)
Support of Java methods that modify primitive Java array parameters (mutable parameters)
Java arrays translate into Python sequence objects
Java API for accessing Python objects (jpy.jar)
Installation
Prerequisites:
Python 2.7 or higher or 3.4 or higher
2.7 and 3.6 are primary test environments.
pip and setuptools
To install run:
python -m pip install --upgrade jtypes.jpy
To ensure everything is running correctly you can run the tests using:
python -m jt.jpy.tests
Development
Visit development page
Installation from sources:
Clone the sources and run:
python -m pip install ./jtypes.jpy
or on development mode:
python -m pip install --editable ./jtypes.jpy
Prerequisites:
Development is strictly based on tox. To install it run:
python -m pip install tox
License
Copyright 2014-2018 Adam KarpierzLicensed under the Apache License, Version 2.0Please refer to the accompanying LICENSE file.
Changelog
0.10.0a3 (2018-11-08)
Synchro with jpy master branch.
Update of the required setuptools version.
Minor setup and tests improvements.
0.9.0a3 (2018-05-23)
Synchro with jpy master branch.
Update of the required setuptools version.
0.9.0a2 (2018-02-26)
Improvement and simplification of setup and packaging.
0.9.0a1 (2018-02-12)
Synchro with the original jpy 0.9.0.
0.9.0a0 (2018-01-29)
Development moved to github.
Version numbering in sync. with the original jpy.
0.0.1 (2005-10-05)
Initial version.
Release files for jtypes.jpy 0.10.0a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jtypes.jpy-0.10.0a3.zip | 370.9 kB | Details |
Release files / jtypes.jpy-0.10.0a3.zip
| Download URL | jtypes.jpy-0.10.0a3.zip |
|---|---|
| Size | 370.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ebe783e4bd78998a7c36398068ca028679c0488cf4b7d5a56a021199011c5b4
|
|
BLAKE2b-256 checksum How to use checksums |
1d23d61fde4ac8c1fea1c42e09f9140c3e98fab7099432514ca0ec5a83740bdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.2 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|