Skip to main content

BTHLabs JSONRPC - aiohttp integration

Project description

BTHLabs JSONRPC - aiohttp integration

Docs | Source repository


BTHLabs JSONRPC is a set of Python libraries that provide extensible framework for adding JSONRPC interfaces to existing Python Web applications.

The aiohttp package provides aiohttp integration.


$ pip install bthlabs_jsonrpc_aiohttp


from aiohttp import web
from bthlabs_jsonrpc_core import register_method

from bthlabs_jsonrpc_aiohttp import JSONRPCView

async def hello(request, who='World'):
    return f'Hello, {who}!'

app = web.Application()
app.add_routes(['/rpc', JSONRPCView()),


bthlabs-jsonrpc-aiohttp is developed by Tomek Wójcik.


bthlabs-jsonrpc-aiohttp is licensed under the MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bthlabs-jsonrpc-aiohttp-1.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

bthlabs_jsonrpc_aiohttp-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page