skillfed

aiohttp-xmlrpc

aiohttp XML-RPC server handler and client

aiohttp-xmlrpc v1.5.0 113.5K downloads/30d#12,341 on PyPI34
Permissive license MIT Abandoned released

What it is and what it does

aiohttp-xmlrpc is an async XML-RPC implementation that lets you build XML-RPC servers and clients on top of aiohttp. It uses lxml for XML parsing and aiohttp's async client for remote calls. The server side exposes Python methods as XML-RPC endpoints by subclassing XMLRPCView and defining rpc_* methods; you can rename methods with a decorator and handle both positional and keyword arguments. The client side provides a ServerProxy that lets you call remote XML-RPC methods as async functions.

The package is abandoned—no releases since January 2022 and no commits since December 2022. While it may still work for basic XML-RPC use cases, there is no active maintenance, no response to issues, and no guarantee of compatibility with newer versions of its dependencies or Python itself. It is suitable only for legacy systems or projects where you can tolerate a frozen codebase.

Use it for:

  • Building an async XML-RPC server to expose existing Python methods to legacy XML-RPC clients.
  • Calling remote XML-RPC services from an async Python application without blocking the event loop.
  • Migrating a legacy XML-RPC system to async/await while keeping the XML-RPC protocol intact.
  • Testing or mocking XML-RPC services in an async test suite.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides async XML-RPC server and client implementation built on aiohttp, allowing you to expose methods as XML-RPC endpoints and call remote XML-RPC services asynchronously.

No—unless you are maintaining a legacy system already using this package or XML-RPC is a hard requirement. The package is abandoned with no maintenance since late 2022, and its dependencies (aiohttp, lxml) have evolved significantly. For new projects, use a maintained alternative or a more modern RPC protocol. For existing deployments, plan a migration path.

Install

aiohttp-xmlrpc on PyPI

pip

pip install aiohttp-xmlrpc

uv

uv add aiohttp-xmlrpc

poetry

poetry add aiohttp-xmlrpc

Installing aiohttp-xmlrpc

Before you install

Installation is straightforward with only two runtime dependencies (aiohttp and lxml), both widely used. However, the package is abandoned—last release was in January 2022 and last commit in December 2022—so expect no maintenance, security updates, or compatibility fixes for newer Python or dependency versions.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions, so licensing poses no barrier to adoption.

Quickstart

# Server
from aiohttp import web
from aiohttp_xmlrpc import handler

class XMLRPCExample(handler.XMLRPCView):
    def rpc_test(self):
        return "result"

app = web.Application()
app.router.add_route('*', '/', XMLRPCExample)
web.run_app(app)

# Client
import asyncio
from aiohttp_xmlrpc.client import ServerProxy

async def main():
    client = ServerProxy("http://127.0.0.1:8080/")
    result = await client.rpc_test()
    client.close()

Requires Python 3.6 or later; aiohttp and lxml must be installed as runtime dependencies.

Verify before relying

  • Whether the package remains compatible with aiohttp versions released after December 2022.
  • Whether lxml's recent versions (post-2022) work without issues with this package.
  • Current test coverage and whether all advertised features (nested methods, exception handling, args/kwargs) are fully functional.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 2 — aiohttp, lxml
Maintenance abandoned — 1,676 days since the last release
Last repo commit
First released
Downloads 113,461/month — #12,341 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aiohttp_xmlrpc-1.5.0-py3-none-any.whl

Environment :: ConsoleProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

xml-rpc async serveraiohttp xml-rpcasync xml-rpc clientxml-rpc over httpasync remote procedure callaiohttp rpc handlerxml-rpc framework
xml-rpcabandonedasync-only

More WWW/HTTP packages