[ Source: aioxmlrpc ]
Package: python3-aioxmlrpc (0.10.0-1)
Links for python3-aioxmlrpc
Debian Resources:
Download Source Package aioxmlrpc:
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
XML-RPC per asyncio
Versione per asyncio della libreria standard xmlrpc.
Attualmente è implementato solo aioxmlrpc.client, che funziona come xmlrpc.client ma con le coroutine.
aioxmlrpc si basa su aiohttp per il trasporto e modifica solo il necessario dalla libreria standard di Python per farlo funzionare.
Esempio di utilizzo:
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()
Other Packages Related to python3-aioxmlrpc
|
|
|
|
-
- dep: python3
- linguaggio interattivo di alto livello orientato agli oggetti (versione python3 predefinita)
-
- dep: python3-aiohttp
- client/server HTTP per asyncio
-
- dep: python3-httpx
- next generation HTTP client
Download python3-aioxmlrpc
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| all | 9.5 kB | 40.0 kB | [list of files] |
