DRB java driver
Project description
JavaNode driver
The drb-driver-java python module aims to wrap Java version of DRB model. It is able to navigates among java nodes content.
See documentation for details.
Library usage
Java must be present in the system
Normally if java is correctly installed, the JAVA_HOME
environment variable is set
You can check it by command line below
echo $JAVA_HOME
Installing this library with execute the following in a terminal
pip install drb-driver-java
If you want add schema or addon you have eventually CLASSPATH_ADDON
to define
export CLASSPATH_ADDON=/path_addon_one/*;
Java Factory and Java Node
The module implements the basic factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.
The entry point group reference is drb.driver
.
The driver name is java
.
The factory class DrbJavaFactory
is encoded into drb.drivers.factory
The java factory creates a JavaNode from an existing java content. It uses a base node to access the content data using a streamed implementation from the base node.
The base node can be a DrbFileNode, DrbHttpNode, DrbTarNode or any other nodes able to provide streamed (BufferedIOBase
, RawIOBase
, IO
) java content.
limitations
The current version does not manage child modification and insertion. JavaNode is currently read only.
Using this module
To include this module into your project, the drb-driver-java
module shall be referenced into requirements.txt
file, or the following pip line can be run:
pip install drb-driver-java
Set eventually environment variable CLASSPATH_ADDON
and JAVA_HOME
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for drb_driver_java-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34b572fdcee2b639c65b10b273ba7bf2ad9e22cb6a8cfac14587fff5c7db4d73 |
|
MD5 | 604b02be4e64f0de5b12474ddd27448b |
|
BLAKE2b-256 | 78a840967bff85ba708e6fb63eec25157e9b67bfc5f8c23051426ba61ffcd343 |