{ "info": { "author": "Adam Karpierz", "author_email": "adam@karpierz.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: Polish", "Operating System :: OS Independent", "Programming Language :: Java", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: IronPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: Stackless", "Topic :: Software Development :: Libraries :: Java Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "**Currently only as placeholder (because a base package jtypes.jvm is still in development)**\n\njtypes.py4j\n===========\n\nEnables Python to dynamically access arbitrary Java objects.\n\nOverview\n========\n\n **jtypes.py4j** enables Python programs to dynamically access arbitrary Java objects via\n Java's Native Invocation Interface (JNI).\n\n `PyPI record`_.\n\n | **jtypes.py4j** is a lightweight Python package, based on the *ctypes* or *cffi* library.\n | It is an almost fully compliant implementation of Barthelemy Dagenais's **Py4J** package\n by reimplementing its functionality in a clean Python via JNI instead of Python and\n Java via custom API service.\n\nAbout Py4J:\n-----------\n\nBorrowed from the `original website`_:\n\n **Py4J** enables Python programs running in a Python interpreter to dynamically\n access Java objects in a Java Virtual Machine. Methods are called as if the\n Java objects resided in the Python interpreter and Java collections can be\n accessed through standard Python collection methods. **Py4J** also enables Java\n programs to call back Python objects.\n\n | Here is a brief example of what you can do with **Py4J**.\n | The following Python program creates a java.util.Random instance from a JVM\n and calls some of its methods.\n\n .. code:: python\n\n >>> from py4j.java_gateway import JavaGateway\n >>> gateway = JavaGateway() # connect to the JVM\n >>> random = gateway.jvm.java.util.Random() # create a java.util.Random instance\n >>> number1 = random.nextInt(10) # call the Random.nextInt method\n >>> number2 = random.nextInt(10)\n >>> print(number1,number2)\n (2, 7)\n\nRequirements\n============\n\n- Java Runtime (JRE) or Java Development Kit (JDK), and NumPy.\n\nInstallation\n============\n\nPrerequisites:\n\n+ Python 2.7 or higher or 3.4 or higher\n\n * http://www.python.org/\n * 2.7 and 3.6 are primary test environments.\n\n+ pip and setuptools\n\n * http://pypi.python.org/pypi/pip\n * http://pypi.python.org/pypi/setuptools\n\nTo install run::\n\n python -m pip install --upgrade jtypes.py4j\n\nTo ensure everything is running correctly you can run the tests using::\n\n python -m jt.py4j.tests\n\nDevelopment\n===========\n\nVisit `development page`_\n\nInstallation from sources:\n\nClone the `sources`_ and run::\n\n python -m pip install ./jtypes.py4j\n\nor on development mode::\n\n python -m pip install --editable ./jtypes.py4j\n\nPrerequisites:\n\n+ Development is strictly based on *tox*. To install it run::\n\n python -m pip install tox\n\nLicense\n=======\n\n | Copyright (c) 2015-2018, Adam Karpierz\n |\n | Licensed under the BSD license\n | http://opensource.org/licenses/BSD-3-Clause\n | Please refer to the accompanying LICENSE file.\n\nAuthors\n=======\n\n* Adam Karpierz \n\n.. _PyPI record: https://pypi.python.org/pypi/jtypes.py4j\n.. _original website: https://www.py4j.org\n.. _development page: https://github.com/karpierz/jtypes.py4j\n.. _sources: https://github.com/karpierz/jtypes.py4j\n\nChangelog\n=========\n\n0.10.8a1 (2018-11-08)\n---------------------\n- Synchro with Py4J master branch (v.0.10.8).\n- Update of the required setuptools version.\n- Minor setup and tests improvements.\n\n0.10.7a2 (2018-09-14)\n---------------------\n- Synchro with Py4J master branch (v.0.10.7).\n\n0.10.7a1 (2018-06-15)\n---------------------\n- Synchro with Py4J master branch (v.0.10.7).\n\n0.10.6a4 (2018-05-22)\n---------------------\n- Update of the required setuptools version.\n\n0.10.6a3 (2018-02-26)\n---------------------\n- Improvement and simplification of setup and packaging.\n\n0.10.6a2 (2018-01-29)\n---------------------\n- Development moved to github.\n- Version numbering in sync. with the original Py4J.\n\n0.0.1a1 (2017-01-10)\n--------------------\n- First alpha release.\n\n0.0.1a0 (2015-08-05)\n--------------------\n- Initial version.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "http://pypi.python.org/pypi/jtypes.py4j/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/jtypes.py4j/", "keywords": "jtypes, jt, jpype, jep, pyjnius, jpy, javabridge, pyjava, jcc,,py4j, jython, java, pythonjava", "license": "BSD license", "maintainer": "Adam Karpierz", "maintainer_email": "adam@karpierz.net", "name": "jtypes.py4j", "package_url": "https://pypi.org/project/jtypes.py4j/", "platform": "any", "project_url": "https://pypi.org/project/jtypes.py4j/", "project_urls": { "Download": "http://pypi.python.org/pypi/jtypes.py4j/", "Homepage": "http://pypi.python.org/pypi/jtypes.py4j/" }, "release_url": "https://pypi.org/project/jtypes.py4j/0.10.8a1/", "requires_dist": null, "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "summary": "Enables Python to dynamically access arbitrary Java objects (ctypes/cffi-based Py4J)", "version": "0.10.8a1" }, "last_serial": 5853276, "releases": { "0.10.8a1": [ { "comment_text": "", "digests": { "md5": "077834864d0ff57725183104117da002", "sha256": "a351fe621c86339f560bb48efc61e2699729afa7ea55c28f6c763a9736727cd8" }, "downloads": -1, "filename": "jtypes.py4j-0.10.8a1.zip", "has_sig": false, "md5_digest": "077834864d0ff57725183104117da002", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 646271, "upload_time": "2018-11-13T15:59:36", "url": "https://files.pythonhosted.org/packages/bd/67/9e83b47fb681b7e3343c5a3760b3fd9fa52db67c287ffc2dfd12880ac67f/jtypes.py4j-0.10.8a1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "077834864d0ff57725183104117da002", "sha256": "a351fe621c86339f560bb48efc61e2699729afa7ea55c28f6c763a9736727cd8" }, "downloads": -1, "filename": "jtypes.py4j-0.10.8a1.zip", "has_sig": false, "md5_digest": "077834864d0ff57725183104117da002", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7.0,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", "size": 646271, "upload_time": "2018-11-13T15:59:36", "url": "https://files.pythonhosted.org/packages/bd/67/9e83b47fb681b7e3343c5a3760b3fd9fa52db67c287ffc2dfd12880ac67f/jtypes.py4j-0.10.8a1.zip" } ] }