A password manager project generated with Python version 3.8.10
This repo creates an app for managing passwords of various user accounts--with an option to save and delete accounts.
The app enables users to save any account with its credentials (username, phone, email, password). Users can add new accounts to myPassLock, search to find existing accounts, display all existing accounts, and delete an existing account after searching it. Initializing the app is a user authenticator, which offers the option to create a new myPassLock account and the option to log in to an existing account. Only non-existing usernames can be created, and only an existing username & password can log a user in.
,1. User welcome message
- OUTPUT: "Welcome to your myPassLock account!"
2. Short codes
- OUTPUT: "Typer lg to LOG IN \ Typer sg to SIGN UP"
3. Account sign up
- INPUT: "sg"
- OUTPUT: "Account Sign Up"
- OUTPUT: "Create a PassLock username ..."
- INPUT: "benie"
- OUTPUT: "One more thing, benie! \ Create a password."
- OUTPUT: "Enter C to Create a PassLock password ... \ Enter G to Generate a PassLock password."
- INPUT: "C"
- OUTPUT: "Create New Password"
- INPUT: "testerPass123!"
- OUTPUT: "Account creation successful. Your new password is: testerPass123! \ Keep it safe for future reference."
- INPUT: "G"
- OUTPUT: "Account creation successful. Your generated password is: @kYYd2901?! \ Keep it safe for future reference."
4. Short codes
- OUTPUT: "Type lg to LOG IN \ Type sg to SIGN UP"
5. Account log in
- INPUT: "lg"
- OUTPUT: "Enter your PassLock username ... :"
- INPUT: "benie"
- OUTPUT: "One more thing, benie!"
- OUTPUT: "Enter your PassLock password ... :"
- INPUT: "@kYYd2901?!"
- OUTPUT: "Login successfull ...... You are in."
6. Platform welcome message
- OUTPUT: "Hello, benie. This is your PassLock account. Wanna have a look around?"
7. Short codes
- OUTPUT: "Use these short codes:"
- OUTPUT: "se - save existing acc, cn - create new acc, da - display accs, fa - find acc, del - delete acc, ex - exit"
8. Save existing account
- INPUT: "se"
- OUTPUT: "Add Existing Account"
- OUTPUT: "Account name ...", "Username ...", "Password", "Email--if relevant", "phone number--if relevant"
- INPUT: "Twitter", "benie254", "hala123!", "[email protected]", "0712 345 678"
- OUTPUT: "Existing Account Twitter for username: benie254 saved."
9. Short codes
- OUTPUT: "Use these short codes:"
- OUTPUT: "se - save existing acc, cn - create new acc, da - display accs, fa - find acc, del - delete acc, ex - exit"
10. Display all accounts
- INPUT: "da"
- OUTPUT: "Here is a list of all your accounts", "Acc: Twitter | eml... [email protected] | usr... benie254 | pass... hala123!"
11. Short codes
- OUTPUT: "Use these short codes:"
- OUTPUT: "se - save existing acc, cn - create new acc, da - display accs, fa - find acc, del - delete acc, ex - exit"
12. Find account
- INPUT: "fa"
- OUTPUT: "Enter the account you want to search for:"
- INPUT: "Twitter"
- OUTPUT: "Results for ......", "Account name: Twitter", "Email ...... [email protected]", "Phone number ...... 0712 345 678", "Password ...... hala123!"
13. Short codes
- OUTPUT: "Use these short codes:"
- OUTPUT: "se - save existing acc, cn - create new acc, da - display accs, fa - find acc, del - delete acc, ex - exit"
14. Delete account
- INPUT: "del"
- OUPUT: "Enter the account you want to delete:"
- INPUT: "Twitter"
- OUTPUT: "Are you sure you want to delete this pass account? *** y (for YES) / n (for NO)"
- INPUT: "n"
- OUTPUT: "Account will not be deleted"
- INPUT: "y"
- OUTPUT: "Your account Twitter has been deleted"
15. Short codes
- OUTPUT: "Use these short codes:"
- OUTPUT: "se - save existing acc, cn - create new acc, da - display accs, fa - find acc, del - delete acc, ex - exit"
16. Exit
- INPUT: "ex"
- OUTPUT: terminates operations--breaks out of app.
- To use this open-source repo, clone it; to contribute, fork it.
- Open your Terminal (CTRL + ALT + T on Ubuntu/Linux).
- Make a destination directory in your preferred path (where you would like to clone the repo into.)
- Run the command
cd yourDestinationDirectory
- Run the command
git clone https://github.com/benie254/mypasslock.git
to clone the repo into your destination directory. - Run the command
cd myPassLock
to move you into this repo's directory. - Run the command
atom .
for Atom orcode .
for VSCode --opens the directory in your preferred code editor. (it is okay if you use something different.) - Happy coding!
No known bugs. Please report any issues or encountered bugs!
- Unittest- test framework for Python
Reach out with any issues, concerns, or contributions to Benie-throughMail
Copyright (c) 2022 Benson Langat
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.*
Copyright (c) 2022 Benson Langat
Python version 3.8.10