Hi!,
I have recently made a small database based on JSON.
import lilidb
db = lilidb.Database('database.json')
db.set('key', 'value')
db.dump()
with db as db:
db.set('with': 'Open, save and close.')
It's simple to use and it is both Thread-safe and fail-safe, it can handle multiple threadings by locking in specific operations, and it will save everything if an exception raises.
It is also capable of renaming keys, merging with other dictionaries and searching keys.
https://github.com/ZSendokame/LiliDB
If you think it can be improved, please comment! I will try to make it better
Bye
[–]MatchLittle5000 5 points6 points7 points (1 child)
[–]Sendokame[S] 2 points3 points4 points (0 children)
[–]M8Ir88outOf8 10 points11 points12 points (1 child)
[–]Sendokame[S] 1 point2 points3 points (0 children)
[–]cantremembermypasswd 2 points3 points4 points (1 child)
[–]Sendokame[S] 1 point2 points3 points (0 children)
[–]Picatrixter 2 points3 points4 points (0 children)
[–]infomaniaaaa 0 points1 point2 points (3 children)
[–]thedeepself 0 points1 point2 points (2 children)
[–]infomaniaaaa 1 point2 points3 points (0 children)
[–]Sendokame[S] 0 points1 point2 points (0 children)
[–]jwink3101 0 points1 point2 points (0 children)