Skip to main content

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


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.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

megaflow-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file megaflow-0.1.0.tar.gz.

File metadata

  • Download URL: megaflow-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for megaflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a4395f47a385f7747c76cd9eaa38968886456a9ff494d90114daf1c936303854
MD5 bcb50105bc806b7779eafc2f392ca8e1
BLAKE2b-256 01ca94044e4325e6ee9514e4dcb50169493149701c291c41d9099495764b887d

See more details on using hashes here.

File details

Details for the file megaflow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: megaflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for megaflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85931af6b6da10059993a1f8ff78667d4d9b1ea30186a2d78dd8389d3bd24824
MD5 26f1ed8033f23511d9ab68a3015b70e5
BLAKE2b-256 23db51b5204753d90988a0a83a6f274fe7e7f686e4894632d4430a8c2b0222ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page