Skip to main content

Extensions SDK for SoftwareONE Marketplace Platform

Project description

SDK Usage

This guide is the entry point for building an extension package on top of mpt-extension-sdk. Topic-specific examples live in smaller documents under sdk_usage/.

Usage Topics

  • Application setup: install the SDK, shape an extension package, create ExtensionApp, include routers, and configure the runtime.
  • Event routes: register task and non-task event handlers.
  • Authenticated API routes: expose authenticated endpoints, validate bodies, read request/auth context, return API responses, and use pagination.
  • UI plugs: register PlugRouter providers and reference static assets.
  • Contexts and pipelines: adapt execution contexts and compose processing pipelines.
  • Marketplace services: use ctx.mpt_api_service from handlers and pipeline steps.

Runtime Commands

Use the mpt-ext CLI command when running an extension built on top of the SDK:

mpt-ext run --local
mpt-ext run
mpt-ext meta generate
mpt-ext meta validate
  • mpt-ext run --local starts the local FastAPI + uvicorn runtime.
  • mpt-ext run writes meta.yaml, registers the extension instance, and starts the platform runtime with mrok/ziticorn.
  • mpt-ext meta generate writes metadata derived from ext_app.to_meta_config().
  • mpt-ext meta validate compares the checked-in meta.yaml with generated metadata, validates plug static assets, and writes meta.generated.yaml when validation fails.

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

mpt_extension_sdk-6.3.3.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

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

mpt_extension_sdk-6.3.3-py3-none-any.whl (90.7 kB view details)

Uploaded Python 3

File details

Details for the file mpt_extension_sdk-6.3.3.tar.gz.

File metadata

  • Download URL: mpt_extension_sdk-6.3.3.tar.gz
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.22

File hashes

Hashes for mpt_extension_sdk-6.3.3.tar.gz
Algorithm Hash digest
SHA256 19da2a80adf5cacbcc774177ea8b1208da5578ba8b894b4c532f9a75e7697d5a
MD5 3829e73ebd865f55770c711884cdf7f9
BLAKE2b-256 ed4467159f339f3a0afa0e66d34ac3f5710c2248d3f1edac18611c8966c9ec08

See more details on using hashes here.

File details

Details for the file mpt_extension_sdk-6.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mpt_extension_sdk-6.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d30197a9b0d63307501e7b3f751e13a2bcbab41f66b1c13f42859a518b71b8
MD5 676df1e708ae55553e0927661a5fda60
BLAKE2b-256 9cb5b0736473a2e044db67dcb97eae829eef0e0e11b2ff6ccd4dd4b9b4803aed

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