Welcome to the Semantic Digital Twin Package
Introducing Semantic Digital Twin: A unified interface for scene data and asserted meaning.
The Semantic Digital Twin Python package streamlines the integration and management of scene graphs with explicit semantic assertions. Agents and autonomous systems require more than just coordinates, they need contextual understanding. Semantic Digital Twin bridges geometry, kinematics, and meaning, allowing systems for planning, learning, and reasoning to process the environment through actionable, high-level concepts.
This enables the construction of environments that can be readily understood, queried, transformed, and shared across projects. Whether for research prototypes or robust data pipelines, Semantic Digital Twin translates raw environment data into structured knowledge.
Assimilated Technologies
🌍 Model full kinematic worlds, not just meshes. Define bodies, regions, connections, and degrees of freedom as primary, first-class entities within a clean, composable Python API.
🤔 Enhance meaning with Views. Transform raw geometry into actionable concepts like drawers, handles, containers, and task-relevant regions. Express relationships and intent beyond simple shapes.
💡 Intelligent Querying. Use a high-level entity query language to precisely locate relevant elements—e.g., "the handle attached to the drawer that is currently accessible"—to enable targeted interaction.
🛢️️ Reproducible Persistence and Replay. Serialize annotated worlds into a SQL format, allowing for faithful reconstruction as consistent, interactive objects. This facilitates reproducible experiments and robust machine learning data pipelines.
🛠️ Effortless Composition. Leverage factories and dataclasses for simple authoring of complex scenes and extending semantics. Share domain knowledge efficiently without reliance on fragile glue code.
📈 Scale and Consistency. The integrated kinematic tree, DoF registry, and robust world validation ensure model consistency and integrity from initial prototype to large-scale production deployment.
🔮 Flexible Visualization. View worlds in lightweight RViz2, explore within notebooks, or integrate with richer simulation environments. Quickly understand both the structural and semantic layers of your models.
🔌 Pluggable Integration. Use a multitude of adapters for seamless import, no matter if its URDF, USD, MJCF, etc.
🦾 Reliable Kinematics. Compute forward transforms and inverse (backward) kinematics cleanly across the tree, providing a straightforward and robust foundation for pose queries, control, and reasoning.
👯 Real-Time World Synchronization. Maintain a consistent state across multiple processes and robotic agents using lightweight, real-time world synchronization. Structures can be created, merged, and updated at once, ensuring they are accurately reflected across all connected instances.
🚀 Get started with the user-guide!
📖 Read the full documentation!
🤝 Contribute with the developer-guide!
User Installation
You can install the package directly from PyPI:
pip install -U semantic_digital_twin
Contributing
If you are interested in contributing, you can check out the source code from GitHub:
git clone https://github.com/cram2/cognitive_robot_abstract_machine.git
Development Dependencies
sudo apt install -y graphviz graphviz-dev
pip install -r requirements.txt
Tests
The tests can be run with pytest directly in PyCharm or from the terminal after installing Semantic Digital Twin as a python package.
pip install -e .
pytest test/
Metadata
Release files for semantic-digital-twin 26.7.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 | |
|---|---|---|---|
| semantic_digital_twin-26.7.0.tar.gz | 369.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| semantic_digital_twin-26.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 806.1 kB
Release files / semantic_digital_twin-26.7.0.tar.gz
| Download URL | semantic_digital_twin-26.7.0.tar.gz |
|---|---|
| Size | 369.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
872af0456102fde5cbcb5d734847af8c09fca47f837c00da50f02ef8569c66a0
|
|
BLAKE2b-256 checksum How to use checksums |
0bdee018a6b2ba9e38128fd51b2ebcbc5a3463faccc90321275f34e6484bedae
|
| 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 Jul 30, 2026.
Transparency logRelease files / semantic_digital_twin-26.7.0-py3-none-any.whl
| Download URL | semantic_digital_twin-26.7.0-py3-none-any.whl |
|---|---|
| Size | 436.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d37ebf99daae2cd98fc4026285ed23264e7f642f92bc081e0eb2c5ba7b33660
|
|
BLAKE2b-256 checksum How to use checksums |
de6a26e5dbebfbe7bc0e2d37c82f8f5ba012151f58ed09d8c4651fc106fb0b52
|
| 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 Jul 30, 2026.
Transparency log