Giter VIP home page Giter VIP logo

k2hash_python's Introduction

k2hash_python

https://readthedocs.org/projects/k2hash-python/badge/?version=latest https://img.shields.io/pypi/v/k2hash

Overview

k2hash_python is an official python driver for k2hash.

https://raw.githubusercontent.com/yahoojapan/k2hash_python/main/docs/images/top_k2hash_python.png

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.

k2hash_python's People

Contributors

hiwakaba avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.