Skip to main content
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!

PyLucene's Python to Java bridge (ctypes/cffi-based JCC)

Project Description

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

jtypes.jcc

PyLucene’s Python to Java bridge.

Overview

jtypes.jcc provides a bridge necessary to call into Java classes from Python via Java’s Native Invocation Interface (JNI).

jtypes.jcc is a lightweight Python package, based on the ctypes or cffi library.
It is an almost fully compliant implementation of PyLucene’s JCC package by reimplementing its functionality in a clean Python instead of C++.

About JCC:

Note from the original website:

What is JCC ?

JCC is a C++ code generator that produces a C++ object interface wrapping a Java library via Java’s Native Interface (JNI). JCC also generates C++ wrappers that conform to Python’s C type system making the instances of Java classes directly available to a Python interpreter. …

JCC is a Python extension written in Python and C++. It requires a Java Runtime Environment (JRE) to operate as it uses Java’s reflection APIs to do its work.

Requirements

  • Various Java Runtime Environments such as Sun Java 1.6+, Apple’s Java 1.6+ on Mac OS X, open source Java OpenJDK 1.7+ builds as well as Oracle Java 1.7+.

Installation

pip install --upgrade jtypes.jcc

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

python -m jt.jcc.tests

Prerequisites:

License

Copyright 2015-2017 Adam Karpierz

Licensed under the Apache License, Version 2.0
Please refer to the LICENSE file.

Authors

Changelog

2.22.0a0 (2017-01-01)

  • Initial version.

2.21.0a0 (2015-10-14)

  • Initial version.
Release History

Release History

This version
History Node

2.22.0a0

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.jcc-2.22.0a0.zip (18.1 kB) Copy SHA256 Checksum SHA256 Source Jan 3, 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