[ Paquet source : aioxmlrpc ]
Paquet : python3-aioxmlrpc (0.6.4-1)
Liens pour python3-aioxmlrpc
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source aioxmlrpc :
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
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()
Autres paquets associés à python3-aioxmlrpc
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-aiohttp
- http client/server for asyncio
Télécharger python3-aioxmlrpc
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 6,0 ko | 27,0 ko | [liste des fichiers] |