DEV Community

Discussion on: An easy and fun way to permanently store python objects.

Collapse
 
adwaithrajesh profile image
Adwaith Rajesh • Edited

well a DB is to store a lot of info. If you are looking for something quick and easy for a small project then you can use this. I've also written blog post on storing object in PysonDB, the same principle can be applied in Storing objects in a JSON file. you can get the post here and moreover the project uses only one dependency that is dill. the reason it doesn't uses pickle is that pickle doesn't support some object like lambda functions. So this is also light weight.