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

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.39
File Size Uploaded Provenance Actions
moat_kv-0.71.39.tar.gz 120.1 kB Without provenance Details for moat_kv-0.71.39.tar.gz

Built distribution (wheel)

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

Total release size: 246.6 kB

Release files / moat_kv-0.71.39.tar.gz

Download URL moat_kv-0.71.39.tar.gz
Size 120.1 kB
Tags Source
SHA-256 checksum
How to use checksums
187329a3dbdc4f47ddefbe0447dd6b40195c8c9b911f3f8e71d94082153b82e9
BLAKE2b-256 checksum
How to use checksums
4a3bb72fdf438572c2dbe30f2b95a4e6cb4a2ad834e5533db7dd6c6ce679712b
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.39-py3-none-any.whl

Download URL moat_kv-0.71.39-py3-none-any.whl
Size 126.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fb973a094228fbc8b7b3dd497d72155982563999a324df7b3ce34d2659452ff
BLAKE2b-256 checksum
How to use checksums
3b230c7bc4d8ad24122470e9ca9985e0f95f5104c2eaa66147fa5d5e3d874b33
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.39

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