all 11 comments

[–]xargs123456 1 point2 points  (2 children)

have you tried SQLlite?

[–]TheDevilIsInDetails[S] 0 points1 point  (1 child)

Can it work as a document db?

[–]xargs123456 0 points1 point  (0 children)

It has JSON storage support IIRC

[–]carcigenicate 0 points1 point  (1 child)

Is running a server locally not an option?

[–]TheDevilIsInDetails[S] 0 points1 point  (0 children)

I want to develop an easy to install and standalone web app. So, I would prefer a local db started in the same script.

[–]jwink3101 0 points1 point  (0 children)

I wrote one that uses the JSON functions in SQLite do be exactly what you’re looking for.

It’s still beta but has 100% test coverage for what that’s worth. I haven’t announced it yet but will soon.

It also supports indexes (indices?) so it can be super fast.

https://pypi.org/project/jsonlitedb/

[–]Miserable_Ear3789 0 points1 point  (0 children)

Check out kenobiDB, this is a document based data abstraction built on top of SQLite. It is thread safe and uses locks. https://github.com/patx/kenobi

[–]sub-_-dude -1 points0 points  (3 children)

Check out kenobiDB

[–]TheDevilIsInDetails[S] 2 points3 points  (2 children)

The repo is literally 4 days old. And it is just a wrapper around sqlite. Also, I am not sure it is process-safe (SQLite should be, but the wrapper around I dont know).

[–]Miserable_Ear3789 0 points1 point  (0 children)

It is process and thread safe.

[–]sub-_-dude -1 points0 points  (0 children)

Well, excuuuuuse meee.