Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Python-Java bridge (ctypes/cffi-based PyJava)

Project Description

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

jtypes.pyjava

A Python to Java bridge

Overview

jtypes.pyjava is a bridge allowing to use Java classes in regular Python code.

jtypes.pyjava is a lightweight Python Java package, based on the ctypes FFI library.
It is an almost fully compliant implementation of Remi Rampin’s PyJava package by reimplementing whole it’s functionality in a clean Python instead of C/C++.

About PyJava:

Note from the original website:

PyJava – A Python to Java bridge

Description

PyJava is a bridge allowing to use Java classes in regular Python code. It is similar to JPype.

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 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

pip install --upgrade jtypes.pyjava

To ensure everything is running correctly you can run the tests using

python -m jt.pyjava.tests

Prerequisites:

License

Copyright (c) 2015-2017 Adam Karpierz

Licensed under the MIT License
Please refer to the LICENSE file.

Authors

Changelog

0.2.9 (2016-09-24)

  • First alpha release.

0.1.1 (2015-10-05)

  • Initial version.
Release History

Release History

This version
History Node

0.0.15a1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jtypes.pyjava-0.0.15a1.zip (40.5 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting