tmdsclient.py
This repository contains the package tmdsclient.
It is an async, fully typed Python client for the Technical Master Data Service (TMDS).
Its features are handwritten and extended as we need them. So it is not autogenerated from the TMDS OpenAPI.
Installation
Install it from PyPI:
pip install tmdsclient
Usage
from yarl import URL
from tmdsclient import BasicAuthTmdsClient, BasicAuthTmdsConfig
tmds_config = BasicAuthTmdsConfig(
server_url=URL("https://my-tmds.xtk-test.org/"),
usr="my-usr",
pwd="my-pwd",
)
client = BasicAuthTmdsClient(tmds_config)
netzvertrage = await client.get_netzvertraege_for_melo("DE1234567890123456789012345678901")
Even though we did not fully replicate the TMDS data model (mainly BO4E.net + some wrapper classes),
we tried to make the client as flexible as possible.
You can use any unmapped field returned by TMDS by using the model_extra property of pydantic.
Development
For development of this library, follow the instructions in our Python Template Repository.
tl;dr: tox -e dev will set up a development environment for you.
Release (CI/CD)
To release a new version of this library, create a new release in GitHub.
Make sure its tag starts with v and the version number, e.g. v1.2.3.
Releases are not restricted to the main branch, but we prefer them to happen there.
Contribute
You are very welcome to contribute to this template repository by opening a pull request against the main branch.
Metadata
Release files for tmdsclient 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tmdsclient-0.7.1.tar.gz | 24.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tmdsclient-0.7.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.0 kB
Release files / tmdsclient-0.7.1.tar.gz
| Download URL | tmdsclient-0.7.1.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a0c79f3eef24ae849f2ec14276431cb8917d07e17e29b44bb9abd32160e8f77
|
|
BLAKE2b-256 checksum How to use checksums |
07a7d31337401b8d11e7394c838c6fe9f090d566a215ceb86e2b46b9c49aa673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 12, 2026.
Transparency logRelease files / tmdsclient-0.7.1-py3-none-any.whl
| Download URL | tmdsclient-0.7.1-py3-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c97170c9fa07c98fcdb641d7a6be5f417a0b322f90b011a1f09523fa7546ba2
|
|
BLAKE2b-256 checksum How to use checksums |
ad26e41c18de4f3ea67437d133b0a8aeb17f80d5fced7d2788085028a53c25fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 12, 2026.
Transparency logSecurity for tmdsclient 0.7.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tmdsclient-0.7.1.tar.gz
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 Jun 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.