A module for k2hash from antpickax
Project description
Overview
k2hash_python is an official python driver for k2hash.
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.
Packages
Here are packages including other components.
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.
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
k2hash-1.0.1.tar.gz
(280.9 kB
view details)
Built Distribution
k2hash-1.0.1-py3-none-any.whl
(17.5 kB
view details)
File details
Details for the file k2hash-1.0.1.tar.gz
.
File metadata
- Download URL: k2hash-1.0.1.tar.gz
- Upload date:
- Size: 280.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdbe16f046c12c775e65a2107c290d13a51106771a9b71982cd7346e588be07b |
|
MD5 | 307217cb51d1a33423cca12bfc830b49 |
|
BLAKE2b-256 | 6171c8156660e8c3101b680e6b53d19b2c8289678265ca769b6f31fae96aa5d0 |
File details
Details for the file k2hash-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: k2hash-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.5 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 | 8dbf1f511dd13afb9909a12eb7be4be563557a3cb600fe82b2b8f0b2ef8d31c6 |
|
MD5 | a531fb0dc726fcb02aec91b9d556bce7 |
|
BLAKE2b-256 | 3c6fcdd662a475283cb7f98f8bfaba2d8a49db60c77047d810bf4f19282403f5 |