a C++ code generator for calling Java from C++/Python
Project description
- For changes since earlier releases, see:
http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES
JCC is a C++ code generator for producing the code necessary to call into Java classes from CPython via Java’s Native Invocation Interface (JNI).
JCC generates C++ wrapper classes that hide all the gory details of JNI access as well Java memory and object reference management.
JCC generates CPython types that make these C++ classes accessible from a Python interpreter. JCC attempts to make these Python types pythonic by detecting iterators and property accessors. Iterators and mappings may also be declared to JCC.
JCC has been built on Python 2.3 to 2.7, on Python 3.6, and has been used with various Java Runtime Environments such as Sun Java 1.5 and 1.6, Apple’s Java 1.5 and 1.6 on Mac OS X, open source Java OpenJDK 1.7 builds as well as Oracle Java 1.7 and 1.8.
JCC is supported on Mac OS X, Linux, Solaris and Windows.
JCC is written in C++ and Python. It uses Java’s reflection API to do its job and needs a Java Runtime Environment to be present to operate.
JCC is built with distutils or setuptools:
python setup.py build sudo python setup.py install
Setuptools is required to build JCC on Python 2.3.
JCC’s setup.py file needs to be edited before building JCC to specify the location of the Java Runtime Environment’s header files and libraries.
- The svn sources for JCC are available at:
- For more information about JCC see:
- JCC comes with an Apache 2.0 copyright license:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file JCC-3.11.tar.gz
.
File metadata
- Download URL: JCC-3.11.tar.gz
- Upload date:
- Size: 187.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6fd1e2919d982845f1a8a37d213f13bcab87b393347b618bf4cb31a7d994739 |
|
MD5 | 51c2ce6d32a23e5a2da1f0760a6cc1ae |
|
BLAKE2b-256 | aa4d09c5d09e844b2ec8b176486ade1390fa3329b938a8ec425a395fd1ea0a88 |