k2hdkc_python is an official python driver for k2hdkc.
Let's install k2hdkc using pip:
pip install k2hdkc
Firstly you must install the k2hdkc shared library:
$ curl -o- https://raw.github.com/yahoojapan/k2hdkc_python/master/cluster/start_server.sh | bash
Then, Let's try to set a key and get it:
import k2hdkc k = k2hdkc.K2hdkc('slave.yaml') k.set('hello', 'world') v = k.get('hello') print(v) // world
Clone this repository and go into the directory, then run the following command:
$ python3 -m pip install --upgrade build $ python3 -m build
Here are documents including other components.
Here are packages including other components.
MIT License. See the LICENSE file.
k2hdkc_python is a project by AntPickax, which is an open source team in Yahoo Japan Corporation.