Namecheap Python banner
adriangalilea adriangalilea

Namecheap Python

Development community

Description

A Python SDK for the Namecheap API & CLI/TUI tools using it

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Namecheap Python SDK

[![PyPI version](https://badge.fury.io/py/namecheap-python.svg)](https://pypi.org/project/namecheap-python/) [![Downloads](https://pepy.tech/badge/namecheap-python)](https://pepy.tech/project/namecheap-python) [![Downloads/month](https://pepy.tech/badge/namecheap-python/month)](https://pepy.tech/project/namecheap-python) [![Python](https://img.shields.io/pypi/pyversions/namecheap-python)](https://pypi.org/project/namecheap-python/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A modern, friendly Python SDK for the Namecheap API with comprehensive CLI and TUI tools.

🚀 Features

[!NOTE] **New in v3.1.0:** IDN and emoji domains now print readably everywhere (`🧊.to`, not `xn--3u9h.to`), and `domains.list()` no longer crashes on accounts with zero domains ([#10](https://github.com/adriangalilea/namecheap-python/issues/10), reported by [@jparavisini](https://github.com/jparavisini), fixed by [@SAY-5](https://github.com/SAY-5)).

**New in v3.0.0:** register domains from the CLI — `namecheap-cli domain register` shows the real cost up front (promo vs. regular price, renewal rate, ICANN fee) and charges your account balance only after you confirm.

**Breaking (SDK):** v3.1.0 removes the unused `XMLModel.from_xml()` classmethod — never documented, no callers since v1.0.0, and it skipped both response normalization and error detection. v3.0.0 made `contact` required in `domains.register()` and dropped `auto_renew`, which was accepted but never sent, since Namecheap's API has no auto-renew switch.

  • Modern Python SDK with full type hints and Pydantic models
  • CLI Tool for managing domains and DNS from the terminal
  • TUI Application for visual DNS record management
  • Smart DNS Builder with fluent interface for record management
  • Auto-configuration from environment variables
  • Helpful error messages with troubleshooting guidance
  • **IDN & emoji domain s