Matrix: update, read, delete. A data store with a sorted, key:value store model
Project description
Murd
Python Management of Matrix-like Key-Value store memories across disparate backends. Murd is the lowest level, pure python implementation backed by JSON. See murdaws for AWS implementations.
Data Model
It is best to think of a Murd as a simple key-value store, but with a mysterious dark past utterly at odds with its outwardly waify-bookishness. Much like a goodly priest knowing too much about guns and the criminal underworld, Murds allow a few tricks for segmenting data and searching within those segments. Dirty tricks no JSON object was meant know.
Murd can be a footgun. But used with a bit of cleverness for its keys and how to search them, Murds allow a network of distributed data stores backed by a variety of technologies including JSON, SQLite^, DynamoDB, and S3^.
^ Not yet implemented
Instantiate
my_murd = Murd()
Open from file
my_murd = Murd("/home/me/my_murd.json")
Update
murd.update([{"GROUP": "TEST": "SORT": "0": "DATA": 42}])
Read
murd.read(group='TEST')
Delete
murd.update([{"GROUP": "TEST": "SORT": "0": "DATA": 42}])
Save to file
my_murd.write_murd("/home/me/my_murd.json")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file murd-0.0.5.8.tar.gz.
File metadata
- Download URL: murd-0.0.5.8.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be00e5a5e06a1fd7cdfc2b912eb3c27860f362dc157b5d0fdf644d0462b3f0f7
|
|
| MD5 |
0ba81450e44f2c0e1c4c73090bb3451f
|
|
| BLAKE2b-256 |
2bf1ec4783d40e1ac47e0d9827c9f27e6b3cecb77bfe20e9b5e5f7a9068c2b6e
|
File details
Details for the file murd-0.0.5.8-py3-none-any.whl.
File metadata
- Download URL: murd-0.0.5.8-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e158fa1b0ce88207e818ebc66fdc3dbe0d7ebd583df133a4d0d27a5b290c6c2
|
|
| MD5 |
18469a180e56a6079d881b5ca5dfbf3f
|
|
| BLAKE2b-256 |
89e8367825458adb8b4d329aa65bfcb3550fb105a4c28c04f21a129025495565
|