File: control

package info (click to toggle)
aioxmlrpc 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 212 kB
  • sloc: python: 615; makefile: 5
file content (53 lines) | stat: -rw-r--r-- 1,746 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Source: aioxmlrpc
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Piotr Ożarowski <piotr@debian.org>
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 13),
               dh-python,
               python3-all,
               python3-setuptools,
               python3-aiohttp,
               python3-httpx,
               pybuild-plugin-pyproject,
               python3-poetry-core,
               python3-pdm-backend,
               python3-pytest <!nocheck>,
               python3-pytest-asyncio <!nocheck>,
               python3-starlette <!nocheck>,
               python3-uvicorn <!nocheck>,
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/python-team/packages/aioxmlrpc
Vcs-Git: https://salsa.debian.org/python-team/packages/aioxmlrpc.git
Homepage: https://github.com/mardiros/aioxmlrpc
Testsuite: autopkgtest-pkg-pybuild

Package: python3-aioxmlrpc
Architecture: all
Depends: ${misc:Depends},
         ${python3:Depends},
         python3-aiohttp
Description: 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()