jtypes.pyjava
=============
A Python to Java bridge.
Overview
========
| |package_bold| is a bridge allowing to use Java classes in regular Python code.
`PyPI record`_.
`Documentation`_.
| |package_bold| is an almost fully compliant implementation of Remi Rampin's
**PyJava** package by reimplementing whole its functionality in a clean Python
instead of C.
| |package_bold| package is closely based on the `jvm`_ and `jni`_ Python packages.
About PyJava:
-------------
Borrowed from the `original website`_:
| **PyJava** is a bridge allowing to use Java classes in regular Python code.
| It is similar to `JPype <http://jpype.sourceforge.net/>`__.
It is a C extension that uses JNI to access a Java virtual machine,
meaning that it can be used anywhere Python is available. It is not
a different interpreter like `Jython <https://www.jython.org/>`__ and does
not require anything, other than a JRE. The JVM dynamic library is load
dynamically through pyjava.start() (some basic logic for locating this
library on major platforms will be provided).
The integration with Java code is meant to be as complete as possible,
allowing to use Java and Python objects seemlessly and converting objects
back and forth when Java code is called. Furthermore, subclassing Java
classes or interfaces in Python code to allow callback from Java is planned
for the 0.2 version.
Please note that this extension is still at a very early stage of
development and probably shouldn't be used for anything.
Requirements
============
- Either the Sun/Oracle JRE/JDK or OpenJDK.
Installation
============
Prerequisites:
+ Python 3.9 or higher
* https://www.python.org/
* Java 11 is a primary test environment.
+ pip and setuptools
* https://pypi.org/project/pip/
* https://pypi.org/project/setuptools/
To install run:
.. parsed-literal::
python -m pip install --upgrade |package|
Development
===========
Prerequisites:
+ Development is strictly based on *tox*. To install it run::
python -m pip install --upgrade tox
Visit `Development page`_.
Installation from sources:
clone the sources:
.. parsed-literal::
git clone |respository| |package|
and run:
.. parsed-literal::
python -m pip install ./|package|
or on development mode:
.. parsed-literal::
python -m pip install --editable ./|package|
License
=======
| |copyright|
| Licensed under the MIT License
| https://opensource.org/license/mit
| Please refer to the accompanying LICENSE file.
Authors
=======
* Adam Karpierz <adam@karpierz.net>
.. |package| replace:: jtypes.pyjava
.. |package_bold| replace:: **jtypes.pyjava**
.. |copyright| replace:: Copyright (c) 2016-2024 Adam Karpierz
.. |respository| replace:: https://github.com/karpierz/jtypes.pyjava.git
.. _Development page: https://github.com/karpierz/jtypes.pyjava
.. _PyPI record: https://pypi.org/project/jtypes.pyjava/
.. _Documentation: https://jtypespyjava.readthedocs.io/
.. _jvm: https://pypi.org/project/jvm/
.. _jni: https://pypi.org/project/jni/
.. _original website: https://github.com/remram44/pyjava/blob/master/README.md
Changelog
=========
0.1.5b8 (2024-11-08)
--------------------
- Add support for Python 3.10, 3.11, 3.12 and 3.13
- Drop support for Python 3.7 and 3.8
- Add support for PyPy 3.9 and 3.10
- Copyright year update.
- Setup update (currently based on pyproject.toml).
- | Tox configuration has been moved to pyproject.toml
| and now based on tox >= 4.0
- Setup (dependencies) update.
0.1.5b6 (2022-01-29)
--------------------
- Drop support for Python 3.6.
- Setup update.
0.1.5b5 (2021-10-16)
--------------------
- dll_path argument of JVM() can also be type os.PathLike.
- Copyright year update.
- Setup update.
0.1.5b2 (2020-11-10)
--------------------
- Fix for exception handling in start(...).
- Add support for Python 3.8 and 3.9.
- Drop support for Python2.
- General update, improvements and cleanup.
- Setup update.
0.1.5a10 (2019-07-10)
---------------------
- Last release for Python2.
0.1.5a9 (2018-11-08)
--------------------
- Update of the required setuptools version.
- Minor setup and tests improvements.
0.1.5a5 (2018-05-22)
--------------------
- Update of the required setuptools version.
0.1.5a4 (2018-02-26)
--------------------
- Improvement and simplification of setup and packaging.
0.1.5a3 (2018-01-29)
--------------------
- Development moved to github.
- General improvements and update.
0.0.16a1 (2017-05-13)
---------------------
0.0.15a2 (2017-01-03)
---------------------
- Next alpha releases.
0.0.10a1 (2016-09-24)
---------------------
- First alpha release.
0.0.1 (2016-01-05)
------------------
- Initial version.
Raw data
{
"_id": null,
"home_page": null,
"name": "jtypes.pyjava",
"maintainer": "Adam Karpierz",
"docs_url": null,
"requires_python": "<4.0.0,>=3.9.0",
"maintainer_email": "adam@karpierz.net",
"keywords": "jni, jvm, jtypes, jt, jpype, jep, pyjnius, jpy, javabridge, pyjava, jcc, py4j, jython, java, pythonjava, rubicon-java",
"author": "Adam Karpierz",
"author_email": "adam@karpierz.net",
"download_url": "https://files.pythonhosted.org/packages/0c/6b/662bf071c3e5254a9cd7e38be1d122d15a17e0eea5fc820ef7b8544c8bfa/jtypes_pyjava-0.1.5b8.zip",
"platform": "any",
"description": "jtypes.pyjava\r\n=============\r\n\r\nA Python to Java bridge.\r\n\r\nOverview\r\n========\r\n\r\n| |package_bold| is a bridge allowing to use Java classes in regular Python code.\r\n\r\n`PyPI record`_.\r\n\r\n`Documentation`_.\r\n\r\n| |package_bold| is an almost fully compliant implementation of Remi Rampin's\r\n **PyJava** package by reimplementing whole its functionality in a clean Python\r\n instead of C.\r\n| |package_bold| package is closely based on the `jvm`_ and `jni`_ Python packages.\r\n\r\nAbout PyJava:\r\n-------------\r\n\r\nBorrowed from the `original website`_:\r\n\r\n| **PyJava** is a bridge allowing to use Java classes in regular Python code.\r\n| It is similar to `JPype <http://jpype.sourceforge.net/>`__.\r\n\r\nIt is a C extension that uses JNI to access a Java virtual machine,\r\nmeaning that it can be used anywhere Python is available. It is not\r\na different interpreter like `Jython <https://www.jython.org/>`__ and does\r\nnot require anything, other than a JRE. The JVM dynamic library is load\r\ndynamically through pyjava.start() (some basic logic for locating this\r\nlibrary on major platforms will be provided).\r\n\r\nThe integration with Java code is meant to be as complete as possible,\r\nallowing to use Java and Python objects seemlessly and converting objects\r\nback and forth when Java code is called. Furthermore, subclassing Java\r\nclasses or interfaces in Python code to allow callback from Java is planned\r\nfor the 0.2 version.\r\n\r\nPlease note that this extension is still at a very early stage of\r\ndevelopment and probably shouldn't be used for anything.\r\n\r\nRequirements\r\n============\r\n\r\n- Either the Sun/Oracle JRE/JDK or OpenJDK.\r\n\r\nInstallation\r\n============\r\n\r\nPrerequisites:\r\n\r\n+ Python 3.9 or higher\r\n\r\n * https://www.python.org/\r\n * Java 11 is a primary test environment.\r\n\r\n+ pip and setuptools\r\n\r\n * https://pypi.org/project/pip/\r\n * https://pypi.org/project/setuptools/\r\n\r\nTo install run:\r\n\r\n .. parsed-literal::\r\n\r\n python -m pip install --upgrade |package|\r\n\r\nDevelopment\r\n===========\r\n\r\nPrerequisites:\r\n\r\n+ Development is strictly based on *tox*. To install it run::\r\n\r\n python -m pip install --upgrade tox\r\n\r\nVisit `Development page`_.\r\n\r\nInstallation from sources:\r\n\r\nclone the sources:\r\n\r\n .. parsed-literal::\r\n\r\n git clone |respository| |package|\r\n\r\nand run:\r\n\r\n .. parsed-literal::\r\n\r\n python -m pip install ./|package|\r\n\r\nor on development mode:\r\n\r\n .. parsed-literal::\r\n\r\n python -m pip install --editable ./|package|\r\n\r\nLicense\r\n=======\r\n\r\n | |copyright|\r\n | Licensed under the MIT License\r\n | https://opensource.org/license/mit\r\n | Please refer to the accompanying LICENSE file.\r\n\r\nAuthors\r\n=======\r\n\r\n* Adam Karpierz <adam@karpierz.net>\r\n\r\n.. |package| replace:: jtypes.pyjava\r\n.. |package_bold| replace:: **jtypes.pyjava**\r\n.. |copyright| replace:: Copyright (c) 2016-2024 Adam Karpierz\r\n.. |respository| replace:: https://github.com/karpierz/jtypes.pyjava.git\r\n.. _Development page: https://github.com/karpierz/jtypes.pyjava\r\n.. _PyPI record: https://pypi.org/project/jtypes.pyjava/\r\n.. _Documentation: https://jtypespyjava.readthedocs.io/\r\n.. _jvm: https://pypi.org/project/jvm/\r\n.. _jni: https://pypi.org/project/jni/\r\n.. _original website: https://github.com/remram44/pyjava/blob/master/README.md\r\n\r\nChangelog\r\n=========\r\n\r\n0.1.5b8 (2024-11-08)\r\n--------------------\r\n- Add support for Python 3.10, 3.11, 3.12 and 3.13\r\n- Drop support for Python 3.7 and 3.8\r\n- Add support for PyPy 3.9 and 3.10\r\n- Copyright year update.\r\n- Setup update (currently based on pyproject.toml).\r\n- | Tox configuration has been moved to pyproject.toml\r\n | and now based on tox >= 4.0\r\n- Setup (dependencies) update.\r\n\r\n0.1.5b6 (2022-01-29)\r\n--------------------\r\n- Drop support for Python 3.6.\r\n- Setup update.\r\n\r\n0.1.5b5 (2021-10-16)\r\n--------------------\r\n- dll_path argument of JVM() can also be type os.PathLike.\r\n- Copyright year update.\r\n- Setup update.\r\n\r\n0.1.5b2 (2020-11-10)\r\n--------------------\r\n- Fix for exception handling in start(...).\r\n- Add support for Python 3.8 and 3.9.\r\n- Drop support for Python2.\r\n- General update, improvements and cleanup.\r\n- Setup update.\r\n\r\n0.1.5a10 (2019-07-10)\r\n---------------------\r\n- Last release for Python2.\r\n\r\n0.1.5a9 (2018-11-08)\r\n--------------------\r\n- Update of the required setuptools version.\r\n- Minor setup and tests improvements.\r\n\r\n0.1.5a5 (2018-05-22)\r\n--------------------\r\n- Update of the required setuptools version.\r\n\r\n0.1.5a4 (2018-02-26)\r\n--------------------\r\n- Improvement and simplification of setup and packaging.\r\n\r\n0.1.5a3 (2018-01-29)\r\n--------------------\r\n- Development moved to github.\r\n- General improvements and update.\r\n\r\n0.0.16a1 (2017-05-13)\r\n---------------------\r\n0.0.15a2 (2017-01-03)\r\n---------------------\r\n- Next alpha releases.\r\n\r\n0.0.10a1 (2016-09-24)\r\n---------------------\r\n- First alpha release.\r\n\r\n0.0.1 (2016-01-05)\r\n------------------\r\n- Initial version.\r\n",
"bugtrack_url": null,
"license": "MIT License ; https://opensource.org/license/mit",
"summary": "A Python to Java bridge (ctypes/cffi-based PyJava).",
"version": "0.1.5b8",
"project_urls": {
"Documentation": "https://jtypespyjava.readthedocs.io/",
"Download": "https://pypi.org/project/jtypes.pyjava/",
"Homepage": "https://pypi.org/project/jtypes.pyjava/",
"Issues": "https://github.com/karpierz/jtypes.pyjava/issues",
"Source": "https://github.com/karpierz/jtypes.pyjava"
},
"split_keywords": [
"jni",
" jvm",
" jtypes",
" jt",
" jpype",
" jep",
" pyjnius",
" jpy",
" javabridge",
" pyjava",
" jcc",
" py4j",
" jython",
" java",
" pythonjava",
" rubicon-java"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fe88e3504796fc0d7b46bb2ff3eafb54610d388c07a7ac8c5414b31b9c0aa44d",
"md5": "d2c5bd69891be8c3ef911a6780d76223",
"sha256": "d6c4134f54edb2397cbb5aee71e210e286751dd65ed16c8394c945a500b886d3"
},
"downloads": -1,
"filename": "jtypes.pyjava-0.1.5b8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d2c5bd69891be8c3ef911a6780d76223",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.9.0",
"size": 33937,
"upload_time": "2024-11-08T15:31:57",
"upload_time_iso_8601": "2024-11-08T15:31:57.846287Z",
"url": "https://files.pythonhosted.org/packages/fe/88/e3504796fc0d7b46bb2ff3eafb54610d388c07a7ac8c5414b31b9c0aa44d/jtypes.pyjava-0.1.5b8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0c6b662bf071c3e5254a9cd7e38be1d122d15a17e0eea5fc820ef7b8544c8bfa",
"md5": "9192f0bcc3760fb3940d82336fa9209c",
"sha256": "c44a7851ec1d128526e3afd8e29b6c6400c0c5ce1b3f0d8225cc0280e00c1094"
},
"downloads": -1,
"filename": "jtypes_pyjava-0.1.5b8.zip",
"has_sig": false,
"md5_digest": "9192f0bcc3760fb3940d82336fa9209c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.9.0",
"size": 66265,
"upload_time": "2024-11-08T15:32:01",
"upload_time_iso_8601": "2024-11-08T15:32:01.144589Z",
"url": "https://files.pythonhosted.org/packages/0c/6b/662bf071c3e5254a9cd7e38be1d122d15a17e0eea5fc820ef7b8544c8bfa/jtypes_pyjava-0.1.5b8.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 15:32:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "karpierz",
"github_project": "jtypes.pyjava",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "jtypes.pyjava"
}