Skip to main content

A microservices nanoframework.

Project description

PyPI version Python Versions

🐎 Rampante

A fancy and opinionated nanoframework for microservices.


pip install rampante

How to use subscribe_on

from rampante import subscribe_on

# The function should accept 3 params
# queue_name, for example could be "user.subscribed"
# data is a dictionary, it's a msgpacked message sent to NATS
# app, aiohttp app instance (in case)

async def send_a_message(queue_name, data, app):"Event received!")

@subscribe_on("user.subscribed", "user.created")
async def send_another_message(queue_name, data, app):"Event received!")


Check the examples inside the folder!

You need a nats-streaming:0.6.0 running, check the Makefile :)

The name

Rampante means “rampant” in Italian.


It’s written in Go and seems working really well!

To Do

  • add circuit breaker
  • add retry
  • add logic when tasks fail

Pull requests are encouraged!


Apache 2.0

Project details

Download files

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

Files for rampante, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size rampante-0.0.9-py2.py3-none-any.whl (7.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size rampante-0.0.9.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page