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

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.38
File Size Uploaded Provenance Actions
moat_kv-0.71.38.tar.gz 119.9 kB Without provenance Details for moat_kv-0.71.38.tar.gz

Built distribution (wheel)

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

Total release size: 246.4 kB

Release files / moat_kv-0.71.38.tar.gz

Download URL moat_kv-0.71.38.tar.gz
Size 119.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8f3a717b0b50b5e4195aae1af65c0d58f9e0c2f24a0147896474e662d09a1b72
BLAKE2b-256 checksum
How to use checksums
75c2eea604e918d15e66a1e12c562507b1deef95c32dc15f639314c0a07de5ce
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.38-py3-none-any.whl

Download URL moat_kv-0.71.38-py3-none-any.whl
Size 126.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a16353a88e3dc31703fc33008ea68963fdcd3866169ee4e5cf0ac7e2af633546
BLAKE2b-256 checksum
How to use checksums
d60fb30125d6f000bcb5bbddd237669c0cb8d3bc13da676778141211d5d3e64b
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.38

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