Python package for validating input for the DDMail project.
DDMail is a e-mail system/service that prioritizes security. A current production example can be found at www.ddmail.se
Developt for and tested on debian 12.
pip install ddmail-validators
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
cd [code path]
pytest --cov=ddmail_validators tests/
Follow PEP8 and PEP257. Use Ruff or Flake8 with flake8-docstrings for linting. Strive for 100% test coverage.