Skip to content

TawneeOwl/password_validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Validator

This application validates a password based on criteria set.

Getting started

Prerequisite

Please ensure you have a version of Python3 installed on your system.

https://www.python.org/downloads/

Setup

Create a virtual environment and install the dependencies:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements/generated/requirements.txt

Run the tool

To run the application, call password_validator.py with the password given as an arguement:

python3 app/password_validator.py Password123456_

Testing

To test the application run:

pytest

Linting and formatting

To run the linter on the code, run the below command:

ruff check

To format the code via ruff, run the below command:

ruff format

Updating requirements

To update the requirements, run the below command once you've made changes to requirements/source/requirements.in:

pip-compile --output-file=requirements/generated/requirements.txt requirements/source/requirements.in

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages