Skip to main content

A FastAPI project for email verification.

Project description

Email Verification

Description

This project is a FastAPI application designed to interact with the Hunter.io API. It provides functionality to verify email addresses and search emails by domain, with CRUD operations for managing the results. The application stores results in a local variable and is structured to demonstrate basic API interaction and data handling in FastAPI.

Features

  • Email verification using Hunter.io API
  • Search for emails associated with a domain
  • CRUD operations for managing email verification results
  • Local storage of verification results
  • Asynchronous request handling

Installation

This project uses Poetry for dependency management. To set up the project, follow these steps:

  1. Clone the repository:
git clone https://github.com/alexsproject/email-verification.git
cd pythonProject
  1. Install dependencies using Poetry:
poetry install

Usage

To run the FastAPI server:

poetry run python3 -m main

This command will start the FastAPI application with hot-reload enabled.

API Endpoints

  • POST /verify-email: Verifies the email address.
  • POST /search-email: Search for email addresses by domain.
  • POST /email-results/: Create a result entry for an email address or domain.
  • GET /email-results/{identifier}: Retrieve a specific verification result by email or domain.
  • PUT /email-results/{identifier}: Update a specific verification result.
  • DELETE /email-results/{identifier}: Delete a specific verification result.

Configuration

The application can be configured through environment variables. Here are the available configurations:

  • API_KEY: Your Hunter.io API key.

Contributing

Contributions to this project are welcome. Please ensure to follow the code of conduct and coding standards of the project.

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_verification_task_foragerai-0.1.0.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.

File details

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

File metadata

File hashes

Hashes for email_verification_task_foragerai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ab6316e365ff1c92ee20987d2f9e08bd176bee64b82106595a714e73e966b840
MD5 abb6abfb91685b39b599d5ef401c098e
BLAKE2b-256 86534250d924c28bb274734d8ae3575c1663ab743a37f787f7f9a78b175219ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for email_verification_task_foragerai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15e203bac3e3b919ace8d56933c6fbf9880f1550da091304c15cb05638c1123b
MD5 10fdc7b4be60964e26c883e28203cc02
BLAKE2b-256 3f3819dd82de9d499e0a31adc5dfa6cb99e06d299d21f8b422b9efc18d7a9ab3

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