0% found this document useful (0 votes)
25 views

CS REALESTATE CRT

This document is a project submission for a Real Estate Management System to the Central Board of Secondary Education. It was created by B.J. Kirthan of Guru Shree Shantivijai Jain Vidyalaya, Chennai, under the guidance of Mrs. M. Dhanalakshmi. The project involves developing a system using Python and MySQL to manage real estate properties, transactions, and development processes. It aims to streamline operations, improve workflow, and enhance client interactions for real estate professionals and developers. The document includes sections on the overview of Python and MySQL, system requirements, introduction, aim of the project, source code, and acknowledgments.

Uploaded by

Krishan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

CS REALESTATE CRT

This document is a project submission for a Real Estate Management System to the Central Board of Secondary Education. It was created by B.J. Kirthan of Guru Shree Shantivijai Jain Vidyalaya, Chennai, under the guidance of Mrs. M. Dhanalakshmi. The project involves developing a system using Python and MySQL to manage real estate properties, transactions, and development processes. It aims to streamline operations, improve workflow, and enhance client interactions for real estate professionals and developers. The document includes sections on the overview of Python and MySQL, system requirements, introduction, aim of the project, source code, and acknowledgments.

Uploaded by

Krishan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

GURU SHREE SHANTIVIJAI JAIN

VIDYALAYA CHENNAI-600 007


2023-2024

REAL ESTATE MANAGEMENT SYSTEM

Project Submitted to the Central Board of Secondary


Education(CBSE), in practical fulfilment for the
requirements of
ALL INDIA SENIOR SCHOOL CERTIFICATE
EXAMINATION(AISSCE)-
2023-2024
DEPARTMENT OF COMPUTER SCIENCE
BY
B.J.KIRTHAN

GUIDED BY:
Mrs.M.DHANALAKSHMI,M.E,B.Ed
GURU SHREE SHANTIVIJAI JAIN
VIDYALAYA(JUNIOR COLLEGE)

96,Vepery High Road, Chennai-600 007

BONAFIDE CERTIFICATE

Certified to the project work done by B.J.KIRTHAN Of


Class XII-A1 in the Computer Science laboratory during
theyear2023-2024.

DATED TEACHER-IN-CHARGE

Submitted for All India Senior School Practical


Examination in Computer Science at
GURU SHREE SHANTIVIJAI JAIN VIDYALAYA
held on

INTERNAL EXAMINER EXTERNAL EXAMINER

DATED: SIGNATURE OF PRINCIPAL

SEAL:
ACKNOWLEDGEMENT

I wish to express my profound thanks to my institution


GURU SHREE SHANTIVIJAL JAIN VIDYALAYA for having enabled
me to take Scienceas a group in junior college.

I would like to express my gratitude to our Principal


Mrs.V.UMAMAHESWARI,M.Sc,B.Ed;. for her continues support which
has encouraged me to complete my project successfully.

I am extremely grateful to our computer science teacher


MRS.M.DHANALAKSHMI, M.E.,B.Ed.

I also thank our teaching, non-teaching staff and my friends who have helped
me a lot in doing this project.

B.J.KIRTHAN
CONTENTS

 Overview of python
 Overview of Mysql
 System requirements
 Introduction
 Aim of the project
 Source code
 Sample output
 Conclusion
 Bibliography
OVERVIEW OF PYTHON LANGUAGE

Guido Van Rossum published the first version of Python code(version0.9.0) in February
1991. This release included already exception handling, functions, and the core data
types of list, dict ,str and others .It was also object oriented and had a module system.

Python version 1.0 was released in January 1994. The major new features included in
this release were the functional programming tools lambda,map,filter and reduce which
Guido Van Rossum never liked.

Six and a half years later in October 2000, Python 2.0 was introduced. This release
included list comprehensions,a full garbage collector and it was supporting unicode.

Python flourished for another 8 years in the versions 2x before the next major release as
Python3.0 as"Python3000"and"Py3K")was released.Python3 is not backwards
compatible with Python
2.x.The emphasis in Python3 had been on the removal of duplicate programming
constructs and modules.

Python is a clear and powerful object-oriented programming language.

SOME OF PYTHON'S NOTABLE FEATURES:

• Uses an elegant syntax ,making the programs you write easier to read.

• Is an easy-to-use language that makes it simple to get your program


