Skip to main content

k2hdkc_python

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.

Metadata

Release files for k2hdkc 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for k2hdkc 1.0.1
File Size Uploaded
k2hdkc-1.0.1.tar.gz 294.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for k2hdkc 1.0.1
File Interpreter ABI Platform
k2hdkc-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 306.5 kB

Release files / k2hdkc-1.0.1.tar.gz

Download URL k2hdkc-1.0.1.tar.gz
Size 294.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3c999769f25792f2ccfbb2b5518f126fd2243e3f6d957791ed2a0b6da395cb3d
BLAKE2b-256 checksum
How to use checksums
e778d80a0532ebcf6acb75fa81689758cfd023092b9eb916ee88ba0d02f61976
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / k2hdkc-1.0.1-py3-none-any.whl

Download URL k2hdkc-1.0.1-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04ec84a40b57ff1227f8d69f1b8147071ef7c60708bd3cbc8c832caecfafc9b4
BLAKE2b-256 checksum
How to use checksums
7c77750362d57231ee85d0fdb479b1a976fe96d4282a075134ba1658004b721a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page