Installation¶
cimhub-core is imported as cimhub_core. It needs Python 3.11 or newer, and --pre is required for now: it is an
alpha release and depends on pre-release versions of cim-graph,
cim-profiles,
cim-tables and cim-topology.
With uv:
The time-points extra¶
The getters need nothing beyond the base install. The Parquet files of schedule points
(Time series and schedules) need two more packages, which the time-points extra adds:
| Package | Why |
|---|---|
cim-builder |
its TIME_POINT_SCHEMA and the schedule builder that add_device_time_points calls |
pyarrow (18 or newer) |
reading and writing the Parquet tables |
import cimhub_core.time_points raises ModuleNotFoundError without the extra. Nothing else in core imports
pyarrow.
Check it works¶
import cimtables
from cimhub_core.getters.terminals import get_terminal_phases
print(cimtables.__version__)
print(get_terminal_phases.__module__)
The CIM profile is cim18v17. Core supports no other.