aiohttp-xmlrpc
aiohttp XML-RPC server handler and client
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-xmlrpcuv
uv add aiohttp-xmlrpcpoetry
poetry add aiohttp-xmlrpcInstalling 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
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
aioresponsesMocks HTTP requests made by aiohttp's…
permissive · top 5,000 on PyPI
OdooRPCOdooRPC is a Python client library that…
copyleft · top 15,000 on PyPI
ERPpeekERPpeek is a command-line and library client…
permissive · top 15,000 on PyPI
SoftLayerPython client library and command-line…
permissive · top 15,000 on PyPI
aiohttp-jinja2Integrates Jinja2 template rendering into…
permissive · top 5,000 on PyPI
python-jsonrpc-serverImplements a JSON RPC 2.0 server that handles…
unclear · top 15,000 on PyPI
aiohomematicAn async Python library for controlling and…
permissive · top 15,000 on PyPI
aiohttp-sseProvides server-sent events (EventSource)…
permissive · top 15,000 on PyPI
aioazuredevopsFetch data from Azure DevOps API endpoints…
permissive · top 15,000 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI