Giter Site home page Giter Site logo

jtypes.jcc's Introduction

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

PyPI record.

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:

Borrowed 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 Oracle Java 1.7+, Apple's Java 1.6+ on Mac OS X as well as open source Java OpenJDK 1.7+ builds.

Installation

Prerequisites:

To install run:

python -m pip install --upgrade jtypes.jcc

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

python -m jt.jcc.tests

Development

Visit development page

Installation from sources:

Clone the sources and run:

python -m pip install ./jtypes.jcc

or on development mode:

python -m pip install --editable ./jtypes.jcc

Prerequisites:

  • Development is strictly based on tox. To install it run:

    python -m pip install tox

License

Copyright 2015-2018 Adam Karpierz

Licensed under the Apache License, Version 2.0
http://www.apache.org/licenses/LICENSE-2.0
Please refer to the accompanying LICENSE file.

Authors

jtypes.jcc's People

Contributors

karpierz avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.