rrpproxy
A python connector for RRP Proxy
connect
from rrpproxy import RRPProxy
proxy = RRPProxy('username', 'password')
RRPProxy advises to use long standing connections. If you want to re-use the same Session:
import requests
from rrpproxy import RRPProxy
session = requests.Session()
proxy = RRPProxy('username', 'password', session=session)
connect to sandbox
from rrpproxy import RRPProxy
proxy = RRPProxy('username', 'password', use_test_environment=True)
usage
proxy.check_domain('hypernode.com')
{'code': '210',
'description': 'Domain name available',
'runtime': '0.267',
'queuetime': '0'
}
proxy.add_domain(domain='newdomain.tld', period=2, ownercontact0='Owner', techcontact0='Tech-user', billingcontact0='Billing-User', admincontact0='Admin', auth='2foo"BAR%', nameserver0='nameserver', nameserver1='nameserver1', x-fee-amount=2000)
{'code': '200',
'description': 'Command completed succesfully',
'property': {
'x-fee-amount': ['2000'],
'x-fee-application': ['0'],
'x-fee-currency': ['EUR'],
'created date': ['2015-06-24 11:53:27'],
'registration expiration date': ['2017-06-24 11:53:27'],
'renewal date': ['2017-07-29 11:53:27'],
'roid': ['13530236711060_DOMAIN-KEYSYS'],
'status': ['ACTIVE'],
},
'runtime': '0.1',
'queuetime: '0',
}
Running tests
The tests can be run by using $ tox
More info
For more information related to the RRP Proxy API, visit: https://wiki.rrpproxy.net/api/api-commands/api-command-reference
Metadata
Release files for rrpproxy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rrpproxy-0.2.0.tar.gz | 15.8 kB | Without provenance | Details for rrpproxy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rrpproxy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for rrpproxy-0.2.0-py3-none-any.whl |
Total release size: 44.2 kB
Release files / rrpproxy-0.2.0.tar.gz
| Download URL | rrpproxy-0.2.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae4a20029ba4d8b58d6b929e34568adf26705b1de31b6fa8ff9dbb189ccb2f9b
|
|
BLAKE2b-256 checksum How to use checksums |
62b579d948ec5638b4cbb6b78e4edd77a4af138bf990c80b2db3fe85f361af0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / rrpproxy-0.2.0-py3-none-any.whl
| Download URL | rrpproxy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 28.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba290709f73098f9c8b1de49e8305c7f405293f04544380e43c8dc8490c81e1a
|
|
BLAKE2b-256 checksum How to use checksums |
3203e66b15688ae7437347887a3c18b9a19d2a8ba8da5f6e2414c146426d68d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for rrpproxy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.