DSMS-SDK
Python SDK core-package for interacting with the Dataspace Management System (DSMS)
Installation
From PyPI
pip install dsms-sdk
From source
git clone git@github.com:MI-FraunhoferIWM/dsms-python-sdk.git
cd dsms-python-sdk
pip install -e .
Usage
The SDK provides a general Python interface to a remote DSMS deployment, allowing users to access, store and link data in a DSMS instance easily and safely. The package provides the following main capabilities:
- Managing Knowledge Items (KItems), which are data instances of an explicitly defined semantic class type (KType)
- Creating, updating and deleting metadata and properties, e.g. date, operator, material response data for a conducted tensile test
- Contact information and supplementary information upon making changes or adding KItems
- Semantic annotation of KItems
- Attaching semantic schema data (ontology-class instance data) to KItems
- Managing Knowledge Types (KTypes), including the v2 semantic-spec subsystem for defining ontology classes, relations, and schema references
- Role-based access control (RBAC) per KItem: assign users and groups to
MEMBER,CONTRIBUTOR, orOWNERroles - Conduct free-text searches within the DSMS instance with filters (KType, annotation, context membership, attachment extension) as well as a full SPARQL interface (including context-scoped queries)
- Linking KItems to other KItems, and grouping them via context KItems
- Linking Apps to KItems, triggered, for example, during a file upload
- Performing simple file upload and download using attachments to KItems
- Export of a knowledge (sub)graph as common serializations (.ttl, .json)
Documentation
Please have a look at our documentation on readthedocs: https://dsms-python-sdk.readthedocs.io
Compatibility
Please take the compability of the SDK version with the DSMS version into account:
| SDK Version | DSMS Version |
|---|---|
| <2.0.0 | <2.0.0 |
| >=2.0.0, <3.0.0 | >=2.0.0, <3.0.0 |
| >=3.0.0, <3.0.4 | >=3.0.0, <3.0.5 |
| >=3.0.4, <3.1.0 | >=3.0.5, <3.1.0 |
| >=3.1.0, <3.2.2 | >=3.1.0, <3.2.1 |
| >=3.2.2 | >=3.2.1, <4.0.0 |
| >=4.0.0, <5.0.0 | >=4.0.0, <5.0.0 |
| >=5.0.0 | >=5.0.0 |
Tutorials
Please have a look at our tutorials on readthedocs:
Or try our Jupyter Notebooks:
Contributing
See CONTRIBUTING.md. All contributors are listed on the GitHub contributors page.
License
This project is licensed under the BSD 3-Clause. See the LICENSE file for more information.
Disclaimer
Copyright (c) 2014-2026, Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. acting on behalf of its Fraunhofer IWM.
Contact: Matthias Büschelberger
Metadata
Release files for dsms-sdk 5.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 | Provenance | Actions |
|---|---|---|---|---|
| dsms_sdk-5.0.0.tar.gz | 86.3 kB | Without provenance | Details for dsms_sdk-5.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dsms_sdk-5.0.0-py3-none-any.whl | Python 3 | none | any | Details for dsms_sdk-5.0.0-py3-none-any.whl |
Total release size: 192.0 kB
Release files / dsms_sdk-5.0.0.tar.gz
| Download URL | dsms_sdk-5.0.0.tar.gz |
|---|---|
| Size | 86.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b104f84014d35c623ad9e205f8fb3a03af37033e7699d5f9f55f83178217275
|
|
BLAKE2b-256 checksum How to use checksums |
4ecc58711d5ff4c515d66fe2447cd7805a7dc1fe3230da8e4472ebec8a69cef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / dsms_sdk-5.0.0-py3-none-any.whl
| Download URL | dsms_sdk-5.0.0-py3-none-any.whl |
|---|---|
| Size | 105.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97ba69d737ade1f86ed343e975379325458e891ed55ae6ff307057d3a94f2b5d
|
|
BLAKE2b-256 checksum How to use checksums |
46a426dccd542e583d2c8f8739d3787269a092b4abb7c656d396f05645b4c7bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for dsms-sdk 5.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.