Skip to content
qiyas.cc
Problem Solver
cc · project · Open source started 2026-10-14

Hostinger Python SDK

A small, typed Python client for the Hostinger Domains and DNS API, sync and async, with rate-limit retries and plain dataclasses instead of raw JSON.

$ pip install hostinger-python-sdk
Python httpx

One of four sibling SDKs (with GoDaddy, DigitalOcean and Namecheap) that share the same shape, so moving DNS between providers does not mean learning a new library.

from hostinger_sdk import Hostinger

with Hostinger("API_TOKEN") as hs:
    hs.dns.point("example.com", "shop", "203.0.113.10")

That one call makes shop.example.com resolve to 203.0.113.10, replacing any A records shop had before. The client works in sync and async code, waits and retries when Hostinger rate-limits it, and returns typed dataclasses.