==============
k2hdkc_python
==============
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://github.com/yahoojapan/k2hdkc_python/blob/master/LICENSE
.. image:: https://img.shields.io/pypi/pyversions/k2hdkc.svg
:target: https://pypi.python.org/pypi/k2hdkc
.. image:: https://img.shields.io/github/forks/yahoojapan/k2hdkc_python.svg
:target: https://github.com/yahoojapan/k2hdkc_python/network
.. image:: https://img.shields.io/github/stars/yahoojapan/k2hdkc_python.svg
:target: https://github.com/yahoojapan/k2hdkc_python/stargazers
.. image:: https://img.shields.io/github/issues/yahoojapan/k2hdkc_python.svg
:target: https://github.com/yahoojapan/k2hdkc_python/issues
.. image:: https://github.com/yahoojapan/k2hdkc_python/workflows/Python%20package/badge.svg
:target: https://github.com/yahoojapan/k2hdkc_python/actions
.. image:: https://readthedocs.org/projects/k2hdkc-python/badge/?version=latest
:target: https://k2hdkc-python.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/pypi/v/k2hdkc
:target: https://pypi.org/project/k2hdkc/
Overview
---------
k2hdkc_python is an official python driver for `k2hdkc`_.
.. _`k2hdkc`: https://k2hdkc.antpick.ax/
.. image:: 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`_
.. _`Document top page`: https://k2hdkc-python.readthedocs.io/
.. _`ドキュメントトップ`: https://k2hdkc-python.readthedocs.io/
.. _`About K2HDKC`: https://k2hdkc.antpick.ax/
.. _`K2HDKCについて`: https://k2hdkc.antpick.ax/
.. _`About AntPickax`: https://antpick.ax
.. _`AntPickaxについて`: https://antpick.ax
Packages
--------
Here are packages including other components.
`k2hdkc(python packages)`_
.. _`k2hdkc(python packages)`: https://pypi.org/project/k2hdkc/
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`_.
.. _AntPickax: https://antpick.ax/
.. _`Yahoo Japan Corporation`: https://about.yahoo.co.jp/info/en/company/
Raw data
{
"_id": null,
"home_page": "https://github.com/yahoojapan/k2hdkc_python",
"name": "k2hdkc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Hirotaka Wakabayashi",
"author_email": "hiwakaba@yahoo-corp.jp",
"download_url": "https://files.pythonhosted.org/packages/e7/78/d80a0532ebcf6acb75fa81689758cfd023092b9eb916ee88ba0d02f61976/k2hdkc-1.0.1.tar.gz",
"platform": null,
"description": "==============\nk2hdkc_python\n==============\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg\n :target: https://github.com/yahoojapan/k2hdkc_python/blob/master/LICENSE\n.. image:: https://img.shields.io/pypi/pyversions/k2hdkc.svg\n :target: https://pypi.python.org/pypi/k2hdkc\n.. image:: https://img.shields.io/github/forks/yahoojapan/k2hdkc_python.svg\n :target: https://github.com/yahoojapan/k2hdkc_python/network\n.. image:: https://img.shields.io/github/stars/yahoojapan/k2hdkc_python.svg\n :target: https://github.com/yahoojapan/k2hdkc_python/stargazers\n.. image:: https://img.shields.io/github/issues/yahoojapan/k2hdkc_python.svg\n :target: https://github.com/yahoojapan/k2hdkc_python/issues\n.. image:: https://github.com/yahoojapan/k2hdkc_python/workflows/Python%20package/badge.svg\n :target: https://github.com/yahoojapan/k2hdkc_python/actions\n.. image:: https://readthedocs.org/projects/k2hdkc-python/badge/?version=latest\n :target: https://k2hdkc-python.readthedocs.io/en/latest/?badge=latest\n.. image:: https://img.shields.io/pypi/v/k2hdkc\n :target: https://pypi.org/project/k2hdkc/\n\n\n\nOverview\n---------\n\nk2hdkc_python is an official python driver for `k2hdkc`_.\n\n.. _`k2hdkc`: https://k2hdkc.antpick.ax/\n\n.. image:: https://raw.githubusercontent.com/yahoojapan/k2hdkc_python/main/docs/images/top_k2hdkc_python.png\n\n\nInstall\n--------\n\nLet's install k2hdkc using pip::\n\n pip install k2hdkc\n\n\nUsage\n------\n\nFirstly you must install the k2hdkc shared library::\n\n $ curl -o- https://raw.github.com/yahoojapan/k2hdkc_python/master/cluster/start_server.sh | bash\n\n\nThen, Let's try to set a key and get it::\n\n import k2hdkc\n \n k = k2hdkc.K2hdkc('slave.yaml')\n k.set('hello', 'world')\n v = k.get('hello')\n print(v) // world\n\n\nDevelopment\n------------\n\nClone this repository and go into the directory, then run the following command::\n\n $ python3 -m pip install --upgrade build\n $ python3 -m build\n\n\nDocuments\n----------\n\nHere are documents including other components.\n\n`Document top page`_\n\n`About K2HDKC`_\n\n`About AntPickax`_\n\n.. _`Document top page`: https://k2hdkc-python.readthedocs.io/\n.. _`\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30c8\u30c3\u30d7`: https://k2hdkc-python.readthedocs.io/\n.. _`About K2HDKC`: https://k2hdkc.antpick.ax/\n.. _`K2HDKC\u306b\u3064\u3044\u3066`: https://k2hdkc.antpick.ax/\n.. _`About AntPickax`: https://antpick.ax\n.. _`AntPickax\u306b\u3064\u3044\u3066`: https://antpick.ax\n\n\nPackages\n--------\n\nHere are packages including other components.\n\n`k2hdkc(python packages)`_\n\n.. _`k2hdkc(python packages)`: https://pypi.org/project/k2hdkc/\n\n\nLicense\n--------\n\nMIT License. See the LICENSE file.\n\nAntPickax\n---------\n\n**k2hdkc_python** is a project by AntPickax_, which is an open source team in `Yahoo Japan Corporation`_.\n\n.. _AntPickax: https://antpick.ax/\n.. _`Yahoo Japan Corporation`: https://about.yahoo.co.jp/info/en/company/\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A module for k2hdkc from antpickax",
"version": "1.0.1",
"project_urls": {
"Bug Tracker": "https://github.com/yahoojapan/k2hdkc_python/issues",
"Homepage": "https://github.com/yahoojapan/k2hdkc_python"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7c77750362d57231ee85d0fdb479b1a976fe96d4282a075134ba1658004b721a",
"md5": "4214851f3679e3660d1aa98eeb7ed6a3",
"sha256": "04ec84a40b57ff1227f8d69f1b8147071ef7c60708bd3cbc8c832caecfafc9b4"
},
"downloads": -1,
"filename": "k2hdkc-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4214851f3679e3660d1aa98eeb7ed6a3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 11672,
"upload_time": "2023-10-02T06:57:15",
"upload_time_iso_8601": "2023-10-02T06:57:15.115422Z",
"url": "https://files.pythonhosted.org/packages/7c/77/750362d57231ee85d0fdb479b1a976fe96d4282a075134ba1658004b721a/k2hdkc-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e778d80a0532ebcf6acb75fa81689758cfd023092b9eb916ee88ba0d02f61976",
"md5": "4d554415514ccb1d8d402c2bd0e4272c",
"sha256": "3c999769f25792f2ccfbb2b5518f126fd2243e3f6d957791ed2a0b6da395cb3d"
},
"downloads": -1,
"filename": "k2hdkc-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "4d554415514ccb1d8d402c2bd0e4272c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 294822,
"upload_time": "2023-10-02T06:57:16",
"upload_time_iso_8601": "2023-10-02T06:57:16.849060Z",
"url": "https://files.pythonhosted.org/packages/e7/78/d80a0532ebcf6acb75fa81689758cfd023092b9eb916ee88ba0d02f61976/k2hdkc-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-02 06:57:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yahoojapan",
"github_project": "k2hdkc_python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "k2hdkc"
}