Metadata-Version: 2.1
Name: myjdb
Version: 0.0.2
Summary: A simple and lightweight JSON mock database for small projects
Home-page: 
Author: Abhay S Prasad (KingCosma)
Author-email: abhaygorur@gmail.com
License: MIT
Keywords: calculator
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENCE.txt
Requires-Dist: json
Requires-Dist: collections.abc
Requires-Dist: random
Requires-Dist: string

# myjdb

### A simple and lightweight JSON mock database for small projects

create a new database:

    db = myjdb.newDB("dbname")

---
access an existing database:

    db = myjdb.DB("dbname")

---
get the value of the database:

    print(db.value()) #value in the form of a dict

---
set the value of the database:

    db.set("hello": "world") #this rewrites the whole database file

---
update stuff to the datbase file:

    db.update({"newkey": "newvalue"})

---
delete item from the database file:

    x.delete("unwantedkey")

---
format the data in a database:

    db.format()
---


Change Log
==========

0.0.1
-------------
- first release
