Password validator and generator CLI tool.
Project description
Table of Contents
About The Project
My project is a CLI application that aims to validate the strength of passwords, generate random passwords, and create passwords based on user inputs. The idea for this project was inspired by a similar project on Kaggle, which can be found at here. The password generation and validation functions of this application are based on the Microsoft Password Requirements.
Getting Started
This is an example of how you may give instructions on setting up the project locally.
Setting Up Environment
Python 3.9.13
OS: Linux or MacOS
NOTES
⚠️ Commands/Scripts for this project are wrote for Linux-based OS. They may not work on Windows machines.
Installation
-
Clone the repo and change directory to that folder
git clone https://github.com/NgoQuocBao1010/QB-generator.git
-
Install all project dependencies
pip install -r requirements.txt
Usage
-
CLI application's usage
Command Description validateValidate password according to Microsoft rules. generateGenerate a strong password. generate-fromGenerate a password (or multiple passwords) based on a phrase or word provided by the user. validatecommandArgument Option Description passwordARGThe password to validate. --username,-uOPTThe username correspond to password for extra validation. --common-pwdOPTCheck if the password is similar to other common passwords --common-wordsOPTCheck if the password contains most common used words --check-all,-yOPTShortcut to check for both common passwords and common words. --ignore-warningsOPTIgnore all warnings. generatecommandArgument Option Description --length,-lOPTLength for the generated password. Should be more than 8. --special-characterOPTIf True, password will contains special characters. --no-copyOPTAvoid save password to clipboard. generate-fromcommandArgument Option Description user_inputARGA quote or words given by the user. --addOPTAdditional words to add to the generated password without any modification. --all,-aOPTReturn all the possible generated passwords. --pwd-validationOPTTurn on password strength analysis. --max-strengthOPTOnly return the strongest password -
Programmatically usage
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License.
Acknowledgments
- Logo marker for this project.
- This awesome README template is from Best README Template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file QB_gen-0.0.2.tar.gz.
File metadata
- Download URL: QB_gen-0.0.2.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a4e03bb61e68bb11ea39a5fa03a24b788939aa78fdb6af5ede6b14603d447ab
|
|
| MD5 |
b866bafebb8728c0c790422370ee149b
|
|
| BLAKE2b-256 |
7d52ec7b6eefa11a5a9d866604eeb4e1598c6e464189aab8e3a34f71881dd379
|
File details
Details for the file QB_gen-0.0.2-py3-none-any.whl.
File metadata
- Download URL: QB_gen-0.0.2-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ef6f1dd0eee3294085097852829bb46174a5f447c268fd40ad8e420bf24b61b
|
|
| MD5 |
989d0c00cc8b542252f13fb7378dad58
|
|
| BLAKE2b-256 |
221bac710e7c950671610a21d7a035da4b0b3737b02f067452a4538e2470efae
|