Skip to main content

Extensions SDK for SoftwareONE Marketplace Platform

Project description

Quality Gate Status Coverage

Ruff

SoftwareONE Extension SDK

SDK for SoftwareONE python extensions

Getting started

Prerequisites

  • Docker and Docker Compose plugin (docker compose CLI)
  • make
  • Valid .env file
  • Adobe credentials and authorizations JSON files in the project root
  • CodeRabbit CLI (optional. Used for running review check locally)

Make targets overview

Common development workflows are wrapped in the makefile:

  • make help – list available commands
  • make bash – start the app container and open a bash shell
  • make build – build the application image for development
  • make build-package – build the package locally
  • make check – run code quality checks (ruff, flake8, lockfile check)
  • make check-all – run checks, formatting, and tests
  • make down – stop and remove containers
  • make format – apply formatting and import fixes
  • make review – check the code in the cli by running CodeRabbit
  • make shell – open a Django shell inside the running app container
  • make test – run the test suite with pytest

Running tests

Tests run inside Docker using the dev configuration.

Run the full test suite:

make test

Pass additional arguments to pytest using the args variable:

make test args="-k test_bla -vv"
make test args="tests/test_bla.py"

Developer utilities

Useful helper targets during development:

make bash          # open a bash shell in the app container
make build-package # build the package locally
make check         # run ruff, flake8, and lockfile checks
make check-all     # run checks and tests
make format        # auto-format code and imports
make review        # check the code in the cli by running CodeRabbit

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

mpt_extension_sdk-5.17.3.tar.gz (32.2 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-5.17.3-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mpt_extension_sdk-5.17.3.tar.gz
Algorithm Hash digest
SHA256 8528609d5159c6882fca60a54bc92162e333b72fd2649c0b73eb09e90c5b6b1b
MD5 72ba25fc2db5d49566051c2a4275309f
BLAKE2b-256 efbf73ca606358eb19d3584f7b00aebbd43dde4aa00c45874d1f32bb08c8887f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mpt_extension_sdk-5.17.3-py3-none-any.whl
Algorithm Hash digest
SHA256 89913c7b331c3614f2007591b8d8763535b05b781e27307e40b2d7e9277f0569
MD5 b0fc027aac371d5543e5368890f79244
BLAKE2b-256 4b678c86558efff033c5d3773ce58dfb3a42b4312ab06485a08003f833a7fe86

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