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.2.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.2-py3-none-any.whl (634.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: email_checker_mv-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a4e4354a6b2aeca6dcc9394f64cf79d7b3569796ecc6288e62842e0a43c38ca1
MD5 87fac15d34024292b74e3e1c0f3a1a54
BLAKE2b-256 63594030edc6fdbd786e0cb27f1eb51b91e3142dbdd5839b3082ea52b8893fb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for email_checker_mv-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 653eabc253342a9124aa38ba739e47af5856136fdb2af85f5978e7e3cbec7a2f
MD5 416a5551d52683dcc9048eb9c648e7e4
BLAKE2b-256 d1b918da0d690a7eff31006f2e6898c5a88d426b032cd46da182189fcfc629ef

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