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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5260458e65cc0fe76e304d7e751d0386b93f34029a4280071ed43255b7a417ee
|
|
| MD5 |
092f9f17c9604e58b0558add807c1b25
|
|
| BLAKE2b-256 |
da81b28d3f6af6c997c04988ece6dee85f6890d92aca2f46f48cbdf7635593a6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd80f470b3bdc7e821e16a6964931758a73b3406e1e71ed01d408a35097addfc
|
|
| MD5 |
6a79b1ebb30e3cd8d7efbaedca9b78a3
|
|
| BLAKE2b-256 |
206a01fcd8e246213d9420d42ee872de44736f87dcc73ac81f23594beaf022c5
|