OMOTES SDK Python
This repository is part of the 'Nieuwe Warmte Nu Design Toolkit' project.
Python implementation of the OMOTES SDK through jobs which may be submitted, receive status updates for submitted jobs or delete submitted jobs.
Job cleanup resources
Workers can add resource to be cleaned up on job deletion to the Prefect run metadata. The orchestrator removed the resources to be cleaned up on job deletion.
Development
Tools
This project uses:
- uv: Fast Python package manager and resolver. Install via https://docs.astral.sh/uv/
- just: Command runner for common tasks (similar to Make). Install via https://github.com/casey/just
Setup
Install dependencies and update uv.lock file after updating pyproject.toml dependencies:
uv sync
Lint/typecheck/test locally
Run via just (also used in github actions):
just ci # run all CI checks (lint, security, format-check, typecheck, test)
just lint # ruff checks
just security # ruff security
just format # ruff format
just format-check # verify formatting
just typecheck # ty type checking
just test # pytest
To debug test go to the debug view in vscode and run "pytest".
Project Structure
omotes-sdk-python/
├── src/
│ ├── omotes_sdk/
│ │ ├── __init__.py # Package exports and version metadata
│ │ ├── esdl_messages.py # ESDL-related message models/utilities
│ │ ├── job_status.py # Job status enum and mappings
│ │ ├── log_forwarding.py # Logging forwarder and queue handling
│ │ ├── memory_quantity.py # Memory quantity parsing/conversion helpers
│ │ └── prefect_util.py # Prefect deployment/run/status helper functions
│ └── omotes_sdk_python.egg-info/
│ ├── PKG-INFO
│ ├── SOURCES.txt
│ ├── dependency_links.txt
│ ├── requires.txt
│ └── top_level.txt
├── tests/
│ ├── test_log_forwarding.py # Tests for log forwarding behavior
│ └── test_prefect_util.py # Tests for Prefect utility behavior
├── justfile # Task runner commands
├── pyproject.toml # Project metadata and dependencies
├── CHANGELOG.md # Release notes
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE
└── README.md
Release files for omotes-sdk-python 5.1.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 | |
|---|---|---|---|
| omotes_sdk_python-5.1.0.tar.gz | 28.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omotes_sdk_python-5.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.2 kB
Release files / omotes_sdk_python-5.1.0.tar.gz
| Download URL | omotes_sdk_python-5.1.0.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a963656b323a3668ff3777bc31412ba72d37117eef09bfc781a96d5987a77f6d
|
|
BLAKE2b-256 checksum How to use checksums |
fceab1a20b8f47367a84f6f34ac65a71ce461ba4e8dc59168822c42bee7b6611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / omotes_sdk_python-5.1.0-py3-none-any.whl
| Download URL | omotes_sdk_python-5.1.0-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ac932d37d0bc3e00e877b86f7c4f9ce8a8770bb8218843f93d57e162d05cf0a
|
|
BLAKE2b-256 checksum How to use checksums |
85f4b33ddc4644e96754fd513cda03e977e517ddefb5fecff3f321f95fac496b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log