Fully typed, async client library for Technical Master Data Service (TMDS)
Project description
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
pip install tmdsclient
Usage
from yarl import URL
from tmdsclient import TmdsClient, TmdsConfig
tmds_config = TmdsConfig(
server_url=URL("https://my-tmds.xtk-test.org/"),
usr="my-usr",
pwd="my-pwd",
)
client = TmdsClient(tmds_config)
netzvertrage = await client.get_netzvertraege_for_melo("DE1234567890123456789012345678901")
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tmdsclient-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cacd341598bc6b7d34357df8bac4834b7d010f3bf87c003b6ff1ceb68465da3 |
|
MD5 | d10d7084c66e8fd5dc7522b55eab8ce4 |
|
BLAKE2b-256 | eb7512a0e6688f45e646888f9dca44ccab4d1c8d1598dc7223c5172348ff6a9c |