Skip to content

drzobin/ddmail_validators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is ddmail_validators

Python package for validating input for the DDMail project.

What is DDMail

DDMail is a e-mail system/service that prioritizes security. A current production example can be found at www.ddmail.se

Operating system

Developt for and tested on debian 12.

Installing using pip

pip install ddmail-validators

Building and installing from source using hatchling.

Step 1: clone github repo
git clone https://github.com/drzobin/ddmail_validators [code path]
cd [code path]

Step 2: Setup python virtual environments
python -m venv [venv path]
source [venv path]/bin/activate

Step 3: Install required dependencies
pip install -r requirements.txt

Step 4: Build package
python -m pip install --upgrade build
python -m build

Packages is now located under dist folder

Step 5: Install package
pip install dist/[package name].whl

Testing

cd [code path]
pytest --cov=ddmail_validators tests/

Coding

Follow PEP8 and PEP257. Use Ruff or Flake8 with flake8-docstrings for linting. Strive for 100% test coverage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages