yahoojapan / k2hash_python

K2HASH Python library - NoSQL Key Value Store(KVS) library

Home Page:https://k2hash-python.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k2hash_python

image

image

image

image

image

image

image

image

Overview

k2hash_python is an official python driver for k2hash.

image

Install

Firstly you must install the k2hash shared library:

curl -o- https://raw.github.com/yahoojapan/k2hash_python/master/utils/libk2hash.sh | bash

Then, let's install k2hash using pip:

pip install k2hash

Usage

Try to set a key and get it:

import k2hash

k = k2hash.K2hash('test.k2h')
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 K2HASH

About AntPickax

Packages

Here are packages including other components.

k2hash(python packages)

License

MIT License. See the LICENSE file.

AntPickax

k2hash_python is a project by AntPickax, which is an open source team in Yahoo Japan Corporation.

About

K2HASH Python library - NoSQL Key Value Store(KVS) library

https://k2hash-python.readthedocs.io/

License:MIT License


Languages

Language:Python 94.4%Language:Shell 5.6%