Inspiration

I am currently preparing for IIT JEE Advanced and studying in a coaching institute. Due to the pandemic, our classes have shifted from offline to zoom meetings now. But many children do not log in with their official id's provided to them and even call outsiders into the class. As a security measure, our institute had mandated us to log in with our official id's (anyone not doing so will be kept in the waiting room) and also to change our passwords every week or so and sometimes even 2-3 times in a week.

What it does

This became a hassle as I cannot remember that many passwords, so I created this password generator that emails a password to my gmail account (not the account I log into the classes with) every time I click on the .py file from my desktop. This way I can even access them if I forget the password.

How we built it

I built it after learning about and also watching a couple of videos about modules. Then I decided to use the random module in python for generating the password.

Challenges we ran into

The major challenge was to mail the password to my gmail account, and for that I had to learn a bit about the smtplib aka simple mail transfer protocol client module. Another challenge was the fact that google was constantly denying access to a the account I had created (for the dry run). After a long contemplation (and some help) I found that the solution to this problem was to simply create an app password for the gmail account.

Accomplishments that we're proud of

I am very proud that I was able to build upon what I was currently learning in my school and use python to relieve me of a task that wold otherwise become very problematic for me.

What we learned

I learnt about modules like random and smtplib.

What's next for Automatic Password Generator

I am working on trying to make the process free from the random module. This will help expand my logical base and also decrease my reliance on modules completely.

Built With

Share this project:

Updates