Basically MongoDB, but dicts and JSON and local files.
MongoDB style interface and query system, but backend by dicts objects and local JSON files in your filesystem.
I want to try optional packages orjson vs json.
And Lazy Loading.
How the json file should look
file path and naming: ./[client_dir=default './data']/[database_dir_name]/[collection_name].json
{
"docs" : [
{"_id": 0, ...},
{"_id": 1, ...}
]
}Using this series of pages to make my interface: w3 Python Mongo
Sections:
- Create DB and Collections
- "list_database_names" and "list_collection_names"
- Insert into Collections
- Find in Collection
- Query
- Sort
- Delete
- Drop Collection
- Update
- Limit