Megaflow function SDK
Project description
Megaflow SDK
Megaflow function SDK for writing Megaflow functions.
Installation
pip install -e .
Or for development:
pip install -e packages/megaflow-sdk
Usage
from megaflow import FunctionContext, Items
from megaflow.types import Item
async def run(context: FunctionContext) -> Items:
items = context.get_input_data()
# ... your function logic
return items
API Reference
See the Megaflow Function Programmability documentation for complete API reference.
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
megaflow-0.1.1.tar.gz
(5.2 kB
view details)
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 megaflow-0.1.1.tar.gz.
File metadata
- Download URL: megaflow-0.1.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b67c47a92c98e327fa2cb96bae05fbdbf8c2cb7cc5e2579103f9bcdc055644
|
|
| MD5 |
050aa8fd72b25ba2a8917b44ba81f95e
|
|
| BLAKE2b-256 |
56d31bd3cad6873ab0526fd25693bec49e82cbc85d96572d16d58f212eca1594
|
File details
Details for the file megaflow-0.1.1-py3-none-any.whl.
File metadata
- Download URL: megaflow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
794b496558e09e125a4d1f2bd3abb5abdd2b5bd55706d888ebfd560cac4c2151
|
|
| MD5 |
72a20404ae85d0a0b88075cd6aa0b3a4
|
|
| BLAKE2b-256 |
1d633b4377ff90a37829b5a84a5fabf46a9931e9c82ba89a8a4949f9bcbf736c
|