GithubHelp home page GithubHelp logo

benie254 / mypasslock Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

This repo creates an app for managing passwords of various user accounts--with an option to save and delete accounts.

Python 100.00%
python unittest

mypasslock's Introduction

myPassLock

A password manager project generated with Python version 3.8.10

myPassLock

This repo creates an app for managing passwords of various user accounts--with an option to save and delete accounts.

Author

Benson Langat

Description

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.

Screenshot

,

Behavior Driven Development--BDD

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.

Setup/Installation Requirements

  • 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 or code . for VSCode --opens the directory in your preferred code editor. (it is okay if you use something different.)
  • Happy coding!

Known Bugs

No known bugs. Please report any issues or encountered bugs!

Technologies Used

Important resources

  • Unittest- test framework for Python

Support and contact details

Reach out with any issues, concerns, or contributions to Benie-throughMail

License

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

mypasslock's People

Contributors

benie254 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.