Skip to main content

Megaflow function SDK

Project description

Megaflow SDK

Megaflow function SDK for writing Megaflow functions.

Repository

Bitbucket: git@bitbucket.org:megatus-corp/megaflow-sdk.git

Installation

From Git (Development)

pip install -e git+ssh://git@bitbucket.org:megatus-corp/megaflow-sdk.git@main#egg=megaflow

From Local Path (Development)

# If cloned locally
cd megaflow-sdk
pip install -e .

From Published Package (Production)

pip install megaflow>=0.1.1

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.2.tar.gz (5.8 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.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: megaflow-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 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.2.tar.gz
Algorithm Hash digest
SHA256 1901f8bfe159e881dfb259de5460aaef535181355b8d244869eab199d8f852c9
MD5 f1975832ef3bee64565a399cf5ad50dc
BLAKE2b-256 05267eabb4c6bc7fe9fa92bb368465030235775ed7d76d972d3d9cd00cc955bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: megaflow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 486ad1f9530656d4ae36682c7b8a0d4678d58cf482ea5b766b81f48af5979744
MD5 773decca05f8bb421a1417e01422f4ef
BLAKE2b-256 b02107fc6e15d19c412db540d6bbcd78777551fa62b17ab3becf63f2e4c0e37c

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