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 7.0.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-7.0.0.tar.gz | 91.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpt_api_client-7.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 269.4 kB
Release files / mpt_api_client-7.0.0.tar.gz
| Download URL | mpt_api_client-7.0.0.tar.gz |
|---|---|
| Size | 91.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b60b830b444c790eb91e1a80024f0f338e838cdc86c6788158f20b44fcfc5769
|
|
BLAKE2b-256 checksum How to use checksums |
0d76e3b55e37156ea9821899daec81cd8fabc60f98f502c510a612999b5416aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.22
|
Release files / mpt_api_client-7.0.0-py3-none-any.whl
| Download URL | mpt_api_client-7.0.0-py3-none-any.whl |
|---|---|
| Size | 177.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e218dce384773d9887b351655b388606ee3c8bb6065deadc8bb047e6419bb68d
|
|
BLAKE2b-256 checksum How to use checksums |
03039359e6a29329aa7155dfe213de9f80f8d61190ff6d3a0804532bea4ad8b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.22
|