Skip to main content

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

Metadata

Release files for ribes 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ribes 0.1.2
File Size Uploaded
ribes-0.1.2.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ribes 0.1.2
File Interpreter ABI Platform
ribes-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 23.2 kB

Release files / ribes-0.1.2.tar.gz

Download URL ribes-0.1.2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
117aa8b37de5d0461af18589c48c02d2107babf9fa5a2eab7f57d792a518d03b
BLAKE2b-256 checksum
How to use checksums
66aac583b4a15a58e02201674fed7fd12a8bf48f715ee34d345984560c9dff59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.9

Release files / ribes-0.1.2-py3-none-any.whl

Download URL ribes-0.1.2-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d12df21ea5e0565215a6a464666d1e0f75cf51f54c36e11930d53e74c9218fe
BLAKE2b-256 checksum
How to use checksums
4b8e087b77879c711320907fe227a318b1142e0d13e004bf3fd812ce0d4ef2e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.27.1 setuptools/59.6.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page