Skip to main content

wyrmctl-namecheap

Namecheap DNS provider plugin for Portwyrm through wyrmctl

Extend wyrmctl with Namecheap-backed DNS record management for declarative workflows, provider discovery, and DNS-aware automation.

PyPI version Python 3.10, 3.11, 3.12, 3.13, and 3.14 CI SSOT governed Apache 2.0 License

wyrmctl-namecheap package hits wyrmctl-namecheap downloads

wyrmctl architecture infographic

wyrmctl-namecheap is the Namecheap DNS provider package for the Portwyrm wyrmctl CLI. Install it when you want desired-state DNS records or DNS diagnostics to resolve through Namecheap instead of using only the base wyrmctl package.

Supported Python Versions

wyrmctl-namecheap supports Python 3.10, 3.11, 3.12, 3.13, and 3.14.

Why wyrmctl-namecheap

  • Adds Namecheap DNS provider discovery to wyrmctl
  • Lets DNS workflows live beside proxy and certificate desired state
  • Keeps provider-specific credentials out of the core CLI package
  • Supports operator diagnostics through wyrmctl dns doctor
  • Persists A, AAAA, CNAME, TXT, MX, SRV, and CAA records through Namecheap setHosts during wyrmctl apply

FAQ

What is wyrmctl-namecheap?

Answer: wyrmctl-namecheap is a Portwyrm extension package that teaches wyrmctl how to talk to the Namecheap DNS API for DNS record operations and DNS provider diagnostics.

When do I need wyrmctl-namecheap?

Answer: You need wyrmctl-namecheap when your wyrmctl workflow includes Namecheap-managed DNS records or when you want wyrmctl to validate Namecheap DNS connectivity and credentials.

Does wyrmctl-namecheap work without wyrmctl?

Answer: No. wyrmctl-namecheap is an extension package for wyrmctl, not a standalone CLI.

What credentials are required?

Answer: Namecheap API access requires NAMECHEAP_API_USER, NAMECHEAP_API_KEY, NAMECHEAP_USERNAME, and NAMECHEAP_CLIENT_IP. You can also override the endpoint with NAMECHEAP_API_BASE_URL for tests or non-default environments.

Install

Install the base CLI and the Namecheap provider package together:

pipx install wyrmctl
pipx inject wyrmctl wyrmctl-namecheap
wyrmctl plugins list

With uv:

uv tool install wyrmctl
uv tool install wyrmctl-namecheap
wyrmctl plugins list

Inside a virtual environment:

python -m venv .venv
. .venv/bin/activate
python -m pip install wyrmctl wyrmctl-namecheap
wyrmctl plugins list

Configure Namecheap

Set the required environment variables:

export NAMECHEAP_API_USER=your-api-user
export NAMECHEAP_API_KEY=your-api-key
export NAMECHEAP_USERNAME=your-username
export NAMECHEAP_CLIENT_IP=your-public-ip

Optional for tests or alternate endpoints:

export NAMECHEAP_API_BASE_URL=https://api.namecheap.com/xml.response

Verify Plugin Discovery

Check that wyrmctl can discover the provider:

wyrmctl plugins list
wyrmctl dns doctor --provider namecheap

Minimal DNS Workflow

Once the provider is installed and configured, wyrmctl can validate, plan, apply, and diagnose Namecheap-backed DNS behavior through the base CLI:

wyrmctl validate desired-state/dns.yaml
wyrmctl plan desired-state/dns.yaml --owner site-a
wyrmctl apply desired-state/dns.yaml --owner site-a
wyrmctl dns doctor --provider namecheap
wyrmctl dns records --provider namecheap --zone example.com

Namecheap apply uses namecheap.domains.dns.setHosts, so wyrmctl sends the full zone host set required by the Namecheap XML API. Unmanaged records returned by Namecheap are preserved; stale wyrmctl-owned records can be removed with owner-scoped prune behavior when they are omitted from desired state. The supported declarative record types are A, AAAA, CNAME, TXT, MX, SRV, and CAA. MX records require priority.

More Documentation

Metadata

Release files for wyrmctl-namecheap 0.4.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wyrmctl-namecheap 0.4.9
File Size Uploaded Provenance Actions
wyrmctl_namecheap-0.4.9.tar.gz 11.2 kB With provenance Details for wyrmctl_namecheap-0.4.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wyrmctl-namecheap 0.4.9
File Interpreter ABI Platform Actions
wyrmctl_namecheap-0.4.9-py3-none-any.whl Python 3 none any Details for wyrmctl_namecheap-0.4.9-py3-none-any.whl

Total release size: 24.7 kB

Release files / wyrmctl_namecheap-0.4.9.tar.gz

Download URL wyrmctl_namecheap-0.4.9.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ac42f73b9b7f270b4787f5e430e82bf4a14c3e4e0d435c6457dd4119551aabdc
BLAKE2b-256 checksum
How to use checksums
cf102b5a95cb4f89a03f87768293d316fb96ae0240056e6fdad1d1f6554bfdf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / wyrmctl_namecheap-0.4.9-py3-none-any.whl

Download URL wyrmctl_namecheap-0.4.9-py3-none-any.whl
Size 13.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce18a9174f922d59c8c3388866b431dcefac6d066abffabc2f1b93c781ec0b95
BLAKE2b-256 checksum
How to use checksums
dcbb2ec80ea7d53b9d73c135233020c681724c9556d3a48374462ec7fe10d86d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for wyrmctl-namecheap 0.4.9

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for wyrmctl_namecheap-0.4.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.4.9 This release

2 release files Full provenance

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