Skip to main content

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)

Source distribution for rrpproxy 0.2.0
File Size Uploaded
rrpproxy-0.2.0.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rrpproxy 0.2.0
File Interpreter ABI Platform
rrpproxy-0.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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