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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f0f1fa9949fe5d5788534bb851b5c4b9ad995afb8fdb226fb831d898828f740
|
|
| MD5 |
15cdad1139a40acb3966f3a9930bdb91
|
|
| BLAKE2b-256 |
5b151cc1b9cf31692dd81c42ef263c5fc2806d82250ef3702b30c03264d75435
|
Provenance
The following attestation bundles were made for hrd_py-0.0.2.tar.gz:
Publisher:
ci.yml on theundefined/hrd-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hrd_py-0.0.2.tar.gz -
Subject digest:
8f0f1fa9949fe5d5788534bb851b5c4b9ad995afb8fdb226fb831d898828f740 - Sigstore transparency entry: 2202007400
- Sigstore integration time:
-
Permalink:
theundefined/hrd-py@7eb51edd9291e9a09794353dfe82c581842d0656 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/theundefined
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@7eb51edd9291e9a09794353dfe82c581842d0656 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d214c811aec6683e793860b46a8af855bdcdcc817ef6bd1b30aa066fbc8618c6
|
|
| MD5 |
8aa517a47997b25f9a278843f36494f0
|
|
| BLAKE2b-256 |
8b616c92df54805af449615c96d10c0bfcbd2216e1c9524520652ceff7f8f6c4
|
Provenance
The following attestation bundles were made for hrd_py-0.0.2-py3-none-any.whl:
Publisher:
ci.yml on theundefined/hrd-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hrd_py-0.0.2-py3-none-any.whl -
Subject digest:
d214c811aec6683e793860b46a8af855bdcdcc817ef6bd1b30aa066fbc8618c6 - Sigstore transparency entry: 2202007471
- Sigstore integration time:
-
Permalink:
theundefined/hrd-py@7eb51edd9291e9a09794353dfe82c581842d0656 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/theundefined
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@7eb51edd9291e9a09794353dfe82c581842d0656 -
Trigger Event:
push
-
Statement type: