Skip to main content
OpenSRS-py
Version 0.1.4
=============

This is a python implementation of the [OpenSRS][opensrs] [XML API][xmlapi].

It is only a light wrapper around the structure of the requests and
responses as defined by the API.

Example Usage
-------------

Here is what a post call looks like:

from opensrs import OpenSRS
opensrs = OpenSRS("myusername", "privatekey", test=True)
opensrs.post("sw_register", "domain",
attrs={
"domain": "example.com",
"auto_renew": 1,
"link_domains": 0,
"reg_type": "new",
"contact_set": {
"owner": { ... },
"admin": { ... },
"billing": { ... },
"tech": { ... },
},
"nameserver_list": [
{
"sortorder": 1,
"name": "ns1.fatbox.ca",
},
{
"sortorder": 2,
"name": "ns2.fatbox.ca",
},
],
},
extra_items = {
"registrant_ip": "1.2.3.4",
},
)

And you get back a data structure like:

{
"protocol": "XCP",
"action": "reply",
"response_code": "200",
"is_success": 1,
"attributes": {
...
},
}

Requirements
------------

* xml.etree.ElementTree
* httplib2

[opensrs]: http://opensrs.com
[xmlapi]: http://opensrs.com/docs/opensrsapixml/index.htm

Metadata

Release files for OpenSRS 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OpenSRS 0.1.4
File Size Uploaded Provenance
OpenSRS-0.1.4.tar.gz 5.8 kB Without provenance Details

Release files / OpenSRS-0.1.4.tar.gz

Download URL OpenSRS-0.1.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6ec81c6bc2bcb982ec8554d5c4c6e561da503ad37cf586cb860b3832199f75f3
BLAKE2b-256 checksum
How to use checksums
bc4b2dc59a7e6d2aa53aa90fcd4a90c552e05d5aef3921d5c6b58c21dd66d80f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for OpenSRS 0.1.4

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.

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