@omz, just would to request to have TinyDb https://github.com/msiemens/tinydb included in Pythonista distribution or equivalent.
To me at least, this would be a great addition.
TinyDB seems to sit somewhere between shelve and SQLite. where shelve is too simple and SQLite is to complicated for simple things.
What I like about it is:
1. super simple to use
2. only has one file, unlike say shelve creating 3 files
3. as simple as it, it supports tables
4. 100% pure python and no external dependencies
5. is pip installable, good for updates between Pythonista updates
6. if you want to dig in a little, you can extend it
7. the queries are straight forward
Also it has 100% test coverage, good docs and over 1,700 stars on github.
Look, I am sure you have to be very selective of what you include in Pythonista as batteries Inc. I don't know your criteria, but at least on the surface this seems like it would be a good candidate.
I posted here instead of the issues repo, in case people here had there own ideas or comments.
Edit should have mentioned as another plus, support for py2.7 & py3.6 among others.