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.
  • View account operation history (purchases, renewals, etc.).

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
hrd history --limit 20            # recent operations across all profiles, with date and owner

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.3.tar.gz (10.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.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hrd_py-0.0.3.tar.gz
  • Upload date:
  • Size: 10.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.3.tar.gz
Algorithm Hash digest
SHA256 c425a9748e6fc93cf74108ef23e174de79a99ec08f8da55c0706c64ccd355497
MD5 5ccdb732ccf901f63adeb62ca54c5dd6
BLAKE2b-256 e024b8ecf5ffba75419d1b66a33eae62c22f82f430737efd44c8cba2e05daa44

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrd_py-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: hrd_py-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0f6b3647a21a6466fda2ae56dc74bc24ba51c025f46eca55616c17dc281be280
MD5 7342afc5c8801a1c55e531e0a0c29444
BLAKE2b-256 31cd4f6d72f83b7410f5ee971948c16e00e8b669cbeabff6347453cc9ed0682d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hrd_py-0.0.3-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

This release

0.0.3 This release

2 files

0.0.2

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