Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpDB

SimpDB is a simple key value database that stores JSON data, written in Python.

Getting Started

Installation

Clone the repository:

git clone https://github.com/ElliottStorey/simp-db.git
cd simp-db

Usage

Import the module:

from simpdb import SimpDB

Initialize a database:

myDatabase = SimpDB("./myDatabase.sdb")

Set key-value pairs:

myDatabase.set("username", "ElliottStorey")
myDatabase.set("password", 314159)

Read values:

username = myDatabase.read("username")
print(username)  # Output: ElliottStorey

Delete keys:

myDatabase.delete("username")
myDatabase.delete("password")

About

SimpDB is a simple python database that stores data in the JSON format.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages