Skip to main content

Async framework for JSON-RPC via RabbitMQ

Project description

Ribes RPC

Latest PyPI package version
Async framework for JSON-RPC via RabbitMQ

Key feature

  • Implements JSON-RPC via RabbitMQ RPC
  • Full support to asyncio
  • Simple configuration
  • Integrates to existing framework like FastAPI or Sanic
  • Full support to Pydantic objects as parameters

Installation

pip install ribes

Getting started

Create server handler:

app = Ribes("application")

@app.register(name="namespace.method")
async def method(a, b):
    ...

Call method from client

app = Ribes("application")

method = app.caller("namespace.method")

result = await method(1, 2)

To Do

  • Documentation and examples

Requirements

  • Python >= 3.8
  • RabbitMQ

License

ribes is offered under the Apache 2 license.

Source code

The latest developer version is available in a GitHub repository: https://github.com/aiselis/ribes

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

ribes-0.1.2.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

ribes-0.1.2-py3-none-any.whl (13.0 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