Meta tags:
description= I maintain a high-volume lead-gen API that validates thousands of emails per request. To keep latency low, we can’t rely on the library’s check_deliverability=True option because it triggers blocking DNS lookups. Instead, we run the libr...;
Headings (most frequently used words):
commented, on, dec, 2025, navigation, joshdata, async, metadata, footer, vgbijpuria, 14, 15, proposal, add, an, email, validation, function, using, dnspython, resolver, 164, menu, repository, description, activity, issue, actions, 13, assignees, labels, projects, milestone, relationships, development,
Text of the page (most frequently used words):
and (21), the (20), async (20), github (14), for (13), that (11), dec (11), 2025 (11), actions (9), joshdata (8), support (8), your (7), email (7), time (6), open (6), more (6), #vgbijpuria (6), with (6), dns (6), you (5), this (5), security (5), copilot (5), issue (5), projects (5), sign (5), commented (5), library (5), code (5), have (4), what (4), work (4), are (4), deliverability (4), build (4), using (4), return (4), domain (4), resolver (4), add (4), navigation (3), none (3), labels (3), one (3), thanks (3), owner (3), branch (3), into (3), would (3), don (3), project (3), existing (3), path (3), lead (3), blocking (3), real (3), but (3), validator (3), documentation (3), email_info (3), await (3), dns_resolver (3), asyncresolver (3), copy (3), link (3), 164 (3), proposal (3), validation (3), function (3), dnspython (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), all (3), can (2), perform (2), not (2), community (2), status (2), footer (2), pull (2), requests (2), development (2), milestone (2), metadata (2), change (2), happy (2), given (2), constraints (2), plan (2), fork (2), separate (2), rather (2), than (2), right (2), now (2), author (2), commit (2), about (2), helpful (2), continue (2), own (2), use (2), check (2), just (2), emails (2), high (2), volume (2), they (2), source (2), rely (2), gen (2), api (2), maintain (2), lookups (2), practical (2), experience (2), because (2), was (2), emailnotvaliderror (2), _resolve_mail_hosts (2), check_deliverability (2), validate_email (2), validatedemail (2), str (2), def (2), exception (2), except (2), record_type (2), resolve (2), try (2), import (2), new (2), insights (2), repository (2), python (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), learn (2), business (2), fixes (2), products (2), secret (2), action, share, personal, information, manage, cookies, contact, docs, privacy, terms, 2026, inc, app, branches, yet, relationships, assigned, assignees, comment, already, account, join, conversation, free, things, future, makes, sense, align, again, revisit, when, trying, fit, repo, totally, understandable, last, edited, position, any, answer, since, enough, prioritize, offer, assist, reviewing, sharing, responsibility, testing, ongoing, going, maintaining, internal, either, way, wanted, whether, there, interest, aligning, main, keeping, them, agree, majority, users, validating, login, signup, synchronous, perfectly, adequate, think, subset, should, used, judge, usefulness, overall, generation, enrichment, pipelines, bulk, data, hygiene, jobs, operate, under, very, different, those, cases, becomes, bottleneck, small, niches, together, believe, considerable, sum, current, role, gives, opportunity, meaningfully, heavily, had, myself, avoid, scale, while, implementation, isn, suitable, drop, directly, general, purpose, has, does, doesn, workloads, actually, did, some, several, years, ago, stopped, complex, afraid, supporting, much, wasn, sure, really, worked, purposes, activity, adds, fully, compatible, pydantic, models, plus, tests, before, invest, adding, raise, false, aio_validate_email, aaaa, email_validator, from, improvement, exposed, first, class, below, minimal, prototype, showing, could, look, like, validates, thousands, per, request, keep, latency, low, true, option, triggers, instead, run, checks, disabled, our, queries, via, body, opened, description, items, wiki, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
proposal add an async email validation function using dnspython s async resolver issue 164 joshdata python email validator github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message joshdata python email validator repository navigation code issues 12 12 pull requests 5 5 actions projects wiki security and quality insights more items proposal add an async email validation function using dnspython s async resolver 164 new issue copy link new issue copy link open open proposal add an async email validation function using dnspython s async resolver 164 copy link description vgbijpuria opened on dec 4 2025 issue body actions i maintain a high volume lead gen api that validates thousands of emails per request to keep latency low we can t rely on the library s check_deliverability true option because it triggers blocking dns lookups instead we run the library with deliverability checks disabled and perform our own async dns queries via dns asyncresolver it would be a real improvement if the library exposed a first class async deliverability path below is a minimal prototype showing what that could look like from email_validator import validate_email emailnotvaliderror validatedemail import dns asyncresolver dns_resolver dns asyncresolver resolver async def _resolve_mail_hosts domain str try return await dns_resolver resolve domain mx except exception for record_type in a aaaa try return await dns_resolver resolve domain record_type except exception continue return none async def aio_validate_email email str validatedemail email_info validate_email email check_deliverability false if await _resolve_mail_hosts email_info domain is none raise emailnotvaliderror return email_info my plan is to open a pr that adds an async validator fully compatible with your existing pydantic models plus tests and documentation before i invest the time are you open to adding async support to the project activity joshdata commented on dec 13 2025 joshdata on dec 13 2025 owner more actions i actually did some work on that several years ago and it s on the async branch but i stopped because 1 it was a complex change that i was afraid to commit to supporting and 2 i don t have much experience using async so i wasn t sure if it really worked for practical purposes vgbijpuria commented on dec 14 2025 vgbijpuria on dec 14 2025 author more actions my current role gives me the time and opportunity to meaningfully support the open source projects i rely on and this is one i use heavily in the lead gen api i maintain i had to build an async deliverability path myself to avoid blocking dns lookups at scale while that implementation isn t suitable to drop directly into a general purpose library but it has given me practical experience with what does and doesn t work in real async workloads i agree that for the majority of users that are just validating login or signup emails the existing synchronous path is perfectly adequate i just don t think that subset should be used to judge the usefulness of async support overall high volume lead generation enrichment pipelines and bulk data hygiene jobs operate under very different constraints and in those cases a blocking deliverability check becomes a real bottleneck they are small niches but together i believe they are a considerable sum if it would be helpful i d be happy to assist by reviewing the existing async branch and sharing responsibility for testing and ongoing support i m going to continue maintaining the internal async fork for my own use either way so i wanted to check whether there s interest in aligning that work with the main project rather than keeping them separate joshdata commented on dec 14 2025 joshdata on dec 14 2025 owner more actions thanks for the offer right now i m not in a position to commit to any answer about what would be helpful since i don t have enough time to prioritize this project vgbijpuria commented on dec 15 2025 vgbijpuria on dec 15 2025 last edited by vgbijpuria author more actions totally understandable given the constraints i ll plan to fork your async branch into a separate library when i have time rather than trying to fit it into this repo right now if things change in the future and it makes sense to align again i m happy to revisit thanks for your time joshdata commented on dec 15 2025 joshdata on dec 15 2025 owner more actions thanks sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels no labels no labels projects no projects milestone no milestone relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|