Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

Python Client

This is a Python protoclient for connecting to an Infinispan server via Hotrod. Focus is easyness to:

  • install
  • use
  • understand
  • extend

Requirements

  • python3
  • pip3

TODO fill in

Generate the client

It should be as easy as type:

pip3 wheel .

or (if you need to point your OPENSSL root dir)

OPENSSL_ROOT_DIR=/usr/local/opt/openssl

Install the client

sudo pip3 install *.whl

Use the client

An example of client usage is in the test.py script. Run it to check if everything went fine. You need an up and running local Infinispan server ore you'll get a connection error.

python3 test.py

The C++ native libraries are placed by the installation script in /usr/local/lib directory (or in $HOME/.local/lib if installed with --user), so you probably need to help the runtime loader.

LD_LIBRARY_PATH=/usr/local/lib python3 test.py

Uninstall

sudo pip3 uninstall infinispan

About

Native python client for Infinispan, over the Hot Rod wire protocol

Resources

Packages

No packages published
You can’t perform that action at this time.