working. This makes Python ideal for prototype development and other ad-
hoc programming tasks, without compromising maintainability.

• Comes with a large standard library that supports many common


programming tasks such as connecting to webservers, searching text with
regular expressions, reading and modifying files
.
• Python's interactive mode makes it easy to test short snippets of
code. There's also a bundled development environment called IDLE.
SOME PROGRAMMING LANGUAGE FEATURES OF PYTHON:

• A variety of basic data types are available like numbers


(floating point, complex, and unlimited-length long integers), strings (both ASCII
and Unicode), lists , and dictionaries.
• Pythonsupportsobject-orientedprogrammingwithclassesandmultipleinheritances.
• Code can be grouped into modules and packages.

• The language supports raising and catching exceptions, resulting in cleaner error
handling.

Data are strongly and dynamically typed. Mixing incompatible types (e.g. attempting
to add a string and a number) causes an exception to be caught sooner.

• Python contains advanced programming features such as generators and list


comprehensions.
Overview of Mysql

SQL is one of the most demanding skill in the current world. Every day a huge

amount of data is collected and one have to deal with these databases to make an

insightful information. Hence it is important for us to learn SQL as it is a

special-purpose database programming language which help to generate useful

strategies from a database and can easily interact with large and massive

database, no matter what is the size. These features of SQL make SQL a most

powerful tool. Hence, here are some of the major SQL features which makes it a

successful database programming language.

High Perfomance

SQL provide high performance programming capability for highly transactional,

heavy workload and high usage database system. SQL programming gives

various ways to describe the data more analytically.

High Avaialbility

SQL is compatible with databases like MS Access, Microsoft SQL Server,

MySQL, Oracle Database, SAP HANA, SAP Adaptive Server, etc. All of these

relational database management systems support SQL and it is easy to create an

application extension for procedural programming .


Scalability and Flexibility

SQL provide Scalability and Flexibility. It is very easy to create new tables and

previously created or not used tables can be dropped or deleted in a database.

Open Source

SQL is an open-source programming language for building relational database

management system . All these features of SQL makes it a robust and primary

language for many organizations to manages their large databases.


SYSTEM REQUIREMENTS

HARDWARE
Minimum Maximum
CPU : 64bit x86 Multi core64bit x86

RAM : 4GB 8GBot higher

DISPLAY : 1024 x768 1920x1200 orhigher

SOFTWARE REQUIREMENTS:

 PythonIDLE(3.10)

 MYSQL

 Windows 7 or higher
INTRODUCTION

The Real Estate Development Management System is an innovative and comprehensive

project designed to streamline and optimize the management of real estate properties,

transactions, and development processes. Developed using Python programming language

and integrated with MySQL, this system aims to provide a robust platform for real estate

professionals, developers, and clients to effectively manage, monitor, and analyze various

aspects of the real estate development lifecycle. By harnessing the capabilities of Python

and MySQL, this Real Estate Management System aims to revolutionize the efficiency

and transparency of property management processes. This project endeavors to bridge the

gap between stakeholders, offering a sophisticated yet accessible platform that fosters

trust, reliability, and efficiency in the dynamic landscape of real estate operations.

The primary goal of this project is to create a user-friendly, secure, and efficient system

that automates and centralizes the management of real estate development operations. It

aims to facilitate better decision-making, improve workflow processes, and enhance

Sales and client interactions.


AIM OF THE PROJECT

The aim of the project is to make a program which can help the employee to display,
add, delete , search and update an specific property which is available for purchase
by the clients in the database.

FEATURES OF THE PROJECT:

 DISPLAY PROPERTIES :

This feature displays the existing properties in the database.

 SEARCH PROPERTY:

This feature can be used to search about the property and it’s details using the ID of
the property .

 DELETER PROPERTY:

This feature enables to delete the property using the property ID.

 ADD NEW PROPERTY:

This feature can be used to add a new property with all of its details in the
existing database.

 UPDATE PROPERTY:

This feature helps to update the price of the property in case of resale.
SOURCE CODE

MYSQL

CREATING DATABASE

import mysql.connector

mydb = mysql.connector.connect(
host="localhost",
user="root",
password="kirthan",
database="KSBNrealestate"
)

mc = mydb.cursor()

