Skip to main content

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

drb-driver-java-1.1.0.tar.gz (27.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drb_driver_java-1.1.0-py3-none-any.whl (27.3 MB view details)

Uploaded Python 3

File details

Details for the file drb-driver-java-1.1.0.tar.gz.

File metadata

  • Download URL: drb-driver-java-1.1.0.tar.gz
  • Upload date:
  • Size: 27.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for drb-driver-java-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a9242e63d1a506edbe27ff062cbae9a7ccd8235b8fe484ee1024d399e27a26e6
MD5 569120a61e4848874853a001f32bca66
BLAKE2b-256 a472e3c7bd072bc128892ff20a7d1f8f81f0103476e92ff6553bfa182f6d8ab2

See more details on using hashes here.

File details

Details for the file drb_driver_java-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for drb_driver_java-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7f532d84f3811be0f5b393220a6241c97b1fea7aaeb5eb2a9b0f027ed84e975
MD5 47ba3ef926688446175b842b76bee7de
BLAKE2b-256 c610ec9530b88c0d2d05d5cdbde50621ac02274494decc6e9781e2bafe5fe6b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page