Code Monkey home page Code Monkey logo

manual-json-database-in-python's Introduction

Manual-JSON-Database-in-Python

This is a python program that allows you to create, view, append a JSON file, and allows you to remove entries from a JSON file. The JSON database uses the format below to create a JSON file, and is also made to read and append in that format.

{ ‘FILE_NAME’ : [ {‘KEY’:’VALUE’}, {'KEY2':'VALUE2'} ] }

The user creates key value pairs and has to manually put in information.

Motivation

This is my third ever program, and I personally thought it would be good practice with JSON. As mentioned before, this program creates a database in python that a user can manually edit.

Build Status

Currently the program functions as it’s supposed to, so it is completed. I may edit it in the future if I find any errors.

Installation

The program stores the JSON database in whatever dictionary the program is run. The program also loads JSON databases that are in proper format, if it is in the same dictionary as the running program.

How to Use

I recommend storing the program in a folder, and then simply running it in the command prompt. Follow the directions provided in the program.

Press: C = create new json database, L = to load/view current json database, R = to remove an entry, A = Append a JSON file, Q = to quit program

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.