Skip to main content

Let's make microservice development fun again!

Project description

Alem Mela


Asynchronous framework that makes it really simple to build RabbitMQ services.


pip install mela


Basic usage does look like this:

from pydantic import BaseModel
from datetime import datetime

from mela import Mela

app = Mela(__name__)

class Document(BaseModel):
    text: str
    url: str
    date: datetime

def printer(body: Document) -> Document:
    return body

if __name__ == '__main__':


    host: localhost
    port: 5672
    username: user
    password: bitnami

      exchange: general-sentiment-x
      routing_key: general-sentiment-q
      queue: general-sentiment-q
      exchange: general-sentiment-x
      routing_key: general-sentiment-q

For more use cases check /examples directory.


Clone this repo, create virtualenv using make setup command.

NOTE: If you use PyCharm - don't let it create its own virtualenv.

Run tests using make test

Run linter using make lint

Run mypy using make type

Feel free to create issues.

Feel free to contribute.

Feel free to add yourself to Authors block in this document.

You also can join our Telegram chat.

Despite major version, there is a lot of work undone. You can check TODO section in changelog to find an interesting task for you or check issues section of this repository.


Developed in Alem Research.

Core maintainer: Daniyar Supiyev (

Sponsor: Sergazy Narynov.

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

mela-1.1.1.tar.gz (19.4 kB view hashes)

Uploaded Source

Built Distribution

mela-1.1.1-py3-none-any.whl (25.1 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