Skip to main content

Source code of Sequoia API TLDPublic

Project description

Getting Started

Asyncio version of the standard lib xmlrpc

Currently only aioxmlrpc.client, which works like xmlrpc.client but with coroutine is implemented.

Fill free to fork me if you want to implement the server part.

aioxmlrpc is based on httpx for the transport, and just patch the necessary from the python standard library to get it working.


pip install aioxmlrpc

Example of usage

This example show how to print the current version of the Gandi XML-RPC api.

import asyncio
from aioxmlrpc.client import ServerProxy

def print_gandi_api_version():
    api = ServerProxy('')
    result = yield from

if __name__ == '__main__':
    loop = asyncio.get_event_loop()

Run the example

poetry run examples/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioxmlrpc-0.6.4.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

aioxmlrpc-0.6.4-py3-none-any.whl (4.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page