tejamaddimsetty / ORM-Simulation-using-Python

ORM Simulation code in Python. A working simulation of an ORM built in Python custom made, connect with your database and Update, Create, Delete records. You can develop this code according to your database and utilities as it's fully documented. We used Decorators also to specify the record agility.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem Statement

Build a simulation of an ORM.
ORM is one of the prefered methods of interacting with database in a web or desktop application. In this project we are trying to simulate this ORM using python or MYSQL or any database as backend and perfrom CURD operations on it. The details of the requirement are as mentioned below.

Getting Started with Python Project

This project comprises with GUI Component execution and CMD execution with decorators.
In the project we used MYSQL, tkcalander, mysql.connector, prettytable.
You can find the required packages in requirements.txt.

Create Database and Table

DB Name: studs.
Table Name: record.
You can find queries in the db.sql file

CODE V1 - Run Curd.py

Find the curd.py in Code V1 project and run it.

CODE V2 - pip install requirements.txt

Navigate into project folder and execute curd.py.
Then run the python script. You can find the output.

Final Submission - pip install requirements.txt

Set the DB name and table names in case you have any.
Navigate into project folder and execute 1.py.

About

ORM Simulation code in Python. A working simulation of an ORM built in Python custom made, connect with your database and Update, Create, Delete records. You can develop this code according to your database and utilities as it's fully documented. We used Decorators also to specify the record agility.


Languages

Language:Python 100.0%