Skip to main content

Python package for validating input for the DDMail project

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ddmail_validators-0.0.6.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddmail_validators-0.0.6-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file ddmail_validators-0.0.6.tar.gz.

File metadata

  • Download URL: ddmail_validators-0.0.6.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for ddmail_validators-0.0.6.tar.gz
Algorithm Hash digest
SHA256 fa4d34cfe6bf82042881616b7df3b774176ca72a84bf134072ce597dc307eb86
MD5 936e22844d0bc58ace30b006280ac254
BLAKE2b-256 e4421def01893903f3f18bea45abe85e568378616e4c05564389de6a39dfb754

See more details on using hashes here.

File details

Details for the file ddmail_validators-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ddmail_validators-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6c372ad16996f9e607469ee47aa0b2434028dd72a3fdb3e5a02d5e9f010fd607
MD5 c2dac9889720534294380e00c4b62b95
BLAKE2b-256 24faf7040020d2439d36fa066334b7457b63309e7b2dcad4f2bb58f5322fac0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page