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

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.1.tar.gz (9.6 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.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hrd_py-0.0.1.tar.gz
  • Upload date:
  • Size: 9.6 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.1.tar.gz
Algorithm Hash digest
SHA256 922a9ed7d3a0b1b6ff15e6dafe1493173ee53e2d3bae3b756b88901ef41770de
MD5 d8f669bd9c7e2e15112a113b20e0195f
BLAKE2b-256 9e81c2d32f1c7fd2547f9d9f1f513f139d53ceed911320b9254d3d92c923a8d2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hrd_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bef0e82219b3f9d002937823164cc05c5ae065e6e4e3a6ab81f3040024cf4f9
MD5 afea5a0ce4d3035ba6f4dfe8db2ab6dd
BLAKE2b-256 2f545d2ceeb5a1c8d6efa0c9b7f90d8542e5006aff42d7e836f108021956c790

See more details on using hashes here.

Provenance

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

0.0.2

2 files

This release

0.0.1 This release

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