https://github.com/softwareone-platform/mpt-extension-sdk
SDK for SoftwareONE python extensions
https://github.com/softwareone-platform/mpt-extension-sdk
Last synced: 5 months ago
JSON representation
SDK for SoftwareONE python extensions
- Host: GitHub
- URL: https://github.com/softwareone-platform/mpt-extension-sdk
- Owner: softwareone-platform
- License: apache-2.0
- Created: 2025-03-17T12:06:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-19T20:29:24.000Z (5 months ago)
- Last Synced: 2026-01-19T21:41:18.701Z (5 months ago)
- Language: Python
- Size: 645 KB
- Stars: 7
- Watchers: 10
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://sonarcloud.io/summary/new_code?id=softwareone-platform_mpt-extension-sdk)
[](https://sonarcloud.io/summary/new_code?id=softwareone-platform_mpt-extension-sdk)
[](https://github.com/astral-sh/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](https://www.coderabbit.ai/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:
```bash
make test
```
Pass additional arguments to pytest using the `args` variable:
```bash
make test args="-k test_bla -vv"
make test args="tests/test_bla.py"
```
## Developer utilities
Useful helper targets during development:
```bash
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
```