Skip to main content

Batch and CLI email validator

Project description

📧 Email Checker

PyPI 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 email-checker-mv

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.1.tar.gz (632.1 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.1-py3-none-any.whl (634.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: email_checker_mv-0.1.1.tar.gz
  • Upload date:
  • Size: 632.1 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.1.tar.gz
Algorithm Hash digest
SHA256 d0117317cf3343607687edbeeb09ab30b6c217f615510ab18fe210850fa40184
MD5 cd32cf6e7eafff761c0f46d8b3ce4fa3
BLAKE2b-256 2fd1c540d16da205b1c9889c7a6e9a0a45f6ee52fe836b750d47283d5619b19c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for email_checker_mv-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 074460e6712ed079e206589327dde752c69d812aaf0979fb56822b5c9f73f88b
MD5 c2520bfe969866113de9506240f6ecd8
BLAKE2b-256 5ee4986aca396189d2b32aede5b47b004c7c02ef5d3b0a7558cf8f1fe126a4f4

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