Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tba-contracts-dns

TBA · Tigrbl Auth

Checkout: 0.4.0.dev2 Python: >=3.10,<3.16 License: Apache-2.0 Layer: 02 contracts PyPI version for tba-contracts-dns

Monthly PyPI downloads for tba-contracts-dns Evidence: verification

DNS TXT lookup contracts and shared TXT record handling.

TxtResolver, TxtResult, and TxtStatus let protocol consumers accept a resolver without a DNS transport dependency. normalize_domain canonicalizes domain names for lookup. versioned_records and parse_tags handle the shared TXT tag-list shape used by BIMI and DMARC.

from tba_contracts_dns import TxtResult, TxtStatus


class StaticDns:
    def lookup_txt(self, name: str) -> TxtResult:
        if name == "_dmarc.example.com":
            return TxtResult(TxtStatus.FOUND, (b"v=DMARC1; p=reject",))
        return TxtResult(TxtStatus.ABSENT)

Quick start

Build the package from the repository root.

uv build --wheel pkgs/02-contracts/tba-contracts-dns

Verification

Check that the build produces a wheel with the package version declared in pyproject.toml.

Metadata

Release files for tba-contracts-dns 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)

Source distribution for tba-contracts-dns 0.4.0.dev2
File Size Uploaded Provenance Actions
tba_contracts_dns-0.4.0.dev2.tar.gz 2.4 kB Without provenance Details for tba_contracts_dns-0.4.0.dev2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tba-contracts-dns 0.4.0.dev2
File Interpreter ABI Platform Actions
tba_contracts_dns-0.4.0.dev2-py3-none-any.whl Python 3 none any Details for tba_contracts_dns-0.4.0.dev2-py3-none-any.whl

Total release size: 6.1 kB

Release files / tba_contracts_dns-0.4.0.dev2.tar.gz

Download URL tba_contracts_dns-0.4.0.dev2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
57fe183ff112a55fe0e95ebe0bd7bbe5622b5d2bb66138c94274b5a9a665be7e
BLAKE2b-256 checksum
How to use checksums
33721fc1b6aea3384d810f8acacfa0f25dc321dc2810172700341c8a679fb530
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_contracts_dns-0.4.0.dev2-py3-none-any.whl

Download URL tba_contracts_dns-0.4.0.dev2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
070f535802502fcae325a894d056f675e8472843cb18266463ccea7af4fff878
BLAKE2b-256 checksum
How to use checksums
ddf753db971612cc6f9342c25dd4d6774650d3b177993852766bc2a338d370d3
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-contracts-dns 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page