This release is a pre-release and may not be stable for production use.
tba-protocol-dmarc
DMARC TXT record parsing, DNS discovery and policy selection.
parse_policy_record returns the policy, subdomain policy, testing flag, and
other fields used in policy selection. discover_policy walks the DNS tree
using an injected resolver and reports the effective policy and its source.
Supply author_exists=False when the caller has established that the author
domain is nonexistent and needs np handling.
from tba_protocol_dmarc import discover_policy
result = discover_policy(dns, "mail.example.com")
print(result.status.value, result.policy_source, result.effective_policy)
This package selects published policy. It does not perform per-message SPF or DKIM authentication.
Quick start
Build the package from the repository root.
uv build --wheel pkgs/50-protocols/tba-protocol-dmarc
Verification
Check that the build produces a wheel with the package version declared in pyproject.toml.
Metadata
Release files for tba-protocol-dmarc 0.4.0.dev2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tba_protocol_dmarc-0.4.0.dev2.tar.gz | 3.5 kB | Without provenance | Details for tba_protocol_dmarc-0.4.0.dev2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_protocol_dmarc-0.4.0.dev2-py3-none-any.whl | Python 3 | none | any | Details for tba_protocol_dmarc-0.4.0.dev2-py3-none-any.whl |
Total release size: 8.6 kB
Release files / tba_protocol_dmarc-0.4.0.dev2.tar.gz
| Download URL | tba_protocol_dmarc-0.4.0.dev2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdc5159776defba6976233e008d57ecaddef2ad7ad97c25bd3c28f51880149bf
|
|
BLAKE2b-256 checksum How to use checksums |
8b01e64d068f837fe736a7bf19ed80c828fb3c873ad50a28e1aad9dee0a02e20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tba_protocol_dmarc-0.4.0.dev2-py3-none-any.whl
| Download URL | tba_protocol_dmarc-0.4.0.dev2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff03cdc672c119f2867ef3ade29e59ab8159da549347ffe96417905c888ea2c0
|
|
BLAKE2b-256 checksum How to use checksums |
32934d1535d57356903e4a1dd0d86df0cc5f8b0a3c2377ae7c7b57e97876c816
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tba-protocol-dmarc 0.4.0.dev2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.