$npx skillfedfor your agent

checkdmarc

A Python module and command line parser for SPF and DMARC records

Worth itPyPI SecurityReleased Jul 2026135.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — checkdmarc-5.17.4-py3-none-any.whl
v5.17.4 · released 2026-07-28 · Python >=3.10 · 10 runtime deps: cryptography, dnspython, expiringdict, importlib-resources, pem, publicsuffixlist, pyleri, pyopenssl

Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a specific and important problem in email security. It is suitable for security teams, domain administrators, and developers building email infrastructure tools. The Apache-2.0 license poses no restriction.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; DNS queries depend on network connectivity and nameserver availability.
  • Low friction: pure Python wheel with 10 runtime dependencies including well-established libraries like cryptography, dnspython, and requests.
  • Actively maintained with a release 17 days old and last commit on 2026-07-28.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most deployment scenarios.

last release 2026-07-28 (17 days) · last repo commit 2026-07-28 · 318 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,420 downloads/mo, #11,432 on PyPI

Verify before relying

pip install checkdmarc

from checkdmarc import check_domain
result = check_domain('example.com')
print(result['dmarc']['record'])
  • Whether the package handles internationalized domain names (IDNs) correctly in all validation modes.
  • Performance characteristics when checking large batches of domains or deeply nested SPF includes.
  • Whether DNSSEC validation failures are treated as hard errors or warnings in programmatic use.
Same gist for agents: .md · .json

What it is and what it does

checkdmarc is a Python library and command-line tool for validating email authentication infrastructure. It checks SPF records for DNS lookup efficiency and mechanism correctness, validates DMARC policies against RFC standards, verifies BIMI mark certificates against security requirements, and inspects MTA-STS and SMTP TLS reporting policies. It also reports on MX record configuration, nameserver setup, and SOA records.

The package provides three interfaces: a Python API for programmatic use, a CLI that outputs results in JSON or CSV format, and support for batch checking of multiple domains. It includes DNSSEC validation and checks for common misconfigurations like ineffective DMARC `sp` values or deprecated RFC 9989 tags. Most users will reach for it to audit domain email security posture or integrate email authentication checks into security workflows.

Use it for

  • Audit a domain's SPF record for DNS lookup efficiency and validate mechanism syntax before deployment.
  • Check DMARC policy compliance and detect configurations that may be ineffective due to `sp` or deprecated tags.
  • Validate BIMI mark certificates against Minimum Security Requirements before issuance or renewal.
  • Batch-check multiple domains' email authentication records and export results as JSON or CSV for reporting.
  • Integrate email authentication validation into a security scanning or compliance tool via the Python API.
  • Verify MTA-STS and SMTP TLS reporting policies are correctly configured on a domain.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a specific and important problem in email security. It is suitable for security teams, domain administrators, and developers building email infrastructure tools. The Apache-2.0 license poses no restriction.

Install

checkdmarc on PyPI

Before you install

Low friction: pure Python wheel with 10 runtime dependencies including well-established libraries like cryptography, dnspython, and requests. Actively maintained with a release 17 days old and last commit on 2026-07-28.

Requires Python 3.10 or later; DNS queries depend on network connectivity and nameserver availability.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most deployment scenarios.

Quickstart

pip install checkdmarc

from checkdmarc import check_domain
result = check_domain('example.com')
print(result['dmarc']['record'])

Verify before relying

  • Whether the package handles internationalized domain names (IDNs) correctly in all validation modes.
  • Performance characteristics when checking large batches of domains or deeply nested SPF includes.
  • Whether DNSSEC validation failures are treated as hard errors or warnings in programmatic use.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
cryptographydnspythonexpiringdictimportlib-resourcespempublicsuffixlistpyleripyopensslrequestsxmltodict
MaintenanceActively maintained 17 days since the last release
Last repo commit
First released
Downloads135,420 / month, #11,432 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Communications :: EmailTopic :: Security

Evidence: checkdmarc-5.17.4-py3-none-any.whl

Tags

Capabilities
SPF DMARC validationemail authentication DNS checkerBIMI certificate validationMTA-STS policy checkerDNS record parser emailDNSSEC email securitymail server authentication audit
Topics
email-securitydns-validationcompliance-audit
PyPI keywords
BIMIDMARCDNSMTA-STSSPF

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “email authentication DNS checker”

  • checkdmarcValidates SPF, DMARC, BIMI, MTA-STS, and related email authentication…
  • email-validatorValidates email address syntax and optionally checks domain…
  • pyIsEmailValidates email addresses against RFC standards and optionally checks…

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also authheaders · parsedmarc · email-validator · certbot-dns-cloudflare · pyIsEmail · aws-cdk.aws-certificatemanager · validate_email · certbot-dns-directadmin · certbot-dns-duckdns · certbot-dns-route53