JavaNode Implementation
The drb-impl-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 jip
pip install drb-impl-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.impl.
The implementation name is java.
The factory class is encoded into drb_impl_java.drb_impl_signature.
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-impl-java module shall be referenced into requirements.txt file, or the following pip line can be run:
pip install jip
pip install drb-impl-java
Set eventually environment variable CLASSPATH_ADDON and JAVA_HOME
Release files for drb-impl-java 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| drb-impl-java-1.0.1.tar.gz | 27.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drb_impl_java-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:54.5 MB
Release files / drb-impl-java-1.0.1.tar.gz
| Download URL | drb-impl-java-1.0.1.tar.gz |
|---|---|
| Size | 27.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
712f7f0805b5c5466dfa2597be3f5c2e8890e8ce888788f98da0398377056973
|
|
BLAKE2b-256 checksum How to use checksums |
1e54a44531e15d6efec2588dbfcb439a9a5eb6364526bfd42bfdf8cd6efe85e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/5.0.0 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.15
|
Release files / drb_impl_java-1.0.1-py3-none-any.whl
| Download URL | drb_impl_java-1.0.1-py3-none-any.whl |
|---|---|
| Size | 27.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3683b4bf3fa8cf59560c3487c4136e35ef169fd1c59bb267eaf115ba7e845639
|
|
BLAKE2b-256 checksum How to use checksums |
a6e0cfdd29c91a615622e44c979c8596cecd76917661c994794169df772fd15e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/5.0.0 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.15
|