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

Dron ip file

Uploaded by

manavpagal2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Dron ip file

Uploaded by

manavpagal2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

A

Project On

Shareholder’s Management

Submitted in partial fulfillment of the requirements for the


Senior Secondary School Certificate Examination
2024-2025

By
Dron Jangid

Submitted to:
Mr. Krishan Singh Sir

4C Colony Jamna Kothi,


New Loha Mandi Rd, Harmada,
Jaipur, Rajasthan 302013
Certificate
This is to certify that this project report entitled
Shareholder’s Management is a bonafide record of the
project work done by Dron Jangid of class XII, in the academic
year 2024- 2025. The project has been submitted in partial
fulfillment of Senior Secondary School Certificate Examination
for practical held at Jamna Vidhyapeeth school, Jaipur.

Date:___________

Internal Examiner External Examiner


ACKNOWLEDGEMENT

I solemnly take the opportunity to thank all the helping hands who

made me to complete this project. First of all I thank the Almighty for

keeping me hale and healthy in order to successfully complete my work.

I would like to convey my special thanks to Mr. Krishan Singh Sir

Teacher in Information Technology who gave me immense support and

guidance throughout the completion of this project.

Last but not the least, I express my heartiest thanks to my lovable

parents and friends for their prayers, suggestions and encouragement for

the successful completion of the project.


Scope of the Project

The Shareholder Management System (SMS) is designed to help

small to medium-sized companies manage shareholder and shareholding

data. It allows administrators to register shareholders, track their shares,

and perform operations such as adding, updating, deleting, and

visualizing shareholder records. The system stores data in CSV files and

includes basic error handling and data validation. It also provides visual

graphs of share ownership distribution.

Future enhancements could include database integration for

scalability, a web-based interface for easier access, user authentication

for security, and advanced reporting features like exporting data. The

system is user-friendly, scalable, and can be expanded with more

advanced features to meet growing business needs


while True:

print("\n--- Shareholder Management System ---")

print('1 for register new shareholder ')

print('2 for show details of shareholder')

print('3 for delete account of shareholder')

print('4 for update record of shareholder')

print('5 for add new shareholder')

print('6 for show details of shares')

print('7 for delete share record')

print('8 for update share record')

print('9 for show graph of shareholders')


print('10 to Exit')

choice = int(input('Enter your choice: '))

if choice == 1:

registernewshareholder()

elif choice == 2:

showdetailsofshareholder()

elif choice == 3:

deleterecordofshareholder()

elif choice == 4:

updaterecoedofshareholder()

elif choice == 5:

addnewshareholder()

elif choice == 6:

showdetailsofShare()

elif choice == 7:

deleterecordofShare()

elif choice == 8:
updaterecoedofShare()

elif choice == 9:

showgraphofshareholders()

elif choice == 10:

print("Exiting the system. Goodbye!")

break

else:

print("Invalid choice! Please try again.")

def registernewshareholder():

df = pd.read_csv('shareholder_details.csv')

print(df)
shareholder_id = int(input("Enter Shareholder ID: "))

name = input("Enter Name: ")

company = input("Enter Company: ")

shares_owned = int(input("Enter Number of Shares Owned: "))

df.loc[len(df)] = [shareholder_id, name, company, shares_owned]

df.to_csv('shareholder_details.csv', index=False)

print("New shareholder registered successfully!")


def showdetailsofshareholder():

df = pd.read_csv('shareholder_details.csv')

print(df)

cf = input('Enter shareholder_id: ')

print(df[df['shareholder_id'] == cf])

def deleterecordofshareholder():

df = pd.read_csv('shareholder_details.csv')

cf = input('Enter shareholder ID to delete: ')

idx = df[df['shareholder_id'] == cf].index


df.drop(idx, axis=0, inplace=True)

df.to_csv('shareholder_details.csv', index=False)

print("Shareholder record deleted successfully!")

def updaterecoedofshareholder():

df = pd.read_csv('shareholder_details.csv')

print(df)

cf = input('Enter name to update: ')

idx = df[df['name'] == cf].index

print(idx)

n = input('Enter column name: ')


df.loc[idx, n] = input('Enter new value: ')

df.to_csv('shareholder_details.csv', index=False)

def addnewshareholder():

df = pd.read_csv('shareholder_shares.csv')

print(df)

shares_id = input('Enter shares_id :')

Sharename = input('Enter Share name:')

Company = input('Enter Company:')


No_of_shares = input('Enter No_of_shares:')

shareholder_id = input('Enter shareholder_id:')

Typeofshares = input('Enter Typeofshares:')

Totalinvestmentamount = float(input("Enter Total Investment Amount: "))

DOI = input('Enter Date of Investment (YYYY-MM-DD):')

df.loc[len(df)] = [shares_id, Sharename, Company, No_of_shares,

shareholder_id, Typeofshares, Totalinvestmentamount, DOI]

df.to_csv('shareholder_shares.csv', index=False)

print("New share record added successfully!")

def showdetailsofShare():

df = pd.read_csv('shareholder_shares.csv')
print(df)

a = input('Enter shares_id: ')

print(df[df['shares_id'] == a])

def deleterecordofShare():

df = pd.read_csv('shareholder_shares.csv')

a = input('Enter shares_id to delete: ')

idx = df[df['shares_id'] == a].index

df.drop(idx, axis=0, inplace=True)

df.to_csv('shareholder_shares.csv', index=False)

print("Share record deleted successfully!")


def updaterecoedofShare():

df = pd.read_csv('shareholder_shares.csv')

print(df)

a = input('Enter Sharename to update: ')

idx = df[df['Sharename'] == a].index

print(idx)

n = input('Enter column Sharename: ')

df.loc[idx, n] = input('Enter new value: ')

df.to_csv('shareholder_shares.csv', index=False)
def showgraphofshareholders():

df = pd.read_csv('shareholder_details.csv')

print(df)
plt.bar(df['name'], df['shares_owned'], color='blue')

plt.xlabel('Shareholder Name')

plt.ylabel('Number of Shares Owned')

plt.title('Shares Owned by Shareholders')

plt.xticks(rotation=45)

plt.tight_layout()

plt.show()

You might also like