DEV Community

David
David

Posted on

StashDB: The best json database package for Python

StashDB is a new lightweight Python library that allows you to use Json as a database but handles all the annoying and confusing aspects.

This package allows you to treat the json as a regular python dictionary and work wll it as you please without any roadblock.

To get started, run the command in your terminal:

pip install stashdb
Enter fullscreen mode Exit fullscreen mode

After the package installs, create a main.py file (you can name the file whatever you want) and start writing code.

from stashdb import DB

db = DB("app") # you can name this whatever you want
Enter fullscreen mode Exit fullscreen mode

To get the full documentation, check out the official GitHub repository of this project

Top comments (0)

Image of Stellar post

Check out Episode 1: How a Hackathon Project Became a Web3 Startup 🚀

Ever wondered what it takes to build a web3 startup from scratch? In the Stellar Dev Diaries series, we follow the journey of a team of developers building on the Stellar Network as they go from hackathon win to getting funded and launching on mainnet.

Read more

👋 Kindness is contagious

Please show some love ❤️ or share a kind word in the comments if you found this useful!

Got it!