Skip to main content

Service library for the Merrymake platform

Project description

Python Service Library for Merrymake

This is the official Python service library for Merrymake. It defines all the basic functions needed to work with Merrymake.

Usage

Here is the most basic example of how to use this library:

from merrymake.envelope import Envelope
from merrymake.merrymake import Merrymake

def handle_hello(payloadBytes: bytes, envelope: Envelope) -> None:
    payload = payloadBytes.decode('utf-8')
    Merrymake.reply_to_origin({
        "content": f"Hello, {payload}!",
    })

def main() -> None:
    Merrymake.service().handle("handle_hello", handle_hello)

if __name__ == "__main__":
    main()

Tutorials and templates

For more information check out our tutorials at merrymake.dev.

All templates are available through our CLI and on our GitHub.

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

merrymake-6.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

merrymake-6.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file merrymake-6.0.0.tar.gz.

File metadata

  • Download URL: merrymake-6.0.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for merrymake-6.0.0.tar.gz
Algorithm Hash digest
SHA256 5260458e65cc0fe76e304d7e751d0386b93f34029a4280071ed43255b7a417ee
MD5 092f9f17c9604e58b0558add807c1b25
BLAKE2b-256 da81b28d3f6af6c997c04988ece6dee85f6890d92aca2f46f48cbdf7635593a6

See more details on using hashes here.

File details

Details for the file merrymake-6.0.0-py3-none-any.whl.

File metadata

  • Download URL: merrymake-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.0 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for merrymake-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd80f470b3bdc7e821e16a6964931758a73b3406e1e71ed01d408a35097addfc
MD5 6a79b1ebb30e3cd8d7efbaedca9b78a3
BLAKE2b-256 206a01fcd8e246213d9420d42ee872de44736f87dcc73ac81f23594beaf022c5

See more details on using hashes here.

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