Skip to main content

A module for k2hdkc from antpickax

Project description

https://img.shields.io/badge/license-MIT-blue.svg https://img.shields.io/pypi/pyversions/k2hdkc.svg https://img.shields.io/github/forks/yahoojapan/k2hdkc_python.svg https://img.shields.io/github/stars/yahoojapan/k2hdkc_python.svg https://img.shields.io/github/issues/yahoojapan/k2hdkc_python.svg https://github.com/yahoojapan/k2hdkc_python/workflows/Python%20package/badge.svg https://readthedocs.org/projects/k2hdkc-python/badge/?version=latest https://img.shields.io/pypi/v/k2hdkc

Overview

k2hdkc_python is an official python driver for k2hdkc.

https://raw.githubusercontent.com/yahoojapan/k2hdkc_python/main/docs/images/top_k2hdkc_python.png

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.

Document top page

About K2HDKC

About AntPickax

Packages

Here are packages including other components.

k2hdkc(python packages)

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


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 hashes)

Uploaded Source

Built Distribution

k2hdkc-1.0.1-py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 3

Supported by

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