mpt-api-python-client
Python API client for the SoftwareONE Marketplace Platform (MPT) API.
Provides synchronous (MPTClient) and asynchronous (AsyncMPTClient) clients built on
httpx, with typed resource services, mixin-based HTTP
operations, and an RQL query builder.
Documentation
Start with these documents:
- AGENTS.md: AI-agent entry point and reading order
- docs/usage.md: installation, configuration, Python usage examples, and Docker-based commands
- docs/architecture.md: repository structure, layers, and key abstractions
- docs/local-development.md: Docker-only local setup and execution model
- docs/testing.md: repository-specific test strategy and commands
- docs/unit_tests.md: unit test structure and guidance
- docs/e2e_tests.md: end-to-end test setup and execution
- docs/contributing.md: repository-specific workflow and links to shared standards
- docs/documentation.md: repository-specific documentation rules
- docs/streaming.md: streaming guide —
stream()versusiterate(), consumer obligations, and timeouts - docs/rql.md: fluent RQL query builder guide
- MPT OpenAPI Spec: upstream API contract
Quick Start
cp .env.sample .env # configure MPT_API_BASE_URL
make build
make test
Use make help to inspect all supported Docker-based commands.
See docs/usage.md for installation details, sync and async examples, RQL usage, and Docker-based command examples.
Key Commands
make build # build Docker development environment
make test # run unit tests
make check # run all quality checks (ruff, flake8, mypy)
make check-all # run checks + tests
make format # auto-format code
make bash # open a shell in the container
make run # start an IPython session
Metadata
Release files for mpt-api-client 6.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mpt_api_client-6.5.0.tar.gz | 86.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpt_api_client-6.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 262.8 kB
Release files / mpt_api_client-6.5.0.tar.gz
| Download URL | mpt_api_client-6.5.0.tar.gz |
|---|---|
| Size | 86.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d90c39ce40ebfdbf91d6bc33123e57cf713034943a90524e906354b9406a04bb
|
|
BLAKE2b-256 checksum How to use checksums |
62a33a81041e85e63d984dde25e4d8ff9787c4fd93ee77ed92e5389474f46451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.22
|
Release files / mpt_api_client-6.5.0-py3-none-any.whl
| Download URL | mpt_api_client-6.5.0-py3-none-any.whl |
|---|---|
| Size | 176.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
421037abb8ee4eaab54e867a6fca547d96f4ef66060eab0f697e83f548d74b70
|
|
BLAKE2b-256 checksum How to use checksums |
ff175fd142dc824ce76b1d0242301ac72ab1b10a0ff744e13af5378d4880163c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.22
|