r/PythonProjects2 • u/Ali2357 • Aug 28 '25
First Project (password manager)
hey guys,
so i have made my first "useful" project namely the password manager.
It can generate random passwords of your desired length and then can save them in a database.
you can also use the database for saving editing and deleting your own passwords.
i have uploaded a short video on the output ( https://youtube.com/shorts/N69mUDZQRtA?feature=share ) and provided a link to my github ( https://github.com/ColMahir/Python.git ) where the code is posted.
i will be greatly thankful for your thoughts on this. Please share anything you want.

3
u/shudaoxin Aug 29 '25
Good start assuming you are rather new to programming in general. From here I would change and/or implement the following things if you want to go more advanced:
as already suggested, never save raw passwords in a db (in production), encrypt it
for things such as a menu I recommend a switch case instead of a chained if statement
for reusability, easier maintenance and readability use functions. Maybe even put your sql statements in constants for easier management
if you want to go fancy go OOP and make classes to hold data and functionality in objects for like db, passwords, menu etc
Keep going!
2
u/Ali2357 Aug 29 '25
I didnt understand a single thing 😂. Thank you for the feedback as soon as i learn more about these things I will surely implement it.
2
u/shudaoxin Aug 29 '25
In that case skip encryption and OOP for now ;)
Functions and a switch case should be doable quickly if you look them up and give your code a clean and a lot more readable touch
1
u/Ali2357 Aug 29 '25
Could you please tell me what should i search on yt to learn these?
2
u/shudaoxin Aug 29 '25
Literally
functions python
switch case python
Both are programming basics not exclusive to python, so very useful in general. Good luck! :)
1
2
Aug 28 '25
[removed] — view removed comment
2
u/Ali2357 Aug 28 '25
Thank you for the appreciation bro. Its only offline db, I dont have that much knowledge right now but i will learn and impliment that too.
5
u/hello-carbon Aug 28 '25
Good going kid, now read about encryption and implement it.