Skip to main content

MoaT-KV

Welcome to MoaT-KV!

% start synopsis % start main

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.

% end synopsis

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.

Status

MoaT-KV is in end-of-life. There are a lot of corner cases that don't have tests. Critical bugs may be fixed, but "real" development continues in MoaT-Link.

% end main

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.

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

Metadata

Release files for moat-kv 0.71.36

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-kv 0.71.36
File Size Uploaded
moat_kv-0.71.36.tar.gz 119.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moat-kv 0.71.36
File Interpreter ABI Platform
moat_kv-0.71.36-py3-none-any.whl Python 3 none any Details

Total release size: 245.8 kB

Release files / moat_kv-0.71.36.tar.gz

Download URL moat_kv-0.71.36.tar.gz
Size 119.6 kB
Tags Source
SHA-256 checksum
How to use checksums
84c79bd6170432dafaeaeba3892f841b80367dd70224d58d94771673d616a801
BLAKE2b-256 checksum
How to use checksums
6633567aea5bc2f44a9d8ac2309d1e205302a04ea8264b820e659120195e78e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / moat_kv-0.71.36-py3-none-any.whl

Download URL moat_kv-0.71.36-py3-none-any.whl
Size 126.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d930e0279d68b0b1a2abd3c23b48d6b20af04f5594f9d74b909e98fac451f93
BLAKE2b-256 checksum
How to use checksums
fab459d0f3b940fb389c8972ad03310a4d98afd0f2663e9f1291cb980a24b5e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.71.36 This release

2 release files

0.71.9

2 release files

0.71.8

2 release files

0.71.7

2 release files

0.71.6

2 release files

0.71.0

2 release files

0.70.9

2 release files

0.70.8

2 release files

0.70.7

2 release files

0.70.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page