Hacker News new | ask | show | jobs
by senko 540 days ago
I've built this (unironically) for Python: https://github.com/senko/dante

It combines the convenience of SQLite (nothing to install) with the convenience of just throwing stuff in a dict. Perfect for quick prototypes/mockups.

1 comments

So it's a lot like the shelve builtin module?
Like shelve, but with json instead of pickle, and sqlite instead of dbm; and you have a set of dicts instead of k/v store , with helpers to search by any dict field; and also pydantic support.