Eclipse Ditto Python Client
Project description
Eclipse Ditto Client
Eclipse Ditto Project - https://eclipse.dev/ditto/index.html
This repository is the python client generated using Microsoft Kiota (https://github.com/microsoft/kiota-python)
Install
uv add ditto-client
Running Ditto
A sample docker compose is provided as part of this repository.
You must run the ditto services outside the devcontainer as they consume lot of resources.
# outside your devcontainer (i.e. on your host)
# at <your_path>/ditto-client dir
docker compose -f assets/ditto/docker-compose.yaml up
Usage
auth_provider = BasicAuthProvider(user_name=_USERNAME, password=_PASSWORD)
request_adapter = HttpxRequestAdapter(auth_provider)
request_adapter.base_url = "http://host.docker.internal:8080"
ditto_client = DittoClient(request_adapter)
response = await ditto_client.api.two.things.get()
Default setup for Ditto uses Ngix with basic authentication. A custom authentication provider has been included in the library to support it. See BasicAuth Provider.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ditto_client-0.2.0.tar.gz.
File metadata
- Download URL: ditto_client-0.2.0.tar.gz
- Upload date:
- Size: 196.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed0a7324fb9a565959532c095821a69d393aa1e6e2ddd4855cf5b5e702ad6fa7
|
|
| MD5 |
54500bf2d26a702ad80e9c28215d2c41
|
|
| BLAKE2b-256 |
cd1f5f319f476810673310ac174586b73cafc4cf6e12108cae8ec4823f5a22a0
|
Provenance
The following attestation bundles were made for ditto_client-0.2.0.tar.gz:
Publisher:
publish.yaml on ksachdeva/ditto-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ditto_client-0.2.0.tar.gz -
Subject digest:
ed0a7324fb9a565959532c095821a69d393aa1e6e2ddd4855cf5b5e702ad6fa7 - Sigstore transparency entry: 551460040
- Sigstore integration time:
-
Permalink:
ksachdeva/ditto-client@60afa989ac83010e1dc671daf064f08ee08f114d -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/ksachdeva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@60afa989ac83010e1dc671daf064f08ee08f114d -
Trigger Event:
release
-
Statement type:
File details
Details for the file ditto_client-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ditto_client-0.2.0-py3-none-any.whl
- Upload date:
- Size: 392.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb2ad7545c7d3ee20f10e038e6bfafa428d5c64fcc72aa0ce80ae4d39509494a
|
|
| MD5 |
2753e81d24a6e3df1741dcd3d24ebcc5
|
|
| BLAKE2b-256 |
2a01ba5415f4e27a452152e29833a65300a25f6e61a39eaccf438601dc5ab09d
|
Provenance
The following attestation bundles were made for ditto_client-0.2.0-py3-none-any.whl:
Publisher:
publish.yaml on ksachdeva/ditto-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ditto_client-0.2.0-py3-none-any.whl -
Subject digest:
cb2ad7545c7d3ee20f10e038e6bfafa428d5c64fcc72aa0ce80ae4d39509494a - Sigstore transparency entry: 551460081
- Sigstore integration time:
-
Permalink:
ksachdeva/ditto-client@60afa989ac83010e1dc671daf064f08ee08f114d -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/ksachdeva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@60afa989ac83010e1dc671daf064f08ee08f114d -
Trigger Event:
release
-
Statement type: