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.4.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.4-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mpt_extension_sdk-5.17.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9f4aca03a400055ffcb9548b10d5aef34161768b20508671a646e62831f0ad16
MD5 04f06cfb2e65fc669d1aaf5fcbd4213a
BLAKE2b-256 2fc0199fcd545540ed6c230ee57c38e5eb088e2b2c4d4434bdabe09660ed6f19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mpt_extension_sdk-5.17.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bcfca04bae8ba56fa044670e87b41a85d6998af8db7fc83948f07515b92c9ba2
MD5 e1d0b9958d9be6d563ef10b9d65fcdae
BLAKE2b-256 21e9ee9d8e7673ab88b1cf089018bd630014d31e2dfcbbbbf56e9e08d9ad5431

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