Skip to content
/ vizada Public

A simple Blockchain Database Management System (BDMS) created using python

Notifications You must be signed in to change notification settings

arav06/vizada

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Vizada BDBMS

Arav Budhiraja | 15th August 2022

A simple Blockchain Database Management System (BDMS) created using python

Features

  • Data is stored in the form of JSON
  • Ability to create and delete tables
  • Ability to create, delete and add data to tables
  • Cannot modify/delete existing data in tables

Installation

$ python3 setup.py

▀█ █▀  ▀  ▀▀█ █▀▀█ █▀▀▄ █▀▀█ 
 █▄█  ▀█▀ ▄▀  █▄▄█ █  █ █▄▄█ 
  ▀   ▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀  ▀  ▀ 

- By Arav Budhiraja


Enter the name of your database
> myDatabase

Creating 'myDatabase' database

myDatabase has been created!
You can access the database by executing python3 vizada.py myDatabase

Usage

Run the program

$ python3 vizada.py <DATABASE NAME>

▀█ █▀  ▀  ▀▀█ █▀▀█ █▀▀▄ █▀▀█
 █▄█  ▀█▀ ▄▀  █▄▄█ █  █ █▄▄█
  ▀   ▀▀▀ ▀▀▀ ▀  ▀ ▀▀▀  ▀  ▀

Welcome!

>

Create a Table

> ct newTable OR createtable newTable

Delete a Table

> dt newTable OR deletetable newTable

List Tables

> list OR ls OR listtables OR lt
hello
myTable

View table contents

> vt myTable OR viewtable myTable
{"hello":"world","name":"test"}
{"database":"vizada","number":384}

Insert data into table

> id myTable OR insertdata myTable
myTable> {"newData":"stuff","how are you":"good"}

Exit

> exit OR bye

About

A simple Blockchain Database Management System (BDMS) created using python

Topics

Resources

Stars

Watchers

Forks

Languages