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.40

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.40
File Size Uploaded Provenance Actions
moat_kv-0.71.40.tar.gz 120.2 kB Without provenance Details for moat_kv-0.71.40.tar.gz

Built distribution (wheel)

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

Total release size: 246.7 kB

Release files / moat_kv-0.71.40.tar.gz

Download URL moat_kv-0.71.40.tar.gz
Size 120.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b05ff54ca00db0c34c1bcb603a3f26b43833f33a832cb7aa2a749509df73c99a
BLAKE2b-256 checksum
How to use checksums
d69629de2fec405ed32e948dcdc4f029ca04aa112a7f3ccea6fca878c9a338e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

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

Download URL moat_kv-0.71.40-py3-none-any.whl
Size 126.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be590230cc289882562ae33cd4984a94446aef49ab6bf0bb2fbe974015680ab4
BLAKE2b-256 checksum
How to use checksums
33e61321f704a4eb60c2190b8bc98288e4cc5dc92ae134453a758a06aeff79ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for moat-kv 0.71.40

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.71.40 This release

2 release files No provenance

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