Skip to main content

hrd-py

A Python library and CLI for the HRD.pl API.

Features

  • Check account balance.
  • List domains and their status.
  • Monitor domain expiry.
  • Renew domains manually or automatically.

Installation

pip install .

Configuration

Create a .env file with your HRD.pl credentials:

HRD_LOGIN=your_login
HRD_PASS=your_api_password
HRD_HASH=your_api_hash

Usage

CLI

hrd balance
hrd domains --all
hrd expiring --days 30
hrd renew example.com
hrd auto-renew --days 7           # asks before renewing each domain, across all profiles
hrd auto-renew --days 7 --no-ask  # renew without confirmation prompts

Library

from hrd_py import HRDClient

client = HRDClient(login, password, api_hash)
client.login()
balance = client.get_balance()
print(f"Balance: {balance.balance}")

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hrd_py-0.0.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hrd_py-0.0.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file hrd_py-0.0.2.tar.gz.

File metadata

  • Download URL: hrd_py-0.0.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for hrd_py-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8f0f1fa9949fe5d5788534bb851b5c4b9ad995afb8fdb226fb831d898828f740
MD5 15cdad1139a40acb3966f3a9930bdb91
BLAKE2b-256 5b151cc1b9cf31692dd81c42ef263c5fc2806d82250ef3702b30c03264d75435

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrd_py-0.0.2.tar.gz:

Publisher: ci.yml on theundefined/hrd-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hrd_py-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: hrd_py-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for hrd_py-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d214c811aec6683e793860b46a8af855bdcdcc817ef6bd1b30aa066fbc8618c6
MD5 8aa517a47997b25f9a278843f36494f0
BLAKE2b-256 8b616c92df54805af449615c96d10c0bfcbd2216e1c9524520652ceff7f8f6c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrd_py-0.0.2-py3-none-any.whl:

Publisher: ci.yml on theundefined/hrd-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.8

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

This release

0.0.2 This release

2 files

0.0.1

2 files

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