{"id":21304776,"url":"https://github.com/barrachri/rampante","last_synced_at":"2025-10-05T16:24:45.106Z","repository":{"id":53475493,"uuid":"111324471","full_name":"barrachri/rampante","owner":"barrachri","description":"A nano framework for microservices","archived":false,"fork":false,"pushed_at":"2023-09-09T05:18:52.000Z","size":91,"stargazers_count":5,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T22:18:37.866Z","etag":null,"topics":["asyncio","microservices","python-3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barrachri.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-19T19:17:15.000Z","updated_at":"2023-03-02T11:54:06.000Z","dependencies_parsed_at":"2022-08-18T18:20:44.565Z","dependency_job_id":null,"html_url":"https://github.com/barrachri/rampante","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrachri%2Frampante","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrachri%2Frampante/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrachri%2Frampante/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrachri%2Frampante/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barrachri","download_url":"https://codeload.github.com/barrachri/rampante/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225524169,"owners_count":17483515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asyncio","microservices","python-3"],"created_at":"2024-11-21T16:15:58.513Z","updated_at":"2025-10-05T16:24:45.017Z","avatar_url":"https://github.com/barrachri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://badge.fury.io/py/rampante.svg\n   :target: https://badge.fury.io/py/rampante\n   :alt: PyPI version\n\n.. image:: https://img.shields.io/pypi/pyversions/rampante.svg\n   :target: https://pypi.org/project/rampante/\n   :alt: Python Versions\n\n.. image:: https://travis-ci.org/barrachri/rampante.svg?branch=master\n    :target: https://travis-ci.org/barrachri/rampante\n\n.. image:: https://codecov.io/gh/barrachri/rampante/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/barrachri/rampante\n\n🐎 Rampante\n================================================\nA fancy and opinionated nanoframework for microservices.\n\nInstallation\n===============\n\n.. code-block:: sh\n\n   pip install rampante\n\nHow to use `subscribe_on`\n============================\n\n.. code-block:: python\n\n    from rampante import subscribe_on\n\n    # The function should accept 3 params\n    # queue_name, for example could be \"user.subscribed\"\n    # data is a dictionary, it's a msgpacked message sent to NATS\n    # app, aiohttp app instance (in case)\n\n    @subscribe_on(\"user.subscribed\")\n    async def send_a_message(queue_name, data, app):\n        log.info(\"Event received!\")\n\n    @subscribe_on(\"user.subscribed\", \"user.created\")\n    async def send_another_message(queue_name, data, app):\n        log.info(\"Event received!\")\n\n\nExample\n========================\n\nCheck the examples inside the folder!\n\nYou need a nats-streaming:0.6.0 running, check the Makefile :)\n\n\nThe name\n================================================\n\nRampante means \"rampant\" in Italian.\n\nWhy NATS?\n================================================\n\nIt's written in Go and seems working really well!\n\nTo Do\n================================================\n\n- add retry/logic when tasks fail\n\nPull requests are encouraged!\n\nLicense\n================================================\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarrachri%2Frampante","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarrachri%2Frampante","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarrachri%2Frampante/lists"}