Skip to main content

Batch and CLI email validator

Project description

📧 Email Checker

Version Python Version Docker Image MIT License

Email Checker is a Python-based utility for validating email addresses in bulk or individually. It detects disposable email domains, supports scheduled checks via cron, and is available both as a standalone CLI tool and as a Dockerized service.


🚀 Features

  • ✅ Validate a single email address from the CLI
  • 📄 Batch validation from CSV files
  • 🕒 Cron integration for scheduled checks
  • 🐳 Dockerized for easy deployment
  • 🔄 Automatic update of disposable domains list

📦 Installation (CLI Version)

Install the tool locally using pip:

  pip install .

Uninstall (CLI Version)

  pip uninstall email-checker

🛠️ CLI Commands

Check a single email:

  check_email any.name@example.domain

Batch check (from /input/*.csv):

  check_batch

Update the list of disposable email domains:

  python3 src/app/utils/update_disposable_domains.py

🐳 Docker Usage

This project includes a manage.sh script to simplify Docker operations.

Before first usage run:

  chmod +x manage.sh

Start the service:

  ./manage.sh start

Stop the service:

  ./manage.sh stop

Destroy the container:

  ./manage.sh destroy

Follow cron job logs:

  docker exec -it email_checker tail -f /var/log/cron.log

Run batch check inside Docker:

  docker exec -it email_checker check_batch

Run single email check inside Docker:

  docker exec -it email_checker check_email any.name@example.domain

📋 Notes

  • Input CSV files should be placed in the input/ directory.

  • Disposable email domains are fetched from Propaganistas/Laravel-Disposable-Email.

  • Cron jobs are preconfigured in the Docker image to run checks and update disposable domains.

📄 License

  • This project is licensed under the MIT License.

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

email_checker_mv-0.1.0.tar.gz (632.0 kB view details)

Uploaded Source

Built Distribution

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

email_checker_mv-0.1.0-py3-none-any.whl (634.2 kB view details)

Uploaded Python 3

File details

Details for the file email_checker_mv-0.1.0.tar.gz.

File metadata

  • Download URL: email_checker_mv-0.1.0.tar.gz
  • Upload date:
  • Size: 632.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for email_checker_mv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 91ff1cc1590331f0f18db48ff9db87dcee2c8d373933f5053a6d47211e347fc9
MD5 a06b9a5d395a2a778ef4d2e0b1632ae2
BLAKE2b-256 9a27ddaca9012a2824ff0d6d9a0017f55b097fdda5b4159a2d2e8b97a05e498f

See more details on using hashes here.

File details

Details for the file email_checker_mv-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for email_checker_mv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d0d11f79919a6f1b52a4ebd7fe338e56f98994a833818ed0073380d78fdc312
MD5 b0ac841c8af05a9271fc6d00f1908e10
BLAKE2b-256 f025fa56f9a991cd656530ad907767ff6e191d7c46c900f142b018d3411fc544

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