mc.execute("""
CREATE TABLE Property_details (
property_id INT PRIMARY KEY,
property_type VARCHAR(15),
area VARCHAR(15),
price INT,
address VARCHAR(50),
city VARCHAR(15),
Date_Listed DATE,
Bedrooms INT,
Bathrooms INT
)
""")

mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (1, 'Apartment', '5000sqft',500000, 'Anna Nagar', 'Chennai', '2022-05-10', 3, 2)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (2, 'Villa', '20000sqft',500000,'South Goa', 'Goa', '2020-01-11',5,3)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (3, 'Bungalow', '2000sqft',500000,'Juhu', 'Mumbai', '2015-01-11',20,6)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (4, 'Farmhouse', '2000sqft',500000,'Manikonda', 'Hyderabad', '2014-01-11',5,3)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (5, 'Duplex', '2000sqft',500000,'Saket', 'Delhi', '2012-01-11',2,1)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (7, 'Ranch', '2000sqft',500000,'Indiranagar', 'Banglore', '2019-01-11',4,2)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (8, 'Villa', '7000sqft',4500000,'New Lights', 'Mysore', '2019-01-11',5,3)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (9, 'Ranch', '2000sqft',500000,'Jalwadi', 'Lucknow', '1985-04-06',4,1)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (10, 'Ranch', '2000sqft',500000,'Varoda', 'Trichy', '2001-01-11',10,2)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (11, 'Ranch', '2000sqft',500000,'New Avenue', 'Vishakapatnam', '2023-01-11',3,7)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (12, 'Duplex', '7000sqft',40000,'Royapuram', 'Porur', '2017-04-11',14,7)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (13, 'Ranch', '2000sqft',4500000,'Vanothgar', 'Ahmdabad', '2000-05-01',3,1)
""")
mc.execute("""
INSERT INTO Property_details
(property_id, property_type, area, price, address, city, Date_Listed, Bedrooms, Bathrooms)
VALUES (14, 'Condo', '72000sqft',4500000,'Central Park', 'New York', '2014-01-11',10,5)
""")

mydb.commit()
TKINETR CODE FOR WELCOME PAGE:

from tkinter import *


import ttkbootstrap as tb
from ttkbootstrap.constants import *

def thing():
pass

root = tb.Window(themename="darkly")
my_label1 = tb.Label(text="Real Estate Management",font=("Times New
Roman",30),bootstyle="Warning")
my_label1.pack(pady=50,padx=100)
my_label2=tb.Label(text="Welcome to the start page",font=("Times New
Roman",25),bootstyle="Success")
my_label2.pack(pady=55,padx=105)
my_frame = tb.Frame(root,bootstyle="default")
my_frame.pack(pady=40)
my_button = tb.Button(my_frame,text="Continue to the Main
Menu",bootstyle="warning",command="thing")
my_button.pack(pady=50,padx=110)
root.title("Real Estate Management-Welcome Page")
root.geometry("500x350")
root.mainloop()
PYTHON
SOURCE CODE

def displayproperty():
import mysql.connector
try:
mydb = mysql.connector.connect(host="localhost", user="root", password="kirthan",
database="Realestate")
mc = mydb.cursor()
mc.execute("SELECT * FROM Property_details")
print(" \t\t\t \t \t REAL ESTATE \t\t\t\t\t\t")
print(" \t\t\t\t\t ***** \t\t\t")

print("================================================================
=====================================================================
=================================")

print(" Property_Id\t Property Type \t Area \t Price \t Address \t City \t Date \t no of


BedRooms \t no of Bathrooms \t SqrtFeets \t Rate ")

print("================================================================
=====================================================================
=================================")
for x in mc:
str1=""
for i in x:
str1=str1 + " \t " + str(i)
print(str1)
except mysql.connector.Error as err:
print("Error:", err)

def searchproperty():
import mysql.connector
try:
mydb = mysql.connector.connect(host="localhost", user="root", password="kirthan",
database="Realestate")
mc = mydb.cursor()
pid = int(input("Enter a Property ID to search from: "))
print("Property_Id:","Property Type:","Area: ","Price: "," Address:","City :
","Date:","BedRooms:","Bathrooms:","SqrtFeets:","Rate :")
squery = "select * from property_details where property_id=" + str(pid)
mc.execute(squery)
myr = mc.fetchone()
if myr is not None:
print(myr)
else:
print("No such property found")

except mysql.connector.Error as err:


print("Error:", err)

def deleteproperty():
import mysql.connector
try:
mydb = mysql.connector.connect(host="localhost", user="root", password="kirthan",
database="Realestate")
mc = mydb.cursor()
delnam = int(input("Enter the property ID for the property to be deleted: "))
dquery = "DELETE FROM property_details WHERE property_id = %s"
mc.execute(dquery, (delnam,))
mydb.commit()
print("Property deleted successfully.")
except mysql.connector.Error as err:
print("Error:", err)

def addnewproperty():
import mysql.connector
try:
mydb = mysql.connector.connect(host="localhost", user="root", password="kirthan",
database="Realestate")
mc = mydb.cursor()

aID = int(input("Enter the property ID: "))


aType = input("Enter the property type: ")
aarea = input("Enter the location of the property: ")
sqfeet = int(input("Enter the square feet details of the property: "))
rate = int(input("Enter the rate per square feet: "))
aadress = input("Enter the property address: ")
acity = input("Enter the city of the property: ")
adate = input("Enter the date listed of the property in the format of YYYY-MM-DD: ")
aBed = int(input("Enter the number of bedrooms for the property: "))
aBath = int(input("Enter the number of bathrooms for the property: "))
price = (rate * sqfeet)+ (aBed *50000) + (aBath*10000)

aquery = "INSERT INTO Property_details (property_id, property_type, area, price, address,


city, Date_listed, Bedrooms, Bathrooms , sqfeet,rate) VALUES (%s, %s, %s, %s, %s, %s, %s,
%s, %s, %s,%s)"
data = (aID, aType, aarea,price, aadress, acity, adate, aBed, aBath,sqfeet,rate)

mc.execute(aquery, data)
mydb.commit()
print("Property added successfully.")
except mysql.connector.Error as err:
print("Error:", err)

def updateproperty():
import mysql.connector
try:
mydb = mysql.connector.connect(host="localhost", user="root", password="kirthan",
database="Realestate")
mc = mydb.cursor()
PropertyID=int(input("Enter the property ID for which rate is to be updated:"))
Price=int(input("Enter the updated price:"))
mc.execute("UPDATE property_details SET Price='{}' WHERE
property_id='{}'".format(Price,PropertyID))
mydb.commit()
print("Price is Updated")
except mysql.connector.Error as err:
print("Error:", err)

def menu():
c = "y"
while c == "y":
print("Press 1 To display all the Properties")
print("Press 2 To search from an already existing property")
print("Press 3 To delete an existing property")
print("Press 4 To add a new property")
print("Press 5 to Update the price of property")
choice = int(input("Enter Your Choice: "))
if choice == 1:
displayproperty()
elif choice == 2:
searchproperty()
elif choice == 3:
deleteproperty()
elif choice == 4:
addnewproperty()
elif choice == 5:
updateproperty()
else:
print("Enter a correct input")

c = input("Do you want to continue or not? Press y to continue: ")

menu()
SAMPLE OUTPUT:
OUTPUT FOR TKINTER PROPGRAM:
DISPLAYING PROPERTIES:
DELETING PROPERTY:
ADDING NEW PROPERTY:
UPDATING THE PROPERTY:

SEARCHING PROPERTY:
MYSQL DATABASE:
MYSQL FIELD TYPES:

MYSQL DATA:
CONCLUSION

The Real Estate Development Management System, crafted using Python programming

language and integrated with MySQL, represents a pivotal advancement in the real estate

industry. This innovative system harmonizes property management, transactions, and

project oversight, offering enhanced efficiency, transparency, and accessibility. Its robust

foundation facilitates informed decision-making through insightful analytics while

fostering scalability for future adaptability. This project stands as a testament to the

transformative potential of technology in revolutionizing real estate practices, promising a

more streamlined, accountable, and technologically-driven industrylandscape.

We can further enhance the system's functionality and user experience, several avenues for

improvement can be explored. For instance, the incorporation of an advanced search

mechanism utilizing filters based on property type, location, price range, and amenities

could significantly refine property search capabilities, offering users more tailored results

and saving time.


BIBLIOGRAPHY

WEBSITES USED:
www.w3schools.com
https://www.geeksforgeeks.org/

BOOKS USED :
NCERT Textbook Class XII , CBSE
NCERT Textbook Class XI ,CBSE
Sumita Arora Class XII Textbook
Sumita Arora Class XI Textbook

You might also like