DigitalPy
raw JSON → 0.3.16 verified Fri May 01 auth: no python
DigitalPy is a Python implementation of the Aphrodite specification, heavily based on the WCMF framework. It provides a component-based architecture for building digital twins and cyber-physical systems. The current version is 0.3.16, released with an active development cadence.
pip install digitalpy Common errors
error ModuleNotFoundError: No module named 'digitalpy' ↓
cause DigitalPy is not installed or installed in a different environment.
fix
Run
pip install digitalpy in your target environment. error ImportError: cannot import name 'DigitalPy' from 'digitalpy' ↓
cause Incorrect import path or older version of digitalpy.
fix
Use
from digitalpy import DigitalPy. Upgrade to the latest version: pip install --upgrade digitalpy. Warnings
gotcha DigitalPy is in early development (v0.3.x). APIs may change without notice. Pin your dependencies. ↓
fix Use `pip install digitalpy==0.3.16` to lock version.
gotcha Python 3.10+ is required. DigitalPy does not support Python 3.9 or earlier. ↓
fix Ensure your environment uses Python >=3.10.
Imports
- DigitalPy
from digitalpy import DigitalPy - Component
from digitalpy.core.component import Component
Quickstart
from digitalpy import DigitalPy
app = DigitalPy()
app.run()