moat-kv


Namemoat-kv JSON
Version 0.70.18 PyPI version JSON
download
home_page
SummaryA distributed no-master key-value store
upload_time2024-03-09 08:26:40
maintainer
docs_urlNone
author
requires_python>=3.8
license
keywords moat
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            =======
MoaT-KV
=======

Welcome to `MoaT-KV <https://github.com/MoaT/moat-kv>`__!

MoaT-KV is a master-less distributed key-value storage system. It
circumvents the CAP theorem (you can't have all of consistency, availablilty,
and fault tolerance) using the assumption that a key is typically changed
by one node only. It is thus resistant to partitioning and intended to be
always-on; it will not block or lose updates, even in a partitioned
network.

MoaT-KV comes with several batteries included:

* Basic user management, pattern-based ACLs

* Strong typing, code- and/or `JSON Schema`-based

* Data mangling

* Background code execution

* Seamless recovery even if only one master is running

The underlying communication is based on MQTT. A Serf back-end is also
available. Others are easy to implement.

MoaT-KV was originally called "distkv".

API
===

MoaT-KV offers an efficient msgpack-based interface to access data and to
change internal settings. Most configuration is stored inside MoaT-KV
itself.

Stored data are **not** forced to be strings or binary sequences, but can
be anything that `MsgPack` supports. Keys to storage are multi-level and
support string, integer/float, and tuple keys.


Non-Features
============

MoaT-KV does not support data partitioning. Every node stores the whole
data set and can instantly deliver mostly-uptodate data.

MoaT-KV does not have a disk-based storage backend. Periodic snapshots and
event logs can be used to quickly restore a system, if necessary.

Status
======

MoaT-KV is mostly stable. There are a lot of corner cases that don't
have tests yet.

TODOs:
* some services (esp. command line tools and runners) are under-tested
* there's no good API for errors

TODO
====

* clean up some of the more egregious command line mistakes

* create a page for showcase-ing subprojects (knx owfs akumuli …)

* improve Home Assistant integration


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "moat-kv",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "MoaT",
    "author": "",
    "author_email": "Matthias Urlichs <matthias@urlichs.de>",
    "download_url": "https://files.pythonhosted.org/packages/e3/4f/f8f4d0b3a6d467d85580f083dc93d196b4a1dc661032ff6cc01cb0fd4ddd/moat-kv-0.70.18.tar.gz",
    "platform": null,
    "description": "=======\nMoaT-KV\n=======\n\nWelcome to `MoaT-KV <https://github.com/MoaT/moat-kv>`__!\n\nMoaT-KV is a master-less distributed key-value storage system. It\ncircumvents the CAP theorem (you can't have all of consistency, availablilty,\nand fault tolerance) using the assumption that a key is typically changed\nby one node only. It is thus resistant to partitioning and intended to be\nalways-on; it will not block or lose updates, even in a partitioned\nnetwork.\n\nMoaT-KV comes with several batteries included:\n\n* Basic user management, pattern-based ACLs\n\n* Strong typing, code- and/or `JSON Schema`-based\n\n* Data mangling\n\n* Background code execution\n\n* Seamless recovery even if only one master is running\n\nThe underlying communication is based on MQTT. A Serf back-end is also\navailable. Others are easy to implement.\n\nMoaT-KV was originally called \"distkv\".\n\nAPI\n===\n\nMoaT-KV offers an efficient msgpack-based interface to access data and to\nchange internal settings. Most configuration is stored inside MoaT-KV\nitself.\n\nStored data are **not** forced to be strings or binary sequences, but can\nbe anything that `MsgPack` supports. Keys to storage are multi-level and\nsupport string, integer/float, and tuple keys.\n\n\nNon-Features\n============\n\nMoaT-KV does not support data partitioning. Every node stores the whole\ndata set and can instantly deliver mostly-uptodate data.\n\nMoaT-KV does not have a disk-based storage backend. Periodic snapshots and\nevent logs can be used to quickly restore a system, if necessary.\n\nStatus\n======\n\nMoaT-KV is mostly stable. There are a lot of corner cases that don't\nhave tests yet.\n\nTODOs:\n* some services (esp. command line tools and runners) are under-tested\n* there's no good API for errors\n\nTODO\n====\n\n* clean up some of the more egregious command line mistakes\n\n* create a page for showcase-ing subprojects (knx owfs akumuli \u2026)\n\n* improve Home Assistant integration\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A distributed no-master key-value store",
    "version": "0.70.18",
    "project_urls": {
        "homepage": "https://m-o-a-t.org",
        "repository": "https://github.com/M-o-a-T/moat-kv"
    },
    "split_keywords": [
        "moat"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b58eb2250e623e872717900c73574db9e69a96ac68b3fd13d900c5026088ecfe",
                "md5": "46d0619692d304c6d23002dbac0c32a0",
                "sha256": "b64887b7e1da0954c3061cd1987c20e62b0cced99ca5caa2c6fa06743edfdeee"
            },
            "downloads": -1,
            "filename": "moat_kv-0.70.18-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "46d0619692d304c6d23002dbac0c32a0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 126621,
            "upload_time": "2024-03-09T08:26:37",
            "upload_time_iso_8601": "2024-03-09T08:26:37.761139Z",
            "url": "https://files.pythonhosted.org/packages/b5/8e/b2250e623e872717900c73574db9e69a96ac68b3fd13d900c5026088ecfe/moat_kv-0.70.18-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e34ff8f4d0b3a6d467d85580f083dc93d196b4a1dc661032ff6cc01cb0fd4ddd",
                "md5": "b13bf1c1d5f85282fc4faaffe7313059",
                "sha256": "94745c7825052a68d3bc556c8b45729bd6606b150badb309c0df3cbf1bba530d"
            },
            "downloads": -1,
            "filename": "moat-kv-0.70.18.tar.gz",
            "has_sig": false,
            "md5_digest": "b13bf1c1d5f85282fc4faaffe7313059",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 177045,
            "upload_time": "2024-03-09T08:26:40",
            "upload_time_iso_8601": "2024-03-09T08:26:40.023871Z",
            "url": "https://files.pythonhosted.org/packages/e3/4f/f8f4d0b3a6d467d85580f083dc93d196b4a1dc661032ff6cc01cb0fd4ddd/moat-kv-0.70.18.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-09 08:26:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "M-o-a-T",
    "github_project": "moat-kv",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "appveyor": true,
    "lcname": "moat-kv"
}
        
Elapsed time: 0.20791s