This document describes the Docker-only local setup for mpt-api-python-client.
Read contributing.md for the repository workflow and usage.md for installation and runtime examples.
- Docker and Docker Compose plugin (
docker composeCLI) - Make
git clone <repository-url>
cd mpt-api-python-clientcp .env.sample .envEdit .env with your actual values. See Environment Variables below.
make buildThis builds the app image defined in compose.yaml.
make testUse the repository make targets instead of ad hoc local Python commands. For the full command catalog, see usage.md and testing.md.
make bash # open a shell in the app container
make run # start an IPython session in the app containerDocker Compose loads environment variables from .env.
- Client variables are documented in usage.md.
- E2E-specific variables are documented in e2e_tests.md.
The development environment runs entirely inside Docker:
- Base image:
ghcr.io/astral-sh/uv:python3.12-bookworm-slim - Package manager: uv
- Service:
app, defined incompose.yaml, with the repository mounted at/mpt_api_client
Run make help to see all available commands.
Shared references: