A module for k2hdkc from antpickax
Project description
Overview
k2hdkc_python is an official python driver for k2hdkc.
Install
Let’s install k2hdkc using pip:
pip install k2hdkc
Usage
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
Development
Clone this repository and go into the directory, then run the following command:
$ python3 -m pip install --upgrade build $ python3 -m build
Documents
Here are documents including other components.
Packages
Here are packages including other components.
License
MIT License. See the LICENSE file.
AntPickax
k2hdkc_python is a project by AntPickax, which is an open source team in Yahoo Japan Corporation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
k2hdkc-1.0.1.tar.gz
(294.8 kB
view details)
Built Distribution
k2hdkc-1.0.1-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file k2hdkc-1.0.1.tar.gz
.
File metadata
- Download URL: k2hdkc-1.0.1.tar.gz
- Upload date:
- Size: 294.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c999769f25792f2ccfbb2b5518f126fd2243e3f6d957791ed2a0b6da395cb3d |
|
MD5 | 4d554415514ccb1d8d402c2bd0e4272c |
|
BLAKE2b-256 | e778d80a0532ebcf6acb75fa81689758cfd023092b9eb916ee88ba0d02f61976 |
File details
Details for the file k2hdkc-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: k2hdkc-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04ec84a40b57ff1227f8d69f1b8147071ef7c60708bd3cbc8c832caecfafc9b4 |
|
MD5 | 4214851f3679e3660d1aa98eeb7ed6a3 |
|
BLAKE2b-256 | 7c77750362d57231ee85d0fdb479b1a976fe96d4282a075134ba1658004b721a |