patchsim 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
patchsim/__init__.py ADDED
@@ -0,0 +1,27 @@
1
+ """PatchSim public SDK interface."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from importlib.metadata import PackageNotFoundError, version
6
+
7
+ from patchsim.calibration import run_calibration
8
+ from patchsim.core.model import CompartmentalModel, NetworkModel
9
+ from patchsim.core.simulation import load_config, run_simulation, setup_simulation, simulate
10
+ from patchsim.utils.viz import plot_patch_subplots
11
+
12
+ try:
13
+ __version__ = version("patchsim")
14
+ except PackageNotFoundError: # pragma: no cover - local editable fallback
15
+ __version__ = "0.1.0"
16
+
17
+ __all__ = [
18
+ "CompartmentalModel",
19
+ "NetworkModel",
20
+ "__version__",
21
+ "load_config",
22
+ "plot_patch_subplots",
23
+ "run_calibration",
24
+ "run_simulation",
25
+ "setup_simulation",
26
+ "simulate",
27
+ ]