DictDataBase
DictDataBase copied to clipboard
A python NoSQL dictionary database, with concurrent access and ACID compliance
Suppose I have a database with the following layout: ``` A/ meta.json data.json B/ meta.json data.json C/ ... ``` Then suppose I try to read all the metadata via: ```...
```python import dictdatabase as DDB from path_dict import PathDict import time # Measure time to get all cups t1 = time.perf_counter() cups = DDB.at("cups/*", key="organizer_email").read() # REMOVE where selector #...
Things left to do: - [ ] Update docs
The goal here is to be able to index a file that is bigger than the available RAM. This is not good enough yet because it assumes that a key...
First, love your lib, saw it on reddit and have replaced yours with my json config saver. However, for me, the order of the keys is important and in function...
# Problems 1. Currently, a lock is removed after a certain threshold of time, so automatically remove dead locks. But if a session is taking longer than the timeout, it...
The entire file needs to be read, but by partially reading each key value pair sequentially, we can prevent having to load the entire file into memory. Proposal: - Do...
First draft finished. Issues to solve: - [ ] Available Bases should be improved to allow better nested mapping - [ ] Wenn going into a read-write session, there is...
```json { "users": { "Ben": { "age": 30, "job": "Software Engineer" } }, "Ben": {"job": "Plumber"} } ``` ```python print(DDB.at("users", key="job").read()) >>> "Plumber" ``` Have you thought about requiring the...