aioxmlrpc 0.4-1 source package in Ubuntu
Changelog
aioxmlrpc (0.4-1) unstable; urgency=medium * New upstream release * Standards-Version bumped to 4.0.0 (no changes needed) -- Piotr Ożarowski <email address hidden> Tue, 20 Jun 2017 16:07:44 +0200
Upload details
- Uploaded by:
- Piotr Ożarowski
- Uploaded to:
- Sid
- Original maintainer:
- Piotr Ożarowski
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
aioxmlrpc_0.4-1.dsc | 2.0 KiB | 285995f598465af9e06ffa78d672b9d2b4ce1b32a5f25d784e8f398a7d0722a7 |
aioxmlrpc_0.4.orig.tar.gz | 5.6 KiB | 75fa0b68a4e4ef0017631c1df34017c627f27f1f469814389b5ff6939aba1bf4 |
aioxmlrpc_0.4-1.debian.tar.xz | 2.4 KiB | 2b0d077d249d1a846b3b7c8dca4c64eae432293ba9230748fb817d5acfb69ba0 |
Available diffs
- diff from 0.3-1 to 0.4-1 (2.2 KiB)
No changes file available.
Binary packages built by this source
- python3-aioxmlrpc: XML-RPC for asyncio
Asyncio version of the standard lib xmlrpc.
.
Currently only aioxmlrpc.client, which works like xmlrpc.client but
with coroutine is implemented.
.
aioxmlrpc is based on aiohttp for the transport, and just patch
the necessary from the Python standard library to get it working.
.
Example of usage:
.
import asyncio
from aioxmlrpc.client import ServerProxy
.
@asyncio.coroutine
def print_gandi_api_version( ):
api = ServerProxy('https://rpc.gandi. net/xmlrpc/ ')
result = yield from api.version.info()
print(result)
.
if __name__ == '__main__':
loop = asyncio.get_event_ loop()
loop.run_until_ complete( print_gandi_ api_version( ))
loop.stop()