Matrix: update, read, delete. A data store with a sorted, key:value store model
pip install murd==0.0.3
Python Management of Matrix-like Key-Value store memories across disparate backends.
A Murd Memory object is made up of at least a "ROW" and "COL" element. These two elements together are treated as a unique identifier for the storage location of the element. Taken together, ideal candidates for the value of 'ROW' and 'COL' are URIs, UUIDs, UTC timestamps, GPS coordinates, and the like.
{
"ROW":{part of unique identifier},
"COL":{part of unique identifier},
"{ARBITRARY_KEY}": "{ARBITRARY_VALUE}"
...
}
Update an existing item or create a new item in memory. Existing Murd Memories use an outer join to merge with new data.
Recover a number of Murd Memories
Drop a number of Murd Memories
The json string backend operates on a single murd json object kept in memory.
The Local Files backend operates on a series of files containing JSON strings.
The S3 backend operates on a S3 bucket or S3 bucket path containing any number of child S3 bucket paths containing JSON strings.
The DynamoDB backend operates on a number of DynamoDB tables containing rows of JSON strings.